[*] Binary protection state of custfwcerts.cgi
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function system tear down of custfwcerts.cgi
sw s1, 0x7fd0(sp)
lui s0, 0xfffe
subu sp, sp, v1
ori v1, a3, 0x58
addu v1, v1, sp
ori s0, s0, 0xfff4
move s2, a0
addu a0, v1, s0
ori v1, a3, 0x54
lw v0, (v0)
addu v1, v1, sp
lw t9, -sym.imp.pipe(gp)
sw gp, 0x30(sp)
sw v0, (v1)
move s4, a1
jalr t9
move s3, a2
bltz v0, 0x2954
lw gp, 0x30(sp)
lui v1, 1
ori v0, v1, 0x58
addu v0, v0, sp
lui s1, 0xffff
addu s1, v0, s1
ori v0, v1, 0x58
lw t9, -sym.imp.sd_bus_open_system(gp)
addu v0, v0, sp
addiu a0, s0, -0x10
addu a0, v0, a0
jalr t9
sw zero, -0x1c(s1)
bltz v0, 0x293c
lw gp, 0x30(sp)
lw v0, -0x7fd8(gp)
lw a2, -0x7fd8(gp)
addiu v0, v0, str.Upgrade
lw a0, -0x1c(s1)
sw v0, 0x14(sp)
lui v0, 1
lw a3, -0x7fd8(gp)
ori v0, v0, 0x58
lw t9, -sym.imp.sd_bus_message_new_method_call(gp)
addiu a2, a2, str.com.axis.FirmwareManager1
addu v0, v0, sp
addiu a1, s0, -0xc
sw a2, 0x10(sp)
--
sw s0, 0x4c(sp)
sw v0, 0x44(sp)
beqz a0, 0x39a4
lw s2, -0x7fdc(gp)
lw v0, 0x6190(s2)
bnel v0, zero, 0x3aec
lw a1, -0x7fd8(gp)
lw t9, -sym.imp.malloc(gp)
sw a1, 0x24(sp)
move s0, a0
jalr t9
move s1, a2
move s3, v0
lw gp, 0x18(sp)
bnez s1, 0x3b30
lw a1, 0x24(sp)
lw t9, -0x7fd8(gp)
subu a1, s0, s1
addiu t9, t9, 0x2410
bal 0x2410
addu a0, s3, s1
lw gp, 0x18(sp)
sw s0, 0x6190(s2)
lw v0, -0x7fdc(gp)
sw s3, 0x6194(v0)
lw t9, -sym.imp.sd_bus_open_system(gp)
addiu a0, sp, 0x28
jalr t9
sw zero, 0x28(sp)
bltz v0, 0x3b00
lw gp, 0x18(sp)
lw a2, -0x7fd8(gp)
lw v0, -0x7fd8(gp)
lw a3, -0x7fd8(gp)
lw t9, -sym.imp.sd_bus_message_new_method_call(gp)
addiu a2, a2, str.com.axis.CustomFirmwareCertificates1
addiu v0, v0, str.Install
lw a0, 0x28(sp)
sw v0, 0x14(sp)
sw a2, 0x10(sp)
addiu a3, a3, str._com_axis_CustomFirmwareCertificates1
addiu a1, sp, 0x2c
jalr t9
sw zero, 0x2c(sp)
bltz v0, 0x3b18
lw gp, 0x18(sp)
[*] Function system used 2 times custfwcerts.cgi