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

Disassembly:
mov eax, 0x4410b2
call fcn.00432c38
sub esp, 0xb4
mov al, byte [ebp + 0xc]
and byte [ebp + 0xf], 0
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov byte [esi + 0x2e8], al
cmp dword [esi + 0x2a0], edi
je 0x42507c
lea eax, [ebp - 0x15]
push 1
push eax
lea ecx, [ebp - 0x54]
push dword [ebp + 8]
call fcn.004014ff
lea eax, [ebp - 0x54]
push 1
push eax
lea eax, [ebp - 0xc0]
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.004254f5
mov ebx, eax
lea eax, [esi + 4]
push 1
push eax
lea eax, [ebp - 0x98]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004254f5
push ebx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00410cf9
mov ebx, eax
lea ecx, [ebp - 0x98]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 1
inc bl
call fcn.00401915
and byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.00401915
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00401915
test bl, bl
je 0x42507c
mov byte [ebp + 0xf], 1
lea eax, [ebp + 0xb]
push 1
push eax
lea ecx, [ebp - 0x54]
push dword [ebp + 8]
call fcn.004014ff
lea ebx, [esi + 4]
lea eax, [ebp - 0x54]
push eax
mov ecx, ebx
mov dword [ebp - 4], 3
call fcn.0040a236
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00401915
mov ecx, ebx
call fcn.004016f0
push eax
call fcn.0042b8ad
test eax, eax
je 0x4252f5
push edi
push edi
push 3
push edi
push 1
push SysReAllocStringLen
mov ecx, ebx
call fcn.004016f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
push edi
push ebx
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
je 0x4252e5
push eax
call fcn.00432c57
lea ecx, [esi + 0x2c0]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 5
mov dword [esp], 0x450eb4
call fcn.004016c7
and byte [esi + 0x15c], 0
and byte [esi + 0x15e], 0
and byte [esi + 0x15d], 0
lea ecx, [esi + 0x164]
mov byte [esi + 0x160], 1
call fcn.00429926
mov eax, dword [0x4425a8]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x198]
cmp eax, edi
je 0x425169
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call ebx
mov dword [esi + 0x198], edi
jmp 0x42516f
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x14]
lea ecx, [esi + 0x180]
push edi
call fcn.0040a110
mov eax, dword [0x4425a8]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x1c0]
cmp eax, edi
je 0x425199
push eax
call ebx
mov dword [esi + 0x1c0], edi
push dword [ebp - 0x14]
lea ecx, [esi + 0x1a8]
push edi
call fcn.0040a110
cmp byte [ebp + 0xf], 0
jne 0x425202
mov eax, dword [0x4425a8]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x1e8]
cmp eax, edi
je 0x4251c9
push eax
call ebx
mov dword [esi + 0x1e8], edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x1d0]
push edi
call fcn.0040a110
mov eax, dword [0x4425a8]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x210]
cmp eax, edi
je 0x4251f3
push eax
call ebx
mov dword [esi + 0x210], edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x1f8]
push edi
call fcn.0040a110
mov eax, dword [0x4425a8]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x238]
cmp eax, edi
je 0x42521d
push eax
call ebx
mov dword [esi + 0x238], edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x220]
push edi
call fcn.0040a110
mov eax, dword [0x4425a8]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x260]
cmp eax, edi
je 0x425247
push eax
call ebx
mov dword [esi + 0x260], edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x248]
push edi
call fcn.0040a110
mov eax, dword [0x4425a8]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x2b0]
cmp eax, edi
je 0x425271
push eax
call ebx
mov dword [esi + 0x2b0], edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x298]
push edi
call fcn.0040a110
lea ecx, [esi + 0x170]
call fcn.004299be
lea eax, [ebp - 0x2c]
push edi
push eax
push dword [ebp - 0x20]
push dword [ebp + 8]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 1
lea ecx, [ebp - 0x70]
push dword [ebp + 8]
mov dword [ebp - 0x24], esi
call fcn.0041ecc7
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.0041f07d
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.00407fa7
mov ecx, esi
call fcn.00426045
jmp 0x4252d9
push dword [ebp + 8]
call fcn.00432291
mov ebx, dword [ebp - 0x1c]
pop ecx
cmp ebx, edi
je 0x4252f5
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x4252f5
push ebx
call eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8