[*] Binary protection state of scsi_id
Full RELRO Canary found NX enabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function sprintf tear down of scsi_id
mov r5, sb
movs r6, 1
add.w r8, sp, 0x30
blx 0x18cc
b 0x287c
ldr r3, [0x00002ad8]
mov sb, r2
ldr r2, [sp, 0x34]
str r6, [sp, 8]
add r3, pc
str r3, [sp, 4]
ldr r3, [0x00002adc]
str r2, [sp, 0xc]
ldr r2, [0x00002ae0]
add r3, pc
str r3, [sp]
movs r3, 0xa3
add r2, pc
b 0x290a
blx sym.imp.parse_printf_format
blx sym.imp.__sprintf_chk
ldr r5, [r0]
cmp r5, 2
--
cmp r0, 6
ble 0x30fe
ldr r3, [sp, 0x30]
adds r6, 0x1f
ldr r2, [0x00003260]
ldr r0, [0x00003264]
ldr r1, [0x00003268]
str r3, [sp, 0x10]
add r2, pc
ldr r3, [sp, 0x2c]
add r0, pc
add r1, pc
adds r2, 7
strd r1, r0, [sp]
movs r1, 0
strd r6, r3, [sp, 8]
movs r0, 7
movw r3, 0x161
bl 0x7e80
b 0x30fe
blx sym.imp.__sprintf_chk
ldr r4, [r0]
sub.w r3, r4, 0x16
--
str.w r3, [r4, 0x15]
mov r0, r6
blx sym.imp.__snprintf_chk
ldr r2, [0x00003858]
ldr r3, [0x00003850]
add r2, pc
ldr r3, [r2, r3]
ldr r2, [r3]
ldr r3, [sp, 0x17c]
eors r2, r3
mov.w r3, 0
bne 0x3848
mov r0, r5
add sp, 0x184
pop {r4, r5, r6, r7, pc}
bl 0x7630
cmp r0, 6
it le
movle r5, 2
ble 0x37c0
blx sym.imp.__sprintf_chk
ldr r2, [0x0000385c]
ldr r1, [r0]
ldr r3, [0x00003860]
ldr r0, [0x00003864]
add r2, pc
str r5, [sp, 8]
adds r2, 7
add r3, pc
movs r5, 2
add r0, pc
str r3, [sp, 4]
str r0, [sp]
movw r3, 0x2f5
movs r0, 7
bl 0x7e80
b 0x37c0
bl 0x7630
cmp r0, 6
it le
movle r5, 1
ble 0x37c6
blx sym.imp.__sprintf_chk
ldr r4, [0x00003868]
ldr r2, [0x0000386c]
--
add r2, pc
ldr r3, [r2, r3]
ldr r3, [r3]
str r3, [sp, 0x12c]
mov.w r3, 0
cmp r1, 0
bne 0x394e
mov.w r7, 0x800
movw sb, 0x851f
mov.w r8, 0xc200
movs r5, 0x14
movt r7, 8
movt sb, 0x51eb
movt r8, 0xbeb
bl 0x9cc8
mov r1, r7
mov r0, r6
blx 0x1a28
subs r4, r0, 0
bge 0x3924
blx sym.imp.__sprintf_chk
ldr r3, [r0]
cmp r3, 0x10
--
add r1, pc
add r3, pc
adds r1, 7
add r0, pc
bl 0x7f50
ldr r3, [sp, 0x120]
movs r0, r0
ldr r5, [sp, 0x208]
movs r0, r0
ldr r5, [sp, 0x158]
movs r0, r0
push {r4, r5, r6, lr}
cbz r0, 0x42ce
mov r5, r0
ldr r0, [r0]
mov r6, r1
mov r4, r2
cbz r0, 0x42b0
cbnz r2, 0x4296
pop {r4, r5, r6, pc}
blx sym.imp.__vasprintf_chk
mov r1, r4
bl 0xced8
--
ldrh r2, [r4, 0x10]
movs r0, r0
ldrh r2, [r6, 0x1a]
movs r0, r0
ldrh r0, [r4, 0x20]
movs r0, r0
ldrh r0, [r7, 0x1e]
movs r0, r0
ldrh r4, [r3, 0x1a]
movs r0, r0
ldrh r2, [r1, 0x20]
movs r0, r0
ldrh r6, [r6, 0x1c]
movs r0, r0
cmp r0, 0
push {r3, lr}
blt 0x56f6
blx sym.imp.__snprintf_chk
cmp r0, 0
bge 0x56f2
blx sym.imp.__sprintf_chk
ldr r0, [r0]
cmp r0, 4
--
movs r2, 0x24
ldr r3, [0x00005710]
ldr r0, [0x00005714]
add r1, pc
add r3, pc
adds r1, 7
add r0, pc
bl 0x7f50
nop
ldrh r6, [r7, 0x1c]
movs r0, r0
ldrh r0, [r2, 0x22]
movs r0, r0
ldrh r4, [r2, 0x1e]
movs r0, r0
push {r3, r4, r5, lr}
subs r4, r0, 0
bge 0x5724
mov.w r0, -1
pop {r3, r4, r5, pc}
blx sym.imp.__sprintf_chk
mov r5, r0
mov r0, r4
--
ldr r1, [0x00005758]
movs r2, 0x4a
ldr r3, [0x0000575c]
ldr r0, [0x00005760]
add r1, pc
add r3, pc
adds r1, 7
add r0, pc
bl 0x7f50
nop
ldrh r2, [r6, 0x1a]
movs r0, r0
ldrh r0, [r7, 0x1e]
movs r0, r0
ldrh r0, [r2, 0x1c]
movs r0, r0
push {r4, r5, r6, lr}
cbz r0, 0x5792
mov r4, r0
movs r6, 0
blx sym.imp.__sprintf_chk
mov r5, r0
mov r0, r4
--
pop {r4, r5, r6, pc}
ldr r1, [0x000057a8]
movs r2, 0x66
ldr r3, [0x000057ac]
ldr r0, [0x000057b0]
add r1, pc
add r3, pc
adds r1, 7
add r0, pc
bl 0x7f50
nop
ldrh r2, [r4, 0x18]
movs r0, r0
ldrh r0, [r3, 0x1c]
movs r0, r0
ldrh r4, [r3, 0x1a]
movs r0, r0
cbz r0, 0x57d8
push {r3, r4, r5, lr}
mov r4, r0
blx sym.imp.__sprintf_chk
mov r5, r0
mov r0, r4
--
pop {r3, r4, r5, pc}
movs r0, 0
bx lr
ldr r1, [0x000057f0]
movs r2, 0x7d
ldr r3, [0x000057f4]
ldr r0, [0x000057f8]
add r1, pc
add r3, pc
adds r1, 7
add r0, pc
bl 0x7f50
ldrh r0, [r3, 0x16]
movs r0, r0
ldrh r2, [r0, 0x1a]
movs r0, r0
ldrh r6, [r2, 0x18]
movs r0, r0
push {r3, r4, r5, r6, r7, lr}
mov r4, r0
blx sym.imp.__sprintf_chk
cmp r4, 2
mov r5, r0
--
push {r3, r4, r5, lr}
cbz r2, 0x5952
mov r4, r2
blx sym.imp.socket
mov r5, r0
cbz r0, 0x5966
movs r1, 2
blx sym.imp.fgetc
movs r0, 0
str r5, [r4]
pop {r3, r4, r5, pc}
ldr r1, [0x00005970]
movs r2, 0x2d
ldr r3, [0x00005974]
ldr r0, [0x00005978]
add r1, pc
add r3, pc
adds r1, 7
add r0, pc
bl 0x7f50
blx sym.imp.__sprintf_chk
ldr r0, [r0]
rsbs r0, r0, 0
--
cmp.w r3, 0x8000
bne.w 0x5b04
ldrd r0, r3, [sp, 0x48]
cmp r0, 1
sbcs r2, r3, 0
blt 0x5ab4
cmp.w sb, 1
beq 0x5a7a
cmp.w r0, -0x80000000
sbcs r3, r3, 0
blt 0x5ada
cmp.w r8, -1
beq 0x5ae6
mov r0, r8
add.w sb, sb, -1
adds r0, 1
blx 0x1a4c
mov r5, r0
cmp r0, 0
beq.w 0x5b66
blx sym.imp.__vasprintf_chk
subs r7, r0, 1
cmp r7, sl
it hs
movhs r7, sl
adds r6, r7, 1
b 0x5a42
blx sym.imp.__sprintf_chk
ldr r0, [r0]
cmp r0, 4
--
mov r6, r0
bhs 0x5b12
cmp r8, r0
blo 0x5b38
cmp.w sb, 0
beq 0x5b0c
movs r3, 0
mov r0, r4
str r3, [sp]
movs r2, 0
movs r3, 0
blx 0x19ec
cmp r1, 0
blt 0x5a82
mov r0, r5
blx 0x18cc
b 0x59d8
mov r0, sl
mov.w sb, 0
b 0x5a1a
blx sym.imp.__sprintf_chk
ldr r0, [r0]
rsb.w r8, r0, 0
--
ldr r3, [0x00005b70]
add r2, pc
ldr r3, [r2, r3]
ldr r2, [r3]
ldr r3, [sp, 0x84]
eors r2, r3
mov.w r3, 0
bne 0x5b62
mov r0, r8
add sp, 0x8c
pop.w {r4, r5, r6, r7, r8, sb, sl, fp, pc}
cmp.w sb, 1
beq 0x5a7a
bl 0x8d68
subs r0, 1
mov.w sb, 1
cmp r0, sl
it hs
movhs r0, sl
b 0x5a1a
blx sym.imp.__sprintf_chk
ldr r0, [r0]
movs r5, 0
--
pop {r3, r4, r5, r6, r7, pc}
mov r4, r0
mov r0, r2
mov r5, r3
bl 0x5878
cmp r0, 0
blt 0x5d46
orr.w r2, r5, r0
mov r1, r7
mov r0, r4
blx 0x18fc
subs r4, r0, 0
blt 0x5d78
mov r1, r6
blx sym.imp.fdopen
mov r3, r0
cmp r0, 0
bne 0x5d40
mov r0, r4
bl 0x5718
blx sym.imp.__sprintf_chk
ldr r0, [r0]
rsbs r0, r0, 0
pop {r3, r4, r5, r6, r7, pc}
nop
push {r4, r5, r6, lr}
cbz r0, 0x5dc2
mov r5, r1
mov r4, r0
blx sym.imp.__sprintf_chk
movs r3, 0
mov r6, r0
--
str r2, [sp, 0x10]
str r1, [sp, 0xc]
ubfx r2, r8, 0, 0xc
movw r1, 0x585
str r3, [sp, 4]
strd r5, r2, [sp, 0x14]
mov r3, r7
str r1, [sp, 8]
mov r2, r5
movs r1, 4
bl 0x8b80
mov r0, r4
b 0x60b4
add r4, sp, 0x20
mov r1, r4
blx 0x197c
cmp r0, 0
it ge
movge r1, r4
bge 0x609e
blx sym.imp.__sprintf_chk
ldr r0, [r0]
rsbs r0, r0, 0
--
mov r0, r1
blx 0x1a4c
mov r4, r0
cmp r0, 0
beq.w 0x650c
cmp.w sb, 0
beq 0x6238
cmp.w r8, 0
beq.w 0x63c0
mov r2, sb
mov r1, r8
blx 0x1920
mov r1, sb
mov.w r2, -1
mov r0, r8
blx sym.imp.nl_langinfo
mov r0, r8
blx 0x18cc
cmp.w sl, -1
beq 0x633a
blx sym.imp.__sprintf_chk
sub.w r8, r5, r7
movs r3, 0
--
movhs r2, r3
ldr r3, [sp, 0xc]
mov r5, r2
adds r1, r5, 1
cmp r3, 0
bne 0x6208
mov r0, r8
blx 0x1994
mov r4, r0
cmp r0, 0
bne 0x623e
mov r4, r8
mvn r8, 0xb
b 0x62dc
mov r1, r4
movs r2, 0
mov r0, r6
blx sym.imp.strncmp
cmp r0, 0
bge 0x61f0
blx sym.imp.__sprintf_chk
ldr r3, [r0]
movs r4, 0
--
mov r1, sb
blx sym.imp.__libc_current_sigrtmin
cmp r0, 0
blt 0x63b2
ldr r3, [sp, 0x30]
and r3, r3, 0xf000
cmp.w r3, 0x8000
bne.w 0x61e4
cmp.w sl, -1
beq.w 0x6432
ldr r3, [sp, 0xbc]
lsls r3, r3, 0x1c
bpl.w 0x61e4
movs r3, 0
mov r1, sb
mov r0, r8
mov r2, r3
bl 0x607c
b 0x61e4
mov r0, r4
blx sym.imp.__vasprintf_chk
subs r5, r0, 1
b 0x6244
--
add r0, pc
bl 0x7f50
ldr r1, [0x0000654c]
movw r2, 0x21d
ldr r3, [0x00006550]
ldr r0, [0x00006554]
add r1, pc
add r3, pc
adds r1, 7
add r0, pc
bl 0x7f50
ldr r1, [0x00006558]
movw r2, 0x21e
ldr r3, [0x0000655c]
ldr r0, [0x00006560]
add r1, pc
add r3, pc
adds r1, 7
add r0, pc
bl 0x7f50
blx sym.imp.__sprintf_chk
ldr r3, [r0]
rsb.w r8, r3, 0
--
ldr r3, [0x00006804]
ldr r0, [0x00006808]
add r1, pc
add r3, pc
adds r1, 7
add r0, pc
bl 0x7f50
ldr r1, [0x0000680c]
movw r2, 0x2b7
ldr r3, [0x00006810]
ldr r0, [0x00006814]
add r1, pc
add r3, pc
adds r1, 7
add r0, pc
bl 0x7f50
mov.w r3, -1
mvn r4, 0x1c
mov sb, r3
b 0x6720
blx sym.imp.__sprintf_chk
ldr r4, [r0]
mov.w r3, -1
rsbs r4, r4, 0
b 0x6720
add r3, sp, 0x28
mov r1, r5
mov r0, r3
str r3, [sp, 0x14]
mov.w sb, -1
bl 0xa5c8
b 0x6622
mov r4, r0
mov.w r3, -1
b 0x6720
str r3, [sp, 0x10]
blx sym.imp.__sprintf_chk
ldr r4, [r0]
ldr r3, [sp, 0x10]
rsbs r4, r4, 0
b 0x6720
movs r1, 0x6c
add.w r0, sp, 0x2a
blx sym.imp.shutdown
ldr r3, [sp, 0x10]
adds r2, r0, 3
b 0x668e
ldr r4, [sp, 0x18]
b 0x6720
blx sym.imp.__sprintf_chk
ldr r2, [r0]
ldr r3, [sp, 0x10]
cmp r2, 0x58
it ne
rsbne r4, r2, 0
b 0x6720
blx sym.imp.__sprintf_chk
ldr r4, [r0]
ldr r3, [sp, 0x10]
--
bl 0xb62c
movs r0, 8
mov r3, r5
str r0, [sp]
movs r2, 0x15
movs r1, 1
mov r0, r4
blx 0x1890
ldr r2, [0x00006e60]
ldr r3, [0x00006e5c]
add r2, pc
ldr r3, [r2, r3]
ldr r2, [r3]
ldr r3, [sp, 0x14]
eors r2, r3
mov.w r3, 0
bne 0x6e54
mov r0, r4
add sp, 0x1c
pop {r4, r5, pc}
blx sym.imp.__sprintf_chk
ldr r4, [r0]
rsbs r4, r4, 0
--
add r4, pc
ldr r3, [r4]
cmp r3, 0
it ge
movge r0, 0
blt 0x6e76
pop {r4, pc}
ldr r0, [0x00006ea8]
movw r1, 0x101
movt r1, 8
add r0, pc
blx 0x1a28
cmp r0, 0
str r0, [r4]
blt 0x6e98
bl 0x57fc
mov r3, r0
movs r0, 0
str r3, [r4]
pop {r4, pc}
blx sym.imp.__sprintf_chk
ldr r0, [r0]
rsbs r0, r0, 0
--
movs r3, 4
ldr.w r0, [r8]
mov r1, r4
str r3, [sp, 0x3c]
blx 0x192c
cmp r0, 0
it ge
movge r0, 1
blt 0x722e
ldr r2, [0x0000724c]
ldr r3, [0x00007240]
add r2, pc
ldr r3, [r2, r3]
ldr r2, [r3]
ldr.w r3, [sp, 0x86c]
eors r2, r3
mov.w r3, 0
bne 0x7238
addw sp, sp, 0x874
pop.w {r4, r5, r6, r7, r8, sb, sl, fp, pc}
blx sym.imp.__sprintf_chk
ldr r0, [r0]
rsbs r0, r0, 0
--
add r5, pc
str r0, [r5]
blt 0x7278
ldr r1, [0x00007298]
movs r2, 0x1e
add r1, pc
blx sym.imp.strspn
cmp r0, 0
it ge
movge r4, 0
blt 0x7288
mov r0, r4
pop {r3, r4, r5, pc}
mov r4, r0
bl 0x5718
ldr r3, [0x0000729c]
add r3, pc
str r0, [r3]
mov r0, r4
pop {r3, r4, r5, pc}
blx sym.imp.__sprintf_chk
ldr r4, [r0]
ldr r0, [r5]
rsbs r4, r4, 0
b 0x727a
add r7, sp, 0x380
movs r1, r0
ldrb r2, [r5, 0x1c]
movs r0, r0
add r7, sp, 0x2f0
movs r1, r0
ldr r2, [0x0000754c]
ldr r3, [0x00007550]
push {r4, r5, r6, r7, lr}
sub sp, 0x8c
add r2, pc
ldr r5, [0x00007554]
ldr r3, [r2, r3]
add r5, pc
ldr r3, [r3]
str r3, [sp, 0x84]
mov.w r3, 0
blx sym.imp.__sprintf_chk
ldr r3, [r5]
mov r4, r0
--
adds r4, 2
blx sym.imp.strchr
str.w r6, [r5, r7, lsl 3]
add.w r7, r5, r7, lsl 3
str r0, [r7, 4]
ldr r3, [0x000078f0]
add.w r2, r5, r4, lsl 3
ldr r6, [0x000078f4]
adds r4, 1
add r3, pc
adds r3, 8
add r6, pc
ldm.w r3, {r0, r1}
stm.w r2, {r0, r1}
mov r2, r4
ldr r0, [r6]
mov r1, r5
blx sym.imp.getauxval
cmp r0, 0
bge 0x7780
blx sym.imp.__sprintf_chk
ldr r3, [r0]
cmp r3, 5
--
ldr r0, [r3, 0x70]
movs r0, r0
ldr r0, [r0, 0x70]
movs r0, r0
ldr r0, [r6, 0x6c]
movs r0, r0
cbz r7, 0x7d22
movs r1, r0
adr r6, 0x240
movs r1, r0
ldr r0, [r5, 0x60]
movs r0, r0
strb r6, [r5, 0x10]
movs r0, r0
ldr r6, [r7, 0x60]
movs r0, r0
cbz r2, 0x7d06
movs r1, r0
sub sp, section..gnu.hash
movs r1, r0
blx sym.imp.__sprintf_chk
ldr r0, [r0]
ldr r5, [sp, 0x3c]
--
subs r2, r3, 5
cmp r2, 1
bls.w 0x7ada
b 0x7d2e
ldr r3, [0x00007db0]
add r3, pc
ldr r3, [r3]
b 0x79c8
bl 0x75d4
b 0x7a82
ldr r3, [0x00007db4]
movs r2, 7
ldr r4, [sp, 0x38]
movs r1, 1
ldr r0, [0x00007db8]
ldr r3, [r4, r3]
add r0, pc
ldr r3, [r3]
blx 0x19c8
blx sym.imp.connect
blx sym.imp.__sprintf_chk
ldr r3, [r0]
cmp r3, 0
--
movs r0, r0
ldr r2, [r6, 0x48]
movs r0, r0
push.w {r4, r5, r6, r7, r8, sb, sl, fp, lr}
mov r6, r0
ldr r0, [0x00007e70]
mov r7, r1
subw sp, sp, 0x824
mov r8, r2
ldr r1, [0x00007e74]
mov sb, r3
add r0, pc
eor.w r4, r7, r7, asr 31
ldr.w sl, [sp, 0x848]
ldr r1, [r0, r1]
sub.w r4, r4, r7, asr 31
uxtb r4, r4
ldr r1, [r1]
str.w r1, [sp, 0x81c]
mov.w r1, 0
blx sym.imp.__sprintf_chk
ldr r3, [0x00007e78]
and r2, r6, 7
--
ldr r3, [r2, r3]
ldr r3, [r3]
str r3, [sp, 0x214]
mov.w r3, 0
cmp.w fp, 0
beq 0x817c
cmp r6, 0
ldr r3, [0x000081ec]
it lt
rsblt r6, r6, 0
mov r5, r0
uxtb r7, r6
mov r8, r1
add r3, pc
str r3, [sp, 4]
ldr r2, [r4]
adds r2, 1
cmp r2, r8
bhs 0x817c
add r6, sp, 0x10
blx sym.imp.__sprintf_chk
mov r3, sl
str r7, [r0]
--
ldr r4, [sp, 0x278]
movs r1, r0
ldr r6, [r7, 0xc]
movs r0, r0
ldr r4, [r3, 0x6c]
movs r0, r0
ldr r4, [r3, 0x18]
movs r0, r0
ldr r2, [r4, 0xc]
movs r0, r0
ldr r0, [r0, 0x6c]
movs r0, r0
ldr r4, [r3, 0x18]
movs r0, r0
push.w {r4, r5, r6, r7, r8, sb, lr}
sub sp, 0xc
mov r8, r3
mov r5, r0
mov r6, r1
mov r7, r2
blx sym.imp.__sprintf_chk
ldr r3, [0x00008258]
mov r4, r0
--
b 0x822e
nop
adr r0, 0x88
movs r1, r0
ldr r2, [r1, 0x14]
movs r0, r0
push.w {r4, r5, r6, r7, r8, sb, sl, fp, lr}
mov r7, r0
ldr r4, [0x00008558]
subw sp, sp, 0xa64
ldr r0, [0x0000855c]
add r4, pc
ldr r0, [r4, r0]
mov r4, r1
ldr r0, [r0]
str.w r0, [sp, 0xa5c]
mov.w r0, 0
strd r2, r3, [sp, 0x1c]
ldr.w r3, [sp, 0xa88]
str r3, [sp, 0x24]
blx sym.imp.__sprintf_chk
ldr r3, [0x00008560]
and r2, r7, 7
--
movs r0, r0
str r0, [r0, 0x60]
movs r0, r0
ldr r4, [0x00008c94]
movs r0, r0
ldr r4, [0x00008c80]
movs r0, r0
push.w {r4, r5, r6, r7, r8, sb, sl, fp, lr}
mov r5, r1
ldr r4, [0x00008d20]
subw sp, sp, 0x84c
mov r6, r2
mov sb, r3
ldr r1, [0x00008d24]
mov r8, r0
add r4, pc
ldr r1, [r4, r1]
ldr r1, [r1]
str.w r1, [sp, 0x844]
mov.w r1, 0
blx sym.imp.__sprintf_chk
ldr.w r2, [sp, 0x870]
mov r4, r0
--
add r0, pc
blx sym.imp.openat64
cmp r0, 0
bne 0x8fda
ldr r1, [0x0000902c]
mov r0, r4
add r1, pc
blx 0x1ce4
lsls r1, r5, 1
mov r3, r0
add r0, r4
bmi 0x8fd0
lsls r2, r5, 2
bpl 0x8f6e
ldrb r3, [r4, r3]
cmp r3, 0x30
beq 0x8fe0
add r1, sp, 4
bl 0x8db4
mov r5, r0
blx sym.imp.__sprintf_chk
ldr r2, [sp, 4]
movs r3, 0
--
ldr r3, [0x00009190]
push {r4, r5, r6, r7, lr}
movs r7, 0
add r2, pc
sub sp, 0x14
ldr r3, [r2, r3]
ldr r3, [r3]
str r3, [sp, 0xc]
mov.w r3, 0
strd r7, r7, [sp, 4]
cbz r0, 0x916a
mov r6, r1
ldr r1, [0x00009194]
mov r4, r0
add r1, pc
blx 0x1ce4
add r1, sp, 4
add r0, r4
bl 0x8db4
mov r5, r0
blx sym.imp.__sprintf_chk
ldr r2, [sp, 4]
mov r4, r0
--
add r0, pc
blx sym.imp.openat64
cmp r0, 0
bne 0x9274
ldr r1, [0x000092c4]
mov r0, r4
add r1, pc
blx 0x1ce4
lsls r1, r5, 1
mov r3, r0
add r0, r4
bmi 0x926a
lsls r2, r5, 2
bpl 0x9202
ldrb r3, [r4, r3]
cmp r3, 0x30
beq 0x927a
add r1, sp, 4
bl 0x8db4
mov r5, r0
blx sym.imp.__sprintf_chk
ldr r2, [sp, 4]
movs r3, 0
--
ldr r1, [0x000097b4]
sub sp, 0x18
ldr r3, [0x000097b8]
add r6, sp, 8
movs r2, 0x18
mov r0, r6
add r1, pc
add r3, pc
strd r5, r1, [sp]
movs r1, 1
blx sym.imp.bind
mov r0, r6
mov r1, r7
bl 0x5fc8
adds r3, r0, 2
mov r6, r0
beq 0x9798
cmp r0, 0
bge 0x96f6
b 0x970e
blx sym.imp.__sprintf_chk
ldr r6, [r0]
rsbs r6, r6, 0
--
str r1, [sp]
movs r2, 0x20
mov r0, r6
movs r1, 1
str r4, [sp, 0x10]
blx 0x1890
cmp r0, 0
blt 0xa59a
movs r0, 1
ldr r2, [0x0000a5c4]
ldr r3, [0x0000a5c0]
add r2, pc
ldr r3, [r2, r3]
ldr r2, [r3]
ldr r3, [sp, 0x14]
eors r2, r3
mov.w r3, 0
bne 0xa5b8
add sp, 0x18
pop.w {r4, r5, r6, r7, r8, sb, sl, pc}
blx sym.imp.__sprintf_chk
ldr r0, [r0]
cmp r0, 0
ble 0xa51c
rsbs r0, r0, 0
b 0xa566
ldr r3, [sp, 8]
cmp r3, r7
ite lo
movlo r3, 0
movhs r3, 1
b 0xa4fe
blx sym.imp.__sprintf_chk
ldr r0, [r0]
cmp r0, 0
--
ldr r3, [r2, r3]
ldr r3, [r3]
str r3, [sp, 0x5c]
mov.w r3, 0
blx sym.imp.flockfile
cmp r0, 0
blt 0xa726
mov r0, r4
bl 0xa6c0
ldr r2, [0x0000a73c]
ldr r3, [0x0000a738]
add r2, pc
ldr r3, [r2, r3]
ldr r2, [r3]
ldr r3, [sp, 0x5c]
eors r2, r3
mov.w r3, 0
bne 0xa730
add sp, 0x60
pop {r4, pc}
blx sym.imp.__sprintf_chk
ldr r0, [r0]
rsbs r0, r0, 0
--
pop {r4, pc}
nop
bx r5
movs r0, r0
bx r5
movs r0, r0
push {r3, r4, r5, r6, r7, lr}
lsls r3, r1, 0x19
bmi 0xb2ac
mov r6, r1
mov r7, r0
movs r5, 0x15
b 0xb23a
blx 0x1a04
movs r2, 0
mov r1, r6
mov r0, r7
blx 0x1a28
subs r4, r0, 0
bge 0xb268
blx sym.imp.__sprintf_chk
ldr r3, [r0]
movw r0, 0xc350
cmp r3, 5
bne 0xb2a0
subs r5, 1
bne 0xb236
mvn r5, 4
mov r0, r4
bl 0x5718
mov r0, r5
pop {r3, r4, r5, r6, r7, pc}
blx sym.imp.abort
cmp r0, 0
itt gt
movgt r5, r4
movgt r4, -1
bgt 0xb25e
blx sym.imp.__sprintf_chk
ldr r5, [r0]
cmp r5, 0
--
bne.w 0xb962
add sp, 0x34
pop.w {r4, r5, r6, r7, r8, sb, sl, fp, pc}
ldr r3, [0x0000b97c]
mov r4, r0
mov fp, r0
add r3, pc
str r3, [sp, 0x24]
ldr r3, [0x0000b980]
add r3, pc
str r3, [sp, 0x20]
mov r0, r6
ldr r1, [sp, 0x18]
blx 0x1ce4
ldrb r3, [r6, r0]
add r6, r0
cmp r3, 0
beq.w 0xb948
cmp r3, 0x2d
beq 0xb82a
blx sym.imp.__sprintf_chk
movs r3, 0
mov r5, r0
--
movs r0, 7
bl 0x7e80
ldr r0, [0x0000c3ac]
add r0, pc
bl 0xa6e8
subs r4, r0, 0
blt 0xc32e
ldr r3, [0x0000c3b0]
cmp r4, 0
ite le
movle r4, 0
movgt r4, 1
add r3, pc
str r4, [r3]
b 0xc264
movs r3, 1
mov r0, r3
str r3, [r5]
add sp, 0xc
pop {r4, r5, pc}
blx sym.imp.__sprintf_chk
ldr r4, [r0]
cmp r4, 2
--
movs r0, r0
subs r3, 0x92
movs r0, r0
subs r3, 0xc2
movs r0, r0
ldr r2, [0x0000c440]
push.w {r4, r5, r6, r7, r8, lr}
movs r7, 0
ldr r5, [0x0000c444]
sub sp, 0x10
add r2, pc
ldr.w r8, [0x0000c448]
adds r4, r2, 7
add r5, pc
add r8, pc
movs r1, 0
mov r0, r5
blx sym.imp.writev
cmp r0, 0
bge 0xc432
blx sym.imp.__sprintf_chk
ldr r6, [r0]
cmp r6, 2
--
blx 0x18cc
ldr r2, [0x0000c750]
ldr r3, [0x0000c74c]
add r2, pc
ldr r3, [r2, r3]
ldr r2, [r3]
ldr r3, [r7, 0x14]
eors r2, r3
mov.w r3, 0
bne.w 0xc95c
mov r0, r5
adds r7, 0x1c
mov sp, r7
pop {r4, r5, r6, r7, pc}
ldr r0, [0x0000c754]
mov r1, r4
add r0, pc
blx sym.imp.writev
cmp r0, r4
bge 0xc5d6
blx sym.imp.__sprintf_chk
ldr r4, [r0]
cmp r4, 2
--
mov r0, r4
bl 0x5fc8
subs r5, r0, 0
blt.w 0xc8d2
ldr r4, [r7, 0x10]
ldr r1, [0x0000c784]
mov r0, r4
add r1, pc
bl 0xc9e8
cmp r0, 0
bne.w 0xc908
mov r0, r4
blx 0x18cc
b 0xc664
ldr r0, [0x0000c788]
mov r1, r4
add r0, pc
blx sym.imp.writev
cmp r0, 0
bge 0xc50e
blx sym.imp.__sprintf_chk
ldr r4, [r0]
bl 0x7630
--
bl 0x7630
cmp r0, 6
bgt 0xc912
bl 0xc3d0
mov r5, r0
cmp r0, 0
bne.w 0xc52c
bl 0xca50
cmp r0, 0
beq.w 0xc736
bl 0xce70
subs r4, r0, 0
blt 0xc8a8
beq 0xc932
ldr r0, [0x0000c9b0]
mov r1, r5
add r0, pc
blx sym.imp.writev
cmp r0, 0
bge 0xc960
blx sym.imp.__sprintf_chk
ldr r4, [r0]
cmp r4, 2
--
add r2, pc
add r5, pc
adds r2, 7
add r0, pc
strd r0, r5, [sp]
movs r0, 7
bl 0x7e80
b 0xc862
ldr r0, [0x0000c9d8]
mov r1, r4
add r0, pc
blx sym.imp.writev
cmp r0, 0
blt 0xc890
ldr r0, [0x0000c9dc]
mov r1, r4
add r0, pc
blx sym.imp.writev
cmp r0, 0
bge.w 0xc736
blx sym.imp.__sprintf_chk
ldr r4, [r0]
cmp r4, 2
bne 0xc89c
b 0xc6b8
blx sym.imp.parse_printf_format
ldr r0, [0x0000c9e0]
mov r1, r5
add r0, pc
blx sym.imp.writev
cmp r0, 0
beq.w 0xc6b8
bge 0xc97c
blx sym.imp.__sprintf_chk
ldr r4, [r0]
cmp r4, 2
--
moveq r5, 0
mov r0, r5
add sp, 8
pop {r4, r5, r6, pc}
ldr r0, [0x0000cad8]
movs r1, 0
add r0, pc
blx sym.imp.writev
cmp r0, 0
itt ge
movge r6, 1
movge r5, r6
blt 0xca94
ldr r0, [0x0000cad4]
add r0, pc
blx sym.imp.fseek
str r6, [r4, r0]
mov r0, r5
add sp, 8
pop {r4, r5, r6, pc}
blx sym.imp.__sprintf_chk
ldr r5, [r0]
cmp r5, 2
--
mvn r0, 0x7a
ldr r2, [0x0000cdec]
ldr r3, [0x0000cde4]
add r2, pc
ldr r3, [r2, r3]
ldr r2, [r3]
ldr r3, [sp, 0x6c]
eors r2, r3
mov.w r3, 0
bne.w 0xcd94
add sp, 0x74
pop {r4, r5, r6, r7, pc}
ldr r0, [0x0000cdc8]
ldr r4, [0x0000cdc4]
add r0, pc
blx sym.imp.fseek
ldr r0, [r4, r0]
cmp r0, 0
blt 0xcb10
b 0xcb52
blx sym.imp.__sprintf_chk
ldr r4, [r0]
bl 0x7630
--
add r0, pc
blx sym.imp.fseek
movs r2, 0
mov r3, r0
str r2, [r4, r3]
mov r0, r2
b 0xcb52
ldr r2, [0x0000ce1c]
movw r3, 0x7ff
ldr r0, [0x0000ce20]
ldr r1, [0x0000ce24]
add r2, pc
add r0, pc
adds r2, 7
add r1, pc
strd r1, r0, [sp]
movs r1, 0
movs r0, 7
bl 0x7e80
b 0xcbaa
blx sym.imp.__sprintf_chk
ldr r4, [r0]
bl 0x7630
[*] Function sprintf used 60 times scsi_id