Function at 0x460ef0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x546b29
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
mov eax, dword [esp + 0x124]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x24], esi
call fcn.0043cc70
mov ebp, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi], 0x54eda0
mov ecx, dword [0x67a8cc]
lea edx, [esi + 0x1d0]
push ecx
push 1
xor edi, edi
push 4
push edx
mov dword [esp + 0x13c], edi
call ebp
mov eax, dword [0x67a8cc]
lea ecx, [esi + 0x1d4]
push eax
push 1
push 4
push ecx
call ebp
mov edx, dword [0x67a8cc]
lea eax, [esi + 0x1d8]
push edx
push 1
push 4
push eax
call ebp
mov ecx, dword [0x67a8cc]
lea edx, [esi + 0x1dc]
push ecx
push 1
push 1
push edx
call ebp
mov eax, dword [0x67a8cc]
add esp, 0x40
lea ecx, [esi + 0x1dd]
push eax
push 1
push 1
push ecx
call ebp
mov edx, dword [0x67a8cc]
lea eax, [esi + 0x1de]
push edx
push 1
push 1
push eax
call ebp
mov ecx, dword [0x67a8cc]
lea ebx, [esi + 0x1df]
push ecx
push 1
push 1
push ebx
call ebp
mov edx, dword [0x67a8cc]
lea eax, [esp + 0x4c]
push edx
push 1
push 4
push eax
mov dword [esp + 0x5c], edi
call ebp
mov ecx, dword [0x67a8cc]
add esp, 0x40
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov ecx, esi
push eax
call fcn.0043ede0
xor edx, edx
mov dl, byte [ebx]
mov edi, edx
lea eax, [edi + edi*2]
shl eax, 3
push eax
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x12c], 1
je 0x46104b
lea ecx, [edi - 1]
test ecx, ecx
jl 0x46104d
inc ecx
lea edi, [eax + 0x10]
mov dword [esp + 0x10], ecx
lea ecx, [edi - 0xc]
call fcn.0041add0
mov eax, dword [esp + 0x10]
mov dword [edi], 0
add edi, 0x18
dec eax
mov dword [esp + 0x10], eax
jne 0x461029
mov eax, dword [esp + 0x14]
jmp 0x46104d
xor eax, eax
mov dword [esi + 0x1e0], eax
mov edx, dword [0x67a8cc]
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x28]
mov dword [esp + 0x24], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
xor edi, edi
push edi
push ecx
push edx
mov byte [esp + 0x138], 0
call dword [sym.imp.MSVCRT.dll_fseek]
mov eax, dword [0x67a8cc]
xor ecx, ecx
mov cl, byte [ebx]
push eax
push ecx
lea edx, [esp + 0x38]
push 4
push edx
call ebp
mov al, byte [ebx]
add esp, 0x1c
test al, al
mov dword [esp + 0x14], edi
jbe 0x46110b
lea eax, [esp + 0x24]
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x18]
mov edx, dword [esi + 0x1e0]
mov ecx, dword [esp + 0x10]
mov eax, dword [0x67a8cc]
add edi, edx
push 0
mov edx, dword [ecx]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov ecx, dword [0x67a8cc]
push ecx
push 1
push 0x18
push edi
call ebp
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
add edx, 4
mov dword [esp + 0x2c], edx
xor edx, edx
mov dl, byte [ebx]
add esp, 0x1c
inc eax
add edi, 0x18
cmp eax, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
jl 0x4610b2
mov ecx, esi
call fcn.0043d3d0
mov ecx, eax
call fcn.004c9d30
push eax
mov dword [esi + 0x1e8], eax
call fcn.00478e60
mov dword [esi + 0x1e4], eax
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x128]
and ah, 0xfd
add esp, 4
or ah, 1
mov dword [esi + 8], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x120
ret 4