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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x4a0
test byte [ecx], 1
lea ebx, [ecx + 1]
mov edi, edx
mov esi, ecx
mov eax, ebx
je 0x408bb0
mov eax, dword [esi + 8]
push 4
push eax
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__access
add esp, 8
test eax, eax
jne 0x40949f
lea eax, [esp + 0x5c]
push esi
push eax
call fcn.00467960
add esp, 8
cmp dword [esp + 0x5c], 0
je 0x4094b2
lea ecx, [esp + 0x50]
push edi
call fcn.0041c200
movzx eax, byte [esp + 0x50]
test al, 1
je 0x408bf9
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x408c5f
jmp 0x408bff
shr eax, 1
test eax, eax
jne 0x408c5f
lea ecx, [esp + 0x98]
call fcn.00409ba0
test byte [esp + 0x50], 1
jne 0x408c1b
mov word [esp + 0x50], 0
jmp 0x408c45
mov eax, dword [esp + 0x58]
mov byte [eax], 0
mov dword [esp + 0x54], 0
test byte [esp + 0x50], 1
je 0x408c45
push dword [esp + 0x58]
call fcn.00416a20
add esp, 4
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0xa0]
movsd xmm0, qword [esp + 0x98]
mov dword [esp + 0x58], eax
movsd qword [esp + 0x50], xmm0
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x90], 0
push esi
call fcn.0046aba0
add esp, 4
mov edi, dword [esi + 0x30]
mov dword [esp + 0x4c], esi
lea ecx, [esp + 0x68]
push eax
push ecx
call fcn.0046e6a0
add esp, 8
movzx eax, byte [esp + 0x68]
test al, 1
je 0x408cb6
mov eax, dword [esp + 0x6c]
cmp eax, 5
je 0x408cbd
jmp 0x408cd9
shr eax, 1
cmp eax, 5
jne 0x408cd9
lea ecx, [esp + 0x68]
push 5
push str.super
push 0xffffffffffffffff
push 0
call fcn.0041e0f0
test eax, eax
je 0x408d5c
mov esi, dword [0x5364cc]
push 0x20
call fcn.00416880
add esp, 4
mov dword [esp + 0xa0], eax
mov dword [esp + 0x98], 0x21
mov dword [esp + 0x9c], 0x15
mov word [eax + 0x14], 0x72
mov dword [eax + 0x10], 0x65707573
mov dword [eax + 0xc], 0x2d687361
mov dword [eax + 8], 0x6c662d77
mov dword [eax + 4], 0x6f6c6c61
mov dword [eax], 0x206d656f
lea eax, [esp + 0x98]
mov ecx, esi
push 0
push 0
push 0
push eax
call fcn.0045c9d0
test byte [esp + 0x98], 1
je 0x408d5c
push dword [esp + 0xa0]
call fcn.00416a20
add esp, 4
lea esi, [esp + 0x98]
mov ecx, esi
call fcn.00421b00
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 0xdc]
sub eax, dword [ecx + 0xd8]
sar eax, 6
cmp eax, 2
jb 0x408dd0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp eax, 0xfffffff0
jae 0x409496
mov ebx, eax
cmp eax, 0xb
jae 0x408f16
mov eax, ebx
lea esi, [esp + 0x31]
add al, bl
test ebx, ebx
mov byte [esp + 0x30], al
jne 0x408f42
jmp 0x408f54
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov word [esp + 0x20], 0x2f02
mov byte [esp + 0x22], 0
lea ecx, [esp + 0x20]
push esi
push 0
call fcn.0041d290
mov ecx, dword [eax + 8]
mov dword [esp + 8], ecx
movsd xmm0, qword [eax]
movsd qword [esp], xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
movzx eax, byte [esp + 0x68]
test al, 1
je 0x408e37
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
jmp 0x408e3d
shr eax, 1
lea edx, [esp + 0x69]
mov ecx, esp
push eax
push edx
call fcn.0041cad0
mov ecx, dword [eax + 8]
lea esi, [esp + 0x10]
mov dword [esp + 0x18], ecx
mov ecx, esi
movsd xmm0, qword [eax]
movsd qword [esp + 0x10], xmm0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
push 0x50e1bf
call fcn.0041cd20
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x30], xmm0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax], 0
test byte [esp + 0x10], 1
jne 0x408eef
test byte [esp], 1
jne 0x408f01
test byte [esp + 0x20], 1
je 0x408ec0
push dword [esp + 0x28]
call fcn.00416a20
add esp, 4
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x30]
push 1
push esi
push edi
push dword [esp + 0x58]
push eax
call fcn.004699a0
jmp 0x408f86
push dword [esp + 0x18]
call fcn.00416a20
add esp, 4
test byte [esp], 1
je 0x408ead
push dword [esp + 8]
call fcn.00416a20
add esp, 4
test byte [esp + 0x20], 1
jne 0x408eb4
jmp 0x408ec0
mov dword [esp + 0x64], edi
mov edi, ebx
add ebx, 0x10
and ebx, 0xfffffff0
push ebx
call fcn.00416880
add esp, 4
or ebx, 1
mov dword [esp + 0x38], eax
mov esi, eax
mov dword [esp + 0x30], ebx
mov ebx, edi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x34], ebx
push ebx
lea eax, [esp + 0x9c]
push eax
push esi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
lea eax, [esp + 0x14]
mov byte [esi + ebx], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
lea esi, [esp + 0x10]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x30]
push 1
push esi
push edi
push dword [esp + 0x58]
push eax
call fcn.00469a10
add esp, 0x14
mov ebx, eax
mov ecx, esi
push dword [esp + 0x14]
call fcn.0040c350
test byte [esp + 0x30], 1
je 0x408fa9
push dword [esp + 0x38]
call fcn.00416a20
add esp, 4
test bl, bl
je 0x40939a
mov eax, dword [esp + 0x4c]
mov esi, dword [eax + 0xd8]
mov eax, dword [eax + 0xdc]
cmp esi, eax
mov dword [esp + 0x94], eax
je 0x4093b5
mov al, 1
lea ebx, [esp + 0x10]
mov dword [esp + 0x60], eax
jmp 0x408ff0
add esi, 0x40
cmp esi, dword [esp + 0x94]
je 0x4093bb
push esi
push ebx
call fcn.0046e6a0
add esp, 8
mov ecx, dword [esp + 0x4c]
mov eax, dword [esi + 0x3c]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
mov edx, dword [ecx + 0xdc]
mov dword [esp + 0x64], eax
sub edx, dword [ecx + 0xd8]
sar edx, 6
cmp edx, 2
jb 0x409090
mov edi, esi
push ebx
push 0x50e1f4
lea esi, [esp + 0x38]
push esi
call fcn.00420600
add esp, 0xc
mov ecx, esi
push 0x50e1bf
call fcn.0041cd20
mov ecx, dword [eax + 4]
movzx ebx, byte [eax]
mov dword [esp + 0x23], ecx
mov ecx, dword [eax + 1]
mov dword [esp + 0x20], ecx
mov esi, dword [eax + 8]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
test byte [esp], 1
jne 0x4090c0
mov word [esp], 0
jmp 0x4090e8
movzx ebx, byte [esp + 0x10]
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
test bl, 1
je 0x409130
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
jmp 0x409138
mov eax, dword [esp + 8]
mov byte [eax], 0
mov dword [esp + 4], 0
test byte [esp], 1
je 0x4090e8
push dword [esp + 8]
call fcn.00416a20
add esp, 4
mov dword [esp], 0
test byte [esp + 0x30], 1
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x23]
lea edx, [esp + 1]
mov byte [esp], bl
mov dword [esp + 0x20], 0
mov dword [esp + 0x23], 0
mov dword [edx + 3], ecx
mov dword [edx], eax
mov dword [esp + 8], esi
je 0x409123
push dword [esp + 0x38]
call fcn.00416a20
add esp, 4
mov esi, edi
jmp 0x4091ff
lea eax, [esp + 0x11]
shr ebx, 1
mov ecx, eax
lea eax, [ebx + 4]
cmp eax, 0xfffffff0
jae 0x409496
cmp eax, 0xb
mov dword [esp + 0x74], esi
jae 0x409160
mov eax, ebx
lea esi, [esp + 0x31]
add al, bl
test ebx, ebx
mov byte [esp + 0x30], al
jne 0x409184
jmp 0x40918f
lea edi, [ebx + 0x14]
and edi, 0xfffffff0
push edi
mov esi, ecx
call fcn.00416880
mov ecx, esi
add esp, 4
or edi, 1
mov dword [esp + 0x38], eax
mov esi, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebx
push ebx
push ecx
push esi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov byte [esi + ebx], 0
lea ecx, [esp + 0x30]
push 4
push 0x50e1bf
call fcn.0041cad0
test byte [esp], 1
jne 0x4091c0
mov esi, dword [esp + 0x74]
mov word [esp], 0
jmp 0x4091ec
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x74]
mov byte [eax], 0
mov dword [esp + 4], 0
test byte [esp], 1
je 0x4091ec
push dword [esp + 8]
call fcn.00416a20
add esp, 4
mov dword [esp], 0
mov eax, dword [esp + 0x38]
movsd xmm0, qword [esp + 0x30]
mov dword [esp + 8], eax
movsd qword [esp], xmm0
lea edi, [esp + 0x98]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov word [esp + 0x78], 0x2f02
mov byte [esp + 0x7a], 0
lea ecx, [esp + 0x78]
push edi
push 0
call fcn.0041d290
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x30], xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
movzx eax, byte [esp]
test al, 1
je 0x409270
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
jmp 0x409276
shr eax, 1
lea edx, [esp + 1]
lea ecx, [esp + 0x30]
push eax
push edx
call fcn.0041cad0
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x20], xmm0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax], 0
test byte [esp + 0x30], 1
je 0x4092b9
push dword [esp + 0x38]
call fcn.00416a20
add esp, 4
test byte [esp + 0x78], 1
je 0x4092cf
push dword [esp + 0x80]
call fcn.00416a20
add esp, 4
mov ebx, dword [esp + 0x64]
lea eax, [esp + 0x20]
lea edi, [esp + 0x30]
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0x50e204
lea edx, [esp + 0x50]
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], edi
and ebx, 1
push ebx
push edi
call fcn.00403c60
add esp, 8
mov ecx, dword [esp + 0x40]
cmp edi, ecx
je 0x409320
test ecx, ecx
je 0x409325
mov eax, dword [ecx]
call dword [eax + 0x14]
jmp 0x409325
mov eax, dword [ecx]
call dword [eax + 0x10]
test byte [esp + 0x20], 1
lea eax, [esp + 0x21]
lea ebx, [esp + 0x10]
je 0x409338
mov eax, dword [esp + 0x28]
push eax
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__unlink
add esp, 4
test byte [esp + 0x20], 1
jne 0x409360
test byte [esp], 1
jne 0x409372
test byte [esp + 0x10], 1
je 0x408fe0
jmp 0x409389
push dword [esp + 0x28]
call fcn.00416a20
add esp, 4
test byte [esp], 1
je 0x40934e
push dword [esp + 8]
call fcn.00416a20
add esp, 4
test byte [esp + 0x10], 1
je 0x408fe0
push dword [esp + 0x18]
call fcn.00416a20
add esp, 4
jmp 0x408fe0
lea ecx, [esp + 0x88]
push str.Could_not_generate_a_flashable_super_image_file
call fcn.0041cf50
mov dword [esp + 0x60], 0
jmp 0x4093bb
mov al, 1
mov dword [esp + 0x60], eax
lea ecx, [esp + 0x98]
call fcn.00421dd0
test byte [esp + 0x68], 1
je 0x4093da
push dword [esp + 0x70]
call fcn.00416a20
add esp, 4
cmp byte [esp + 0x60], 0
je 0x4094c5
test byte [esp + 0x88], 1
je 0x4093fe
push dword [esp + 0x90]
call fcn.00416a20
add esp, 4
test byte [esp + 0x50], 1
je 0x409411
push dword [esp + 0x58]
call fcn.00416a20
add esp, 4
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x5c], 0
test esi, esi
je 0x40948e
mov eax, dword [esi + 0xd8]
test eax, eax
je 0x40943a
mov dword [esi + 0xdc], eax
push eax
call fcn.00416a20
add esp, 4
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x409453
mov dword [esi + 0xd0], eax
push eax
call fcn.00416a20
add esp, 4
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x40946c
mov dword [esi + 0xc4], eax
push eax
call fcn.00416a20
add esp, 4
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x409485
mov dword [esi + 0xb8], eax
push eax
call fcn.00416a20
add esp, 4
push esi
call fcn.00416a20
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x30]
call fcn.0041bfb0
test byte [esi], 1
je 0x4094a7
mov ebx, dword [esi + 8]
push ebx
push str.Could_not_read_image:__s
call fcn.00422910
test byte [esi], 1
je 0x4094ba
mov ebx, dword [esi + 8]
push ebx
push str.Could_not_parse_image:__s
call fcn.00422910
lea eax, [esp + 0x88]
push eax
call fcn.00422970
nop word cs:[eax + eax]
nop dword [eax]