[*] Binary protection state of netservicesd
Full RELRO No Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function printf tear down of netservicesd
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/netservicesd @ 0xc00 */
| #include <stdint.h>
|
; (fcn) main () | int32_t main () {
| /* [13] -r-x section size 2784 named .text */
0x00000c00 lui gp, 2 |
0x00000c04 addiu gp, gp, -0x6be0 |
0x00000c08 addu gp, gp, t9 | gp += t9;
0x00000c0c addiu sp, sp, -0x58 |
0x00000c10 lw t9, -0x7f70(gp) | t9 = sym.imp.ax_log_stdout;
0x00000c14 sw gp, 0x18(sp) | *(var_18h) = gp;
0x00000c18 sw ra, 0x54(sp) | *(var_54h) = ra;
0x00000c1c sw s6, 0x48(sp) | *(var_48h) = s6;
0x00000c20 sw fp, 0x50(sp) | *(var_50h) = fp;
0x00000c24 sw s7, 0x4c(sp) | *(var_4ch) = s7;
0x00000c28 sw s5, 0x44(sp) | *(var_44h) = s5;
0x00000c2c sw s4, 0x40(sp) | *(var_40h) = s4;
0x00000c30 sw s3, 0x3c(sp) | *(var_3ch) = s3;
0x00000c34 sw s2, 0x38(sp) | *(var_38h) = s2;
0x00000c38 sw s1, 0x34(sp) | *(var_34h) = s1;
0x00000c3c sw s0, 0x30(sp) | *(var_30h) = s0;
0x00000c40 lw s6, -0x7fd8(gp) | s6 = *((gp - 8182));
0x00000c44 jalr t9 | t9 ();
0x00000c48 nop |
0x00000c4c lw gp, 0x18(sp) | gp = *(var_18h);
0x00000c50 move a1, zero | a1 = 0;
0x00000c54 lw t9, -0x7f88(gp) | t9 = sym.imp.g_main_loop_new;
0x00000c58 move a0, zero | a0 = 0;
0x00000c5c jalr t9 | t9 ();
0x00000c60 sw v0, 0x2108(s6) | *((s6 + 2114)) = v0;
0x00000c64 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00000c68 beqz v0, 0x1028 | goto label_6;
| }
0x00000c6c lw s7, -0x7fd8(gp) | s7 = *((gp - 8182));
0x00000c70 lw s0, -0x7fdc(gp) | s0 = *((gp - 8183));
0x00000c74 lw t9, -0x7f90(gp) | t9 = sym.imp.g_unix_signal_add;
0x00000c78 addiu a1, s0, 0x14c0 | a1 = s0 + 0x14c0;
0x00000c7c move a2, zero | a2 = 0;
0x00000c80 addiu a0, zero, 0xf | a0 = 0xf;
0x00000c84 sw zero, 0x2104(s7) | *((s7 + 2113)) = 0;
0x00000c88 jalr t9 | t9 ();
0x00000c8c lw gp, 0x18(sp) | gp = *(var_18h);
0x00000c90 addiu a1, s0, 0x14c0 | a1 = s0 + 0x14c0;
0x00000c94 move a2, zero | a2 = 0;
0x00000c98 lw t9, -0x7f90(gp) | t9 = sym.imp.g_unix_signal_add;
0x00000c9c lw fp, -0x7fdc(gp) | fp = *((gp - 8183));
0x00000ca0 addiu a0, zero, 2 | a0 = 2;
0x00000ca4 jalr t9 | t9 ();
0x00000ca8 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000cac move a2, zero | a2 = 0;
0x00000cb0 move a1, zero | a1 = 0;
0x00000cb4 lw t9, -0x7f4c(gp) | t9 = sym.imp.g_dir_open;
0x00000cb8 addiu a0, fp, 0x19b0 | a0 = fp + str._usr_lib_netservices;
0x00000cbc jalr t9 | t9 ();
0x00000cc0 move s3, v0 | s3 = v0;
0x00000cc4 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000cc8 move s0, zero | s0 = 0;
| if (v0 == 0) {
0x00000ccc beqz v0, 0x10c4 | goto label_7;
| }
0x00000cd0 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00000cd4 lw s5, -0x7fdc(gp) | s5 = *((gp - 8183));
0x00000cd8 sw v0, 0x2c(sp) | *(var_2ch) = v0;
0x00000cdc lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00000ce0 lw s4, -0x7fdc(gp) | s4 = *((gp - 8183));
0x00000ce4 addiu v0, v0, 0x1a08 | v0 += str.create_plugin;
0x00000ce8 sw v0, 0x24(sp) | *(var_24h) = v0;
0x00000cec lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00000cf0 addiu s5, s5, 0x19c8 | s5 += str._s__s;
0x00000cf4 addiu s4, s4, 0x19d0 | s4 += 0x19d0;
0x00000cf8 sw v0, 0x28(sp) | *(var_28h) = v0;
0x00000cfc b 0xdd8 |
| while (v0 != 0) {
0x00000d00 lw t9, -0x7f74(gp) | t9 = sym.imp.g_strdup_printf
0x00000d04 move a2, s1 | a2 = s1;
0x00000d08 addiu a1, fp, 0x19b0 | a1 = fp + str._usr_lib_netservices;
0x00000d0c move a0, s5 | a0 = s5;
0x00000d10 jalr t9 | t9 ();
0x00000d14 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000d18 move a0, s1 | a0 = s1;
0x00000d1c move a1, s4 | a1 = s4;
0x00000d20 lw t9, -0x7f6c(gp) | t9 = sym.imp.g_str_has_suffix;
0x00000d24 move s1, v0 | s1 = v0;
0x00000d28 jalr t9 | t9 ();
0x00000d2c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00000d30 beqz v0, 0xdc8 |
0x00000d34 lw t9, -0x7fb4(gp) | t9 = sym.imp.g_file_test;
0x00000d38 addiu a1, zero, 1 | a1 = 1;
0x00000d3c move a0, s1 | a0 = s1;
0x00000d40 jalr t9 | t9 ();
0x00000d44 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00000d48 beqz v0, 0xdc8 | goto label_3;
| }
0x00000d4c lw t9, -0x7fa0(gp) | t9 = sym.imp.g_malloc0;
0x00000d50 addiu a0, zero, 0x24 | a0 = 0x24;
0x00000d54 jalr t9 | t9 ();
0x00000d58 move s2, v0 | s2 = v0;
0x00000d5c lw gp, 0x18(sp) | gp = *(var_18h);
| if (s1 == 0) {
0x00000d60 beqz s1, 0xffc | goto label_8;
| }
0x00000d64 lw t9, -0x7f5c(gp) | t9 = sym.imp.dlopen;
0x00000d68 addiu a1, zero, 2 | a1 = 2;
0x00000d6c move a0, s1 | a0 = s1;
0x00000d70 jalr t9 | t9 ();
0x00000d74 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000d78 sw v0, 0x1c(s2) | *((s2 + 7)) = v0;
| if (v0 == 0) {
0x00000d7c beqz v0, 0x1058 | goto label_9;
| }
0x00000d80 lw t9, -0x7f80(gp) | t9 = sym.imp.dlsym;
0x00000d84 lw a1, 0x24(sp) | a1 = *(var_24h);
0x00000d88 move a0, v0 | a0 = v0;
0x00000d8c jalr t9 | t9 ();
0x00000d90 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00000d94 beqz v0, 0x117c | goto label_10;
| }
0x00000d98 move t9, v0 | t9 = v0;
0x00000d9c move a0, s2 | a0 = s2;
0x00000da0 jalr t9 | t9 ();
0x00000da4 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000da8 sw s1, 0x20(s2) | *((s2 + 8)) = s1;
0x00000dac move a0, s0 | a0 = s0;
0x00000db0 lw t9, -0x7f44(gp) | t9 = sym.imp.g_list_append;
0x00000db4 move a1, s2 | a1 = s2;
0x00000db8 jalr t9 | t9 ();
0x00000dbc lw gp, 0x18(sp) | gp = *(var_18h);
0x00000dc0 move s0, v0 | s0 = v0;
0x00000dc4 move s1, zero | s1 = 0;
| }
| label_3:
0x00000dc8 lw t9, -0x7f54(gp) | t9 = sym.imp.g_free;
0x00000dcc move a0, s1 | a0 = s1;
0x00000dd0 jalr t9 | t9 ();
0x00000dd4 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000dd8 lw t9, -0x7fa4(gp) | t9 = sym.imp.g_dir_read_name;
0x00000ddc move a0, s3 | a0 = s3;
0x00000de0 jalr t9 | t9 ();
0x00000de4 move s1, v0 | s1 = v0;
0x00000de8 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000dec bnez v0, 0xd00 |
| }
0x00000df0 lw t9, -0x7f3c(gp) | t9 = sym.imp.g_dir_close;
0x00000df4 move a0, s3 | a0 = s3;
0x00000df8 jalr t9 | t9 ();
0x00000dfc lw gp, 0x18(sp) | gp = *(var_18h);
0x00000e00 move a2, s0 | a2 = s0;
0x00000e04 addiu a0, zero, 1 | a0 = 1;
0x00000e08 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00000e0c lw t9, -0x7f90(gp) | t9 = sym.imp.g_unix_signal_add;
0x00000e10 addiu a1, a1, 0x15c0 | a1 += 0x15c0;
0x00000e14 jalr t9 | t9 ();
0x00000e18 lw gp, 0x18(sp) | gp = *(var_18h);
| if (s0 == 0) {
0x00000e1c beqz s0, 0x10e0 | goto label_11;
| }
0x00000e20 move s1, s0 | s1 = s0;
0x00000e24 lw v0, (s1) | v0 = *(s1);
| do {
0x00000e28 lw t9, (v0) | t9 = *(v0);
| if (t9 != 0) {
0x00000e2c beql t9, zero, 0xe44 |
0x00000e30 lw s1, 4(s1) | s1 = *((s1 + 1));
0x00000e34 lw a0, 0x18(v0) | a0 = *((v0 + 6));
0x00000e38 jalr t9 | t9 ();
0x00000e3c lw gp, 0x18(sp) | gp = *(var_18h);
0x00000e40 lw s1, 4(s1) | s1 = *((s1 + 1));
| }
0x00000e44 lw v0, (s1) | v0 = *(s1);
0x00000e48 bnel s1, zero, 0xe28 |
| } while (s1 == 0);
| do {
0x00000e4c move s1, s0 | s1 = s0;
0x00000e50 lw s2, (s1) | s2 = *(s1);
| label_0:
0x00000e54 lw t9, 8(s2) | t9 = *((s2 + 2));
| if (t9 == 0) {
0x00000e58 beql t9, zero, 0xf4c | goto label_12;
| }
0x00000e5c lw s1, 4(s1) | s1 = *((s1 + 1));
0x00000e60 lw a0, 0x18(s2) | a0 = *((s2 + 6));
0x00000e64 jalr t9 | t9 ();
0x00000e68 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00000e6c bnez v0, 0xf44 | goto label_13;
| }
0x00000e70 lw t9, -0x7f9c(gp) | t9 = sym.imp.g_main_context_iteration;
0x00000e74 addiu a1, zero, 1 | a1 = 1;
0x00000e78 move a0, zero | a0 = 0;
0x00000e7c jalr t9 | t9 ();
0x00000e80 lw v0, 0x2104(s7) | v0 = *((s7 + 2113));
0x00000e84 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000e88 beqz v0, 0xe4c |
| } while (v0 == 0);
| label_1:
0x00000e8c move s1, s0 | s1 = s0;
0x00000e90 lw v0, (s1) | v0 = *(s1);
| do {
0x00000e94 lw t9, 0x10(v0) | t9 = *((v0 + 4));
| if (t9 != 0) {
0x00000e98 beql t9, zero, 0xeb0 |
0x00000e9c lw s1, 4(s1) | s1 = *((s1 + 1));
0x00000ea0 lw a0, 0x18(v0) | a0 = *((v0 + 6));
0x00000ea4 jalr t9 | t9 ();
0x00000ea8 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000eac lw s1, 4(s1) | s1 = *((s1 + 1));
| }
0x00000eb0 lw v0, (s1) | v0 = *(s1);
0x00000eb4 bnel s1, zero, 0xe94 |
| } while (s1 == 0);
0x00000eb8 move s1, s0 | s1 = s0;
0x00000ebc lw v0, (s1) | v0 = *(s1);
| do {
0x00000ec0 lw t9, 0x14(v0) | t9 = *((v0 + 5));
| if (t9 != 0) {
0x00000ec4 beql t9, zero, 0xedc |
0x00000ec8 lw s1, 4(s1) | s1 = *((s1 + 1));
0x00000ecc lw a0, 0x18(v0) | a0 = *((v0 + 6));
0x00000ed0 jalr t9 | t9 ();
0x00000ed4 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000ed8 lw s1, 4(s1) | s1 = *((s1 + 1));
| }
0x00000edc lw v0, (s1) | v0 = *(s1);
0x00000ee0 bnel s1, zero, 0xec0 |
| } while (s1 == 0);
| label_2:
0x00000ee4 lw a0, 0x2108(s6) | a0 = *((s6 + 2114));
0x00000ee8 lw t9, -0x7f40(gp) | t9 = sym.imp.g_main_loop_unref;
| if (a0 != 0) {
0x00000eec beqz a0, 0xefc |
0x00000ef0 jalr t9 | t9 ();
0x00000ef4 nop |
0x00000ef8 lw gp, 0x18(sp) | gp = *(var_18h);
| }
0x00000efc lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00000f00 lw t9, -0x7f58(gp) | t9 = sym.imp.g_list_free_full;
0x00000f04 move a0, s0 | a0 = s0;
0x00000f08 addiu a1, a1, 0x1388 | a1 += 0x1388;
0x00000f0c jalr t9 | t9 ();
0x00000f10 lw ra, 0x54(sp) | ra = *(var_54h);
0x00000f14 move v0, s1 | v0 = s1;
0x00000f18 lw fp, 0x50(sp) | fp = *(var_50h);
0x00000f1c lw s7, 0x4c(sp) | s7 = *(var_4ch);
0x00000f20 lw s6, 0x48(sp) | s6 = *(var_48h);
0x00000f24 lw s5, 0x44(sp) | s5 = *(var_44h);
0x00000f28 lw s4, 0x40(sp) | s4 = *(var_40h);
0x00000f2c lw s3, 0x3c(sp) | s3 = *(var_3ch);
0x00000f30 lw s2, 0x38(sp) | s2 = *(var_38h);
0x00000f34 lw s1, 0x34(sp) | s1 = *(var_34h);
0x00000f38 lw s0, 0x30(sp) | s0 = *(var_30h);
0x00000f3c addiu sp, sp, 0x58 |
0x00000f40 jr ra | return v0;
| label_13:
0x00000f44 sw zero, 8(s2) | *((s2 + 2)) = 0;
0x00000f48 lw s1, 4(s1) | s1 = *((s1 + 1));
| label_12:
0x00000f4c lw s2, (s1) | s2 = *(s1);
| if (s1 == 0) {
0x00000f50 bnel s1, zero, 0xe54 | goto label_0;
| }
0x00000f54 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00000f58 lw t9, -0x7f84(gp) | t9 = sym.imp.sd_notify;
0x00000f5c addiu a1, a1, 0x1a4c | a1 += str.READY1;
0x00000f60 move a0, zero | a0 = 0;
0x00000f64 jalr t9 | t9 ();
0x00000f68 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000f6c move s1, s0 | s1 = s0;
0x00000f70 lw v0, (s1) | v0 = *(s1);
| do {
0x00000f74 lw t9, 4(v0) | t9 = *((v0 + 1));
| if (t9 != 0) {
0x00000f78 beql t9, zero, 0xf90 |
0x00000f7c lw s1, 4(s1) | s1 = *((s1 + 1));
0x00000f80 lw a0, 0x18(v0) | a0 = *((v0 + 6));
0x00000f84 jalr t9 | t9 ();
0x00000f88 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000f8c lw s1, 4(s1) | s1 = *((s1 + 1));
| }
0x00000f90 lw v0, (s1) | v0 = *(s1);
0x00000f94 bnel s1, zero, 0xf74 |
| } while (s1 == 0);
0x00000f98 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00000f9c lw v1, -0x7fd8(gp) | v1 = *((gp - 8182));
0x00000fa0 lw v0, 0x2100(v0) | v0 = *((v0 + 2112));
0x00000fa4 sw zero, 0x2010(v1) | *((v1 + 2052)) = 0;
| if (v0 == 0) {
0x00000fa8 beqz v0, 0xfe8 | goto label_14;
| }
0x00000fac lw v0, 0x2104(s7) | v0 = *((s7 + 2113));
0x00000fb0 lw t9, -0x7f8c(gp) | t9 = sym.imp.g_main_loop_run;
| if (v0 != 0) {
0x00000fb4 bnez v0, 0xfec | goto label_15;
| }
| label_4:
0x00000fb8 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x00000fbc addiu t9, t9, 0x1558 | t9 += fcn.00001558;
0x00000fc0 move a0, s0 | a0 = s0;
0x00000fc4 bal 0x1558 | fcn_00001558 ();
0x00000fc8 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000fcc lw t9, -0x7f8c(gp) | t9 = sym.imp.g_main_loop_run;
0x00000fd0 lw a0, 0x2108(s6) | a0 = *((s6 + 2114));
0x00000fd4 jalr t9 | t9 ();
0x00000fd8 lw gp, 0x18(sp) | gp = *(var_18h);
| if (s0 != 0) {
0x00000fdc bnez s0, 0xe8c | goto label_1;
| }
0x00000fe0 move s1, zero | s1 = 0;
0x00000fe4 b 0xee4 | goto label_2;
| label_14:
0x00000fe8 lw t9, -0x7f8c(gp) | t9 = sym.imp.g_main_loop_run;
| label_15:
0x00000fec lw a0, 0x2108(s6) | a0 = *((s6 + 2114));
0x00000ff0 jalr t9 | t9 ();
0x00000ff4 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000ff8 b 0xe8c | goto label_1;
| label_8:
0x00000ffc lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00001000 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00001004 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00001008 addiu v0, v0, 0x19d4 | v0 += str.file_path___NULL;
0x0000100c lw t9, -0x7f68(gp) | t9 = sym.imp.g_assertion_message_expr;
0x00001010 sw v0, 0x10(sp) | *(var_10h) = v0;
0x00001014 addiu a3, a3, 0x1a60 | a3 += str.setup_plugin;
0x00001018 addiu a2, zero, 0x7a | a2 = 0x7a;
0x0000101c addiu a1, a1, 0x18d4 | a1 += str.netservicesd.c;
0x00001020 move a0, zero | a0 = 0;
0x00001024 jalr t9 | t9 ();
| label_6:
0x00001028 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x0000102c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001030 lw t9, -0x7f94(gp) | t9 = sym.imp.g_log;
0x00001034 addiu a3, a3, 0x19ac | a3 += 0x19ac;
0x00001038 addiu a2, a2, 0x1990 | a2 += str._sFailed_to_create_main_loop;
0x0000103c addiu a1, zero, 0x100 | a1 = 0x100;
0x00001040 move a0, zero | a0 = 0;
0x00001044 jalr t9 | t9 ();
0x00001048 addiu s1, zero, 1 | s1 = 1;
0x0000104c lw gp, 0x18(sp) | gp = *(var_18h);
0x00001050 move s0, zero | s0 = 0;
0x00001054 b 0xee4 | goto label_2;
| label_9:
0x00001058 lw t9, -0x7f64(gp) | t9 = sym.imp.dlerror;
0x0000105c jalr t9 | t9 ();
0x00001060 nop |
0x00001064 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001068 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0000106c lw v0, 0x28(sp) | v0 = *(var_28h);
0x00001070 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001074 lw t9, -0x7f94(gp) | t9 = sym.imp.g_log;
0x00001078 sw s1, 0x10(sp) | *(var_10h) = s1;
0x0000107c addiu a3, v0, 0x19ac | a3 = v0 + 0x19ac;
0x00001080 addiu a2, a2, 0x19e8 | a2 += str._sFailed_to_load_plugin__s:__s;
0x00001084 addiu a1, zero, 0x10 | a1 = 0x10;
0x00001088 move a0, zero | a0 = 0;
0x0000108c jalr t9 | t9 ();
0x00001090 lw gp, 0x18(sp) | gp = *(var_18h);
| label_5:
0x00001094 lw a0, 0x1c(s2) | a0 = *((s2 + 7));
0x00001098 lw t9, -0x7f60(gp) | t9 = sym.imp.dlclose;
| if (a0 == 0) {
0x0000109c beqz a0, 0x10b0 | goto label_16;
| }
0x000010a0 jalr t9 | t9 ();
0x000010a4 nop |
0x000010a8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000010ac bnez v0, 0x113c |
| while (1) {
| label_16:
0x000010b0 lw t9, -0x7f54(gp) | t9 = sym.imp.g_free;
0x000010b4 move a0, s2 | a0 = s2;
0x000010b8 jalr t9 | t9 ();
0x000010bc lw gp, 0x18(sp) | gp = *(var_18h);
0x000010c0 b 0xdc8 | goto label_3;
| label_7:
0x000010c4 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000010c8 lw t9, -0x7f90(gp) | t9 = sym.imp.g_unix_signal_add;
0x000010cc move a2, zero | a2 = 0;
0x000010d0 addiu a1, a1, 0x15c0 | a1 += 0x15c0;
0x000010d4 addiu a0, zero, 1 | a0 = 1;
0x000010d8 jalr t9 | t9 ();
0x000010dc lw gp, 0x18(sp) | gp = *(var_18h);
| label_11:
0x000010e0 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000010e4 lw t9, -0x7f84(gp) | t9 = sym.imp.sd_notify;
0x000010e8 addiu a1, a1, 0x1a4c | a1 += str.READY1;
0x000010ec move a0, zero | a0 = 0;
0x000010f0 jalr t9 | t9 ();
0x000010f4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000010f8 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x000010fc lw v1, -0x7fd8(gp) | v1 = *((gp - 8182));
0x00001100 lw v0, 0x2100(v0) | v0 = *((v0 + 2112));
0x00001104 sw zero, 0x2010(v1) | *((v1 + 2052)) = 0;
| if (v0 != 0) {
0x00001108 beqz v0, 0x1120 |
0x0000110c lw v0, 0x2104(s7) | v0 = *((s7 + 2113));
0x00001110 lw t9, -0x7f8c(gp) | t9 = sym.imp.g_main_loop_run;
| if (v0 != 0) {
0x00001114 bnez v0, 0x1124 | goto label_17;
| }
0x00001118 move s0, zero | s0 = 0;
0x0000111c b 0xfb8 | goto label_4;
| }
0x00001120 lw t9, -0x7f8c(gp) | t9 = sym.imp.g_main_loop_run;
| label_17:
0x00001124 lw a0, 0x2108(s6) | a0 = *((s6 + 2114));
0x00001128 move s1, zero | s1 = 0;
0x0000112c jalr t9 | t9 ();
0x00001130 move s0, zero | s0 = 0;
0x00001134 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001138 b 0xee4 | goto label_2;
0x0000113c lw t9, -0x7f64(gp) | t9 = sym.imp.dlerror;
0x00001140 jalr t9 | t9 ();
0x00001144 nop |
0x00001148 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0000114c lw gp, 0x18(sp) | gp = *(var_18h);
0x00001150 lw v0, 0x28(sp) | v0 = *(var_28h);
0x00001154 sw s1, 0x10(sp) | *(var_10h) = s1;
0x00001158 addiu a3, v0, 0x19ac | a3 = v0 + 0x19ac;
0x0000115c lw v0, 0x2c(sp) | v0 = *(var_2ch);
0x00001160 lw t9, -0x7f94(gp) | t9 = sym.imp.g_log;
0x00001164 addiu a2, v0, 0x192c | a2 = v0 + str._sFailed_to_unload_plugin__s:__s;
0x00001168 addiu a1, zero, 0x10 | a1 = 0x10;
0x0000116c move a0, zero | a0 = 0;
0x00001170 jalr t9 | t9 ();
0x00001174 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001178 b 0x10b0 |
| }
| label_10:
0x0000117c lw t9, -0x7f64(gp) | t9 = sym.imp.dlerror;
0x00001180 jalr t9 | t9 ();
0x00001184 nop |
0x00001188 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000118c sw v0, 0x14(sp) | *(var_14h) = v0;
0x00001190 lw v0, 0x28(sp) | v0 = *(var_28h);
0x00001194 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001198 lw t9, -0x7f94(gp) | t9 = sym.imp.g_log;
0x0000119c sw s1, 0x10(sp) | *(var_10h) = s1;
0x000011a0 addiu a3, v0, 0x19ac | a3 = v0 + 0x19ac;
0x000011a4 addiu a2, a2, 0x1a18 | a2 += str._sFailed_to_find_create_plugin___in_plugin__s:__s;
0x000011a8 addiu a1, zero, 0x10 | a1 = 0x10;
0x000011ac move a0, zero | a0 = 0;
0x000011b0 jalr t9 | t9 ();
0x000011b4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000011b8 b 0x1094 | goto label_5;
| }
[*] Function printf used 2 times netservicesd