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

Disassembly:
push 0xffffffffffffffff
push 0x434b63
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x459f34]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, dword [esp + 0x34]
push 0
push 0
push 7
push edi
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi]
mov ecx, eax
shl ecx, 4
add ecx, eax
push 4
lea edx, [ebx + ecx*4]
push edx
push edi
call ebp
push 0
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi]
mov ecx, eax
shl ecx, 4
add ecx, eax
push 0x33
lea edx, [ebx + ecx*4 + 4]
push edx
push edi
call ebp
push 0
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi]
mov ecx, eax
shl ecx, 4
add ecx, eax
push 7
lea edx, [ebx + ecx*4 + 0x37]
push edx
push edi
call ebp
push 0
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi]
mov ecx, eax
shl ecx, 4
add ecx, eax
push 4
lea edx, [ebx + ecx*4 + 0x40]
push edx
push edi
call ebp
test eax, eax
je 0x4115cb
cmp dword [esp + 0x14], 0
je 0x4115cb
mov eax, dword [esi]
mov ecx, eax
shl ecx, 4
add ecx, eax
lea edx, [ebx + ecx*4 + 4]
push edx
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_310]
push 0x438d18
mov ecx, eax
mov dword [esp + 0x30], 0
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
lea ecx, [esp + 0x1c]
sete byte [esp + 0x38]
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp byte [esp + 0x38], 0
jne 0x4115e4
mov eax, dword [esi]
mov ecx, eax
shl ecx, 4
add ecx, eax
mov dword [ebx + ecx*4], eax
mov eax, dword [esi]
mov edx, eax
shl edx, 4
add edx, eax
cmp dword [ebx + edx*4 + 0x40], 0
mov dword [esp + 0x38], 0
jbe 0x41155a
xor ebx, ebx
mov ecx, dword [esi]
mov edx, dword [esp + 0x40]
push 0
lea eax, [esp + 0x18]
push eax
mov eax, dword [edx + ecx*4]
push 4
add eax, ebx
push eax
push edi
call ebp
mov edx, dword [esi]
mov eax, dword [esp + 0x40]
push 0
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [eax + edx*4]
push 4
lea edx, [ecx + ebx + 4]
push edx
push edi
call ebp
mov ecx, dword [esi]
mov edx, dword [esp + 0x40]
push 0
lea eax, [esp + 0x18]
push eax
mov eax, dword [edx + ecx*4]
push 0x33
lea ecx, [eax + ebx + 8]
push ecx
push edi
call ebp
mov eax, dword [esi]
mov ecx, dword [esp + 0x40]
push 0
lea edx, [esp + 0x18]
push edx
mov edx, dword [ecx + eax*4]
push 0x33
lea eax, [edx + ebx + 0x3b]
push eax
push edi
call ebp
mov edx, dword [esi]
mov eax, dword [esp + 0x40]
push 0
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [eax + edx*4]
push 6
lea edx, [ecx + ebx + 0x6e]
push edx
push edi
call ebp
mov ecx, dword [esi]
mov edx, dword [esp + 0x40]
push 0
lea eax, [esp + 0x18]
push eax
mov eax, dword [edx + ecx*4]
push 4
lea ecx, [eax + ebx + 0x74]
push ecx
push edi
call ebp
mov eax, dword [esi]
mov ecx, dword [esp + 0x40]
push 0
lea edx, [esp + 0x18]
push edx
mov edx, dword [ecx + eax*4]
push 4
lea eax, [edx + ebx + 0x78]
push eax
push edi
call ebp
push 0
lea ecx, [esp + 0x18]
push ecx
push 0xa
mov edx, dword [esi]
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + edx*4]
lea edx, [ecx + ebx + 0x7c]
push edx
push edi
call ebp
mov ecx, dword [esi]
mov edx, dword [esp + 0x40]
push 0
lea eax, [esp + 0x18]
push eax
mov eax, dword [edx + ecx*4]
push 7
lea ecx, [eax + ebx + 0x86]
push ecx
push edi
call ebp
mov eax, dword [esi]
mov ecx, dword [esp + 0x40]
push 0
lea edx, [esp + 0x18]
push edx
mov edx, dword [ecx + eax*4]
push 0xd0
lea eax, [edx + ebx + 0x8f]
push eax
push edi
call ebp
test eax, eax
je 0x411514
mov ecx, dword [esi]
mov edx, dword [esp + 0x40]
mov eax, dword [edx + ecx*4]
lea ecx, [eax + ebx + 8]
push ecx
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov ecx, 1
or dword [esp + 0x18], ecx
mov dword [esp + 0x2c], ecx
push 0x438d18
mov ecx, eax
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test byte [esp + 0x18], 1
mov dword [esp + 0x2c], 0xffffffff
je 0x411532
and dword [esp + 0x18], 0xfffffffe
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esi]
mov ecx, dword [esp + 0x38]
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [esp + 0x3c]
inc ecx
add ebx, 0x15f
mov dword [esp + 0x38], ecx
cmp ecx, dword [eax + edx*4 + 0x40]
jb 0x4113d3
mov ebx, eax
inc dword [esi]
mov eax, dword [esi]
push 0
mov edx, eax
lea ecx, [esp + 0x18]
push ecx
shl edx, 4
add edx, eax
push 4
lea eax, [ebx + edx*4]
push eax
push edi
call ebp
mov eax, dword [esi]
push 0
mov edx, eax
lea ecx, [esp + 0x18]
push ecx
shl edx, 4
add edx, eax
push 0x33
lea eax, [ebx + edx*4 + 4]
push eax
push edi
call ebp
mov eax, dword [esi]
push 0
mov edx, eax
lea ecx, [esp + 0x18]
push ecx
shl edx, 4
add edx, eax
push 7
lea eax, [ebx + edx*4 + 0x37]
push eax
push edi
call ebp
mov eax, dword [esi]
push 0
mov edx, eax
lea ecx, [esp + 0x18]
push ecx
shl edx, 4
add edx, eax
push 4
lea eax, [ebx + edx*4 + 0x40]
push eax
push edi
call ebp
test eax, eax
jne 0x41134d
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push edi
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret