Function at 0x4286f0
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x84
push ebx
push ebp
mov ebp, dword [esp + 0x94]
push esi
push edi
xor ebx, ebx
push ebx
lea eax, [esp + 0x18]
push eax
push 0x78
lea ecx, [esp + 0x24]
push ecx
push ebp
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x428953
cmp dword [esp + 0x14], 0x78
je 0x428741
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 8
push 0x90
call fcn.0042f8c1
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x42876c
push 0x90
push ebx
push esi
call fcn.004579a0
add esp, 0xc
mov dword [esi + 0x74], 0xffffffff
jmp 0x42877d
push ebx
push ebx
push 1
push 0xc0000017
xor esi, esi
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x98]
add dword [eax + 0x40], 1
mov dword [esi + 8], edx
mov eax, dword [esp + 0x28]
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x30], ecx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x14], edx
mov eax, dword [esp + 0x34]
mov dword [esi + 0x18], eax
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x1c], ecx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x20], edx
mov eax, dword [esp + 0x40]
mov dword [esi + 0x24], eax
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x28], ecx
mov edx, dword [esp + 0x48]
mov dword [esi + 0x2c], edx
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x34], eax
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x38], ecx
mov edx, dword [esp + 0x54]
mov dword [esi + 0x3c], edx
mov eax, dword [esp + 0x58]
mov dword [esi + 0x40], eax
mov ecx, dword [esp + 0x5c]
mov dword [esi + 0x44], ecx
mov edx, dword [esp + 0x60]
mov dword [esi + 0x48], edx
mov eax, dword [esp + 0x64]
mov dword [esi + 0x4c], eax
mov ecx, dword [esp + 0x68]
mov dword [esi + 0x50], ecx
mov edx, dword [esp + 0x6c]
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0x70]
mov dword [esi + 0x54], eax
mov ecx, dword [esp + 0x74]
mov dword [esi + 0x58], ecx
mov edx, dword [esp + 0x78]
mov dword [esi + 0x5c], edx
mov eax, dword [esp + 0x7c]
mov dword [esi + 0x60], eax
mov ecx, dword [esp + 0x80]
mov dword [esi + 0x64], ecx
mov edx, dword [esp + 0x84]
mov dword [esi + 0x68], edx
mov eax, dword [esp + 0x88]
mov dword [esi + 0x6c], eax
mov ecx, dword [esp + 0x8c]
lea edi, [esi + 0x88]
push ebp
mov eax, edi
mov dword [esi + 0x70], ecx
call fcn.00416d30
add esp, 4
test eax, eax
je 0x428933
cmp dword [edi], ebx
je 0x428933
lea eax, [esi + 0x80]
push ebp
call fcn.00416d30
add esp, 4
test eax, eax
je 0x428933
mov eax, dword [edi]
push 0x5c
push eax
call fcn.00455c50
add esp, 8
test eax, eax
mov dword [esi + 0x84], eax
je 0x4288ab
add eax, 1
mov dword [esi + 0x84], eax
jmp 0x4288b3
mov edx, dword [edi]
mov dword [esi + 0x84], edx
cmp dword [esp + 0x20], ebx
jbe 0x4288df
lea esp, [esp]
mov eax, ebp
call fcn.00427ea0
test eax, eax
je 0x428933
test ebx, ebx
je 0x4288d3
mov dword [ebx], eax
jmp 0x4288d6
mov dword [esi + 0x7c], eax
sub dword [esp + 0x20], 1
mov ebx, eax
jne 0x4288c0
push 0x10
call fcn.0042f8c1
add esp, 4
test eax, eax
je 0x428913
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], esi
mov dword [eax], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov esi, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 8
xor esi, esi
push esi
push esi
push 1
push 0xc0000017
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov edi, esi
call fcn.00429a50
call fcn.00425d60
push esi
call fcn.0042f8ec
mov eax, dword [esp + 0x9c]
add esp, 4
add dword [eax + 0x40], 0xffffffff
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x84
ret 8