Function at 0x4092f0
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 0x409310
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 0x409c47
mov dword [esp + 0x5c], 0
lea eax, [esp + 0x5c]
push esi
push eax
call fcn.0046d190
add esp, 8
cmp dword [esp + 0x5c], 0
je 0x409c5a
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x48]
push edi
call fcn.0041d0b0
movzx eax, byte [esp + 0x48]
test al, 1
je 0x409379
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x4093df
jmp 0x40937f
shr eax, 1
test eax, eax
jne 0x4093df
lea ecx, [esp + 0x98]
call fcn.0040a3a0
test byte [esp + 0x48], 1
jne 0x40939b
mov word [esp + 0x48], 0
jmp 0x4093c5
mov eax, dword [esp + 0x50]
mov byte [eax], 0
mov dword [esp + 0x4c], 0
test byte [esp + 0x48], 1
je 0x4093c5
push dword [esp + 0x50]
call fcn.00417920
add esp, 4
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0xa0]
movsd xmm0, qword [esp + 0x98]
mov dword [esp + 0x50], eax
movsd qword [esp + 0x48], xmm0
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x88], 0
push esi
call fcn.004705d0
add esp, 4
mov edi, dword [esi + 0x30]
mov dword [esp + 0x54], esi
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x68], 0
lea ecx, [esp + 0x60]
push eax
push ecx
call fcn.004747c0
add esp, 8
movzx eax, byte [esp + 0x60]
test al, 1
je 0x40944e
mov eax, dword [esp + 0x64]
cmp eax, 5
je 0x409455
jmp 0x409471
shr eax, 1
cmp eax, 5
jne 0x409471
lea ecx, [esp + 0x60]
push 5
push str.super
push 0xffffffffffffffff
push 0
call fcn.0041ef70
test eax, eax
je 0x4094f4
mov esi, dword [0x5494f4]
push 0x20
call fcn.00417780
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.004603c0
test byte [esp + 0x98], 1
je 0x4094f4
push dword [esp + 0xa0]
call fcn.00417920
add esp, 4
lea esi, [esp + 0x98]
push 0x401
push 0
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.004228e0
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0x15c]
sub eax, dword [ecx + 0x158]
sar eax, 6
cmp eax, 2
jb 0x409578
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 0x409c3e
mov ebx, eax
cmp eax, 0xb
jae 0x4096d6
mov eax, ebx
lea esi, [esp + 0x31]
add al, bl
test ebx, ebx
mov byte [esp + 0x30], al
jne 0x409702
jmp 0x409714
mov dword [esp + 0x20], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 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.0041e100
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 + 0x60]
test al, 1
je 0x4095f7
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
jmp 0x4095fd
shr eax, 1
lea edx, [esp + 0x61]
mov ecx, esp
push eax
push edx
call fcn.0041d950
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 0x522425
call fcn.0041dba0
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 0x4096af
test byte [esp], 1
jne 0x4096c1
test byte [esp + 0x20], 1
je 0x409680
push dword [esp + 0x28]
call fcn.00417920
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 + 0x60]
push eax
call fcn.0046f390
jmp 0x409746
push dword [esp + 0x18]
call fcn.00417920
add esp, 4
test byte [esp], 1
je 0x40966d
push dword [esp + 8]
call fcn.00417920
add esp, 4
test byte [esp + 0x20], 1
jne 0x409674
jmp 0x409680
mov dword [esp + 0x58], edi
mov edi, ebx
add ebx, 0x10
and ebx, 0xfffffff0
push ebx
call fcn.00417780
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 + 0x58]
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 + 0x60]
push eax
call fcn.0046f420
add esp, 0x14
mov ebx, eax
mov ecx, esi
push dword [esp + 0x14]
call fcn.0040d050
test byte [esp + 0x30], 1
je 0x409769
push dword [esp + 0x38]
call fcn.00417920
add esp, 4
test bl, bl
je 0x409bba
mov eax, dword [esp + 0x54]
mov edi, dword [eax + 0x158]
mov eax, dword [eax + 0x15c]
cmp edi, eax
mov dword [esp + 0x90], eax
je 0x409bd5
mov al, 1
lea esi, [esp + 0x10]
mov dword [esp + 0x6c], eax
jmp 0x4097b0
add edi, 0x40
cmp edi, dword [esp + 0x90]
je 0x409bdb
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
push edi
push esi
call fcn.004747c0
add esp, 8
mov ecx, dword [esp + 0x54]
mov eax, dword [edi + 0x3c]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
mov dword [esp + 0x58], edi
mov edx, dword [ecx + 0x15c]
mov dword [esp + 0x94], eax
sub edx, dword [ecx + 0x158]
sar edx, 6
cmp edx, 2
jb 0x409870
push esi
push 0x52245a
lea esi, [esp + 0x38]
push esi
call fcn.004213d0
add esp, 0xc
mov ecx, esi
push 0x522425
call fcn.0041dba0
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 0x4098b0
mov word [esp], 0
jmp 0x4098d8
movzx ebx, byte [esp + 0x10]
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
test bl, 1
je 0x409930
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
jmp 0x409936
mov eax, dword [esp + 8]
mov byte [eax], 0
mov dword [esp + 4], 0
test byte [esp], 1
je 0x4098d8
push dword [esp + 8]
call fcn.00417920
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 0x409913
push dword [esp + 0x38]
call fcn.00417920
add esp, 4
lea edi, [esp + 0x98]
lea esi, [esp + 0x10]
jmp 0x409a06
shr ebx, 1
lea ecx, [esp + 0x11]
lea eax, [ebx + 4]
cmp eax, 0xfffffff0
jae 0x409c3e
cmp eax, 0xb
jae 0x409960
mov eax, ebx
lea esi, [esp + 0x31]
add al, bl
test ebx, ebx
mov byte [esp + 0x30], al
jne 0x409984
jmp 0x40998f
lea edi, [ebx + 0x14]
and edi, 0xfffffff0
push edi
mov esi, ecx
call fcn.00417780
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 0x522425
call fcn.0041d950
test byte [esp], 1
jne 0x4099c0
mov word [esp], 0
lea esi, [esp + 0x10]
jmp 0x4099ec
mov eax, dword [esp + 8]
lea esi, [esp + 0x10]
mov byte [eax], 0
mov dword [esp + 4], 0
test byte [esp], 1
je 0x4099ec
push dword [esp + 8]
call fcn.00417920
add esp, 4
mov dword [esp], 0
mov eax, dword [esp + 0x38]
movsd xmm0, qword [esp + 0x30]
lea edi, [esp + 0x98]
mov dword [esp + 8], eax
movsd qword [esp], xmm0
mov dword [esp + 0x70], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov word [esp + 0x70], 0x2f02
mov byte [esp + 0x72], 0
lea ecx, [esp + 0x70]
push edi
push 0
call fcn.0041e100
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 0x409a90
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
jmp 0x409a96
shr eax, 1
lea edx, [esp + 1]
lea ecx, [esp + 0x30]
push eax
push edx
call fcn.0041d950
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 0x409ad9
push dword [esp + 0x38]
call fcn.00417920
add esp, 4
test byte [esp + 0x70], 1
je 0x409aec
push dword [esp + 0x78]
call fcn.00417920
add esp, 4
mov ebx, dword [esp + 0x94]
lea eax, [esp + 0x20]
lea edi, [esp + 0x30]
mov ecx, esi
mov dword [esp + 0x30], 0x52246c
lea edx, [esp + 0x48]
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], edi
and ebx, 1
push ebx
push edi
call fcn.00403f30
add esp, 8
mov ecx, dword [esp + 0x40]
cmp edi, ecx
je 0x409b40
mov edi, dword [esp + 0x58]
test ecx, ecx
je 0x409b49
mov eax, dword [ecx]
call dword [eax + 0x14]
jmp 0x409b49
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edi, dword [esp + 0x58]
test byte [esp + 0x20], 1
lea eax, [esp + 0x21]
je 0x409b58
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 0x409b80
test byte [esp], 1
jne 0x409b92
test byte [esp + 0x10], 1
je 0x4097a0
jmp 0x409ba9
push dword [esp + 0x28]
call fcn.00417920
add esp, 4
test byte [esp], 1
je 0x409b6e
push dword [esp + 8]
call fcn.00417920
add esp, 4
test byte [esp + 0x10], 1
je 0x4097a0
push dword [esp + 0x18]
call fcn.00417920
add esp, 4
jmp 0x4097a0
lea ecx, [esp + 0x80]
push str.Could_not_generate_a_flashable_super_image_file
call fcn.0041ddc0
mov dword [esp + 0x6c], 0
jmp 0x409bdb
mov al, 1
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0x98]
call fcn.00422bb0
test byte [esp + 0x60], 1
je 0x409bfa
push dword [esp + 0x68]
call fcn.00417920
add esp, 4
cmp byte [esp + 0x6c], 0
je 0x409c6d
test byte [esp + 0x80], 1
je 0x409c1a
push dword [esp + 0x88]
call fcn.00417920
add esp, 4
test byte [esp + 0x48], 1
je 0x409c2d
push dword [esp + 0x50]
call fcn.00417920
add esp, 4
lea ecx, [esp + 0x5c]
call fcn.0040cfd0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x30]
call fcn.0041ce60
test byte [esi], 1
je 0x409c4f
mov ebx, dword [esi + 8]
push ebx
push str.Could_not_read_image:__s
call fcn.00423770
test byte [esi], 1
je 0x409c62
mov ebx, dword [esi + 8]
push ebx
push str.Could_not_parse_image:__s
call fcn.00423770
lea eax, [esp + 0x80]
push eax
call fcn.004237d0
nop word [eax + eax]