Function at 0x4a1624
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
call fcn.00404be8
mov ebx, dword [ebp + 0xc]
add ebx, 0xffffffc4
xor eax, eax
push ebp
push 0x4a181f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
add eax, 0xffffffdf
mov edx, 0x21
call fcn.004075f4
push 0
mov eax, dword [ebp + 0xc]
add eax, 0xffffffd4
push eax
push 1
mov eax, dword [ebp + 0xc]
add eax, 0xffffffd8
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x40]
push eax
call sub.KERNEL32.DLL_ReadFile_1
mov eax, dword [ebp + 0xc]
inc dword [eax - 0x44]
mov eax, dword [ebp + 0xc]
and dword [eax - 0x28], 0xff
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0x28], 1
jb 0x4a1801
push 0
mov eax, dword [ebp + 0xc]
add eax, 0xffffffd4
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x28]
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xffffffdf
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x40]
push eax
call sub.KERNEL32.DLL_ReadFile_1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x28]
mov edx, dword [ebp + 0xc]
add dword [edx - 0x44], eax
push 0
mov eax, dword [ebp + 0xc]
add eax, 0xffffffd4
push eax
push 4
mov eax, dword [ebp + 0xc]
add eax, 0xffffffd0
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x40]
push eax
call sub.KERNEL32.DLL_ReadFile_1
mov eax, dword [ebp + 0xc]
add dword [eax - 0x44], 4
push 0
mov eax, dword [ebp + 0xc]
add eax, 0xffffffd4
push eax
push 4
mov eax, dword [ebp + 0xc]
add eax, 0xffffffcc
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x40]
push eax
call sub.KERNEL32.DLL_ReadFile_1
mov eax, dword [ebp + 0xc]
add dword [eax - 0x44], 4
push 0
mov eax, dword [ebp + 0xc]
add eax, 0xffffffd4
push eax
push 4
mov eax, dword [ebp + 0xc]
add eax, 0xffffffc8
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x40]
push eax
call sub.KERNEL32.DLL_ReadFile_1
mov eax, dword [ebp + 0xc]
add dword [eax - 0x44], 4
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
mov eax, dword [ebp + 0xc]
add eax, 0xffffffdf
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 6
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x4a1838
call fcn.00409d28
mov eax, dword [ebx]
call fcn.004058dc
inc eax
push eax
mov eax, ebx
mov ecx, 1
mov edx, dword [0x4a1604]
call fcn.00405a98
add esp, 4
mov eax, dword [ebx]
call fcn.004058e4
imul eax, eax, 0x83
mov edx, dword [ebx]
lea eax, [edx + eax*4]
push eax
mov eax, dword [ebp - 4]
call fcn.004049f8
push eax
mov eax, dword [ebp - 4]
call fcn.00404bf8
mov edx, eax
pop ecx
pop eax
call fcn.004075ec
mov eax, dword [ebx]
call fcn.004058e4
imul eax, eax, 0x83
mov edx, dword [ebx]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx - 0x30]
mov dword [edx + eax*4 + 0x200], ecx
mov eax, dword [ebx]
call fcn.004058e4
imul eax, eax, 0x83
mov edx, dword [ebx]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx - 0x34]
mov dword [edx + eax*4 + 0x204], ecx
mov eax, dword [ebx]
call fcn.004058e4
imul eax, eax, 0x83
mov edx, dword [ebx]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx - 0x38]
mov dword [edx + eax*4 + 0x208], ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1826
lea eax, [ebp - 4]
call fcn.00404738
lea eax, [ebp + 8]
call fcn.00404738
ret