[*] Binary protection state of libnl-3.so.200.21.0

  
  	No RELRO       No Canary found   NX disabled  DSO          No RPATH     No RUNPATH   No Symbols


[*] Function system tear down of libnl-3.so.200.21.0

    ; assembly                           | /* r2dec pseudo code output */
                                         | /* /logs/firmware/unblob_extracted/firmware_extract/2097216-5451840.squashfs_v4_le_extract/thirdlib/libnl-3.so.200.21.0 @ 0x4860 */
                                         | #include <stdint.h>
                                         |  
    ; (fcn) fcn.00004860 ()              | void fcn_00004860 () {
    0x00004860 lui gp, 4                 |     
    0x00004864 addiu gp, gp, -0x6000     |     
    0x00004868 addu gp, gp, t9           |     gp += t9;
    0x0000486c addiu sp, sp, -0x30       |     
    0x00004870 sw s3, 0x28(sp)           |     *(var_28h) = s3;
    0x00004874 lw s3, -0x7fe4(gp)        |     s3 = *((gp - 8185));
    0x00004878 sw gp, 0x10(sp)           |     *(var_10h) = gp;
    0x0000487c sw ra, 0x2c(sp)           |     *(var_2ch) = ra;
    0x00004880 lbu v0, 0x6c40(s3)        |     v0 = *((s3 + 27712));
    0x00004884 sw s2, 0x24(sp)           |     *(var_24h) = s2;
    0x00004888 sw s1, 0x20(sp)           |     *(var_20h) = s1;
    0x0000488c sw s0, 0x1c(sp)           |     *(var_1ch) = s0;
    0x00004890 lw v0, -0x7cf0(gp)        |     v0 = *((gp - 7996));
                                         |     if (v0 != 0) {
    0x00004894 bnez v0, 0x494c           |         goto label_1;
                                         |     }
    0x00004898 lw v0, -0x7fe0(gp)        |     v0 = *((gp - 8184));
                                         |     if (v0 != 0) {
    0x0000489c beqz v0, 0x48b0           |         
    0x000048a0 lw t9, -0x7cf0(gp)        |         t9 = *((gp - 7996));
    0x000048a4 lw a0, (v0)               |         a0 = *(v0);
    0x000048a8 jalr t9                   |         t9 ();
    0x000048ac lw gp, 0x10(sp)           |         gp = *(var_10h);
                                         |     }
    0x000048b0 lw s2, -0x7fe4(gp)        |     s2 = *((gp - 8185));
    0x000048b4 lw s0, -0x7fe4(gp)        |     s0 = *((gp - 8185));
    0x000048b8 lw s1, -0x7fdc(gp)        |     s1 = *((gp - 8183));
    0x000048bc addiu s2, s2, 0x6018      |     s2 += 0x6018;
    0x000048c0 lw v0, 0x6c44(s0)         |     v0 = *((s0 + 6929));
    0x000048c4 subu s1, s1, s2           |     __asm ("subu s1, s1, s2");
    0x000048c8 sra s1, s1, 2             |     s1 >>= 2;
    0x000048cc addiu s1, s1, -1          |     s1 += -1;
    0x000048d0 sltu v1, v0, s1           |     v1 = (v0 < s1) ? 1 : 0;
    0x000048d4 lw t9, -0x7fd8(gp)        |     t9 = *((gp - 8182));
                                         |     if (v1 == 0) {
    0x000048d8 beqz v1, 0x4908           |         goto label_2;
                                         |     }
                                         |     do {
    0x000048dc addiu v0, v0, 1           |         v0++;
    0x000048e0 sll v1, v0, 2             |         v1 = v0 << 2;
    0x000048e4 addu v1, s2, v1           |         v1 = s2 + v1;
    0x000048e8 lw t9, (v1)               |         t9 = *(v1);
    0x000048ec sw v0, 0x6c44(s0)         |         *((s0 + 6929)) = v0;
    0x000048f0 jalr t9                   |         t9 ();
    0x000048f4 lw v0, 0x6c44(s0)         |         v0 = *((s0 + 6929));
    0x000048f8 sltu v1, v0, s1           |         v1 = (v0 < s1) ? 1 : 0;
    0x000048fc lw gp, 0x10(sp)           |         gp = *(var_10h);
    0x00004900 bnez v1, 0x48dc           |         
                                         |     } while (v1 != 0);
    0x00004904 lw t9, -0x7fd8(gp)        |     t9 = *((gp - 8182));
                                         | label_2:
    0x00004908 addiu t9, t9, 0x47d0      |     t9 += entry0;
    0x0000490c bal 0x47d0                |     entry0 ();
    0x00004910 nop                       |     
    0x00004914 lw gp, 0x10(sp)           |     gp = *(var_10h);
    0x00004918 lw v0, -0x7e38(gp)        |     v0 = *((gp - 8078));
    0x0000491c lw a0, -0x7e6c(gp)        |     a0 = *((gp - 8091));
                                         |     if (v0 == 0) {
    0x00004920 beqz v0, 0x4968           |         goto label_3;
                                         |     }
    0x00004924 lw v0, -0x7dbc(gp)        |     v0 = *((gp - 8047));
                                         |     if (a0 == 0) {
    0x00004928 beqz a0, 0x496c           |         goto label_4;
                                         |     }
    0x0000492c lb v0, (a0)               |     v0 = *(a0);
    0x00004930 slti v0, v0, 2            |     v0 = (v0 < 2) ? 1 : 0;
    0x00004934 lw t9, -0x7dbc(gp)        |     t9 = *((gp - 8047));
                                         |     if (v0 != 0) {
    0x00004938 bnez v0, 0x4968           |         goto label_3;
                                         |     }
    0x0000493c jalr t9                   |     t9 ();
    0x00004940 nop                       |     
                                         |     do {
    0x00004944 addiu v0, zero, 1         |         v0 = 1;
                                         | label_0:
    0x00004948 sb v0, 0x6c40(s3)         |         *((s3 + 27712)) = v0;
                                         | label_1:
    0x0000494c lw ra, 0x2c(sp)           |         ra = *(var_2ch);
    0x00004950 lw s3, 0x28(sp)           |         s3 = *(var_28h);
    0x00004954 lw s2, 0x24(sp)           |         s2 = *(var_24h);
    0x00004958 lw s1, 0x20(sp)           |         s1 = *(var_20h);
    0x0000495c lw s0, 0x1c(sp)           |         s0 = *(var_1ch);
    0x00004960 addiu sp, sp, 0x30        |         
    0x00004964 jr ra                     |         return v0;
                                         | label_3:
    0x00004968 lw v0, -0x7dbc(gp)        |         v0 = *((gp - 8047));
                                         | label_4:
    0x0000496c lw a0, -0x7fd4(gp)        |         a0 = *((gp - 8181));
    0x00004970 beqz v0, 0x4944           |         
                                         |     } while (v0 == 0);
    0x00004974 lw t9, -0x7dbc(gp)        |     t9 = *((gp - 8047));
    0x00004978 addiu a0, a0, 0x56b4      |     a0 += 0x56b4;
    0x0000497c jalr t9                   |     t9 ();
    0x00004980 addiu v0, zero, 1         |     v0 = 1;
    0x00004984 b 0x4948                  |     goto label_0;
                                         | }

[*] Function system used 1 times libnl-3.so.200.21.0