[*] Binary protection state of mod_setenvif.so

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


[*] Function system tear down of mod_setenvif.so

    ; assembly                               | /* r2dec pseudo code output */
                                             | /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/apache2/modules/mod_setenvif.so @ 0xc24 */
                                             | #include <stdint.h>
                                             |  
    ; (fcn) entry.fini0 ()                   | void entry_fini0 () {
    0x00000c24 lui gp, 2                     |     
    0x00000c28 addiu gp, gp, -0x5bf4         |     
    0x00000c2c addu gp, gp, t9               |     gp += t9;
    0x00000c30 addiu sp, sp, -0x20           |     
    0x00000c34 sw s0, 0x18(sp)               |     *(var_18h) = s0;
    0x00000c38 lw s0, -0x7fe4(gp)            |     s0 = *((gp - 8185));
    0x00000c3c sw gp, 0x10(sp)               |     *(var_10h) = gp;
    0x00000c40 sw ra, 0x1c(sp)               |     *(var_1ch) = ra;
    0x00000c44 lbu v0, 0x30f0(s0)            |     v0 = *((s0 + 12528));
    0x00000c48 lw v0, -0x7f54(gp)            |     v0 = *((gp - 8149));
                                             |     if (v0 == 0) {
    0x00000c4c bnez v0, 0xc80                |         
    0x00000c50 lw v0, -0x7fe0(gp)            |         v0 = *((gp - 8184));
                                             |         if (v0 != 0) {
    0x00000c54 beqz v0, 0xc68                |             
    0x00000c58 lw t9, -0x7f54(gp)            |             t9 = *((gp - 8149));
    0x00000c5c lw a0, (v0)                   |             a0 = *(v0);
    0x00000c60 jalr t9                       |             t9 ();
    0x00000c64 lw gp, 0x10(sp)               |             gp = *(var_10h);
                                             |         }
    0x00000c68 lw t9, -0x7fdc(gp)            |         t9 = *((gp - 8183));
    0x00000c6c addiu t9, t9, 0xba0           |         t9 += entry0;
    0x00000c70 bal 0xba0                     |         entry0 ();
    0x00000c74 nop                           |         
    0x00000c78 addiu v0, zero, 1             |         v0 = 1;
    0x00000c7c sb v0, 0x30f0(s0)             |         *((s0 + 12528)) = v0;
                                             |     }
    0x00000c80 lw ra, 0x1c(sp)               |     ra = *(var_1ch);
    0x00000c84 lw s0, 0x18(sp)               |     s0 = *(var_18h);
    0x00000c88 addiu sp, sp, 0x20            |     
    0x00000c8c jr ra                         |     return v0;
                                             | }

[*] Function system used 1 times mod_setenvif.so