Function at 0x430f68
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x134
mov eax, 0x48a196
call fcn.0047dc8f
mov esi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x100], ebx
mov dword [ebp - 4], ebx
or dword [ebp - 0x110], 0xffffffff
mov byte [ebp - 4], 1
mov dword [ebp - 0x84], fcn.00457e20
mov dword [ebp - 0x80], fcn.00457ee0
mov dword [ebp - 0x7c], 0x458010
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0xfc], 0x4580e0
mov dword [ebp - 0xf8], fcn.00458140
mov dword [ebp - 0xf4], 0x458250
test esi, esi
jne 0x430fe2
mov eax, 0x80070057
mov ebx, eax
push eax
jmp 0x4311d9
test eax, eax
je 0x430fd5
push 0x100000
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
lea ecx, [ebp - 0x100]
call fcn.00433c1b
cmp dword [ebp - 0x100], 0
jne 0x431018
mov ebx, 0x8007000e
jmp 0x4311d8
push ebx
push 0x8000000
push 3
push ebx
push 7
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
lea ecx, [ebp - 0x110]
call fcn.0041a61a
mov esi, dword [ebp - 0x110]
test esi, esi
je 0x4311ca
cmp esi, 0xffffffff
je 0x4311ca
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x108], ebx
push eax
push esi
mov dword [ebp - 0x10c], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4311ca
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x118], edx
cmp edx, ebx
jl 0x4311a4
jle 0x43119c
mov ecx, 0x100000
mov dword [ebp - 0x104], ecx
cmp edx, ebx
jg 0x4310b7
jl 0x4310af
cmp eax, ecx
jae 0x4310b7
mov ecx, eax
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x140], ebx
push eax
push ecx
push dword [ebp - 0x100]
mov dword [ebp - 0x13c], ebx
push esi
mov dword [ebp - 0x130], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4311ca
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x104], eax
jne 0x4311c3
cmp dword [ebp - 0x78], 0
jne 0x431144
mov ebx, dword [ebp - 0x84]
lea eax, [ebp - 0x74]
push eax
mov ecx, ebx
call dword [0x4928c8]
call ebx
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x78], 1
mov ebx, dword [ebp - 0x80]
mov ecx, ebx
push eax
push dword [ebp - 0x100]
lea eax, [ebp - 0x74]
push eax
call dword [0x4928c8]
call ebx
xor ebx, ebx
push ebx
call fcn.00432150
mov ecx, dword [ebp - 0x104]
add dword [ebp - 0x108], ecx
mov eax, dword [ebp - 0x114]
adc dword [ebp - 0x10c], ebx
sub eax, ecx
mov edx, dword [ebp - 0x118]
sbb edx, ebx
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x118], edx
cmp edx, ebx
jg 0x43109a
jl 0x4311a4
cmp eax, ebx
ja 0x43109a
push dword [ebp - 0x124]
mov esi, dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
push eax
mov ecx, esi
call dword [0x4928c8]
call esi
push ebx
call fcn.00432150
jmp 0x4311de
mov ebx, 0x80004005
jmp 0x4311d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004324dd
mov ebx, eax
push ebx
call fcn.004321e3
push ebx
call fcn.00432150
lea ecx, [ebp - 0x110]
call fcn.0043239d
lea ecx, [ebp - 0x100]
call fcn.0042e8b9
mov eax, ebx
call fcn.0047dc41
ret 8