Function at 0x4ad410
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x12c
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push ebx
xor eax, eax
mov edi, 7
push 0x4da280
lea ecx, [esp + 0x98]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], ax
call fcn.0040d270
call fcn.004a6950
test al, al
je 0x4ad4a0
lea ecx, [esp + 0xac]
push ecx
call fcn.004ac760
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x9c]
call fcn.0040bd30
cmp dword [esp + 0xc4], 8
jb 0x4ad4a0
mov edx, dword [esp + 0xb0]
push edx
call fcn.0046d0e6
add esp, 4
push 1
push ebx
push 1
push 1
push ebx
push 0x4e20
lea ecx, [esp + 0x134]
push ecx
xor eax, eax
push str.dshell_cat__etc_recovery.fstab
mov dword [esp + 0x154], edi
mov dword [esp + 0x150], ebx
mov word [esp + 0x140], ax
call fcn.0048f260
add esp, 4
mov ecx, esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x140]
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.0040bd30
lea ecx, [esp + 0x70]
push ecx
call fcn.00498550
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
mov ecx, ebp
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add esp, 0x20
add eax, edx
mov dword [esp + 0x1c], ebx
je 0x4adcbf
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x58]
call fcn.0049f9b0
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push ebx
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.0040bd30
lea eax, [esp + 0xe4]
push eax
call fcn.00496800
add esp, 0x20
push 1
push ebx
push 0x4ce110
lea ecx, [esp + 0xd4]
call fcn.0040c1c0
cmp eax, 0xffffffff
je 0x4ad592
cmp dword [esp + 0xe0], 8
jmp 0x4adc80
push 4
push ebx
push str.vfat
lea ecx, [esp + 0xd4]
call fcn.0040c1c0
cmp eax, 0xffffffff
jne 0x4ad5c8
push 4
push ebx
push str.fuse
lea ecx, [esp + 0xd4]
call fcn.0040c1c0
cmp eax, 0xffffffff
je 0x4adc74
push 9
push ebx
push str._dev_fuse
lea ecx, [esp + 0xd4]
call fcn.0040c1c0
test eax, eax
je 0x4ad6d8
push 0xb
push ebx
push 0x4d68e0
lea ecx, [esp + 0xd4]
call fcn.0040c1c0
test eax, eax
je 0x4ad6d8
cmp dword [esp + 0x154], ebx
jbe 0x4ad66a
or dword [esp + 0x14], 1
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x164]
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.0040bd30
lea ecx, [esp + 0x100]
push ecx
call fcn.00496800
mov ecx, dword [eax + 0x14]
mov ebp, 8
add esp, 0x20
cmp dword [eax + 0x18], ebp
jb 0x4ad651
mov eax, dword [eax + 4]
jmp 0x4ad654
add eax, 4
push ecx
push ebx
push eax
lea ecx, [esp + 0xd4]
call fcn.0040c1c0
cmp eax, 0xffffffff
jne 0x4ad6dd
jmp 0x4ad66f
mov ebp, 8
cmp dword [esp + 0xa4], ebx
jbe 0x4ad6d2
or dword [esp + 0x14], 2
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xb4]
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.0040bd30
lea ecx, [esp + 0xc8]
push ecx
call fcn.00496800
mov ecx, dword [eax + 0x14]
add esp, 0x20
cmp dword [eax + 0x18], ebp
jb 0x4ad6bb
mov eax, dword [eax + 4]
jmp 0x4ad6be
add eax, 4
push ecx
push ebx
push eax
lea ecx, [esp + 0xd4]
call fcn.0040c1c0
cmp eax, 0xffffffff
jne 0x4ad6dd
mov byte [esp + 0x13], bl
jmp 0x4ad6e2
mov ebp, 8
mov byte [esp + 0x13], 1
test byte [esp + 0x14], 2
je 0x4ad71f
and dword [esp + 0x14], 0xfffffffd
cmp dword [esp + 0xc4], ebp
jb 0x4ad707
mov edx, dword [esp + 0xb0]
push edx
call fcn.0046d0e6
add esp, 4
xor eax, eax
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], ax
test byte [esp + 0x14], 1
je 0x4ad744
and dword [esp + 0x14], 0xfffffffe
cmp dword [esp + 0xfc], ebp
jb 0x4ad744
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.0046d0e6
add esp, 4
cmp byte [esp + 0x13], bl
je 0x4adc79
push 1
xor edx, edx
push 0x4d68dc
lea ecx, [esp + 0xb4]
mov dword [esp + 0xcc], edi
mov dword [esp + 0xc8], ebx
mov word [esp + 0xb8], dx
call fcn.0040d270
push 1
xor eax, eax
push 0x4dd9f4
lea ecx, [esp + 0x108]
mov dword [esp + 0x120], edi
mov dword [esp + 0x11c], ebx
mov word [esp + 0x10c], ax
call fcn.0040d270
push 4
call fcn.0046d5f3
add esp, 4
cmp eax, ebx
je 0x4ad7be
lea ecx, [esp + 0x20]
mov dword [eax], ecx
mov dword [esp + 0x20], eax
jmp 0x4ad7c2
mov dword [esp + 0x20], ebx
push 1
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
push ebx
lea eax, [esp + 0xd4]
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.0040bd30
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x10c]
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.0040bd30
lea ecx, [esp + 0x74]
push ecx
call fcn.00498340
mov ecx, dword [esp + 0x88]
sub ecx, dword [esp + 0x84]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add esp, 0x40
xor esi, esi
add eax, edx
je 0x4ad99a
push 1
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x128]
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.0040bd30
push esi
lea ecx, [esp + 0x5c]
call fcn.0049f9b0
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push ebx
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.0040bd30
lea eax, [esp + 0xb0]
push eax
call fcn.00498340
mov eax, dword [esp + 0x70]
add esp, 0x40
mov dword [esp + 0x18], eax
cmp dword [esp + 0x2c], eax
jbe 0x4ad8b2
call fcn.0046d2c9
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x50], ecx
cmp eax, ecx
jbe 0x4ad8e3
call fcn.0046d2c9
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov edi, dword [esp + 0x74]
mov ebp, eax
cmp eax, ecx
jbe 0x4ad8f2
call fcn.0046d2c9
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x74]
push edi
push ebp
push ecx
push edx
push eax
lea ecx, [esp + 0x3c]
call fcn.004aa8a0
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x4ad94c
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x88]
lea edx, [esp + 0x80]
push edx
push ecx
push eax
call fcn.00441f00
mov edx, dword [esp + 0x90]
push edx
call fcn.0046d0e6
add esp, 0x14
mov eax, dword [esp + 0x74]
push eax
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
call fcn.0046d0e6
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x48]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
inc esi
add ecx, edx
add esp, 4
mov edi, 7
cmp esi, ecx
jb 0x4ad848
lea ebp, [edi + 1]
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
jb 0x4adba2
push 2
lea ecx, [esp + 0x24]
call fcn.0049f9b0
push 0xffffffffffffffff
xor ecx, ecx
push ebx
mov word [esp + 0xf0], cx
push eax
lea ecx, [esp + 0xf0]
mov dword [esp + 0x108], edi
mov dword [esp + 0x104], ebx
call fcn.0040bd30
push ebx
lea ecx, [esp + 0x24]
call fcn.0049f9b0
push 0xffffffffffffffff
push ebx
xor edx, edx
push eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], dx
call fcn.0040bd30
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 4
jb 0x4adaa6
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xb4]
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.0040bd30
push 3
lea ecx, [esp + 0x40]
call fcn.0049f9b0
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push ebx
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.0040bd30
call fcn.004963d0
add esp, 0x38
cmp al, bl
je 0x4adaa6
push 3
lea ecx, [esp + 0x24]
call fcn.0049f9b0
push 0xffffffffffffffff
push ebx
push eax
jmp 0x4adb08
push 2
lea ecx, [esp + 0x24]
call fcn.0049f9b0
push 1
push ebx
push 0x4dd9f4
mov ecx, eax
call fcn.0040c1c0
cmp eax, 0xffffffff
je 0x4adb14
push 2
lea ecx, [esp + 0x24]
call fcn.0049f9b0
mov edx, dword [esp + 0x94]
cmp dword [esp + 0xa8], ebp
jae 0x4adae7
lea edx, [esp + 0x94]
mov ecx, dword [esp + 0xa4]
push ecx
push ebx
push edx
mov ecx, eax
call fcn.0040c1c0
cmp eax, 0xffffffff
je 0x4adb14
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0xf0]
call fcn.0040bd30
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x108]
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov word [ecx + 4], ax
call fcn.0040bd30
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xb4]
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov word [ecx + 4], ax
call fcn.0040bd30
call fcn.004a6e90
add esp, 0x38
cmp dword [esp + 0x8c], ebp
jb 0x4adb74
mov eax, dword [esp + 0x78]
push eax
call fcn.0046d0e6
add esp, 4
xor ecx, ecx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], cx
cmp dword [esp + 0xfc], ebp
jb 0x4adba2
mov edx, dword [esp + 0xe8]
push edx
call fcn.0046d0e6
add esp, 4
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x4adbcc
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x44]
push edx
push ecx
push eax
call fcn.00441f00
mov edx, dword [esp + 0x54]
push edx
call fcn.0046d0e6
add esp, 0x14
mov eax, dword [esp + 0x38]
push eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call fcn.0046d0e6
mov eax, dword [esp + 0x30]
add esp, 4
cmp eax, ebx
je 0x4adc0f
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x2c]
push edx
push ecx
push eax
call fcn.00441f00
mov edx, dword [esp + 0x3c]
push edx
call fcn.0046d0e6
add esp, 0x14
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.0046d0e6
add esp, 4
cmp dword [esp + 0x118], ebp
jb 0x4adc41
mov ecx, dword [esp + 0x104]
push ecx
call fcn.0046d0e6
add esp, 4
xor edx, edx
mov dword [esp + 0x118], edi
mov dword [esp + 0x114], ebx
mov word [esp + 0x104], dx
cmp dword [esp + 0xc4], ebp
jb 0x4adc79
mov eax, dword [esp + 0xb0]
push eax
call fcn.0046d0e6
add esp, 4
jmp 0x4adc79
mov ebp, 8
cmp dword [esp + 0xe0], ebp
jb 0x4adc92
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.0046d0e6
add esp, 4
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
inc dword [esp + 0x1c]
mov ecx, ebp
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x1c], eax
jb 0x4ad534
cmp esi, ebx
je 0x4adce1
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x60]
push edx
push ebp
push esi
call fcn.00441f00
mov eax, dword [esp + 0x70]
push eax
call fcn.0046d0e6
add esp, 0x14
mov ecx, dword [esp + 0x54]
push ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
call fcn.0046d0e6
mov esi, 8
add esp, 4
cmp dword [esp + 0x134], esi
jb 0x4add18
mov edx, dword [esp + 0x120]
push edx
call fcn.0046d0e6
add esp, 4
xor eax, eax
mov dword [esp + 0x134], edi
mov dword [esp + 0x130], ebx
mov word [esp + 0x120], ax
cmp dword [esp + 0xa8], esi
jb 0x4add49
mov ecx, dword [esp + 0x94]
push ecx
call fcn.0046d0e6
add esp, 4
xor edx, edx
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], dx
cmp dword [esp + 0x158], esi
jb 0x4add7a
mov eax, dword [esp + 0x144]
push eax
call fcn.0046d0e6
add esp, 4
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046da8a
add esp, 0x12c
ret