[*] Binary protection state of stclient
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function fprintf tear down of stclient
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/stclient @ 0x6200 */
| #include <stdint.h>
|
; (fcn) main () | int32_t main () {
| /* [13] -r-x section size 64576 named .text */
0x00006200 lui gp, 3 |
0x00006204 addiu gp, gp, -0x21a0 |
0x00006208 addu gp, gp, t9 | gp += t9;
0x0000620c addiu sp, sp, -0x180 |
0x00006210 addiu v1, zero, 2 | v1 = 2;
0x00006214 sw s0, 0x160(sp) | *(var_160h) = s0;
0x00006218 lw s0, -0x7904(gp) | s0 = *((gp - 7745));
0x0000621c sw ra, 0x17c(sp) | *(var_17ch) = ra;
0x00006220 sw gp, 0x18(sp) | *(var_18h) = gp;
0x00006224 sw s1, 0x164(sp) | *(var_164h) = s1;
0x00006228 sw s6, 0x178(sp) | *(var_178h) = s6;
0x0000622c sw s5, 0x174(sp) | *(var_174h) = s5;
0x00006230 sw s4, 0x170(sp) | *(var_170h) = s4;
0x00006234 sw s3, 0x16c(sp) | *(var_16ch) = s3;
0x00006238 sw s2, 0x168(sp) | *(var_168h) = s2;
0x0000623c lw v0, (s0) | v0 = *(s0);
0x00006240 sw v1, 0x84(sp) | *(var_84h) = v1;
0x00006244 sw v0, 0x15c(sp) | *(var_15ch) = v0;
0x00006248 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0000624c sw a1, 0x24(sp) | *(var_24h) = a1;
| /* str.no_daemon */
0x00006250 addiu v0, v0, 0x7bd0 | v0 += 0x7bd0;
0x00006254 sw v0, 0x40(sp) | *(var_40h) = v0;
0x00006258 addiu v0, zero, 0x6e | v0 = 0x6e;
0x0000625c sb v0, 0x44(sp) | *(var_44h) = v0;
0x00006260 addiu v0, sp, 0x38 | v0 = sp + 0x38;
0x00006264 sw v0, 0x50(sp) | *(var_50h) = v0;
0x00006268 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0000626c sw a0, 0x180(sp) | *(arg_180h) = a0;
| /* str.Do_not_daemonize */
0x00006270 addiu v0, v0, 0x7bdc | v0 += 0x7bdc;
0x00006274 sw v0, 0x54(sp) | *(var_54h) = v0;
0x00006278 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0000627c sw zero, 0x28(sp) | *(var_28h) = 0;
| /* str.engine */
0x00006280 addiu v0, v0, 0x7bf0 | v0 += 0x7bf0;
0x00006284 sw v0, 0x5c(sp) | *(var_5ch) = v0;
0x00006288 addiu v0, zero, 0x65 | v0 = 0x65;
0x0000628c sb v0, 0x60(sp) | *(var_60h) = v0;
0x00006290 addiu v0, zero, 1 | v0 = 1;
0x00006294 sw v0, 0x68(sp) | *(var_68h) = v0;
0x00006298 addiu v0, sp, 0x2c | v0 = sp + 0x2c;
0x0000629c sw v0, 0x6c(sp) | *(var_6ch) = v0;
0x000062a0 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x000062a4 lw a0, -0x7fd8(gp) | a0 = *(gp);
| /* str.Crypto_engine_to_use_for_cipher_operations__default:_none */
0x000062a8 addiu v0, v0, 0x7bf8 | v0 += 0x7bf8;
0x000062ac sw v0, 0x70(sp) | *(var_70h) = v0;
0x000062b0 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x000062b4 lw t9, -0x7944(gp) | t9 = sym.imp.g_option_context_new;
| /* str.DSCP */
0x000062b8 addiu v0, v0, 0x79e0 | v0 += 0x79e0;
0x000062bc sw v0, 0x78(sp) | *(var_78h) = v0;
0x000062c0 addiu v0, zero, 0x64 | v0 = 0x64;
0x000062c4 sb v0, 0x7c(sp) | *(var_7ch) = v0;
0x000062c8 addiu v0, sp, 0x30 | v0 = sp + 0x30;
0x000062cc sw v0, 0x88(sp) | *(var_88h) = v0;
0x000062d0 lw v0, -0x7fd8(gp) | v0 = *(gp);
| /* str.__stclient */
0x000062d4 addiu a0, a0, 0x7c8c | a0 += 0x7c8c;
| /* str.DSCP_value__default:_0 */
0x000062d8 addiu v0, v0, 0x7c34 | v0 += 0x7c34;
0x000062dc sw v0, 0x8c(sp) | *(var_8ch) = v0;
0x000062e0 lw v0, -0x7fd8(gp) | v0 = *(gp);
| /* str.connections */
0x000062e4 addiu v0, v0, 0x7c4c | v0 += 0x7c4c;
0x000062e8 sw v0, 0x94(sp) | *(var_94h) = v0;
0x000062ec addiu v0, zero, 0x63 | v0 = 0x63;
0x000062f0 sb v0, 0x98(sp) | *(var_98h) = v0;
0x000062f4 addiu v0, sp, 0x34 | v0 = sp + 0x34;
0x000062f8 sw zero, 0x2c(sp) | *(var_2ch) = 0;
0x000062fc sw v0, 0xa4(sp) | *(var_a4h) = v0;
0x00006300 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x00006304 sw v1, 0xa0(sp) | *(var_a0h) = v1;
| /* str.Max_number_of_connections_to_support__default:10 */
0x00006308 addiu v0, v0, 0x7c58 | v0 += 0x7c58;
0x0000630c sw zero, 0x30(sp) | *(var_30h) = 0;
0x00006310 sw zero, 0x34(sp) | *(var_34h) = 0;
0x00006314 sw zero, 0x38(sp) | *(var_38h) = 0;
0x00006318 sw zero, 0x48(sp) | *(var_48h) = 0;
0x0000631c sw zero, 0x4c(sp) | *(var_4ch) = 0;
0x00006320 sw zero, 0x58(sp) | *(var_58h) = 0;
0x00006324 sw zero, 0x64(sp) | *(var_64h) = 0;
0x00006328 sw zero, 0x74(sp) | *(var_74h) = 0;
0x0000632c sw zero, 0x80(sp) | *(var_80h) = 0;
0x00006330 sw zero, 0x90(sp) | *(var_90h) = 0;
0x00006334 sw zero, 0x9c(sp) | *(var_9ch) = 0;
0x00006338 sw v0, 0xa8(sp) | *(var_a8h) = v0;
0x0000633c sw zero, 0xac(sp) | *(var_ach) = 0;
0x00006340 sw zero, 0xb0(sp) | *(var_b0h) = 0;
0x00006344 sb zero, 0xb4(sp) | *(var_b4h) = 0;
0x00006348 sw zero, 0xb8(sp) | *(var_b8h) = 0;
0x0000634c sw zero, 0xbc(sp) | *(var_bch) = 0;
0x00006350 sw zero, 0xc0(sp) | *(var_c0h) = 0;
0x00006354 sw zero, 0xc4(sp) | *(var_c4h) = 0;
0x00006358 sw zero, 0xc8(sp) | *(var_c8h) = 0;
0x0000635c jalr t9 | t9 ();
0x00006360 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006364 move a0, v0 | a0 = v0;
0x00006368 move a2, zero | a2 = 0;
0x0000636c lw t9, -0x7b9c(gp) | t9 = sym.imp.g_option_context_add_main_entries;
0x00006370 addiu a1, sp, 0x40 | a1 = sp + 0x40;
0x00006374 move s1, v0 | s1 = v0;
0x00006378 jalr t9 | t9 ();
0x0000637c lw gp, 0x18(sp) | gp = *(var_18h);
0x00006380 addiu a3, sp, 0x28 | a3 = sp + 0x28;
0x00006384 addiu a2, sp, 0x24 | a2 = sp + 0x24;
0x00006388 lw t9, -0x787c(gp) | t9 = sym.imp.g_option_context_parse;
0x0000638c addiu a1, sp, 0x180 | a1 = sp + aav.0x00000180;
0x00006390 move a0, s1 | a0 = s1;
0x00006394 jalr t9 | t9 ();
0x00006398 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x0000639c beqz v0, 0x69d4 | goto label_12;
| }
0x000063a0 lw t9, -0x7ad4(gp) | t9 = sym.imp.g_option_context_free;
0x000063a4 move a0, s1 | a0 = s1;
0x000063a8 jalr t9 | t9 ();
0x000063ac lw v0, 0x38(sp) | v0 = *(var_38h);
0x000063b0 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x000063b4 bnez v0, 0x69b4 | goto label_13;
| }
0x000063b8 lw t9, -0x7970(gp) | t9 = sym.imp.daemon;
0x000063bc move a1, zero | a1 = 0;
0x000063c0 move a0, zero | a0 = 0;
0x000063c4 jalr t9 | t9 ();
0x000063c8 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 < 0) {
0x000063cc bltz v0, 0x6c68 | goto label_14;
| }
0x000063d0 lw s1, -0x7fd8(gp) | s1 = *(gp);
| do {
0x000063d4 lw t9, -0x7aa8(gp) | t9 = sym.imp.getpwnam;
| /* str.stclient */
0x000063d8 addiu a0, s1, 0x7ba8 | a0 = s1 + 0x7ba8;
0x000063dc jalr t9 | t9 ();
0x000063e0 move s3, v0 | s3 = v0;
0x000063e4 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x000063e8 beqz v0, 0x6ab4 | goto label_15;
| }
0x000063ec lw t9, -0x7a64(gp) | t9 = sym.imp.getgrnam;
| /* str.stclient */
0x000063f0 addiu a0, s1, 0x7ba8 | a0 = s1 + 0x7ba8;
0x000063f4 jalr t9 | t9 ();
0x000063f8 move s2, v0 | s2 = v0;
0x000063fc lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00006400 beqz v0, 0x6b10 | goto label_16;
| }
0x00006404 lw t9, -0x7afc(gp) | t9 = sym.imp.setegid;
0x00006408 lw a0, 8(v0) | a0 = *((v0 + 2));
0x0000640c jalr t9 | t9 ();
0x00006410 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 < 0) {
0x00006414 bltz v0, 0x6ae8 | goto label_17;
| }
0x00006418 lw t9, -0x7bb0(gp) | t9 = sym.imp.initgroups;
0x0000641c lw a1, 8(s2) | a1 = *((s2 + 2));
0x00006420 lw a0, (s3) | a0 = *(s3);
0x00006424 jalr t9 | t9 ();
0x00006428 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 < 0) {
0x0000642c bltz v0, 0x6b8c | goto label_18;
| }
0x00006430 lw t9, -0x7ab8(gp) | t9 = sym.imp.seteuid;
0x00006434 lw a0, 8(s3) | a0 = *((s3 + 2));
0x00006438 jalr t9 | t9 ();
0x0000643c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 < 0) {
0x00006440 bltz v0, 0x6be0 | goto label_19;
| }
0x00006444 lw t9, -0x7fd4(gp) | t9 = sym.config_probe_oneclick_delay;
0x00006448 bal 0xadd8 | sym_config_probe_oneclick_delay ();
0x0000644c nop |
0x00006450 lw a0, 0x34(sp) | a0 = *(var_34h);
0x00006454 lw gp, 0x18(sp) | gp = *(var_18h);
| if (a0 == 0) {
0x00006458 beqz a0, 0x6a28 | goto label_20;
| }
0x0000645c lw t9, -0x7fd0(gp) | t9 = sym.ssl_set_connections;
0x00006460 bal 0xd920 | sym_ssl_set_connections ();
0x00006464 nop |
0x00006468 lw gp, 0x18(sp) | gp = *(var_18h);
| label_0:
0x0000646c lw t9, -0x7bc8(gp) | t9 = sym.imp.g_type_init;
0x00006470 addiu s1, sp, 0xd4 | s1 = sp + 0xd4;
0x00006474 jalr t9 | t9 ();
0x00006478 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000647c lw t9, -0x7bd0(gp) | t9 = sym.imp.curl_global_init;
0x00006480 addiu a0, zero, 3 | a0 = 3;
0x00006484 jalr t9 | t9 ();
0x00006488 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000648c move a0, s1 | a0 = s1;
0x00006490 lw t9, -0x7a40(gp) | t9 = sym.imp.sigemptyset;
0x00006494 sw zero, 0xcc(sp) | *(var_cch) = 0;
0x00006498 jalr t9 | t9 ();
0x0000649c lw gp, 0x18(sp) | gp = *(var_18h);
0x000064a0 move a0, s1 | a0 = s1;
0x000064a4 lw t9, -0x7c88(gp) | t9 = sym.imp.sigaddset;
0x000064a8 addiu a1, zero, 1 | a1 = 1;
0x000064ac jalr t9 | t9 ();
0x000064b0 lw gp, 0x18(sp) | gp = *(var_18h);
0x000064b4 move a0, s1 | a0 = s1;
0x000064b8 lw t9, -0x7c88(gp) | t9 = sym.imp.sigaddset;
0x000064bc addiu a1, zero, 0xe | a1 = 0xe;
0x000064c0 jalr t9 | t9 ();
0x000064c4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000064c8 move a0, s1 | a0 = s1;
0x000064cc lw t9, -0x7c88(gp) | t9 = sym.imp.sigaddset;
0x000064d0 addiu a1, zero, 0x10 | a1 = 0x10;
0x000064d4 jalr t9 | t9 ();
0x000064d8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000064dc move a0, s1 | a0 = s1;
0x000064e0 addiu a1, zero, 0x11 | a1 = 0x11;
0x000064e4 lw t9, -0x7c88(gp) | t9 = sym.imp.sigaddset;
0x000064e8 addiu s1, sp, 0xcc | s1 = sp + 0xcc;
0x000064ec jalr t9 | t9 ();
0x000064f0 lw gp, 0x18(sp) | gp = *(var_18h);
0x000064f4 addiu v0, zero, 1 | v0 = 1;
0x000064f8 move a1, s1 | a1 = s1;
0x000064fc lw t9, -0x78a0(gp) | t9 = sym.imp.sigaction;
0x00006500 move a2, zero | a2 = 0;
0x00006504 addiu a0, zero, 1 | a0 = 1;
0x00006508 sw v0, 0xd0(sp) | *(var_d0h) = v0;
0x0000650c jalr t9 | t9 ();
0x00006510 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006514 move a1, s1 | a1 = s1;
0x00006518 move a2, zero | a2 = 0;
0x0000651c lw t9, -0x78a0(gp) | t9 = sym.imp.sigaction;
0x00006520 addiu a0, zero, 0xd | a0 = 0xd;
0x00006524 jalr t9 | t9 ();
0x00006528 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000652c move a1, s1 | a1 = s1;
0x00006530 move a2, zero | a2 = 0;
0x00006534 lw t9, -0x78a0(gp) | t9 = sym.imp.sigaction;
0x00006538 addiu a0, zero, 0x12 | a0 = 0x12;
0x0000653c jalr t9 | t9 ();
0x00006540 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006544 move a1, s1 | a1 = s1;
0x00006548 move a2, zero | a2 = 0;
0x0000654c lw t9, -0x78a0(gp) | t9 = sym.imp.sigaction;
0x00006550 addiu a0, zero, 0xe | a0 = 0xe;
0x00006554 jalr t9 | t9 ();
0x00006558 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000655c move a1, s1 | a1 = s1;
0x00006560 move a2, zero | a2 = 0;
0x00006564 lw t9, -0x78a0(gp) | t9 = sym.imp.sigaction;
0x00006568 addiu a0, zero, 0x10 | a0 = 0x10;
0x0000656c jalr t9 | t9 ();
0x00006570 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006574 move a1, s1 | a1 = s1;
0x00006578 move a2, zero | a2 = 0;
0x0000657c lw t9, -0x78a0(gp) | t9 = sym.imp.sigaction;
0x00006580 lw s1, -0x7fd8(gp) | s1 = *(gp);
0x00006584 addiu a0, zero, 0x11 | a0 = 0x11;
0x00006588 jalr t9 | t9 ();
0x0000658c lw gp, 0x18(sp) | gp = *(var_18h);
0x00006590 move a2, zero | a2 = 0;
0x00006594 addiu a1, s1, -0x4a40 | a1 = s1 + -0x4a40;
0x00006598 lw t9, -0x7b24(gp) | t9 = sym.imp.g_unix_signal_add;
0x0000659c lw s2, -0x7fcc(gp) | s2 = *(gp);
0x000065a0 addiu a0, zero, 0xf | a0 = 0xf;
0x000065a4 jalr t9 | t9 ();
0x000065a8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000065ac addiu a0, zero, 2 | a0 = 2;
0x000065b0 move a2, zero | a2 = 0;
0x000065b4 lw t9, -0x7b24(gp) | t9 = sym.imp.g_unix_signal_add;
0x000065b8 lw s3, -0x7fc8(gp) | s3 = *(gp);
0x000065bc addiu a1, s1, -0x4a40 | a1 = s1 + -0x4a40;
0x000065c0 sw v0, (s2) | *(s2) = v0;
0x000065c4 jalr t9 | t9 ();
0x000065c8 lw a0, 0x2c(sp) | a0 = *(var_2ch);
0x000065cc lw gp, 0x18(sp) | gp = *(var_18h);
0x000065d0 sw v0, (s3) | *(s3) = v0;
| if (a0 != 0) {
0x000065d4 beqz a0, 0x65e8 |
0x000065d8 lw t9, -0x7fc4(gp) | t9 = sym.ssl_set_engine;
0x000065dc bal 0xd8f0 | sym_ssl_set_engine ();
0x000065e0 nop |
0x000065e4 lw gp, 0x18(sp) | gp = *(var_18h);
| }
0x000065e8 lw t9, -0x7fc0(gp) | t9 = sym.ssl_init;
0x000065ec bal 0xd5f4 | sym_ssl_init ();
0x000065f0 nop |
0x000065f4 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x000065f8 beqz v0, 0x6a98 | goto label_21;
| }
0x000065fc lw s1, -0x7fd8(gp) | s1 = *(gp);
0x00006600 lw a1, -0x7fbc(gp) | a1 = *((gp - 8175));
0x00006604 lw t9, -0x78fc(gp) | t9 = sym.imp.fopen;
0x00006608 addiu a1, a1, -0x7dc4 | a1 += -0x7dc4;
| /* str._var_run_stclient_stclient.pid */
0x0000660c addiu a0, s1, 0x7dcc | a0 = s1 + 0x7dcc;
0x00006610 sw zero, 0x3c(sp) | *(var_3ch) = 0;
0x00006614 jalr t9 | t9 ();
0x00006618 move s4, v0 | s4 = v0;
0x0000661c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00006620 beqz v0, 0x6650 |
0x00006624 lw a1, -0x7fbc(gp) | a1 = *((gp - 8175));
0x00006628 lw t9, -0x7cb4(gp) | t9 = sym.imp.__isoc99_fscanf;
0x0000662c addiu a2, sp, 0x3c | a2 = sp + 0x3c;
| /* esilref: '&d' */
0x00006630 addiu a1, a1, -0x48e4 | a1 += -0x48e4;
0x00006634 move a0, v0 | a0 = v0;
0x00006638 jalr t9 | t9 ();
0x0000663c lw gp, 0x18(sp) | gp = *(var_18h);
0x00006640 lw t9, -0x7a20(gp) | t9 = sym.imp.fclose;
0x00006644 move a0, s4 | a0 = s4;
0x00006648 jalr t9 | t9 ();
0x0000664c lw gp, 0x18(sp) | gp = *(var_18h);
| }
0x00006650 lw s4, 0x3c(sp) | s4 = *(var_3ch);
0x00006654 lw t9, -0x7960(gp) | t9 = sym.imp.getpid;
| if (s4 != 0) {
0x00006658 bnez s4, 0x6a4c | goto label_22;
| }
| label_1:
0x0000665c lw t9, -0x7850(gp) | t9 = sym.imp.open;
| label_5:
0x00006660 addiu a2, zero, 0x1a4 | a2 = aav.0x000001a4;
0x00006664 addiu a1, zero, 0x102 | a1 = 0x102;
| /* str._var_run_stclient_stclient.pid */
0x00006668 addiu a0, s1, 0x7dcc | a0 = s1 + 0x7dcc;
0x0000666c sw zero, 0x3c(sp) | *(var_3ch) = 0;
0x00006670 jalr t9 | t9 ();
0x00006674 addiu s5, zero, -1 | s5 = -1;
0x00006678 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000667c move s4, v0 | s4 = v0;
| if (v0 == s5) {
0x00006680 beq v0, s5, 0x6b38 | goto label_23;
| }
0x00006684 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00006688 lw t9, -0x7c58(gp) | t9 = sym.imp.fdopen;
| /* esilref: 'r+' */
0x0000668c addiu a1, a1, 0x7e14 | a1 += 0x7e14;
0x00006690 move a0, v0 | a0 = v0;
0x00006694 jalr t9 | t9 ();
0x00006698 move s6, v0 | s6 = v0;
0x0000669c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x000066a0 beqz v0, 0x6b38 | goto label_23;
| }
0x000066a4 lw t9, -0x7bf0(gp) | t9 = sym.imp.flock;
0x000066a8 addiu a1, zero, 6 | a1 = 6;
0x000066ac move a0, s4 | a0 = s4;
0x000066b0 jalr t9 | t9 ();
0x000066b4 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == s5) {
0x000066b8 beq v0, s5, 0x6c88 | goto label_24;
| }
0x000066bc lw t9, -0x7960(gp) | t9 = sym.imp.getpid;
0x000066c0 jalr t9 | t9 ();
0x000066c4 nop |
0x000066c8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000066cc move a3, v0 | a3 = v0;
0x000066d0 addiu a1, zero, 1 | a1 = 1;
0x000066d4 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x000066d8 lw t9, -0x7c18(gp) | t9 = sym.imp.__fprintf_chk
| /* esilref: '&d
' */
0x000066dc addiu a2, a2, 0x7e3c | a2 += 0x7e3c;
0x000066e0 move a0, s6 | a0 = s6;
0x000066e4 sw v0, 0x3c(sp) | *(var_3ch) = v0;
0x000066e8 jalr t9 | t9 ();
0x000066ec lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x000066f0 beqz v0, 0x6c08 | goto label_25;
| }
0x000066f4 lw t9, -0x7bf0(gp) | t9 = sym.imp.flock;
0x000066f8 addiu a1, zero, 8 | a1 = 8;
0x000066fc move a0, s4 | a0 = s4;
0x00006700 jalr t9 | t9 ();
0x00006704 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == s5) {
0x00006708 beq v0, s5, 0x6d80 | goto label_26;
| }
0x0000670c lw t9, -0x7a20(gp) | t9 = sym.imp.fclose;
0x00006710 move a0, s6 | a0 = s6;
0x00006714 jalr t9 | t9 ();
0x00006718 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000671c move a1, zero | a1 = 0;
0x00006720 lw t9, -0x7a28(gp) | t9 = sym.imp.g_main_loop_new;
0x00006724 lw s4, -0x7fdc(gp) | s4 = sym.command_channel_set_established;
0x00006728 move a0, zero | a0 = 0;
0x0000672c jalr t9 | t9 ();
0x00006730 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006734 lw t9, -0x7c80(gp) | t9 = sym.imp.command_source_register_mainloop_thread;
0x00006738 sw v0, (s4) | *(s4) = v0;
0x0000673c jalr t9 | t9 ();
0x00006740 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006744 lw t9, -0x7fb8(gp) | t9 = sym.config_init;
0x00006748 bal 0xa2ac | sym_config_init ();
0x0000674c nop |
0x00006750 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00006754 beqz v0, 0x6c78 | goto label_27;
| }
0x00006758 lw v0, 0x24(sp) | v0 = *(var_24h);
0x0000675c lw a2, -0x7fd8(gp) | a2 = *(gp);
0x00006760 lw t9, -0x7adc(gp) | t9 = sym.imp.__syslog_chk;
0x00006764 lw a3, (v0) | a3 = *(v0);
0x00006768 addiu a0, zero, 6 | a0 = 6;
| /* str.Starting__s */
0x0000676c addiu a2, a2, 0x7e9c | a2 += 0x7e9c;
0x00006770 addiu a1, zero, 1 | a1 = 1;
0x00006774 jalr t9 | t9 ();
0x00006778 lw a0, 0x30(sp) | a0 = *(var_30h);
0x0000677c lw gp, 0x18(sp) | gp = *(var_18h);
| if (a0 != 0) {
0x00006780 bnez a0, 0x6cc0 | goto label_28;
| }
| label_7:
0x00006784 lw t9, -0x7fb4(gp) | t9 = sym.utilscommandsource_init;
0x00006788 bal 0x12aac | sym_utilscommandsource_init ();
0x0000678c nop |
0x00006790 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006794 lw t9, -0x7fb0(gp) | t9 = sym.thread_pool_init;
0x00006798 bal 0xea74 | sym_thread_pool_init ();
0x0000679c nop |
0x000067a0 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x000067a4 beqz v0, 0x6a90 | goto label_29;
| }
0x000067a8 lw t9, -0x7fac(gp) | t9 = sym.config_get_backoff_factor_min;
0x000067ac bal 0xac64 | sym_config_get_backoff_factor_min ();
0x000067b0 nop |
0x000067b4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000067b8 lw t9, -0x7fa8(gp) | t9 = sym.config_get_backoff_factor_span;
0x000067bc move s5, v0 | s5 = v0;
0x000067c0 bal 0xace0 | sym_config_get_backoff_factor_span ();
0x000067c4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000067c8 lw t9, -0x7fa4(gp) | t9 = sym.config_get_backoff_seconds_max;
0x000067cc move s6, v0 | s6 = v0;
0x000067d0 bal 0xad5c | sym_config_get_backoff_seconds_max ();
0x000067d4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000067d8 move a2, v0 | a2 = v0;
0x000067dc move a1, s6 | a1 = s6;
0x000067e0 lw t9, -0x7fa0(gp) | t9 = sym.backoff_configure;
0x000067e4 move a0, s5 | a0 = s5;
0x000067e8 bal 0x13ef0 | sym_backoff_configure ();
0x000067ec lw gp, 0x18(sp) | gp = *(var_18h);
0x000067f0 lw t9, -0x7f9c(gp) | t9 = sym.avhs_init_dbus;
0x000067f4 bal 0x14ad0 | sym_avhs_init_dbus ();
0x000067f8 nop |
0x000067fc lw gp, 0x18(sp) | gp = *(var_18h);
0x00006800 lw a0, -0x7fd8(gp) | a0 = *(gp);
0x00006804 lw t9, -0x7f98(gp) | t9 = sym.config_mode;
| /* str.oneclick */
0x00006808 addiu a0, a0, 0x7124 | a0 += 0x7124;
0x0000680c bal 0x9a0c | sym_config_mode ();
0x00006810 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00006814 bnez v0, 0x6d54 | goto label_30;
| }
| label_10:
0x00006818 lw t9, -0x7f94(gp) | t9 = sym.command_channel_command_table_init;
0x0000681c bal 0x7ef0 | sym_command_channel_command_table_init ();
0x00006820 nop |
0x00006824 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006828 lw t9, -0x7f90(gp) | t9 = sym.command_channel_connect_thread_start;
0x0000682c bal 0x85c8 | sym_command_channel_connect_thread_start ();
0x00006830 nop |
0x00006834 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006838 lw a0, -0x7fd8(gp) | a0 = *(gp);
0x0000683c lw t9, -0x7f98(gp) | t9 = sym.config_mode;
| /* esilref: 'Yes' */
0x00006840 addiu a0, a0, 0x737c | a0 += 0x737c;
0x00006844 bal 0x9a0c | sym_config_mode ();
0x00006848 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x0000684c bnez v0, 0x6d30 | goto label_31;
| }
| label_9:
0x00006850 lw t9, -0x7a04(gp) | t9 = sym.imp.g_main_loop_run;
0x00006854 lw a0, (s4) | a0 = *(s4);
0x00006858 jalr t9 | t9 ();
0x0000685c lw gp, 0x18(sp) | gp = *(var_18h);
0x00006860 lw t9, -0x7d14(gp) | t9 = sym.imp.g_source_remove;
0x00006864 lw a0, (s2) | a0 = *(s2);
0x00006868 jalr t9 | t9 ();
0x0000686c lw gp, 0x18(sp) | gp = *(var_18h);
0x00006870 lw t9, -0x7d14(gp) | t9 = sym.imp.g_source_remove;
0x00006874 lw a0, (s3) | a0 = *(s3);
0x00006878 jalr t9 | t9 ();
0x0000687c lw gp, 0x18(sp) | gp = *(var_18h);
0x00006880 addiu a1, zero, 1 | a1 = 1;
0x00006884 addiu a0, zero, 6 | a0 = 6;
0x00006888 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x0000688c lw t9, -0x7adc(gp) | t9 = sym.imp.__syslog_chk;
| /* str.Terminating. */
0x00006890 addiu a2, a2, 0x7ea8 | a2 += 0x7ea8;
0x00006894 jalr t9 | t9 ();
0x00006898 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000689c lw t9, -0x7f8c(gp) | t9 = sym.web_user_exists;
0x000068a0 bal 0x13148 | sym_web_user_exists ();
0x000068a4 nop |
0x000068a8 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x000068ac bnez v0, 0x6cd4 | goto label_32;
| }
| label_8:
0x000068b0 lw t9, -0x7f88(gp) | t9 = sym.utilscommandsource_cleanup;
0x000068b4 bal 0x12af0 | sym_utilscommandsource_cleanup ();
0x000068b8 nop |
0x000068bc lw gp, 0x18(sp) | gp = *(var_18h);
0x000068c0 lw t9, -0x7f84(gp) | t9 = sym.command_channel_unref_event_loop;
0x000068c4 bal 0x8804 | sym_command_channel_unref_event_loop ();
0x000068c8 nop |
0x000068cc lw gp, 0x18(sp) | gp = *(var_18h);
0x000068d0 lw t9, -0x7f80(gp) | t9 = sym.thread_pool_free;
0x000068d4 bal 0xecac | sym_thread_pool_free ();
0x000068d8 nop |
0x000068dc lw gp, 0x18(sp) | gp = *(var_18h);
0x000068e0 lw t9, -0x7f7c(gp) | t9 = sym.event_listener_free;
0x000068e4 bal 0xb4e8 | sym_event_listener_free ();
0x000068e8 nop |
0x000068ec lw gp, 0x18(sp) | gp = *(var_18h);
0x000068f0 lw t9, -0x7f78(gp) | t9 = sym.command_channel_connect_thread_stop;
0x000068f4 bal 0x86d0 | sym_command_channel_connect_thread_stop ();
0x000068f8 nop |
0x000068fc lw gp, 0x18(sp) | gp = *(var_18h);
0x00006900 lw t9, -0x7f74(gp) | t9 = sym.command_channel_command_table_destroy;
0x00006904 bal 0x7c10 | sym_command_channel_command_table_destroy ();
0x00006908 nop |
0x0000690c lw gp, 0x18(sp) | gp = *(var_18h);
0x00006910 lw t9, -0x7f70(gp) | t9 = sym.ssl_cleanup;
0x00006914 bal 0xd8d0 | sym_ssl_cleanup ();
0x00006918 nop |
0x0000691c lw gp, 0x18(sp) | gp = *(var_18h);
0x00006920 lw t9, -0x7f6c(gp) | t9 = sym.config_free;
0x00006924 bal 0x9398 | sym_config_free ();
0x00006928 nop |
0x0000692c lw gp, 0x18(sp) | gp = *(var_18h);
0x00006930 lw t9, -0x7c40(gp) | t9 = sym.imp.closelog;
0x00006934 jalr t9 | t9 ();
0x00006938 nop |
0x0000693c lw gp, 0x18(sp) | gp = *(var_18h);
0x00006940 lw t9, -0x7b5c(gp) | t9 = sym.imp.g_unlink;
| /* str._var_run_stclient_stclient.pid */
0x00006944 addiu a0, s1, 0x7dcc | a0 = s1 + 0x7dcc;
0x00006948 jalr t9 | t9 ();
0x0000694c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00006950 beqz v0, 0x69f4 | goto label_2;
| }
0x00006954 lw t9, -0x7a1c(gp) | t9 = sym.imp.__errno_location;
0x00006958 jalr t9 | t9 ();
0x0000695c nop |
0x00006960 lw a0, (v0) | a0 = *(v0);
0x00006964 addiu v0, zero, 2 | v0 = 2;
0x00006968 lw gp, 0x18(sp) | gp = *(var_18h);
| if (a0 == v0) {
0x0000696c beq a0, v0, 0x6d78 | goto label_33;
| }
0x00006970 lw t9, -0x7bc0(gp) | t9 = sym.imp.strerror;
| /* str._var_run_stclient_stclient.pid */
0x00006974 addiu s1, s1, 0x7dcc | s1 += 0x7dcc;
0x00006978 jalr t9 | t9 ();
0x0000697c lw gp, 0x18(sp) | gp = *(var_18h);
0x00006980 sw v0, 0x14(sp) | *(var_14h_2) = v0;
0x00006984 sw s1, 0x10(sp) | *(var_10h_2) = s1;
0x00006988 lw a3, -0x7fd8(gp) | a3 = *(gp);
0x0000698c lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00006990 lw t9, -0x7f68(gp) | t9 = sym.logsyslog;
| /* str.Failed_to_remove__s:__s */
0x00006994 addiu a3, a3, 0x7ef8 | a3 += 0x7ef8;
0x00006998 addiu a2, zero, 0x175 | a2 = 0x175;
| /* str.main.c */
0x0000699c addiu a1, a1, 0x7e0c | a1 += 0x7e0c;
0x000069a0 addiu a0, zero, 4 | a0 = 4;
0x000069a4 bal 0x13be0 | sym_logsyslog ();
0x000069a8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000069ac move v0, zero | v0 = 0;
0x000069b0 b 0x69f4 | goto label_2;
| label_13:
0x000069b4 lw s1, -0x7fd8(gp) | s1 = *(gp);
0x000069b8 lw t9, -0x7a50(gp) | t9 = sym.imp.openlog;
0x000069bc addiu a2, zero, 0x18 | a2 = 0x18;
0x000069c0 addiu a1, zero, 0x23 | a1 = 0x23;
| /* str.stclient */
0x000069c4 addiu a0, s1, 0x7ba8 | a0 = s1 + 0x7ba8;
0x000069c8 jalr t9 | t9 ();
0x000069cc lw gp, 0x18(sp) | gp = *(var_18h);
0x000069d0 b 0x63d4 |
| } while (1);
| label_12:
0x000069d4 lw v0, 0x28(sp) | v0 = *(var_28h);
0x000069d8 lw a0, -0x7fd8(gp) | a0 = *(gp);
0x000069dc lw t9, -0x7948(gp) | t9 = sym.imp.g_printerr;
0x000069e0 lw a1, 8(v0) | a1 = *((v0 + 2));
| /* str.option_parsing_failed:__s_n */
0x000069e4 addiu a0, a0, 0x7c98 | a0 += 0x7c98;
0x000069e8 jalr t9 | t9 ();
0x000069ec lw gp, 0x18(sp) | gp = *(var_18h);
0x000069f0 addiu v0, zero, 1 | v0 = 1;
| label_2:
0x000069f4 lw a0, 0x15c(sp) | a0 = *(var_15ch);
0x000069f8 lw v1, (s0) | v1 = *(s0);
0x000069fc lw ra, 0x17c(sp) | ra = *(var_17ch);
| if (a0 != v1) {
0x00006a00 bne a0, v1, 0x6dd0 | goto label_34;
| }
0x00006a04 lw s6, 0x178(sp) | s6 = *(var_178h);
0x00006a08 lw s5, 0x174(sp) | s5 = *(var_174h);
0x00006a0c lw s4, 0x170(sp) | s4 = *(var_170h);
0x00006a10 lw s3, 0x16c(sp) | s3 = *(var_16ch);
0x00006a14 lw s2, 0x168(sp) | s2 = *(var_168h);
0x00006a18 lw s1, 0x164(sp) | s1 = *(var_164h);
0x00006a1c lw s0, 0x160(sp) | s0 = *(var_160h);
0x00006a20 addiu sp, sp, 0x180 |
0x00006a24 jr ra | return v0;
| label_20:
0x00006a28 lw t9, -0x7f64(gp) | t9 = sym.config_connections;
0x00006a2c bal 0xaf4c | sym_config_connections ();
0x00006a30 nop |
0x00006a34 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006a38 lw t9, -0x7fd0(gp) | t9 = sym.ssl_set_connections;
0x00006a3c move a0, v0 | a0 = v0;
0x00006a40 bal 0xd920 | sym_ssl_set_connections ();
0x00006a44 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006a48 b 0x646c | goto label_0;
| label_22:
0x00006a4c jalr t9 | t9 ();
0x00006a50 nop |
0x00006a54 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == s4) {
0x00006a58 beq v0, s4, 0x665c | goto label_1;
| }
0x00006a5c lw t9, -0x7cc8(gp) | t9 = sym.imp.kill;
0x00006a60 move a1, zero | a1 = 0;
0x00006a64 move a0, s4 | a0 = s4;
0x00006a68 jalr t9 | t9 ();
0x00006a6c lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00006a70 bnez v0, 0x6bbc | goto label_35;
| }
| label_4:
0x00006a74 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x00006a78 lw t9, -0x7adc(gp) | t9 = sym.imp.__syslog_chk;
| /* str.Already_running. */
0x00006a7c addiu a2, a2, 0x7f14 | a2 += 0x7f14;
| do {
| label_6:
0x00006a80 addiu a1, zero, 1 | a1 = 1;
0x00006a84 addiu a0, zero, 3 | a0 = 3;
0x00006a88 jalr t9 | t9 ();
0x00006a8c lw gp, 0x18(sp) | gp = *(var_18h);
| label_29:
0x00006a90 addiu v0, zero, 1 | v0 = 1;
0x00006a94 b 0x69f4 | goto label_2;
| label_21:
0x00006a98 lw a0, -0x7fd8(gp) | a0 = *(gp);
0x00006a9c lw t9, -0x7948(gp) | t9 = sym.imp.g_printerr;
| /* str.Failed_to_init_ssl_n */
0x00006aa0 addiu a0, a0, 0x7db8 | a0 += 0x7db8;
0x00006aa4 jalr t9 | t9 ();
0x00006aa8 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006aac addiu v0, zero, 1 | v0 = 1;
0x00006ab0 b 0x69f4 | goto label_2;
| label_15:
0x00006ab4 lw v0, -0x7cd4(gp) | v0 = *((gp - 7989));
0x00006ab8 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x00006abc lw t9, -0x7c18(gp) | t9 = sym.imp.__fprintf_chk
0x00006ac0 lw a0, (v0) | a0 = *(v0);
| /* str.stclient */
0x00006ac4 addiu a3, s1, 0x7ba8 | a3 = s1 + 0x7ba8;
| /* str.Couldnt_get_uid_for_user___s_._n */
0x00006ac8 addiu a2, a2, 0x7cc8 | a2 += 0x7cc8;
0x00006acc addiu a1, zero, 1 | a1 = 1;
0x00006ad0 jalr t9 | t9 ();
0x00006ad4 lw gp, 0x18(sp) | gp = *(var_18h);
| label_3:
0x00006ad8 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x00006adc lw t9, -0x7adc(gp) | t9 = sym.imp.__syslog_chk;
| /* str.Failed_setting_uid_and_gid_of_the_process. */
0x00006ae0 addiu a2, a2, 0x7d8c | a2 += 0x7d8c;
0x00006ae4 b 0x6a80 |
| } while (1);
| label_17:
0x00006ae8 lw v0, -0x7cd4(gp) | v0 = *((gp - 7989));
0x00006aec lw a2, -0x7fd8(gp) | a2 = *(gp);
0x00006af0 lw t9, -0x7c18(gp) | t9 = sym.imp.__fprintf_chk
0x00006af4 lw a3, 8(s2) | a3 = *((s2 + 2));
0x00006af8 lw a0, (v0) | a0 = *(v0);
| /* str.Failed_setting_gid_to__d:__m_n */
0x00006afc addiu a2, a2, 0x7d10 | a2 += 0x7d10;
0x00006b00 addiu a1, zero, 1 | a1 = 1;
0x00006b04 jalr t9 | t9 ();
0x00006b08 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006b0c b 0x6ad8 | goto label_3;
| label_16:
0x00006b10 lw v0, -0x7cd4(gp) | v0 = *((gp - 7989));
0x00006b14 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x00006b18 lw t9, -0x7c18(gp) | t9 = sym.imp.__fprintf_chk
0x00006b1c lw a0, (v0) | a0 = *(v0);
| /* str.stclient */
0x00006b20 addiu a3, s1, 0x7ba8 | a3 = s1 + 0x7ba8;
| /* str.Couldnt_get_gid_for_group___s_._n */
0x00006b24 addiu a2, a2, 0x7cec | a2 += 0x7cec;
0x00006b28 addiu a1, zero, 1 | a1 = 1;
0x00006b2c jalr t9 | t9 ();
0x00006b30 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006b34 b 0x6ad8 | goto label_3;
| label_23:
0x00006b38 lw t9, -0x7a1c(gp) | t9 = sym.imp.__errno_location;
| /* str._var_run_stclient_stclient.pid */
0x00006b3c addiu s1, s1, 0x7dcc | s1 += 0x7dcc;
0x00006b40 jalr t9 | t9 ();
0x00006b44 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006b48 lw t9, -0x7bc0(gp) | t9 = sym.imp.strerror;
0x00006b4c lw a0, (v0) | a0 = *(v0);
0x00006b50 jalr t9 | t9 ();
0x00006b54 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006b58 sw v0, 0x14(sp) | *(var_14h_2) = v0;
0x00006b5c sw s1, 0x10(sp) | *(var_10h_2) = s1;
0x00006b60 lw a3, -0x7fd8(gp) | a3 = *(gp);
0x00006b64 lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00006b68 lw t9, -0x7f68(gp) | t9 = sym.logsyslog;
| /* str.Cant_open_or_create__s:__s */
0x00006b6c addiu a3, a3, 0x7dec | a3 += 0x7dec;
0x00006b70 addiu a2, zero, 0x14b | a2 = 0x14b;
| /* str.main.c */
0x00006b74 addiu a1, a1, 0x7e0c | a1 += 0x7e0c;
0x00006b78 addiu a0, zero, 4 | a0 = 4;
0x00006b7c bal 0x13be0 | sym_logsyslog ();
0x00006b80 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006b84 addiu v0, zero, 1 | v0 = 1;
0x00006b88 b 0x69f4 | goto label_2;
| label_18:
0x00006b8c lw v1, -0x7cd4(gp) | v1 = *((gp - 7989));
0x00006b90 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x00006b94 lw v0, 8(s2) | v0 = *((s2 + 2));
0x00006b98 lw t9, -0x7c18(gp) | t9 = sym.imp.__fprintf_chk
0x00006b9c lw a3, (s3) | a3 = *(s3);
0x00006ba0 lw a0, (v1) | a0 = *(v1);
| /* str.Unable_to_run_initgroups____with_username:__s__gid:__d:__m_n */
0x00006ba4 addiu a2, a2, 0x7d30 | a2 += 0x7d30;
0x00006ba8 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00006bac addiu a1, zero, 1 | a1 = 1;
0x00006bb0 jalr t9 | t9 ();
0x00006bb4 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006bb8 b 0x6ad8 | goto label_3;
| label_35:
0x00006bbc lw t9, -0x7a1c(gp) | t9 = sym.imp.__errno_location;
0x00006bc0 jalr t9 | t9 ();
0x00006bc4 nop |
0x00006bc8 lw v1, (v0) | v1 = *(v0);
0x00006bcc addiu v0, zero, 3 | v0 = 3;
0x00006bd0 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v1 != v0) {
0x00006bd4 bne v1, v0, 0x6a74 | goto label_4;
| }
0x00006bd8 lw t9, -0x7850(gp) | t9 = sym.imp.open;
0x00006bdc b 0x6660 | goto label_5;
| label_19:
0x00006be0 lw v0, -0x7cd4(gp) | v0 = *((gp - 7989));
0x00006be4 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x00006be8 lw t9, -0x7c18(gp) | t9 = sym.imp.__fprintf_chk
0x00006bec lw a3, 8(s3) | a3 = *((s3 + 2));
0x00006bf0 lw a0, (v0) | a0 = *(v0);
| /* str.Failed_setting_uid_to__d:__m_n */
0x00006bf4 addiu a2, a2, 0x7d6c | a2 += 0x7d6c;
0x00006bf8 addiu a1, zero, 1 | a1 = 1;
0x00006bfc jalr t9 | t9 ();
0x00006c00 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006c04 b 0x6ad8 | goto label_3;
| label_25:
0x00006c08 lw t9, -0x7a1c(gp) | t9 = sym.imp.__errno_location;
0x00006c0c jalr t9 | t9 ();
0x00006c10 nop |
0x00006c14 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006c18 lw t9, -0x7bc0(gp) | t9 = sym.imp.strerror;
0x00006c1c lw a0, (v0) | a0 = *(v0);
0x00006c20 jalr t9 | t9 ();
0x00006c24 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006c28 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00006c2c addiu a2, zero, 0x159 | a2 = 0x159;
0x00006c30 lw a3, -0x7fd8(gp) | a3 = *(gp);
0x00006c34 lw t9, -0x7f68(gp) | t9 = sym.logsyslog;
| /* str.Cant_write_pid:__s */
0x00006c38 addiu a3, a3, 0x7e40 | a3 += 0x7e40;
| do {
0x00006c3c lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00006c40 addiu a0, zero, 4 | a0 = 4;
| /* str.main.c */
0x00006c44 addiu a1, a1, 0x7e0c | a1 += 0x7e0c;
0x00006c48 bal 0x13be0 | sym_logsyslog ();
0x00006c4c lw gp, 0x18(sp) | gp = *(var_18h);
| label_11:
0x00006c50 lw t9, -0x7a20(gp) | t9 = sym.imp.fclose;
0x00006c54 move a0, s6 | a0 = s6;
0x00006c58 jalr t9 | t9 ();
0x00006c5c lw gp, 0x18(sp) | gp = *(var_18h);
0x00006c60 addiu v0, zero, 1 | v0 = 1;
0x00006c64 b 0x69f4 | goto label_2;
| label_14:
0x00006c68 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x00006c6c lw t9, -0x7adc(gp) | t9 = sym.imp.__syslog_chk;
| /* str.daemon_failed___m */
0x00006c70 addiu a2, a2, 0x7cb4 | a2 += 0x7cb4;
0x00006c74 b 0x6a80 | goto label_6;
| label_27:
0x00006c78 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x00006c7c lw t9, -0x7adc(gp) | t9 = sym.imp.__syslog_chk;
| /* str.Failed_to_initialize_configuration___exit__n */
0x00006c80 addiu a2, a2, 0x7e70 | a2 += 0x7e70;
0x00006c84 b 0x6a80 | goto label_6;
| label_24:
0x00006c88 lw a1, -0x7fbc(gp) | a1 = *((gp - 8175));
0x00006c8c lw t9, -0x7cb4(gp) | t9 = sym.imp.__isoc99_fscanf;
0x00006c90 addiu a2, sp, 0x3c | a2 = sp + 0x3c;
| /* esilref: '&d' */
0x00006c94 addiu a1, a1, -0x48e4 | a1 += -0x48e4;
0x00006c98 move a0, s6 | a0 = s6;
0x00006c9c jalr t9 | t9 ();
0x00006ca0 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006ca4 lw v0, 0x3c(sp) | v0 = *(var_3ch);
0x00006ca8 addiu a2, zero, 0x151 | a2 = 0x151;
0x00006cac lw a3, -0x7fd8(gp) | a3 = *(gp);
0x00006cb0 lw t9, -0x7f68(gp) | t9 = sym.logsyslog;
0x00006cb4 sw v0, 0x10(sp) | *(var_10h_2) = v0;
| /* str.Cant_lock__lock_is_held_by_pid__d */
0x00006cb8 addiu a3, a3, 0x7e18 | a3 += 0x7e18;
0x00006cbc b 0x6c3c |
| } while (1);
| label_28:
0x00006cc0 lw t9, -0x7f60(gp) | t9 = sym.config_set_dscp;
0x00006cc4 bal 0xa19c | sym_config_set_dscp ();
0x00006cc8 nop |
0x00006ccc lw gp, 0x18(sp) | gp = *(var_18h);
0x00006cd0 b 0x6784 | goto label_7;
| label_32:
0x00006cd4 lw s2, -0x7fd8(gp) | s2 = *(gp);
0x00006cd8 lw a2, -0x7fd8(gp) | a2 = *(gp);
0x00006cdc lw t9, -0x7adc(gp) | t9 = sym.imp.__syslog_chk;
| /* str.stsuser */
0x00006ce0 addiu a3, s2, 0x7498 | a3 = s2 + 0x7498;
| /* str.Cleanup__user__s_exists__removing. */
0x00006ce4 addiu a2, a2, 0x7eb8 | a2 += 0x7eb8;
0x00006ce8 addiu a1, zero, 1 | a1 = 1;
0x00006cec addiu a0, zero, 6 | a0 = 6;
0x00006cf0 jalr t9 | t9 ();
0x00006cf4 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006cf8 lw t9, -0x7f5c(gp) | t9 = sym.web_user_remove;
0x00006cfc bal 0x133f4 | sym_web_user_remove ();
0x00006d00 nop |
0x00006d04 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00006d08 bnez v0, 0x68b0 | goto label_8;
| }
0x00006d0c lw a2, -0x7fd8(gp) | a2 = *(gp);
0x00006d10 lw t9, -0x7adc(gp) | t9 = sym.imp.__syslog_chk;
| /* str.stsuser */
0x00006d14 addiu a3, s2, 0x7498 | a3 = s2 + 0x7498;
| /* str.Failed_to_remove__s. */
0x00006d18 addiu a2, a2, 0x7ee0 | a2 += 0x7ee0;
0x00006d1c addiu a1, zero, 1 | a1 = 1;
0x00006d20 addiu a0, zero, 3 | a0 = 3;
0x00006d24 jalr t9 | t9 ();
0x00006d28 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006d2c b 0x68b0 | goto label_8;
| label_31:
0x00006d30 lw t9, -0x7f58(gp) | t9 = sym.config_get_first_server;
0x00006d34 bal 0x9478 | sym_config_get_first_server ();
0x00006d38 nop |
0x00006d3c lw gp, 0x18(sp) | gp = *(var_18h);
0x00006d40 lw t9, -0x7f54(gp) | t9 = sym.command_channel_schedule_reconnect;
0x00006d44 move a0, v0 | a0 = v0;
0x00006d48 bal 0x7468 | sym_command_channel_schedule_reconnect ();
0x00006d4c lw gp, 0x18(sp) | gp = *(var_18h);
0x00006d50 b 0x6850 | goto label_9;
| label_30:
0x00006d54 lw t9, -0x7f50(gp) | t9 = sym.event_listener_new;
0x00006d58 bal 0xb464 | sym_event_listener_new ();
0x00006d5c nop |
0x00006d60 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006d64 lw t9, -0x7f4c(gp) | t9 = sym.oneclick_mode_set;
0x00006d68 move a0, zero | a0 = 0;
0x00006d6c bal 0xb600 | sym_oneclick_mode_set ();
0x00006d70 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006d74 b 0x6818 | goto label_10;
| label_33:
0x00006d78 move v0, zero | v0 = 0;
0x00006d7c b 0x69f4 | goto label_2;
| label_26:
0x00006d80 lw t9, -0x7a1c(gp) | t9 = sym.imp.__errno_location;
| /* str._var_run_stclient_stclient.pid */
0x00006d84 addiu s1, s1, 0x7dcc | s1 += 0x7dcc;
0x00006d88 jalr t9 | t9 ();
0x00006d8c lw gp, 0x18(sp) | gp = *(var_18h);
0x00006d90 lw t9, -0x7bc0(gp) | t9 = sym.imp.strerror;
0x00006d94 lw a0, (v0) | a0 = *(v0);
0x00006d98 jalr t9 | t9 ();
0x00006d9c lw gp, 0x18(sp) | gp = *(var_18h);
0x00006da0 sw v0, 0x14(sp) | *(var_14h_2) = v0;
0x00006da4 sw s1, 0x10(sp) | *(var_10h_2) = s1;
0x00006da8 lw a3, -0x7fd8(gp) | a3 = *(gp);
0x00006dac lw a1, -0x7fd8(gp) | a1 = *(gp);
0x00006db0 lw t9, -0x7f68(gp) | t9 = sym.logsyslog;
| /* str.Cant_unlock_pidfile__s:__s */
0x00006db4 addiu a3, a3, 0x7e54 | a3 += 0x7e54;
0x00006db8 addiu a2, zero, 0x161 | a2 = 0x161;
| /* str.main.c */
0x00006dbc addiu a1, a1, 0x7e0c | a1 += 0x7e0c;
0x00006dc0 addiu a0, zero, 4 | a0 = 4;
0x00006dc4 bal 0x13be0 | sym_logsyslog ();
0x00006dc8 lw gp, 0x18(sp) | gp = *(var_18h);
0x00006dcc b 0x6c50 | goto label_11;
| label_34:
0x00006dd0 lw t9, -0x7ae4(gp) | t9 = sym.imp.__stack_chk_fail;
0x00006dd4 jalr t9 | t9 ();
0x00006dd8 nop |
0x00006ddc nop |
| }
[*] Function fprintf used 7 times stclient