[*] Binary protection state of netd_migrate

  
  	Full RELRO     Canary found      NX enabled   PIE enabled  No RPATH     No RUNPATH   No Symbols


[*] Function popen tear down of netd_migrate

cmp r3, r4
it ne
cmpne r4, 0
ite ne
movne r4, 1
moveq r4, 0
bne 0x42d6
movs r0, 8
blx sym.imp.g_set_error_literal
add r3, sp, 8
mov r5, r0
mov r2, r4
add r1, sp, 0xc
mov r0, r6
blx sym.imp.g_strescape
cbz r0, 0x42aa
ldr r0, [sp, 0xc]
cbz r0, 0x42aa
mov.w r2, -1
add.w r1, r7, 0xec
blx sym.imp.popen
ldr r4, str.none
mov r3, r0
--
pop.w {r4, r5, r6, r8, sb, lr}
add r0, pc
adds r0, 0x40
b.w 0x23c4
adds r5, 0x3a
movs r0, r0
adds r4, 0xe8
movs r0, r0
push.w {r3, r4, r5, r6, r8, lr}
cbz r0, 0x5bf6
ldr r5, [0x00005c04]
mov r4, r0
add r5, pc
add.w r6, r5, 0x40
mov r1, r6
blx 0x23ac
cbz r0, 0x5bf6
mov.w r2, -1
add.w r1, r5, 0x138
mov r0, r4
blx sym.imp.popen
mov r8, r0
ldr r0, [r0]
--
blx 0x23ac
cbnz r0, 0x5c9e
movs r5, 0
mov.w fp, 1
str.w r5, [r8]
ldr r2, [0x00005d08]
ldr r3, [0x00005d00]
add r2, pc
ldr r3, [r2, r3]
ldr r2, [r3]
ldr r3, [sp, 4]
eors r2, r3
mov.w r3, 0
bne 0x5cf8
mov r0, fp
add sp, 8
pop.w {r4, r5, r6, r8, sb, sl, fp, pc}
mov.w r2, -1
add.w r1, r5, 0x138
mov r0, r4
blx sym.imp.popen
mov sl, r0
ldr r0, [r0]
--
bl 0x5df0
add sp, 8
pop {r4, pc}
push.w {r4, r5, r6, r8, sb, sl, lr}
mov r8, r2
ldr r2, [0x00006024]
mov r6, r3
sub sp, 0xc
mov r5, r1
ldr r3, [0x00006028]
mov sb, r0
ldr.w sl, [0x0000602c]
add r2, pc
ldr r3, [r2, r3]
mov.w r2, -1
add sl, pc
add.w r1, sl, 0x1ac
ldr r3, [r3]
str r3, [sp, 4]
mov.w r3, 0
blx sym.imp.popen
mov r4, r0
blx 0x24cc
--
mov r4, r0
ldr r0, [0x000063d8]
add r0, pc
add.w r0, r0, 0x348
blx sym.imp.policykit_system_reload_service
ldr r3, [r4]
mov r6, r0
cbnz r3, 0x62c8
b 0x63c8
ldr r3, [r4, 4]!
cmp r3, 0
beq.w 0x63ce
mov r1, r6
mov r0, r3
blx 0x26d0
cmp r0, 0
beq 0x62be
movs r2, 2
mov r1, r6
ldr r0, [r4]
blx sym.imp.popen
mov r5, r0
blx 0x24cc

[*] Function popen used 5 times netd_migrate