[*] Binary protection state of libxtables.so.7.0.0
No RELRO No Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function popen tear down of libxtables.so.7.0.0
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/lib/libxtables.so.7.0.0 @ 0x1a68 */
| #include <stdint.h>
|
; (fcn) fcn.00001a68 () | void fcn_00001a68 () {
0x00001a68 lui gp, 2 |
0x00001a6c addiu gp, gp, 0x6d8 |
0x00001a70 addu gp, gp, t9 | gp += t9;
0x00001a74 addiu sp, sp, -0x30 |
0x00001a78 sw ra, 0x2c(sp) | *(var_2ch) = ra;
0x00001a7c sw s3, 0x28(sp) | *(var_28h) = s3;
0x00001a80 sw s2, 0x24(sp) | *(var_24h) = s2;
0x00001a84 sw s1, 0x20(sp) | *(var_20h) = s1;
0x00001a88 sw s0, 0x1c(sp) | *(var_1ch) = s0;
0x00001a8c lw t8, -0x7fe4(gp) | t8 = *((gp - 8185));
0x00001a90 sw gp, 0x10(sp) | *(var_10h) = gp;
0x00001a94 lbu v0, -0x5c90(t8) | v0 = *((t8 - 23696));
0x00001a98 move s1, t8 | s1 = t8;
| if (v0 != 0) {
0x00001a9c bnez v0, 0x1b24 | goto label_0;
| }
0x00001aa0 lw t8, -0x7e4c(gp) | t8 = *((gp - 8083));
0x00001aa4 lw t8, -0x7fe0(gp) | t8 = *((gp - 8184));
| if (t8 != 0) {
0x00001aa8 beqz t8, 0x1abc |
0x00001aac lw t9, -0x7e4c(gp) | t9 = *((gp - 8083));
0x00001ab0 lw a0, (t8) | a0 = *(t8);
0x00001ab4 jalr t9 | t9 ();
0x00001ab8 lw gp, 0x10(sp) | gp = *(var_10h);
| }
0x00001abc lw v0, -0x7fe4(gp) | v0 = *((gp - 8185));
0x00001ac0 lw s2, -0x7fdc(gp) | s2 = *((gp - 8183));
0x00001ac4 addiu v0, v0, -0x5ff8 | v0 += -0x5ff8;
0x00001ac8 subu s2, s2, v0 | __asm ("subu s2, s2, v0");
0x00001acc move s3, v0 | s3 = v0;
0x00001ad0 sra s2, s2, 2 | s2 >>= 2;
0x00001ad4 lw s0, -0x7fe4(gp) | s0 = *((gp - 8185));
0x00001ad8 addiu s2, s2, -1 | s2 += -1;
| do {
0x00001adc lw v0, -0x5c8c(s0) | v0 = *((s0 - 5923));
0x00001ae0 sltu t8, v0, s2 | t8 = (v0 < s2) ? 1 : 0;
0x00001ae4 addiu v0, v0, 1 | v0++;
| if (t8 == 0) {
0x00001ae8 beqz t8, 0x1b0c | goto label_1;
| }
0x00001aec sw v0, -0x5c8c(s0) | *((s0 - 5923)) = v0;
0x00001af0 sll v0, v0, 2 | v0 <<= 2;
0x00001af4 addu v0, s3, v0 | v0 = s3 + v0;
0x00001af8 lw t9, (v0) | t9 = *(v0);
0x00001afc jalr t9 | t9 ();
0x00001b00 nop |
0x00001b04 lw gp, 0x10(sp) | gp = *(var_10h);
0x00001b08 b 0x1adc |
| } while (1);
| label_1:
0x00001b0c lw t9, -0x7fd8(gp) | t9 = *((gp - 8182));
0x00001b10 addiu t9, t9, 0x19d0 | t9 += entry0;
0x00001b14 jalr t9 | t9 ();
0x00001b18 nop |
0x00001b1c addiu t8, zero, 1 | t8 = 1;
0x00001b20 sb t8, -0x5c90(s1) | *((s1 - 23696)) = t8;
| label_0:
0x00001b24 lw ra, 0x2c(sp) | ra = *(var_2ch);
0x00001b28 lw s3, 0x28(sp) | s3 = *(var_28h);
0x00001b2c lw s2, 0x24(sp) | s2 = *(var_24h);
0x00001b30 lw s1, 0x20(sp) | s1 = *(var_20h);
0x00001b34 lw s0, 0x1c(sp) | s0 = *(var_1ch);
0x00001b38 addiu sp, sp, 0x30 |
0x00001b3c jr ra | return v0;
| }
[*] Function popen used 1 times libxtables.so.7.0.0