[*] Binary protection state of start_wps
Full RELRO Canary found NX disabled No PIE No RPATH No RUNPATH No Symbols
[*] Function printf tear down of start_wps
401f98: 1000000e b 401fd4 <_Z14send_signal_psPKcii@@Base+0x164>
401f9c: 00000000 nop
401fa0: 24040001 li a0,1
401fa4: 8f9881cc lw t8,-32308(gp)
401fa8: 0300c821 move t9,t8
401fac: 0320f809 jalr t9
401fb0: 00000000 nop
401fb4: 8fdc0010 lw gp,16(s8)
401fb8: 8fd8002c lw t8,44(s8)
401fbc: 27180001 addiu t8,t8,1
401fc0: afd8002c sw t8,44(s8)
401fc4: 8fd8002c lw t8,44(s8)
401fc8: 2b18000a slti t8,t8,10
401fcc: 1700ffe5 bnez t8,401f64 <_Z14send_signal_psPKcii@@Base+0xf4>
401fd0: 00000000 nop
401fd4: 8fc2002c lw v0,44(s8)
401fd8: 2418000a li t8,10
401fdc: 1458000f bne v0,t8,40201c <_Z14send_signal_psPKcii@@Base+0x1ac>
401fe0: 00000000 nop
401fe4: 8fd80028 lw t8,40(s8)
401fe8: 8f828024 lw v0,-32732(gp)
401fec: 24448ed8 addiu a0,v0,-28968
401ff0: 03002821 move a1,t8
401ff4: 8fc60024 lw a2,36(s8)
401ff8: 8fc70020 lw a3,32(s8)
401ffc: 8f9880d0 lw t8,printf
402000: 0300c821 move t9,t8
402004: 0320f809 jalr t9
--
40393c: 1000000e b 403978 <_Z12wps_kill_pidPci@@Base+0x154>
403940: 00000000 nop
403944: 24040001 li a0,1
403948: 8f9881cc lw t8,-32308(gp)
40394c: 0300c821 move t9,t8
403950: 0320f809 jalr t9
403954: 00000000 nop
403958: 8fdc0010 lw gp,16(s8)
40395c: 8fd80024 lw t8,36(s8)
403960: 27180001 addiu t8,t8,1
403964: afd80024 sw t8,36(s8)
403968: 8fd80024 lw t8,36(s8)
40396c: 2b18000a slti t8,t8,10
403970: 1700ffe5 bnez t8,403908 <_Z12wps_kill_pidPci@@Base+0xe4>
403974: 00000000 nop
403978: 8fc20024 lw v0,36(s8)
40397c: 2418000a li t8,10
403980: 1458000f bne v0,t8,4039c0 <_Z12wps_kill_pidPci@@Base+0x19c>
403984: 00000000 nop
403988: 8fd80020 lw t8,32(s8)
40398c: 8f828024 lw v0,-32732(gp)
403990: 24448ed8 addiu a0,v0,-28968
403994: 03002821 move a1,t8
403998: 8fc6001c lw a2,28(s8)
40399c: 8fc70018 lw a3,24(s8)
4039a0: 8f9880d0 lw t8,printf
4039a4: 0300c821 move t9,t8
4039a8: 0320f809 jalr t9
--
405848: 279ce7dc addiu gp,gp,-6180
40584c: 0399e021 addu gp,gp,t9
405850: 27bdca58 addiu sp,sp,-13736
405854: afbf35a4 sw ra,13732(sp)
405858: afbe35a0 sw s8,13728(sp)
40585c: afb0359c sw s0,13724(sp)
405860: 03a0f021 move s8,sp
405864: afbc0018 sw gp,24(sp)
405868: afc40024 sw a0,36(s8)
40586c: afc50020 sw a1,32(s8)
405870: 8f9881e8 lw t8,-32280(gp)
405874: 8f180000 lw t8,0(t8)
405878: afd83594 sw t8,13716(s8)
40587c: 27d8002c addiu t8,s8,44
405880: 03002021 move a0,t8
405884: 8f988030 lw t8,-32720(gp)
405888: 0300c821 move t9,t8
40588c: 0320f809 jalr t9
405890: 00000000 nop
405894: 8fdc0018 lw gp,24(s8)
405898: 8f988024 lw t8,-32732(gp)
40589c: 27049624 addiu a0,t8,-27100
4058a0: 8f988024 lw t8,-32732(gp)
4058a4: 2705a810 addiu a1,t8,-22512
4058a8: 240602a0 li a2,672
4058ac: 8f9880d0 lw t8,printf
4058b0: 0300c821 move t9,t8
4058b4: 0320f809 jalr t9
--
405d10: 8fbe35a0 lw s8,13728(sp)
405d14: 8fb0359c lw s0,13724(sp)
405d18: 27bd35a8 addiu sp,sp,13736
405d1c: 03e00008 jr ra
405d20: 00000000 nop
00405d24 <_Z21wps_mtk_apclient_stopiPKc@@Base>:
405d24: 3c1c0002 lui gp,0x2
405d28: 279ce2fc addiu gp,gp,-7428
405d2c: 0399e021 addu gp,gp,t9
405d30: 27bdff90 addiu sp,sp,-112
405d34: afbf006c sw ra,108(sp)
405d38: afbe0068 sw s8,104(sp)
405d3c: 03a0f021 move s8,sp
405d40: afbc0010 sw gp,16(sp)
405d44: afc4001c sw a0,28(s8)
405d48: afc50018 sw a1,24(s8)
405d4c: 8f9881e8 lw t8,-32280(gp)
405d50: 8f180000 lw t8,0(t8)
405d54: afd80064 sw t8,100(s8)
405d58: 8f988024 lw t8,-32732(gp)
405d5c: 27049624 addiu a0,t8,-27100
405d60: 8f988024 lw t8,-32732(gp)
405d64: 2705a828 addiu a1,t8,-22488
405d68: 240602c1 li a2,705
405d6c: 8f9880d0 lw t8,printf
405d70: 0300c821 move t9,t8
405d74: 0320f809 jalr t9
--
406780: 1000001e b 4067fc <_Z18mtk_get_wsc_statusiPKcPi@@Base+0x210>
406784: 00000000 nop
406788: 8fc20028 lw v0,40(s8)
40678c: 8fd8001c lw t8,28(s8)
406790: af020000 sw v0,0(t8)
406794: 8fd80028 lw t8,40(s8)
406798: 2b180101 slti t8,t8,257
40679c: 17000008 bnez t8,4067c0 <_Z18mtk_get_wsc_statusiPKcPi@@Base+0x1d4>
4067a0: 00000000 nop
4067a4: 8fd80028 lw t8,40(s8)
4067a8: 2718ff00 addiu t8,t8,-256
4067ac: 27c2004c addiu v0,s8,76
4067b0: 0018c180 sll t8,t8,0x6
4067b4: 0058c021 addu t8,v0,t8
4067b8: 10000005 b 4067d0 <_Z18mtk_get_wsc_statusiPKcPi@@Base+0x1e4>
4067bc: 00000000 nop
4067c0: 8fd80028 lw t8,40(s8)
4067c4: 27c203cc addiu v0,s8,972
4067c8: 0018c180 sll t8,t8,0x6
4067cc: 0058c021 addu t8,v0,t8
4067d0: 8f828024 lw v0,-32732(gp)
4067d4: 24449788 addiu a0,v0,-26744
4067d8: 8f828024 lw v0,-32732(gp)
4067dc: 2445a840 addiu a1,v0,-22464
4067e0: 03003021 move a2,t8
4067e4: 8f9880d0 lw t8,printf
4067e8: 0300c821 move t9,t8
4067ec: 0320f809 jalr t9
--
407f90: 2418000d li t8,13
407f94: 1058000b beq v0,t8,407fc4 <_Z14create_pidfilePKc@@Base+0x144>
407f98: 00000000 nop
407f9c: 8f9881ec lw t8,-32276(gp)
407fa0: 0300c821 move t9,t8
407fa4: 0320f809 jalr t9
407fa8: 00000000 nop
407fac: 8fdc0010 lw gp,16(s8)
407fb0: 0040c021 move t8,v0
407fb4: 8f020000 lw v0,0(t8)
407fb8: 2418000b li t8,11
407fbc: 1458000a bne v0,t8,407fe8 <_Z14create_pidfilePKc@@Base+0x168>
407fc0: 00000000 nop
407fc4: 8f988024 lw t8,-32732(gp)
407fc8: 2704a6e0 addiu a0,t8,-22816
407fcc: 8f9880c8 lw t8,-32568(gp)
407fd0: 0300c821 move t9,t8
407fd4: 0320f809 jalr t9
407fd8: 00000000 nop
407fdc: 8fdc0010 lw gp,16(s8)
407fe0: 10000036 b 4080bc <_Z14create_pidfilePKc@@Base+0x23c>
407fe4: 00000000 nop
407fe8: 8f988024 lw t8,-32732(gp)
407fec: 2704a6f8 addiu a0,t8,-22792
407ff0: 8fc5001c lw a1,28(s8)
407ff4: 8f9880d0 lw t8,printf
407ff8: 0300c821 move t9,t8
407ffc: 0320f809 jalr t9
[*] Function printf used 6 times start_wps