[*] Binary protection state of lsof
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function strcat tear down of lsof
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/lsof @ 0x19f8c */
| #include <stdint.h>
|
; (fcn) sym.enter_network_address () | void enter_network_address () {
0x00019f8c lui gp, 3 |
0x00019f90 addiu gp, gp, -0x6c6c |
0x00019f94 addu gp, gp, t9 | gp += t9;
0x00019f98 lw v0, -0x7acc(gp) | v0 = *((gp - 7859));
0x00019f9c addiu sp, sp, -0xe0 |
0x00019fa0 sw v0, 0x2c(sp) | *(var_2ch) = v0;
0x00019fa4 lw v0, (v0) | v0 = *(v0);
0x00019fa8 sw gp, 0x20(sp) | *(var_20h) = gp;
0x00019fac sw ra, 0xdc(sp) | *(var_dch) = ra;
0x00019fb0 sw fp, 0xd8(sp) | *(var_d8h) = fp;
0x00019fb4 sw s7, 0xd4(sp) | *(var_d4h) = s7;
0x00019fb8 sw s6, 0xd0(sp) | *(var_d0h) = s6;
0x00019fbc sw s5, 0xcc(sp) | *(var_cch) = s5;
0x00019fc0 sw s4, 0xc8(sp) | *(var_c8h) = s4;
0x00019fc4 sw s3, 0xc4(sp) | *(var_c4h) = s3;
0x00019fc8 sw s2, 0xc0(sp) | *(var_c0h) = s2;
0x00019fcc sw s1, 0xbc(sp) | *(var_bch) = s1;
0x00019fd0 sw s0, 0xb8(sp) | *(var_b8h) = s0;
0x00019fd4 sw v0, 0xb4(sp) | *(var_b4h) = v0;
0x00019fd8 addiu s2, sp, 0x5c | s2 = sp + 0x5c;
| if (a0 == 0) {
0x00019fdc beqz a0, 0x1a3f8 | goto label_43;
| }
0x00019fe0 lb v1, (a0) | v1 = *(a0);
0x00019fe4 move s0, a0 | s0 = a0;
0x00019fe8 addiu a0, zero, 0x34 | a0 = 0x34;
0x00019fec sw zero, 0x5c(sp) | *(var_5ch) = 0;
0x00019ff0 move v0, v1 | v0 = v1;
0x00019ff4 sw zero, 4(s2) | *((s2 + 1)) = 0;
0x00019ff8 sw zero, 8(s2) | *((s2 + 2)) = 0;
0x00019ffc sw zero, 0xc(s2) | *((s2 + 3)) = 0;
0x0001a000 sw zero, 0x10(s2) | *((s2 + 4)) = 0;
0x0001a004 sw zero, 0x14(s2) | *((s2 + 5)) = 0;
0x0001a008 sw zero, 0x18(s2) | *((s2 + 6)) = 0;
0x0001a00c sw zero, 0x1c(s2) | *((s2 + 7)) = 0;
0x0001a010 sw zero, 0x20(s2) | *((s2 + 8)) = 0;
0x0001a014 sw zero, 0x24(s2) | *((s2 + 9)) = 0;
0x0001a018 sw zero, 0x28(s2) | *((s2 + 10)) = 0;
| if (v1 == a0) {
0x0001a01c beq v1, a0, 0x1a464 | goto label_44;
| }
0x0001a020 addiu a0, zero, 0x36 | a0 = 0x36;
0x0001a024 lw a0, -0x7f1c(gp) | a0 = *(gp);
| if (v1 != a0) {
0x0001a028 beq v1, a0, 0x1a060 |
0x0001a02c lw a0, (a0) | a0 = *(a0);
0x0001a030 sw a0, 0x38(sp) | *(var_38h) = a0;
| if (a0 == 0) {
0x0001a034 beqz a0, 0x1a2a0 | goto label_45;
| }
0x0001a038 lw a1, -0x7de4(gp) | a1 = *(gp);
0x0001a03c addiu a0, zero, 4 | a0 = 4;
0x0001a040 lw a1, (a1) | a1 = *(a1);
0x0001a044 sw a1, 0x38(sp) | *(var_38h) = a1;
| if (a1 == a0) {
0x0001a048 beq a1, a0, 0x1ad64 | goto label_46;
| }
0x0001a04c addiu a0, zero, 6 | a0 = 6;
0x0001a050 move fp, s0 | fp = s0;
| if (a1 == a0) {
0x0001a054 beq a1, a0, 0x1a06c | goto label_47;
| }
0x0001a058 b 0x1a07c | goto label_4;
0x0001a05c nop |
| }
0x0001a060 lb v0, 1(s0) | v0 = *((s0 + 1));
0x0001a064 addiu fp, s0, 1 | fp = s0 + 1;
| if (v0 == 0) {
0x0001a068 beqz v0, 0x1ad5c | goto label_48;
| }
| label_47:
0x0001a06c addiu a0, zero, 0xa | a0 = 0xa;
0x0001a070 sw a0, 0x64(sp) | *(var_64h) = a0;
0x0001a074 addiu a0, zero, 6 | a0 = 6;
0x0001a078 sw a0, 0x38(sp) | *(var_38h) = a0;
| label_4:
0x0001a07c addiu a0, zero, 0x40 | a0 = 0x40;
| if (v0 != 0) {
0x0001a080 bnez v0, 0x1a2ac | goto label_49;
| }
| label_1:
0x0001a084 addiu v0, zero, -1 | v0 = -1;
0x0001a088 sw zero, 0x3c(sp) | *(var_3ch) = 0;
0x0001a08c sw zero, 0x50(sp) | *(var_50h) = 0;
0x0001a090 sw v0, 0x30(sp) | *(var_30h) = v0;
0x0001a094 sw zero, 0x40(sp) | *(var_40h) = 0;
0x0001a098 move s7, zero | s7 = 0;
0x0001a09c sw v0, 0x34(sp) | *(var_34h) = v0;
| label_17:
0x0001a0a0 lw v0, -0x7d6c(gp) | v0 = *(gp);
0x0001a0a4 lw s3, -0x7f98(gp) | s3 = *((gp - 8166));
| /* fcn.00017a74 */
0x0001a0a8 addiu v0, v0, 0x7a74 | v0 += 0x7a74;
0x0001a0ac sw fp, 0x54(sp) | *(var_54h) = fp;
0x0001a0b0 addiu s1, sp, 0x88 | s1 = sp + 0x88;
0x0001a0b4 sw v0, 0x4c(sp) | *(var_4ch) = v0;
0x0001a0b8 move fp, s7 | fp = s7;
0x0001a0bc sw s0, 0x48(sp) | *(var_48h) = s0;
0x0001a0c0 sw s2, 0x44(sp) | *(var_44h) = s2;
| label_3:
0x0001a0c4 lw t9, -0x7da0(gp) | t9 = sym.mkstrcpy;
| if (v1 != 0) {
0x0001a0c8 bnez v1, 0x1a8e4 | goto label_50;
| }
0x0001a0cc sw zero, 0x5c(sp) | *(var_5ch) = 0;
| label_14:
0x0001a0d0 lw v0, 0x44(sp) | v0 = *(var_44h);
0x0001a0d4 move v1, s1 | v1 = s1;
0x0001a0d8 addiu t1, sp, 0x7c | t1 = sp + 0x7c;
| do {
0x0001a0dc lw a3, (v0) | a3 = *(v0);
0x0001a0e0 lw a2, 4(v0) | a2 = *((v0 + 1));
0x0001a0e4 lw a1, 8(v0) | a1 = *((v0 + 2));
0x0001a0e8 lw a0, 0xc(v0) | a0 = *((v0 + 3));
0x0001a0ec addiu v0, v0, 0x10 | v0 += 0x10;
0x0001a0f0 sw a3, (v1) | *(v1) = a3;
0x0001a0f4 sw a2, 4(v1) | *((v1 + 1)) = a2;
0x0001a0f8 sw a1, 8(v1) | *((v1 + 2)) = a1;
0x0001a0fc sw a0, 0xc(v1) | *((v1 + 3)) = a0;
0x0001a100 addiu v1, v1, 0x10 | v1 += 0x10;
0x0001a104 bne v0, t1, 0x1a0dc |
| } while (v0 != t1);
0x0001a108 lw a1, (v0) | a1 = *(v0);
0x0001a10c lw a0, 4(v0) | a0 = *((v0 + 1));
0x0001a110 lw v0, 8(v0) | v0 = *((v0 + 2));
0x0001a114 sw a1, (v1) | *(v1) = a1;
0x0001a118 sw a0, 4(v1) | *((v1 + 1)) = a0;
0x0001a11c sw v0, 8(v1) | *((v1 + 2)) = v0;
0x0001a120 lw s5, 0x60(sp) | s5 = *(var_60h);
0x0001a124 addiu s7, zero, 4 | s7 = 4;
0x0001a128 addiu s0, sp, 0xa8 | s0 = sp + 0xa8;
0x0001a12c move s6, s1 | s6 = s1;
0x0001a130 move s1, s7 | s1 = s7;
0x0001a134 move s7, s0 | s7 = s0;
0x0001a138 move s0, s5 | s0 = s5;
0x0001a13c lw s4, 0x64(sp) | s4 = *(var_64h);
0x0001a140 lw s2, -0x7f00(gp) | s2 = *(gp);
| if (s0 == 0) {
0x0001a144 beqz s0, 0x1a24c | goto label_51;
| }
0x0001a148 lw s5, -0x44fc(s3) | s5 = *((s3 - 4415));
| label_0:
0x0001a14c slti v0, s5, 0x64 | v0 = (s5 < 0x64) ? 1 : 0;
0x0001a150 lw t9, -0x7b30(gp) | t9 = sym.imp.malloc;
| if (v0 == 0) {
0x0001a154 beqz v0, 0x1aa4c | goto label_52;
| }
0x0001a158 addiu a0, zero, 0x2c | a0 = 0x2c;
0x0001a15c jalr t9 | t9 ();
0x0001a160 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x0001a164 beqz v0, 0x1aa88 | goto label_53;
| }
0x0001a168 sw s0, 0x8c(sp) | *(var_8ch) = s0;
0x0001a16c sw s4, 0x90(sp) | *(var_90h) = s4;
0x0001a170 move a0, s6 | a0 = s6;
0x0001a174 move v1, v0 | v1 = v0;
| do {
0x0001a178 lw t0, (a0) | t0 = *(a0);
0x0001a17c lw a3, 4(a0) | a3 = *((a0 + 1));
0x0001a180 lw a2, 8(a0) | a2 = *((a0 + 2));
0x0001a184 lw a1, 0xc(a0) | a1 = *((a0 + 3));
0x0001a188 addiu a0, a0, 0x10 | a0 += 0x10;
0x0001a18c sw t0, (v1) | *(v1) = t0;
0x0001a190 sw a3, 4(v1) | *((v1 + 1)) = a3;
0x0001a194 sw a2, 8(v1) | *((v1 + 2)) = a2;
0x0001a198 sw a1, 0xc(v1) | *((v1 + 3)) = a1;
0x0001a19c addiu v1, v1, 0x10 | v1 += 0x10;
0x0001a1a0 bne a0, s7, 0x1a178 |
| } while (a0 != s7);
0x0001a1a4 lw t2, (s7) | t2 = *(s7);
0x0001a1a8 lw t1, 4(s7) | t1 = *((s7 + 1));
0x0001a1ac lw t0, 8(s7) | t0 = *((s7 + 2));
0x0001a1b0 lw a3, (s2) | a3 = *(s2);
0x0001a1b4 sw t2, (v1) | *(v1) = t2;
0x0001a1b8 sw t1, 4(v1) | *((v1 + 1)) = t1;
0x0001a1bc sw t0, 8(v1) | *((v1 + 2)) = t0;
0x0001a1c0 lw v1, 0x30(sp) | v1 = *(var_30h);
0x0001a1c4 addiu a0, s5, 1 | a0 = s5 + 1;
0x0001a1c8 sw v1, 0x1c(v0) | *((v0 + 7)) = v1;
0x0001a1cc lw v1, 0x34(sp) | v1 = *(var_34h);
0x0001a1d0 sw v0, (s2) | *(s2) = v0;
0x0001a1d4 sw v1, 0x20(v0) | *((v0 + 8)) = v1;
0x0001a1d8 sw zero, 0x24(v0) | *((v0 + 9)) = 0;
0x0001a1dc sw a3, 0x28(v0) | *((v0 + 10)) = a3;
0x0001a1e0 sw a0, -0x44fc(s3) | *((s3 - 4415)) = a0;
| if (fp == 0) {
0x0001a1e4 beqz fp, 0x1a3a8 | goto label_54;
| }
0x0001a1e8 lw v1, 0x10(fp) | v1 = *(arg_10h);
0x0001a1ec lwx v1, s1(v1) | __asm ("lwx v1, s1(v1)");
0x0001a1f0 lw v0, 0x3c(sp) | v0 = *(var_3ch);
| if (v1 == 0) {
0x0001a1f4 beqz v1, 0x1a3ac | goto label_55;
| }
0x0001a1f8 lw v0, 0xc(fp) | v0 = *(arg_ch);
0x0001a1fc slti a0, v0, 2 | a0 = (v0 < 2) ? 1 : 0;
0x0001a200 addiu a0, v0, -1 | a0 = v0 + -1;
| if (a0 != 0) {
0x0001a204 bnez a0, 0x1a4a8 | goto label_56;
| }
0x0001a208 move v0, zero | v0 = 0;
0x0001a20c addiu v1, v1, 1 | v1++;
| do {
0x0001a210 addu a1, s6, v0 | a1 = s6 + v0;
0x0001a214 lbu a2, -1(v1) | a2 = *((v1 - 1));
0x0001a218 addiu v0, v0, 1 | v0++;
0x0001a21c sb a2, 0xc(a1) | *((a1 + 12)) = a2;
| if (v0 == a0) {
0x0001a220 beq v0, a0, 0x1a230 | goto label_57;
| }
0x0001a224 addiu a1, zero, 0xf | a1 = 0xf;
0x0001a228 addiu v1, v1, 1 | v1++;
0x0001a22c bnel v0, a1, 0x1a210 |
| } while (v0 == a1);
| label_57:
0x0001a230 addiu a0, sp, 0xb8 | a0 = sp + 0xb8;
0x0001a234 addu v0, a0, v0 | v0 = a0 + v0;
0x0001a238 lbu v1, (v1) | v1 = *(v1);
0x0001a23c addiu s1, s1, 4 | s1 += 4;
0x0001a240 sb v1, -0x24(v0) | *((v0 - 36)) = v1;
| label_6:
0x0001a244 lw s5, -0x44fc(s3) | s5 = *((s3 - 4415));
| if (s0 != 0) {
0x0001a248 bnez s0, 0x1a14c | goto label_0;
| }
| label_51:
0x0001a24c lw v0, 0x94(sp) | v0 = *(var_94h);
0x0001a250 lw s5, -0x44fc(s3) | s5 = *((s3 - 4415));
| if (v0 != 0) {
0x0001a254 bnez v0, 0x1a14c | goto label_0;
| }
0x0001a258 addiu v0, zero, 0xa | v0 = 0xa;
0x0001a25c lw v1, 0x30(sp) | v1 = *(var_30h);
| if (s4 == v0) {
0x0001a260 beq s4, v0, 0x1a484 | goto label_58;
| }
| label_5:
0x0001a264 addiu v0, zero, -1 | v0 = -1;
0x0001a268 lw s5, -0x44fc(s3) | s5 = *((s3 - 4415));
| if (v1 != v0) {
0x0001a26c bne v1, v0, 0x1a14c | goto label_0;
| }
0x0001a270 lw s1, -0x7ab4(gp) | s1 = *((gp - 7853));
0x0001a274 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0001a278 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0001a27c lw t9, -0x7bfc(gp) | t9 = sym.imp.__fprintf_chk;
0x0001a280 lw a0, (s1) | a0 = *(s1);
0x0001a284 lw a3, (v0) | a3 = *(v0);
| /* str._s:_incomplete_Internet_address_specification:__i_ */
0x0001a288 addiu a2, a2, -0x73a0 | a2 += -0x73a0;
0x0001a28c addiu a1, zero, 1 | a1 = 1;
0x0001a290 lw s0, 0x48(sp) | s0 = *(var_48h);
0x0001a294 jalr t9 | t9 ();
0x0001a298 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001a29c b 0x1a87c | goto label_18;
| label_45:
0x0001a2a0 move fp, s0 | fp = s0;
| if (v0 == 0) {
0x0001a2a4 beqz v0, 0x1a084 | goto label_1;
| }
0x0001a2a8 addiu a0, zero, 0x40 | a0 = 0x40;
| label_49:
0x0001a2ac addiu a0, zero, 0x3a | a0 = 0x3a;
| if (v0 == a0) {
0x0001a2b0 beq v0, a0, 0x1a514 | goto label_59;
| }
0x0001a2b4 move s1, fp | s1 = fp;
| if (v0 == a0) {
0x0001a2b8 beq v0, a0, 0x1a738 | goto label_60;
| }
0x0001a2bc addiu a0, zero, 0x40 | a0 = 0x40;
0x0001a2c0 addiu a1, zero, 0x3a | a1 = 0x3a;
0x0001a2c4 b 0x1a2d8 |
| if (v0 == a0) {
| while (v0 != 0) {
0x0001a2c8 beql v0, a0, 0x1ad24 | goto label_61;
| }
0x0001a2cc subu a1, s1, fp | __asm ("subu a1, s1, fp");
| if (v0 == a1) {
0x0001a2d0 beql v0, a1, 0x1a72c | goto label_62;
| }
0x0001a2d4 subu a1, s1, fp | __asm ("subu a1, s1, fp");
0x0001a2d8 addiu s1, s1, 1 | s1++;
0x0001a2dc lb v0, (s1) | v0 = *(s1);
0x0001a2e0 bnez v0, 0x1a2c8 |
| }
0x0001a2e4 nop |
0x0001a2e8 subu a1, s1, fp | __asm ("subu a1, s1, fp");
| if (a1 == 0) {
0x0001a2ec beql a1, zero, 0x1a084 | goto label_1;
| }
0x0001a2f0 move fp, s1 | fp = s1;
0x0001a2f4 lw t9, -0x7cfc(gp) | t9 = sym.mkstrcat
| label_10:
0x0001a2f8 addiu v0, zero, -1 | v0 = -1;
0x0001a2fc sw zero, 0x18(sp) | *(var_18h) = 0;
0x0001a300 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0001a304 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0001a308 addiu a3, zero, -1 | a3 = -1;
0x0001a30c move a2, zero | a2 = 0;
0x0001a310 move a0, fp | a0 = fp;
0x0001a314 bal 0x1d5ec | sym_mkstrcat ()
0x0001a318 move s3, v0 | s3 = v0;
0x0001a31c lw gp, 0x20(sp) | gp = *(var_20h);
0x0001a320 sw v0, 0x60(sp) | *(var_60h) = v0;
| if (v0 == 0) {
0x0001a324 beqz v0, 0x1aec4 | goto label_63;
| }
0x0001a328 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x0001a32c lw t9, -0x7b68(gp) | t9 = sym.imp.strcasecmp;
| /* esilref: 'tcp' */
0x0001a330 addiu a1, a1, -0x7d64 | a1 += -0x7d64;
0x0001a334 move a0, v0 | a0 = v0;
0x0001a338 jalr t9 | t9 ();
0x0001a33c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x0001a340 beqz v0, 0x1a37c | goto label_2;
| }
0x0001a344 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x0001a348 lw t9, -0x7b68(gp) | t9 = sym.imp.strcasecmp;
| /* esilref: 'udp' */
0x0001a34c addiu a1, a1, -0x7d60 | a1 += -0x7d60;
0x0001a350 move a0, s3 | a0 = s3;
0x0001a354 jalr t9 | t9 ();
0x0001a358 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x0001a35c beqz v0, 0x1a37c | goto label_2;
| }
0x0001a360 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x0001a364 lw t9, -0x7b68(gp) | t9 = sym.imp.strcasecmp;
| /* str.udplite */
0x0001a368 addiu a1, a1, -0x7d5c | a1 += -0x7d5c;
0x0001a36c move a0, s3 | a0 = s3;
0x0001a370 jalr t9 | t9 ();
0x0001a374 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x0001a378 bnez v0, 0x1af64 | goto label_64;
| }
| do {
| label_2:
0x0001a37c lb v0, (s3) | v0 = *(s3);
0x0001a380 andi v0, v0, 0xff | v0 &= 0xff;
| if (v0 == 0) {
0x0001a384 beqz v0, 0x1ad04 | goto label_65;
| }
0x0001a388 addiu v1, v0, -0x41 | v1 = v0 + -0x41;
0x0001a38c sltiu v1, v1, 0x1a | v1 = (v1 < 0x1a) ? 1 : 0;
0x0001a390 beql v1, zero, 0x1a37c |
| } while (v1 == 0);
0x0001a394 addiu s3, s3, 1 | s3++;
0x0001a398 addiu v0, v0, 0x20 | v0 += 0x20;
0x0001a39c sb v0, (s3) | *(s3) = v0;
0x0001a3a0 addiu s3, s3, 1 | s3++;
0x0001a3a4 b 0x1a37c | goto label_2;
| label_54:
0x0001a3a8 lw v0, 0x3c(sp) | v0 = *(var_3ch);
| label_55:
0x0001a3ac move s1, s6 | s1 = s6;
| if (v0 == 0) {
0x0001a3b0 beqz v0, 0x1a4c4 | goto label_66;
| }
0x0001a3b4 addiu v0, zero, 0xa | v0 = 0xa;
0x0001a3b8 lw v1, 0x38(sp) | v1 = *(var_38h);
| if (s4 != v0) {
0x0001a3bc bne s4, v0, 0x1a4c4 | goto label_66;
| }
0x0001a3c0 addiu v0, zero, 6 | v0 = 6;
0x0001a3c4 addiu v0, zero, 2 | v0 = 2;
| if (v1 == v0) {
0x0001a3c8 beq v1, v0, 0x1a4c4 | goto label_66;
| }
0x0001a3cc lw a1, 0x44(sp) | a1 = *(var_44h);
0x0001a3d0 lw a0, 0x3c(sp) | a0 = *(var_3ch);
0x0001a3d4 lw t9, 0x4c(sp) | t9 = *(var_4ch);
0x0001a3d8 sw v0, 0x64(sp) | *(var_64h) = v0;
0x0001a3dc jalr t9 | t9 ();
0x0001a3e0 move fp, v0 | fp = v0;
0x0001a3e4 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x0001a3e8 beqz v0, 0x1a4c4 | goto label_66;
| }
0x0001a3ec lw v0, 0x48(sp) | v0 = *(var_48h);
0x0001a3f0 lb v1, (v0) | v1 = *(v0);
0x0001a3f4 b 0x1a0c4 | goto label_3;
| label_43:
0x0001a3f8 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0001a3fc lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0001a400 lw t9, -0x7bfc(gp) | t9 = sym.imp.__fprintf_chk;
0x0001a404 lw a3, (v0) | a3 = *(v0);
0x0001a408 lw v0, -0x7ab4(gp) | v0 = *((gp - 7853));
| /* str._s:_no_network_address_specified_n */
0x0001a40c addiu a2, a2, -0x760c | a2 += -0x760c;
0x0001a410 addiu a1, zero, 1 | a1 = 1;
0x0001a414 lw a0, (v0) | a0 = *(v0);
0x0001a418 jalr t9 | t9 ();
0x0001a41c lw gp, 0x20(sp) | gp = *(var_20h);
0x0001a420 addiu v0, zero, 1 | v0 = 1;
| label_7:
0x0001a424 lw v1, 0x2c(sp) | v1 = *(var_2ch);
0x0001a428 lw a0, 0xb4(sp) | a0 = *(var_b4h);
0x0001a42c lw v1, (v1) | v1 = *(v1);
0x0001a430 lw ra, 0xdc(sp) | ra = *(var_dch);
| if (a0 != v1) {
0x0001a434 bne a0, v1, 0x1b054 | goto label_67;
| }
0x0001a438 lw fp, 0xd8(sp) | fp = *(var_d8h);
0x0001a43c lw s7, 0xd4(sp) | s7 = *(var_d4h);
0x0001a440 lw s6, 0xd0(sp) | s6 = *(var_d0h);
0x0001a444 lw s5, 0xcc(sp) | s5 = *(var_cch);
0x0001a448 lw s4, 0xc8(sp) | s4 = *(var_c8h);
0x0001a44c lw s3, 0xc4(sp) | s3 = *(var_c4h);
0x0001a450 lw s2, 0xc0(sp) | s2 = *(var_c0h);
0x0001a454 lw s1, 0xbc(sp) | s1 = *(var_bch);
0x0001a458 lw s0, 0xb8(sp) | s0 = *(var_b8h);
0x0001a45c addiu sp, sp, 0xe0 |
0x0001a460 jr ra | return v0;
| label_44:
0x0001a464 lb v0, 1(s0) | v0 = *((s0 + 1));
0x0001a468 addiu fp, s0, 1 | fp = s0 + 1;
| if (v0 == 0) {
0x0001a46c beqz v0, 0x1aab8 | goto label_68;
| }
| label_30:
0x0001a470 addiu a0, zero, 2 | a0 = 2;
0x0001a474 sw a0, 0x64(sp) | *(var_64h) = a0;
0x0001a478 addiu a0, zero, 4 | a0 = 4;
0x0001a47c sw a0, 0x38(sp) | *(var_38h) = a0;
0x0001a480 b 0x1a07c | goto label_4;
| label_58:
0x0001a484 lw v1, 0x9c(sp) | v1 = *(var_9ch);
0x0001a488 lw v0, 0x98(sp) | v0 = *(var_98h);
0x0001a48c or v0, v0, v1 | v0 |= v1;
0x0001a490 lw v1, 0xa0(sp) | v1 = *(var_a0h);
0x0001a494 or v0, v0, v1 | v0 |= v1;
0x0001a498 lw s5, -0x44fc(s3) | s5 = *((s3 - 4415));
| if (v0 != 0) {
0x0001a49c bnez v0, 0x1a14c | goto label_0;
| }
0x0001a4a0 lw v1, 0x30(sp) | v1 = *(var_30h);
0x0001a4a4 b 0x1a264 | goto label_5;
| label_56:
0x0001a4a8 move v0, zero | v0 = 0;
0x0001a4ac addiu a0, sp, 0xb8 | a0 = sp + 0xb8;
0x0001a4b0 addu v0, a0, v0 | v0 = a0 + v0;
0x0001a4b4 lbu v1, (v1) | v1 = *(v1);
0x0001a4b8 addiu s1, s1, 4 | s1 += 4;
0x0001a4bc sb v1, -0x24(v0) | *((v0 - 36)) = v1;
0x0001a4c0 b 0x1a244 | goto label_6;
| label_66:
0x0001a4c4 move s7, fp | s7 = fp;
0x0001a4c8 lw fp, 0x54(sp) | fp = *(var_54h);
0x0001a4cc lw s0, 0x48(sp) | s0 = *(var_48h);
0x0001a4d0 lb v0, (fp) | v0 = *(fp);
0x0001a4d4 lw s2, 0x44(sp) | s2 = *(var_44h);
| if (v0 != 0) {
0x0001a4d8 beqz v0, 0x1a4f4 |
0x0001a4dc addiu v1, fp, 1 | v1 = fp + 1;
0x0001a4e0 lw a0, 0x40(sp) | a0 = *(var_40h);
| if (v1 == 0) {
0x0001a4e4 beqz v1, 0x1a4f8 | goto label_69;
| }
0x0001a4e8 lb v0, 1(fp) | v0 = *(arg_1h);
0x0001a4ec move fp, v1 | fp = v1;
| if (v0 != 0) {
0x0001a4f0 bnez v0, 0x1a760 | goto label_70;
| }
| }
0x0001a4f4 lw a0, 0x40(sp) | a0 = *(var_40h);
| label_69:
0x0001a4f8 lw t9, -0x7ac0(gp) | t9 = sym.imp.free;
| if (a0 != 0) {
0x0001a4fc beqz a0, 0x1a50c |
0x0001a500 jalr t9 | t9 ();
0x0001a504 nop |
0x0001a508 lw gp, 0x20(sp) | gp = *(var_20h);
| }
0x0001a50c move v0, zero | v0 = 0;
0x0001a510 b 0x1a424 | goto label_7;
| label_59:
0x0001a514 move s1, fp | s1 = fp;
0x0001a518 lb a3, 1(s1) | a3 = *((s1 + 1));
| label_25:
0x0001a51c addiu v1, zero, 0x3a | v1 = 0x3a;
| if (a3 == 0) {
0x0001a520 beqz a3, 0x1a70c | goto label_71;
| }
| if (a3 == v1) {
0x0001a524 beql a3, v1, 0x1a710 | goto label_72;
| }
0x0001a528 lw s1, -0x7ab4(gp) | s1 = *((gp - 7853));
0x0001a52c addiu a0, a3, -0x30 | a0 = a3 + -0x30;
0x0001a530 andi v0, a0, 0xff | v0 = a0 & 0xff;
0x0001a534 sltiu v0, v0, 0xa | v0 = (v0 < 0xa) ? 1 : 0;
0x0001a538 addiu fp, s1, 2 | fp = s1 + 2;
| if (v0 == 0) {
0x0001a53c beqz v0, 0x1a684 | goto label_73;
| }
0x0001a540 lb v0, 2(s1) | v0 = *((s1 + 2));
0x0001a544 sw a0, 0x88(sp) | *(var_88h) = a0;
| if (v0 == 0) {
0x0001a548 beqz v0, 0x1ad34 | goto label_74;
| }
0x0001a54c move a2, zero | a2 = 0;
| if (v0 == v1) {
0x0001a550 beq v0, v1, 0x1ad34 | goto label_74;
| }
0x0001a554 addiu t3, zero, 0x2e | t3 = 0x2e;
0x0001a558 addiu t4, zero, -1 | t4 = -1;
0x0001a55c addiu t2, zero, 0x3a | t2 = 0x3a;
| do {
0x0001a560 addiu v0, v0, -0x30 | v0 += -0x30;
| if (v0 == t3) {
0x0001a564 beq v0, t3, 0x1a650 | goto label_75;
| }
0x0001a568 andi v1, v0, 0xff | v1 = v0 & 0xff;
0x0001a56c sltiu v1, v1, 0xa | v1 = (v1 < 0xa) ? 1 : 0;
0x0001a570 sll a0, a2, 2 | a0 = a2 << 2;
| if (v1 == 0) {
0x0001a574 beqz v1, 0x1ad34 | goto label_74;
| }
0x0001a578 addiu v1, sp, 0xb8 | v1 = sp + 0xb8;
0x0001a57c addu a0, v1, a0 | a0 = v1 + a0;
0x0001a580 lw a1, -0x30(a0) | a1 = *((a0 - 12));
0x0001a584 sll v1, a1, 2 | v1 = a1 << 2;
| if (a1 >= 0) {
0x0001a588 bltz a1, 0x1a598 |
0x0001a58c addu v1, v1, a1 | v1 += a1;
0x0001a590 sll v1, v1, 1 | v1 <<= 1;
0x0001a594 addu v0, v1, v0 | v0 = v1 + v0;
| }
0x0001a598 sw v0, -0x30(a0) | *((a0 - 12)) = v0;
| label_8:
0x0001a59c addiu fp, fp, 1 | fp++;
0x0001a5a0 lb v0, (fp) | v0 = *(fp);
0x0001a5a4 addiu v1, zero, 3 | v1 = 3;
| if (v0 == 0) {
0x0001a5a8 beqz v0, 0x1a5b4 | goto label_76;
| }
0x0001a5ac bne v0, t2, 0x1a560 |
| } while (v0 != t2);
0x0001a5b0 nop |
| label_76:
0x0001a5b4 lw v1, 0x94(sp) | v1 = *(var_94h);
| if (a2 != v1) {
0x0001a5b8 bne a2, v1, 0x1ad34 | goto label_74;
| }
0x0001a5bc slti a0, v1, 0x100 | a0 = (v1 < aav.0x00000100) ? 1 : 0;
| if (v1 < 0) {
0x0001a5c0 bltz v1, 0x1ad34 | goto label_74;
| }
0x0001a5c4 lw a1, 0x88(sp) | a1 = *(var_88h);
| if (a0 == 0) {
0x0001a5c8 beqz a0, 0x1ad34 | goto label_74;
| }
0x0001a5cc sb v1, 0x6b(sp) | *(var_6bh) = v1;
0x0001a5d0 sb a1, 0x68(sp) | *(var_68h) = a1;
0x0001a5d4 lw a1, 0x8c(sp) | a1 = *(var_8ch);
0x0001a5d8 lw v1, 0x38(sp) | v1 = *(var_38h);
0x0001a5dc sb a1, 0x69(sp) | *(var_69h) = a1;
0x0001a5e0 lw a1, 0x90(sp) | a1 = *(var_90h);
0x0001a5e4 addiu a0, zero, 6 | a0 = 6;
0x0001a5e8 sb a1, 0x6a(sp) | *(var_6ah) = a1;
| if (v1 != a0) {
0x0001a5ec bne v1, a0, 0x1a82c | goto label_77;
| }
0x0001a5f0 lw s1, -0x7ab4(gp) | s1 = *((gp - 7853));
| label_37:
0x0001a5f4 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0001a5f8 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0001a5fc lw a0, (s1) | a0 = *(s1);
0x0001a600 lw a3, (v0) | a3 = *(v0);
0x0001a604 lw t9, -0x7bfc(gp) | t9 = sym.imp.__fprintf_chk;
| /* str._s:_IPv4_addresses_are_prohibited:__i_ */
0x0001a608 addiu a2, a2, -0x7568 | a2 += -0x7568;
| label_9:
0x0001a60c addiu a1, zero, 1 | a1 = 1;
0x0001a610 jalr t9 | t9 ();
0x0001a614 lw gp, 0x20(sp) | gp = *(var_20h);
| label_40:
0x0001a618 lw a1, (s1) | a1 = *(s1);
0x0001a61c lw t9, -0x7e9c(gp) | t9 = sym.safestrprt;
0x0001a620 move a0, s0 | a0 = s0;
0x0001a624 addiu a2, zero, 1 | a2 = 1;
0x0001a628 bal 0x1dbd8 | sym_safestrprt ();
0x0001a62c lw a0, 0x60(sp) | a0 = *(var_60h);
0x0001a630 lw gp, 0x20(sp) | gp = *(var_20h);
| if (a0 != 0) {
0x0001a634 beqz a0, 0x1a648 |
0x0001a638 lw t9, -0x7ac0(gp) | t9 = sym.imp.free;
| label_41:
0x0001a63c jalr t9 | t9 ();
0x0001a640 nop |
0x0001a644 lw gp, 0x20(sp) | gp = *(var_20h);
| }
| label_13:
0x0001a648 addiu v0, zero, 1 | v0 = 1;
0x0001a64c b 0x1a424 | goto label_7;
| label_75:
0x0001a650 sll v0, a2, 2 | v0 = a2 << 2;
0x0001a654 addiu v1, sp, 0xb8 | v1 = sp + 0xb8;
0x0001a658 addu v0, v1, v0 | v0 = v1 + v0;
0x0001a65c lw v0, -0x30(v0) | v0 = *((v0 - 12));
0x0001a660 sltiu v0, v0, 0x100 | v0 = (v0 < aav.0x00000100) ? 1 : 0;
0x0001a664 addiu a2, a2, 1 | a2++;
| if (v0 == 0) {
0x0001a668 beqz v0, 0x1ad34 | goto label_74;
| }
0x0001a66c slti v0, a2, 4 | v0 = (a2 < 4) ? 1 : 0;
0x0001a670 sll v0, a2, 2 | v0 = a2 << 2;
| if (v0 == 0) {
0x0001a674 beqz v0, 0x1ad34 | goto label_74;
| }
0x0001a678 addu v0, v1, v0 | v0 = v1 + v0;
0x0001a67c sw t4, -0x30(v0) | *((v0 - 12)) = t4;
0x0001a680 b 0x1a59c | goto label_8;
| label_73:
0x0001a684 addiu v0, zero, 0x5b | v0 = 0x5b;
0x0001a688 addiu s1, s1, 1 | s1++;
| if (a3 == v0) {
0x0001a68c bnel a3, v0, 0x1ab08 | goto label_78;
| }
0x0001a690 lw v1, 0x38(sp) | v1 = *(var_38h);
| label_26:
0x0001a694 addiu v0, zero, 4 | v0 = 4;
0x0001a698 addiu a1, zero, 0x5d | a1 = 0x5d;
| if (v1 == v0) {
0x0001a69c beq v1, v0, 0x1af10 | goto label_79;
| }
0x0001a6a0 lw t9, -0x7bd4(gp) | t9 = sym.imp.strrchr;
0x0001a6a4 addiu s1, s1, 2 | s1 += 2;
0x0001a6a8 move a0, s1 | a0 = s1;
0x0001a6ac jalr t9 | t9 ();
0x0001a6b0 move s3, v0 | s3 = v0;
0x0001a6b4 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x0001a6b8 beqz v0, 0x1a70c | goto label_71;
| }
0x0001a6bc lw t9, -0x7ac4(gp) | t9 = sym.imp.inet_pton;
0x0001a6c0 addiu a0, zero, 0xa | a0 = 0xa;
0x0001a6c4 sb zero, (v0) | *(v0) = 0;
0x0001a6c8 addiu a2, sp, 0x68 | a2 = sp + 0x68;
0x0001a6cc move a1, s1 | a1 = s1;
0x0001a6d0 jalr t9 | t9 ();
0x0001a6d4 addiu a0, zero, 0x5d | a0 = 0x5d;
0x0001a6d8 addiu v1, zero, 1 | v1 = 1;
0x0001a6dc lw gp, 0x20(sp) | gp = *(var_20h);
0x0001a6e0 sb a0, (s3) | *(s3) = a0;
| if (v0 != v1) {
0x0001a6e4 bne v0, v1, 0x1a70c | goto label_71;
| }
0x0001a6e8 lbu v0, 0x68(sp) | v0 = *(var_68h);
0x0001a6ec addiu v0, sp, 0x69 | v0 = sp + 0x69;
| if (v0 != 0) {
0x0001a6f0 bnez v0, 0x1ade8 | goto label_80;
| }
0x0001a6f4 addiu a0, sp, 0x78 | a0 = sp + 0x78;
0x0001a6f8 lbu v1, (v0) | v1 = *(v0);
| do {
0x0001a6fc addiu v0, v0, 1 | v0++;
| if (v1 != 0) {
0x0001a700 bnez v1, 0x1ade8 | goto label_80;
| }
0x0001a704 lbu v1, (v0) | v1 = *(v0);
0x0001a708 bnel v0, a0, 0x1a6fc |
| } while (v0 == a0);
| label_71:
0x0001a70c lw s1, -0x7ab4(gp) | s1 = *((gp - 7853));
| label_72:
0x0001a710 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0001a714 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0001a718 lw a0, (s1) | a0 = *(s1);
0x0001a71c lw a3, (v0) | a3 = *(v0);
0x0001a720 lw t9, -0x7bfc(gp) | t9 = sym.imp.__fprintf_chk;
| /* str._s:_unacceptable_Internet_address_in:__i_ */
0x0001a724 addiu a2, a2, -0x7594 | a2 += -0x7594;
0x0001a728 b 0x1a60c | goto label_9;
| label_62:
0x0001a72c lw t9, -0x7cfc(gp) | t9 = sym.mkstrcat
| if (a1 != 0) {
0x0001a730 bnez a1, 0x1a2f8 | goto label_10;
| }
| label_27:
0x0001a734 move fp, s1 | fp = s1;
| label_60:
0x0001a738 sw zero, 0x3c(sp) | *(var_3ch) = 0;
| label_34:
0x0001a73c move s7, zero | s7 = 0;
0x0001a740 lb v0, 1(fp) | v0 = *(arg_1h);
| if (v0 == 0) {
| label_12:
0x0001a744 beql v0, zero, 0x1a854 | goto label_19;
| }
0x0001a748 sw zero, 0x40(sp) | *(var_40h) = 0;
0x0001a74c addiu fp, fp, 1 | fp++;
| if (fp == 0) {
0x0001a750 beql fp, zero, 0x1a424 | goto label_7;
| }
0x0001a754 move v0, zero | v0 = 0;
0x0001a758 sw zero, 0x50(sp) | *(var_50h) = 0;
0x0001a75c sw zero, 0x40(sp) | *(var_40h) = 0;
| label_70:
0x0001a760 lw s3, -0x7fdc(gp) | s3 = *((gp - 8183));
0x0001a764 move a1, zero | a1 = 0;
| /* esilref: 'tcp' */
0x0001a768 addiu v1, s3, -0x7d64 | v1 = s3 + -0x7d64;
0x0001a76c sw v1, 0x30(sp) | *(var_30h) = v1;
0x0001a770 lw v1, -0x7fdc(gp) | v1 = *((gp - 8183));
0x0001a774 move a0, zero | a0 = 0;
| /* esilref: 'udp' */
0x0001a778 addiu v1, v1, -0x7d60 | v1 += -0x7d60;
0x0001a77c lw s4, 0x40(sp) | s4 = *(var_40h);
0x0001a780 sw s2, 0x4c(sp) | *(var_4ch) = s2;
0x0001a784 move s1, zero | s1 = 0;
0x0001a788 addiu s6, zero, 0x2c | s6 = 0x2c;
0x0001a78c sw v1, 0x34(sp) | *(var_34h) = v1;
0x0001a790 move s3, a0 | s3 = a0;
0x0001a794 sw s7, 0x48(sp) | *(var_48h) = s7;
0x0001a798 sw s0, 0x44(sp) | *(var_44h) = s0;
0x0001a79c move s2, a1 | s2 = a1;
| label_15:
0x0001a7a0 addiu v1, v0, -0x30 | v1 = v0 + -0x30;
0x0001a7a4 andi v1, v1, 0xff | v1 &= 0xff;
0x0001a7a8 sltiu v1, v1, 0xa | v1 = (v1 < 0xa) ? 1 : 0;
| if (v1 == 0) {
0x0001a7ac beqz v1, 0x1a94c | goto label_81;
| }
0x0001a7b0 nop |
0x0001a7b4 addiu v1, zero, 0x2d | v1 = 0x2d;
| if (v0 == s6) {
0x0001a7b8 beq v0, s6, 0x1ad6c | goto label_82;
| }
0x0001a7bc addiu a1, zero, 0x2d | a1 = 0x2d;
| if (v0 == v1) {
0x0001a7c0 beq v0, v1, 0x1add4 | goto label_83;
| }
0x0001a7c4 b 0x1a80c | goto label_84;
0x0001a7c8 nop |
| do {
0x0001a7cc addu a0, a0, s3 | a0 += s3;
0x0001a7d0 sll a0, a0, 1 | a0 <<= 1;
0x0001a7d4 addu v0, a0, v0 | v0 = a0 + v0;
0x0001a7d8 addiu s3, v0, -0x30 | s3 = v0 + -0x30;
| label_11:
0x0001a7dc addiu fp, fp, 1 | fp++;
0x0001a7e0 lb v0, (fp) | v0 = *(fp);
| if (v0 == 0) {
0x0001a7e4 beql v0, zero, 0x1ad70 | goto label_85;
| }
0x0001a7e8 sw s2, 0x30(sp) | *(var_30h) = s2;
| if (v0 == s6) {
0x0001a7ec beql v0, s6, 0x1ad70 | goto label_85;
| }
0x0001a7f0 sw s2, 0x30(sp) | *(var_30h) = s2;
0x0001a7f4 addiu v1, v0, -0x30 | v1 = v0 + -0x30;
| if (v0 == a1) {
0x0001a7f8 beq v0, a1, 0x1add4 | goto label_83;
| }
0x0001a7fc andi v1, v1, 0xff | v1 &= 0xff;
0x0001a800 sltiu v1, v1, 0xa | v1 = (v1 < 0xa) ? 1 : 0;
| if (v1 == 0) {
0x0001a804 beql v1, zero, 0x1ab00 | goto label_86;
| }
0x0001a808 sw s4, 0x40(sp) | *(var_40h) = s4;
| label_84:
0x0001a80c sll a0, s3, 2 | a0 = s3 << 2;
0x0001a810 bnez s1, 0x1a7cc |
| } while (s1 != 0);
0x0001a814 sll v1, s2, 2 | v1 = s2 << 2;
0x0001a818 addu v1, v1, s2 | v1 += s2;
0x0001a81c sll v1, v1, 1 | v1 <<= 1;
0x0001a820 addu v0, v1, v0 | v0 = v1 + v0;
0x0001a824 addiu s2, v0, -0x30 | s2 = v0 + -0x30;
0x0001a828 b 0x1a7dc | goto label_11;
| label_77:
0x0001a82c addiu v1, zero, 2 | v1 = 2;
0x0001a830 sw v1, 0x64(sp) | *(var_64h) = v1;
0x0001a834 sw zero, 0x3c(sp) | *(var_3ch) = 0;
0x0001a838 move s7, zero | s7 = 0;
| if (v0 == 0) {
| label_20:
0x0001a83c beql v0, zero, 0x1b060 | goto label_87;
| }
0x0001a840 addiu v0, zero, -1 | v0 = -1;
0x0001a844 addiu v1, zero, 0x3a | v1 = 0x3a;
| if (v0 == v1) {
0x0001a848 beql v0, v1, 0x1a744 | goto label_12;
| }
0x0001a84c lb v0, 1(fp) | v0 = *(arg_1h);
0x0001a850 sw zero, 0x40(sp) | *(var_40h) = 0;
| label_19:
0x0001a854 lw s1, -0x7ab4(gp) | s1 = *((gp - 7853));
| label_16:
0x0001a858 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0001a85c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0001a860 lw t9, -0x7bfc(gp) | t9 = sym.imp.__fprintf_chk;
0x0001a864 lw a0, (s1) | a0 = *(s1);
0x0001a868 lw a3, (v0) | a3 = *(v0);
| /* str._s:_unacceptable_port_specification_in:__i_ */
0x0001a86c addiu a2, a2, -0x74d4 | a2 += -0x74d4;
0x0001a870 addiu a1, zero, 1 | a1 = 1;
0x0001a874 jalr t9 | t9 ();
0x0001a878 lw gp, 0x20(sp) | gp = *(var_20h);
| label_18:
0x0001a87c lw a1, (s1) | a1 = *(s1);
0x0001a880 lw t9, -0x7e9c(gp) | t9 = sym.safestrprt;
0x0001a884 move a0, s0 | a0 = s0;
0x0001a888 addiu a2, zero, 1 | a2 = 1;
0x0001a88c bal 0x1dbd8 | sym_safestrprt ();
0x0001a890 lw a0, 0x60(sp) | a0 = *(var_60h);
0x0001a894 lw gp, 0x20(sp) | gp = *(var_20h);
| if (a0 != 0) {
0x0001a898 beqz a0, 0x1a8ac |
0x0001a89c lw t9, -0x7ac0(gp) | t9 = sym.imp.free;
0x0001a8a0 jalr t9 | t9 ();
0x0001a8a4 nop |
0x0001a8a8 lw gp, 0x20(sp) | gp = *(var_20h);
| }
0x0001a8ac lw a0, 0x3c(sp) | a0 = *(var_3ch);
0x0001a8b0 lw t9, -0x7ac0(gp) | t9 = sym.imp.free;
| if (a0 != 0) {
0x0001a8b4 beqz a0, 0x1a8c4 |
0x0001a8b8 jalr t9 | t9 ();
0x0001a8bc nop |
0x0001a8c0 lw gp, 0x20(sp) | gp = *(var_20h);
| }
0x0001a8c4 lw a0, 0x40(sp) | a0 = *(var_40h);
0x0001a8c8 lw t9, -0x7ac0(gp) | t9 = sym.imp.free;
| if (a0 == 0) {
0x0001a8cc beqz a0, 0x1a648 | goto label_13;
| }
0x0001a8d0 jalr t9 | t9 ();
0x0001a8d4 nop |
0x0001a8d8 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001a8dc addiu v0, zero, 1 | v0 = 1;
0x0001a8e0 b 0x1a424 | goto label_7;
| label_50:
0x0001a8e4 lw a0, 0x48(sp) | a0 = *(var_48h);
0x0001a8e8 move a1, zero | a1 = 0;
0x0001a8ec bal 0x1cd1c | sym_mkstrcpy ();
0x0001a8f0 sw v0, 0x5c(sp) | *(var_5ch) = v0;
0x0001a8f4 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x0001a8f8 bnez v0, 0x1a0d0 | goto label_14;
| }
0x0001a8fc lw s1, -0x7ab4(gp) | s1 = *((gp - 7853));
0x0001a900 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0001a904 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0001a908 lw t9, -0x7bfc(gp) | t9 = sym.imp.__fprintf_chk;
0x0001a90c lw a0, (s1) | a0 = *(s1);
0x0001a910 lw a3, (v0) | a3 = *(v0);
| /* str._s:_no_space_for_Internet_argument:__i_ */
0x0001a914 addiu a2, a2, -0x73c8 | a2 += -0x73c8;
0x0001a918 addiu a1, zero, 1 | a1 = 1;
0x0001a91c lw s0, 0x48(sp) | s0 = *(var_48h);
0x0001a920 jalr t9 | t9 ();
0x0001a924 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001a928 lw a1, (s1) | a1 = *(s1);
0x0001a92c move a0, s0 | a0 = s0;
0x0001a930 lw t9, -0x7e9c(gp) | t9 = sym.safestrprt;
0x0001a934 addiu a2, zero, 1 | a2 = 1;
0x0001a938 bal 0x1dbd8 | sym_safestrprt ();
0x0001a93c lw gp, 0x20(sp) | gp = *(var_20h);
0x0001a940 lw t9, -0x7fd4(gp) | t9 = sym.Exit;
0x0001a944 addiu a0, zero, 1 | a0 = 1;
0x0001a948 bal 0x1c358 | sym_Exit ();
| label_81:
0x0001a94c move s5, fp | s5 = fp;
| if (v0 == s6) {
0x0001a950 beq v0, s6, 0x1af30 | goto label_88;
| }
0x0001a954 lb v0, 1(s5) | v0 = *((s5 + 1));
0x0001a958 b 0x1a96c |
| while (v0 != 0) {
0x0001a95c subu s0, s7, fp | __asm ("subu s0, s7, fp");
| if (v0 == s6) {
0x0001a960 beq v0, s6, 0x1a978 | goto label_89;
| }
0x0001a964 move s5, s7 | s5 = s7;
0x0001a968 lb v0, 1(s5) | v0 = *((s5 + 1));
0x0001a96c addiu s7, s5, 1 | s7 = s5 + 1;
0x0001a970 bnez v0, 0x1a95c |
| }
0x0001a974 subu s0, s7, fp | __asm ("subu s0, s7, fp");
| if (s0 == 0) {
| label_89:
0x0001a978 beql s0, zero, 0x1af34 | goto label_90;
| }
0x0001a97c lw s1, -0x7ab4(gp) | s1 = *((gp - 7853));
0x0001a980 lw v0, 0x50(sp) | v0 = *(var_50h);
| if (s4 == 0) {
0x0001a984 beqz s4, 0x1ae38 | goto label_91;
| }
0x0001a988 sltu v0, v0, s0 | v0 = (v0 < s0) ? 1 : 0;
0x0001a98c lw t9, -0x7b2c(gp) | t9 = sym.imp.realloc;
| if (v0 == 0) {
0x0001a990 bnel v0, zero, 0x1ac44 | goto label_92;
| }
| label_23:
0x0001a994 lw t9, -0x7b94(gp) | t9 = sym.imp.strncpy;
0x0001a998 move a1, fp | a1 = fp;
0x0001a99c move a2, s0 | a2 = s0;
0x0001a9a0 move a0, s4 | a0 = s4;
0x0001a9a4 jalr t9 | t9 ();
0x0001a9a8 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001a9ac addu t0, s4, s0 | t0 = s4 + s0;
0x0001a9b0 lw a1, 0x60(sp) | a1 = *(var_60h);
0x0001a9b4 sb zero, (t0) | *(t0) = 0;
0x0001a9b8 lw t9, -0x7b84(gp) | t9 = sym.imp.getservbyname;
| if (a1 == 0) {
0x0001a9bc beqz a1, 0x1aba0 | goto label_93;
| }
0x0001a9c0 move a0, s4 | a0 = s4;
0x0001a9c4 jalr t9 | t9 ();
0x0001a9c8 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x0001a9cc beqz v0, 0x1b014 | goto label_94;
| }
| label_39:
0x0001a9d0 lw fp, 8(v0) | fp = *((v0 + 2));
0x0001a9d4 wsbh fp, fp | __asm ("wsbh fp, fp");
0x0001a9d8 andi fp, fp, 0xffff | fp &= 0xffff;
| label_21:
0x0001a9dc lb v0, 1(s5) | v0 = *((s5 + 1));
| if (s1 == 0) {
0x0001a9e0 bnel s1, zero, 0x1ad98 | goto label_95;
| }
0x0001a9e4 lb v0, (s7) | v0 = *(s7);
0x0001a9e8 move s2, fp | s2 = fp;
0x0001a9ec xori s1, v0, 0x2d | s1 = v0 ^ 0x2d;
0x0001a9f0 sltiu s1, s1, 1 | s1 = (s1 < 1) ? 1 : 0;
| if (v0 == 0) {
| label_32:
0x0001a9f4 beql v0, zero, 0x1b078 | goto label_96;
| }
0x0001a9f8 sw s3, 0x34(sp) | *(var_34h) = s3;
| if (v0 == s6) {
0x0001a9fc beql v0, s6, 0x1b078 | goto label_96;
| }
0x0001aa00 sw s3, 0x34(sp) | *(var_34h) = s3;
| if (s1 == 0) {
0x0001aa04 beql s1, zero, 0x1ab00 | goto label_86;
| }
0x0001aa08 sw s4, 0x40(sp) | *(var_40h) = s4;
0x0001aa0c lb v0, 1(s7) | v0 = *((s7 + 1));
0x0001aa10 addiu fp, s7, 1 | fp = s7 + 1;
| if (v0 != 0) {
0x0001aa14 bnez v0, 0x1a7a0 | goto label_15;
| }
0x0001aa18 sw s2, 0x30(sp) | *(var_30h) = s2;
0x0001aa1c lw s7, 0x48(sp) | s7 = *(var_48h);
0x0001aa20 lw s0, 0x44(sp) | s0 = *(var_44h);
0x0001aa24 lw s2, 0x4c(sp) | s2 = *(var_4ch);
0x0001aa28 sw s3, 0x34(sp) | *(var_34h) = s3;
0x0001aa2c sw s4, 0x40(sp) | *(var_40h) = s4;
| label_31:
0x0001aa30 lw v0, 0x34(sp) | v0 = *(var_34h);
0x0001aa34 lw v1, 0x30(sp) | v1 = *(var_30h);
0x0001aa38 slt v0, v0, v1 | v0 = (v0 < v1) ? 1 : 0;
0x0001aa3c lw s1, -0x7ab4(gp) | s1 = *((gp - 7853));
| if (v0 != 0) {
0x0001aa40 bnez v0, 0x1a858 | goto label_16;
| }
0x0001aa44 lb v1, (s0) | v1 = *(s0);
0x0001aa48 b 0x1a0a0 | goto label_17;
| label_52:
0x0001aa4c lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0001aa50 lw s1, -0x7ab4(gp) | s1 = *((gp - 7853));
0x0001aa54 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0001aa58 lw a3, (v0) | a3 = *(v0);
0x0001aa5c lw s0, 0x48(sp) | s0 = *(var_48h);
0x0001aa60 addiu v0, zero, 0x64 | v0 = 0x64;
0x0001aa64 lw t9, -0x7bfc(gp) | t9 = sym.imp.__fprintf_chk;
0x0001aa68 lw a0, (s1) | a0 = *(s1);
| /* str._s:_network_address_limit___d__exceeded:__i_ */
0x0001aa6c addiu a2, a2, -0x736c | a2 += -0x736c;
0x0001aa70 addiu a1, zero, 1 | a1 = 1;
0x0001aa74 sw v0, 0x10(sp) | *(var_10h) = v0;
| label_22:
0x0001aa78 jalr t9 | t9 ();
0x0001aa7c nop |
0x0001aa80 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001aa84 b 0x1a87c | goto label_18;
| label_53:
0x0001aa88 lw s1, -0x7ab4(gp) | s1 = *((gp - 7853));
0x0001aa8c lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0001aa90 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0001aa94 lw t9, -0x7bfc(gp) | t9 = sym.imp.__fprintf_chk;
0x0001aa98 lw a0, (s1) | a0 = *(s1);
0x0001aa9c lw a3, (v0) | a3 = *(v0);
| /* str._s:_no_space_for_network_address_from:__i_ */
0x0001aaa0 addiu a2, a2, -0x733c | a2 += -0x733c;
0x0001aaa4 addiu a1, zero, 1 | a1 = 1;
0x0001aaa8 lw s0, 0x48(sp) | s0 = *(var_48h);
0x0001aaac jalr t9 | t9 ();
0x0001aab0 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001aab4 b 0x1a87c | goto label_18;
| label_68:
0x0001aab8 addiu a0, zero, 4 | a0 = 4;
| label_29:
0x0001aabc lw v1, -0x7f1c(gp) | v1 = *(gp);
0x0001aac0 lw v0, (v1) | v0 = *(v1);
0x0001aac4 lw v1, -0x7de4(gp) | v1 = *(gp);
| if (v0 != 0) {
0x0001aac8 bnel v0, zero, 0x1aae0 |
0x0001aacc addiu a1, zero, 1 | a1 = 1;
0x0001aad0 sw a1, (v1) | *(v1) = a1;
0x0001aad4 lw v1, -0x7de4(gp) | v1 = *(gp);
0x0001aad8 sw a0, (v1) | *(v1) = a0;
0x0001aadc b 0x1a424 | goto label_7;
| }
0x0001aae0 lw v0, (v1) | v0 = *(v1);
| if (v0 == 0) {
0x0001aae4 beql v0, zero, 0x1a424 | goto label_7;
| }
0x0001aae8 sw a0, (v1) | *(v1) = a0;
0x0001aaec move v0, zero | v0 = 0;
| if (v0 == a0) {
0x0001aaf0 beq v0, a0, 0x1a424 | goto label_7;
| }
0x0001aaf4 sw zero, (v1) | *(v1) = 0;
0x0001aaf8 b 0x1a424 | goto label_7;
| label_36:
0x0001aafc sw s4, 0x40(sp) | *(var_40h) = s4;
| label_86:
0x0001ab00 lw s0, 0x44(sp) | s0 = *(var_44h);
0x0001ab04 b 0x1a854 | goto label_19;
| label_78:
0x0001ab08 move a0, s1 | a0 = s1;
0x0001ab0c addiu v1, zero, 0x3a | v1 = 0x3a;
0x0001ab10 b 0x1ab20 |
| while (v0 != 0) {
0x0001ab14 subu a1, fp, a0 | __asm ("subu a1, fp, a0");
| if (v0 == v1) {
0x0001ab18 beq v0, v1, 0x1ada0 | goto label_97;
| }
0x0001ab1c move s1, fp | s1 = fp;
| label_28:
0x0001ab20 lb v0, 1(s1) | v0 = *((s1 + 1));
0x0001ab24 addiu fp, s1, 1 | fp = s1 + 1;
0x0001ab28 bnez v0, 0x1ab14 |
| }
0x0001ab2c subu a1, fp, a0 | __asm ("subu a1, fp, a0");
0x0001ab30 addiu v0, zero, -1 | v0 = -1;
| if (a1 == 0) {
0x0001ab34 beqz a1, 0x1ae5c | goto label_98;
| }
0x0001ab38 lw t9, -0x7cfc(gp) | t9 = sym.mkstrcat
| label_33:
0x0001ab3c addiu v0, zero, -1 | v0 = -1;
0x0001ab40 sw zero, 0x18(sp) | *(var_18h) = 0;
0x0001ab44 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0001ab48 sw zero, 0x10(sp) | *(var_10h) = 0;
0x0001ab4c addiu a3, zero, -1 | a3 = -1;
0x0001ab50 move a2, zero | a2 = 0;
0x0001ab54 bal 0x1d5ec | sym_mkstrcat ()
0x0001ab58 sw v0, 0x3c(sp) | *(var_3ch) = v0;
0x0001ab5c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x0001ab60 beqz v0, 0x1aef0 | goto label_99;
| }
0x0001ab64 lw v0, 0x38(sp) | v0 = *(var_38h);
0x0001ab68 move a1, s2 | a1 = s2;
0x0001ab6c lw a0, 0x3c(sp) | a0 = *(var_3ch);
| if (v0 != 0) {
0x0001ab70 bnez v0, 0x1adb0 | goto label_100;
| }
0x0001ab74 lw s3, -0x7d6c(gp) | s3 = *(gp);
0x0001ab78 addiu v0, zero, 0xa | v0 = 0xa;
| /* fcn.00017a74 */
0x0001ab7c addiu s3, s3, 0x7a74 | s3 += 0x7a74;
0x0001ab80 move t9, s3 | t9 = s3;
0x0001ab84 sw v0, 0x64(sp) | *(var_64h) = v0;
0x0001ab88 bal 0x17a74 | fcn_00017a74 ();
0x0001ab8c move s7, v0 | s7 = v0;
0x0001ab90 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x0001ab94 beqz v0, 0x1ac68 | goto label_101;
| }
| label_24:
0x0001ab98 lb v0, 1(s1) | v0 = *((s1 + 1));
0x0001ab9c b 0x1a83c | goto label_20;
| label_93:
0x0001aba0 lw a1, 0x30(sp) | a1 = *(var_30h);
0x0001aba4 move a0, s4 | a0 = s4;
0x0001aba8 jalr t9 | t9 ();
0x0001abac lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x0001abb0 beqz v0, 0x1ae7c | goto label_102;
| }
0x0001abb4 lw t9, -0x7b84(gp) | t9 = sym.imp.getservbyname;
0x0001abb8 lw fp, 8(v0) | fp = *((v0 + 2));
0x0001abbc lw a1, 0x34(sp) | a1 = *(var_34h);
0x0001abc0 move a0, s4 | a0 = s4;
0x0001abc4 jalr t9 | t9 ();
0x0001abc8 wsbh fp, fp | __asm ("wsbh fp, fp");
0x0001abcc andi fp, fp, 0xffff | fp &= 0xffff;
0x0001abd0 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x0001abd4 beqz v0, 0x1a9dc | goto label_21;
| }
0x0001abd8 lw v0, 8(v0) | v0 = *((v0 + 2));
0x0001abdc wsbh v0, v0 | __asm ("wsbh v0, v0");
0x0001abe0 andi v0, v0, 0xffff | v0 &= 0xffff;
0x0001abe4 lw v1, -0x7fd8(gp) | v1 = *(gp);
| if (fp == v0) {
0x0001abe8 beq fp, v0, 0x1a9dc | goto label_21;
| }
0x0001abec lw s1, -0x7ab4(gp) | s1 = *((gp - 7853));
0x0001abf0 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0001abf4 lw a0, (s1) | a0 = *(s1);
0x0001abf8 lw a3, (v1) | a3 = *(v1);
0x0001abfc lw t9, -0x7bfc(gp) | t9 = sym.imp.__fprintf_chk;
| /* str._s:_TCP_d_and_UDP_d__s_ports_conflict__n */
0x0001ac00 addiu a2, a2, -0x741c | a2 += -0x741c;
0x0001ac04 addiu a1, zero, 1 | a1 = 1;
0x0001ac08 sw s4, 0x40(sp) | *(var_40h) = s4;
0x0001ac0c sw s4, 0x18(sp) | *(var_18h) = s4;
0x0001ac10 sw v0, 0x14(sp) | *(var_14h) = v0;
0x0001ac14 sw fp, 0x10(sp) | *(var_10h) = fp;
0x0001ac18 lw s0, 0x44(sp) | s0 = *(var_44h);
0x0001ac1c jalr t9 | t9 ();
0x0001ac20 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001ac24 lw a0, (s1) | a0 = *(s1);
0x0001ac28 move a3, s4 | a3 = s4;
0x0001ac2c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0001ac30 lw t9, -0x7bfc(gp) | t9 = sym.imp.__fprintf_chk;
| /* str.______specify__tcp:_s__or__udp:_s_:__i_ */
0x0001ac34 addiu a2, a2, -0x73f0 | a2 += -0x73f0;
0x0001ac38 addiu a1, zero, 1 | a1 = 1;
0x0001ac3c sw s4, 0x10(sp) | *(var_10h) = s4;
0x0001ac40 b 0x1aa78 | goto label_22;
| label_92:
0x0001ac44 move a0, s4 | a0 = s4;
0x0001ac48 addiu a1, s0, 1 | a1 = s0 + 1;
0x0001ac4c jalr t9 | t9 ();
0x0001ac50 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001ac54 move s4, v0 | s4 = v0;
| if (s4 == 0) {
| label_38:
0x0001ac58 beql s4, zero, 0x1af94 | goto label_103;
| }
0x0001ac5c lw s1, -0x7ab4(gp) | s1 = *((gp - 7853));
0x0001ac60 sw s0, 0x50(sp) | *(var_50h) = s0;
0x0001ac64 b 0x1a994 | goto label_23;
| label_101:
0x0001ac68 addiu v0, zero, 2 | v0 = 2;
0x0001ac6c lw a0, 0x3c(sp) | a0 = *(var_3ch);
0x0001ac70 move a1, s2 | a1 = s2;
0x0001ac74 move t9, s3 | t9 = s3;
0x0001ac78 sw v0, 0x64(sp) | *(var_64h) = v0;
0x0001ac7c bal 0x17a74 | fcn_00017a74 ();
0x0001ac80 move s7, v0 | s7 = v0;
0x0001ac84 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x0001ac88 bnez v0, 0x1ab98 | goto label_24;
| }
| label_35:
0x0001ac8c lw s1, -0x7ab4(gp) | s1 = *((gp - 7853));
0x0001ac90 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0001ac94 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0001ac98 lw s2, 0x3c(sp) | s2 = *(var_3ch);
0x0001ac9c lw t9, -0x7bfc(gp) | t9 = sym.imp.__fprintf_chk;
0x0001aca0 lw a0, (s1) | a0 = *(s1);
0x0001aca4 lw a3, (v0) | a3 = *(v0);
| /* str._s:_unknown_host_name___s__in:__i_ */
0x0001aca8 addiu a2, a2, -0x74f8 | a2 += -0x74f8;
0x0001acac addiu a1, zero, 1 | a1 = 1;
0x0001acb0 sw s2, 0x10(sp) | *(var_10h) = s2;
0x0001acb4 jalr t9 | t9 ();
0x0001acb8 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001acbc lw a1, (s1) | a1 = *(s1);
0x0001acc0 move a0, s0 | a0 = s0;
0x0001acc4 lw t9, -0x7e9c(gp) | t9 = sym.safestrprt;
0x0001acc8 addiu a2, zero, 1 | a2 = 1;
0x0001accc bal 0x1dbd8 | sym_safestrprt ();
0x0001acd0 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001acd4 lw a0, 0x60(sp) | a0 = *(var_60h);
0x0001acd8 lw t9, -0x7ac0(gp) | t9 = sym.imp.free;
| if (a0 == 0) {
0x0001acdc beqz a0, 0x1b000 | goto label_104;
| }
0x0001ace0 jalr t9 | t9 ();
0x0001ace4 nop |
0x0001ace8 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001acec lw t9, -0x7ac0(gp) | t9 = sym.imp.free;
0x0001acf0 move a0, s2 | a0 = s2;
0x0001acf4 jalr t9 | t9 ();
0x0001acf8 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001acfc addiu v0, zero, 1 | v0 = 1;
0x0001ad00 b 0x1a424 | goto label_7;
| label_65:
0x0001ad04 lb v0, (s1) | v0 = *(s1);
0x0001ad08 addiu v1, zero, 0x40 | v1 = 0x40;
| if (v0 == v1) {
0x0001ad0c beql v0, v1, 0x1a51c | goto label_25;
| }
0x0001ad10 lb a3, 1(s1) | a3 = *((s1 + 1));
0x0001ad14 move fp, s1 | fp = s1;
0x0001ad18 sw zero, 0x3c(sp) | *(var_3ch) = 0;
0x0001ad1c move s7, zero | s7 = 0;
0x0001ad20 b 0x1a83c | goto label_20;
| if (a1 == 0) {
| label_61:
0x0001ad24 beql a1, zero, 0x1a51c | goto label_25;
| }
0x0001ad28 lb a3, 1(s1) | a3 = *((s1 + 1));
0x0001ad2c lw t9, -0x7cfc(gp) | t9 = sym.mkstrcat
0x0001ad30 b 0x1a2f8 | goto label_10;
| label_74:
0x0001ad34 addiu v0, zero, 0x5b | v0 = 0x5b;
0x0001ad38 lw v1, 0x38(sp) | v1 = *(var_38h);
| if (a3 == v0) {
0x0001ad3c beq a3, v0, 0x1a694 | goto label_26;
| }
0x0001ad40 addiu s1, s1, 1 | s1++;
| if (a3 == 0) {
0x0001ad44 beqz a3, 0x1aee4 | goto label_105;
| }
0x0001ad48 addiu v0, zero, 0x3a | v0 = 0x3a;
0x0001ad4c move a0, s1 | a0 = s1;
| if (a3 == v0) {
0x0001ad50 beq a3, v0, 0x1a734 | goto label_27;
| }
0x0001ad54 addiu v1, zero, 0x3a | v1 = 0x3a;
0x0001ad58 b 0x1ab20 | goto label_28;
| label_48:
0x0001ad5c addiu a0, zero, 6 | a0 = 6;
0x0001ad60 b 0x1aabc | goto label_29;
| label_46:
0x0001ad64 move fp, s0 | fp = s0;
0x0001ad68 b 0x1a470 | goto label_30;
| label_82:
0x0001ad6c sw s2, 0x30(sp) | *(var_30h) = s2;
| label_85:
0x0001ad70 lw s7, 0x48(sp) | s7 = *(var_48h);
0x0001ad74 lw s0, 0x44(sp) | s0 = *(var_44h);
0x0001ad78 lw s2, 0x4c(sp) | s2 = *(var_4ch);
0x0001ad7c sw s3, 0x34(sp) | *(var_34h) = s3;
0x0001ad80 sw s4, 0x40(sp) | *(var_40h) = s4;
| label_42:
0x0001ad84 lw v0, 0x34(sp) | v0 = *(var_34h);
0x0001ad88 lw v1, 0x30(sp) | v1 = *(var_30h);
| if (s1 != 0) {
0x0001ad8c movz v0, v1, s1 | v0 = v1;
| }
0x0001ad90 sw v0, 0x34(sp) | *(var_34h) = v0;
0x0001ad94 b 0x1aa30 | goto label_31;
| label_95:
0x0001ad98 move s3, fp | s3 = fp;
0x0001ad9c b 0x1a9f4 | goto label_32;
| label_97:
0x0001ada0 lw t9, -0x7cfc(gp) | t9 = sym.mkstrcat
| if (a1 != 0) {
0x0001ada4 bnez a1, 0x1ab3c | goto label_33;
| }
0x0001ada8 sw zero, 0x3c(sp) | *(var_3ch) = 0;
0x0001adac b 0x1a73c | goto label_34;
| label_100:
0x0001adb0 lw t9, -0x7d6c(gp) | t9 = *(gp);
| /* fcn.00017a74 */
0x0001adb4 addiu t9, t9, 0x7a74 | t9 += 0x7a74;
0x0001adb8 bal 0x17a74 | fcn_00017a74 ();
0x0001adbc nop |
0x0001adc0 move s7, v0 | s7 = v0;
0x0001adc4 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x0001adc8 beqz v0, 0x1ac8c | goto label_35;
| }
0x0001adcc lb v0, 1(s1) | v0 = *((s1 + 1));
0x0001add0 b 0x1a83c | goto label_20;
| label_83:
0x0001add4 addiu s1, zero, 1 | s1 = 1;
| if (s1 != 0) {
0x0001add8 bnez s1, 0x1aafc | goto label_36;
| }
0x0001addc lb v0, (fp) | v0 = *(fp);
0x0001ade0 move s7, fp | s7 = fp;
0x0001ade4 b 0x1a9f4 | goto label_32;
| label_80:
0x0001ade8 lw v0, 0x68(sp) | v0 = *(var_68h);
0x0001adec lw v1, 0x6c(sp) | v1 = *(var_6ch);
0x0001adf0 or v0, v0, v1 | v0 |= v1;
0x0001adf4 lw v1, 0x70(sp) | v1 = *(var_70h);
| if (v0 != 0) {
0x0001adf8 bnez v0, 0x1ae50 | goto label_106;
| }
0x0001adfc lui v0, 0xffff | v0 = 0xffff0000;
0x0001ae00 lw v1, 0x38(sp) | v1 = *(var_38h);
| if (v1 != v0) {
0x0001ae04 bne v1, v0, 0x1ae50 | goto label_106;
| }
0x0001ae08 addiu v0, zero, 6 | v0 = 6;
0x0001ae0c lw s1, -0x7ab4(gp) | s1 = *((gp - 7853));
| if (v1 == v0) {
0x0001ae10 beq v1, v0, 0x1a5f4 | goto label_37;
| }
0x0001ae14 lw v0, 0x74(sp) | v0 = *(var_74h);
0x0001ae18 sw v0, 0x68(sp) | *(var_68h) = v0;
0x0001ae1c addiu v0, zero, 2 | v0 = 2;
0x0001ae20 sw v0, 0x64(sp) | *(var_64h) = v0;
| do {
0x0001ae24 addiu fp, s3, 1 | fp = s3 + 1;
0x0001ae28 lb v0, 1(s3) | v0 = *((s3 + 1));
0x0001ae2c sw zero, 0x3c(sp) | *(var_3ch) = 0;
0x0001ae30 move s7, zero | s7 = 0;
0x0001ae34 b 0x1a83c | goto label_20;
| label_91:
0x0001ae38 lw t9, -0x7b30(gp) | t9 = sym.imp.malloc;
0x0001ae3c addiu a0, s0, 1 | a0 = s0 + 1;
0x0001ae40 jalr t9 | t9 ();
0x0001ae44 move s4, v0 | s4 = v0;
0x0001ae48 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001ae4c b 0x1ac58 | goto label_38;
| label_106:
0x0001ae50 addiu v0, zero, 0xa | v0 = 0xa;
0x0001ae54 sw v0, 0x64(sp) | *(var_64h) = v0;
0x0001ae58 b 0x1ae24 |
| } while (1);
| label_98:
0x0001ae5c sw zero, 0x3c(sp) | *(var_3ch) = 0;
0x0001ae60 sw zero, 0x50(sp) | *(var_50h) = 0;
0x0001ae64 sw v0, 0x30(sp) | *(var_30h) = v0;
0x0001ae68 sw zero, 0x40(sp) | *(var_40h) = 0;
0x0001ae6c move s7, zero | s7 = 0;
0x0001ae70 sw v0, 0x34(sp) | *(var_34h) = v0;
0x0001ae74 lb v1, (s0) | v1 = *(s0);
0x0001ae78 b 0x1a0a0 | goto label_17;
| label_102:
0x0001ae7c lw t9, -0x7b84(gp) | t9 = sym.imp.getservbyname;
0x0001ae80 lw a1, 0x34(sp) | a1 = *(var_34h);
0x0001ae84 move a0, s4 | a0 = s4;
0x0001ae88 jalr t9 | t9 ();
0x0001ae8c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x0001ae90 bnez v0, 0x1a9d0 | goto label_39;
| }
0x0001ae94 lw s1, -0x7ab4(gp) | s1 = *((gp - 7853));
0x0001ae98 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0001ae9c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0001aea0 lw a0, (s1) | a0 = *(s1);
0x0001aea4 lw a3, (v0) | a3 = *(v0);
0x0001aea8 sw s4, 0x40(sp) | *(var_40h) = s4;
0x0001aeac lw s0, 0x44(sp) | s0 = *(var_44h);
0x0001aeb0 lw t9, -0x7bfc(gp) | t9 = sym.imp.__fprintf_chk;
| /* str._s:_unknown_service__s_in:__i_ */
0x0001aeb4 addiu a2, a2, -0x743c | a2 += -0x743c;
0x0001aeb8 addiu a1, zero, 1 | a1 = 1;
0x0001aebc sw s4, 0x10(sp) | *(var_10h) = s4;
0x0001aec0 b 0x1aa78 | goto label_22;
| label_63:
0x0001aec4 lw s1, -0x7ab4(gp) | s1 = *((gp - 7853));
0x0001aec8 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0001aecc lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0001aed0 lw a0, (s1) | a0 = *(s1);
0x0001aed4 lw a3, (v0) | a3 = *(v0);
0x0001aed8 lw t9, -0x7bfc(gp) | t9 = sym.imp.__fprintf_chk;
| /* str._s:_no_space_for_protocol_name_from:__i_ */
0x0001aedc addiu a2, a2, -0x75e8 | a2 += -0x75e8;
0x0001aee0 b 0x1a60c | goto label_9;
| label_105:
0x0001aee4 lb v1, (s0) | v1 = *(s0);
0x0001aee8 move fp, s1 | fp = s1;
0x0001aeec b 0x1a084 | goto label_1;
| label_99:
0x0001aef0 lw s1, -0x7ab4(gp) | s1 = *((gp - 7853));
0x0001aef4 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0001aef8 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0001aefc lw a0, (s1) | a0 = *(s1);
0x0001af00 lw a3, (v0) | a3 = *(v0);
0x0001af04 lw t9, -0x7bfc(gp) | t9 = sym.imp.__fprintf_chk;
| /* str._s:_no_space_for_host_name:__i_ */
0x0001af08 addiu a2, a2, -0x7518 | a2 += -0x7518;
0x0001af0c b 0x1a60c | goto label_9;
| label_79:
0x0001af10 lw s1, -0x7ab4(gp) | s1 = *((gp - 7853));
0x0001af14 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0001af18 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0001af1c lw a0, (s1) | a0 = *(s1);
0x0001af20 lw a3, (v0) | a3 = *(v0);
0x0001af24 lw t9, -0x7bfc(gp) | t9 = sym.imp.__fprintf_chk;
| /* str._s:_IPv6_addresses_are_prohibited:__i_ */
0x0001af28 addiu a2, a2, -0x7540 | a2 += -0x7540;
0x0001af2c b 0x1a60c | goto label_9;
| label_88:
0x0001af30 lw s1, -0x7ab4(gp) | s1 = *((gp - 7853));
| label_90:
0x0001af34 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0001af38 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0001af3c lw t9, -0x7bfc(gp) | t9 = sym.imp.__fprintf_chk;
0x0001af40 lw a0, (s1) | a0 = *(s1);
0x0001af44 lw a3, (v0) | a3 = *(v0);
0x0001af48 sw s4, 0x40(sp) | *(var_40h) = s4;
| /* str._s:_invalid_service_name:__i_ */
0x0001af4c addiu a2, a2, -0x74a8 | a2 += -0x74a8;
0x0001af50 addiu a1, zero, 1 | a1 = 1;
0x0001af54 lw s0, 0x44(sp) | s0 = *(var_44h);
0x0001af58 jalr t9 | t9 ();
0x0001af5c lw gp, 0x20(sp) | gp = *(var_20h);
0x0001af60 b 0x1a87c | goto label_18;
| label_64:
0x0001af64 lw s1, -0x7ab4(gp) | s1 = *((gp - 7853));
0x0001af68 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0001af6c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0001af70 lw a0, (s1) | a0 = *(s1);
0x0001af74 lw a3, (v0) | a3 = *(v0);
0x0001af78 lw t9, -0x7bfc(gp) | t9 = sym.imp.__fprintf_chk;
| /* str._s:_unknown_protocol_name___s__in:__i_ */
0x0001af7c addiu a2, a2, -0x75bc | a2 += -0x75bc;
0x0001af80 addiu a1, zero, 1 | a1 = 1;
0x0001af84 sw s3, 0x10(sp) | *(var_10h) = s3;
0x0001af88 jalr t9 | t9 ();
0x0001af8c lw gp, 0x20(sp) | gp = *(var_20h);
0x0001af90 b 0x1a618 | goto label_40;
| label_103:
0x0001af94 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0001af98 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0001af9c lw t9, -0x7bfc(gp) | t9 = sym.imp.__fprintf_chk;
0x0001afa0 lw a0, (s1) | a0 = *(s1);
0x0001afa4 lw a3, (v0) | a3 = *(v0);
| /* str._s:_no_space_for_service_name:__i_ */
0x0001afa8 addiu a2, a2, -0x7488 | a2 += -0x7488;
0x0001afac addiu a1, zero, 1 | a1 = 1;
0x0001afb0 lw s0, 0x44(sp) | s0 = *(var_44h);
0x0001afb4 jalr t9 | t9 ();
0x0001afb8 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001afbc lw a1, (s1) | a1 = *(s1);
0x0001afc0 move a0, s0 | a0 = s0;
0x0001afc4 lw t9, -0x7e9c(gp) | t9 = sym.safestrprt;
0x0001afc8 addiu a2, zero, 1 | a2 = 1;
0x0001afcc bal 0x1dbd8 | sym_safestrprt ();
0x0001afd0 lw a0, 0x60(sp) | a0 = *(var_60h);
0x0001afd4 lw gp, 0x20(sp) | gp = *(var_20h);
| if (a0 != 0) {
0x0001afd8 beqz a0, 0x1afec |
0x0001afdc lw t9, -0x7ac0(gp) | t9 = sym.imp.free;
0x0001afe0 jalr t9 | t9 ();
0x0001afe4 nop |
0x0001afe8 lw gp, 0x20(sp) | gp = *(var_20h);
| }
0x0001afec lw a0, 0x3c(sp) | a0 = *(var_3ch);
0x0001aff0 lw t9, -0x7ac0(gp) | t9 = sym.imp.free;
| if (a0 != 0) {
0x0001aff4 bnez a0, 0x1a63c | goto label_41;
| }
0x0001aff8 addiu v0, zero, 1 | v0 = 1;
0x0001affc b 0x1a424 | goto label_7;
| label_104:
0x0001b000 lw a0, 0x3c(sp) | a0 = *(var_3ch);
0x0001b004 jalr t9 | t9 ();
0x0001b008 lw gp, 0x20(sp) | gp = *(var_20h);
0x0001b00c addiu v0, zero, 1 | v0 = 1;
0x0001b010 b 0x1a424 | goto label_7;
| label_94:
0x0001b014 lw v0, -0x7fd8(gp) | v0 = *(gp);
0x0001b018 lw s1, -0x7ab4(gp) | s1 = *((gp - 7853));
0x0001b01c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x0001b020 lw a3, (v0) | a3 = *(v0);
0x0001b024 lw v0, 0x60(sp) | v0 = *(var_60h);
0x0001b028 lw a0, (s1) | a0 = *(s1);
0x0001b02c lw t9, -0x7bfc(gp) | t9 = sym.imp.__fprintf_chk;
0x0001b030 sw s4, 0x40(sp) | *(var_40h) = s4;
| /* str._s:_unknown_service__s_for__s_in:__i_ */
0x0001b034 addiu a2, a2, -0x7464 | a2 += -0x7464;
0x0001b038 addiu a1, zero, 1 | a1 = 1;
0x0001b03c sw v0, 0x14(sp) | *(var_14h) = v0;
0x0001b040 sw s4, 0x10(sp) | *(var_10h) = s4;
0x0001b044 lw s0, 0x44(sp) | s0 = *(var_44h);
0x0001b048 jalr t9 | t9 ();
0x0001b04c lw gp, 0x20(sp) | gp = *(var_20h);
0x0001b050 b 0x1a87c | goto label_18;
| label_67:
0x0001b054 lw t9, -0x7aec(gp) | t9 = sym.imp.__stack_chk_fail;
0x0001b058 jalr t9 | t9 ();
0x0001b05c nop |
| label_87:
0x0001b060 lb v1, (s0) | v1 = *(s0);
0x0001b064 sw zero, 0x50(sp) | *(var_50h) = 0;
0x0001b068 sw v0, 0x30(sp) | *(var_30h) = v0;
0x0001b06c sw zero, 0x40(sp) | *(var_40h) = 0;
0x0001b070 sw v0, 0x34(sp) | *(var_34h) = v0;
0x0001b074 b 0x1a0a0 | goto label_17;
| label_96:
0x0001b078 move s3, s7 | s3 = s7;
0x0001b07c sw s2, 0x30(sp) | *(var_30h) = s2;
0x0001b080 sw s4, 0x40(sp) | *(var_40h) = s4;
0x0001b084 lw s7, 0x48(sp) | s7 = *(var_48h);
0x0001b088 lw s0, 0x44(sp) | s0 = *(var_44h);
0x0001b08c lw s2, 0x4c(sp) | s2 = *(var_4ch);
0x0001b090 move fp, s3 | fp = s3;
0x0001b094 b 0x1ad84 | goto label_42;
| }
[*] Function strcat used 8 times lsof