Function at 0x45c550
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x530cf9
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.00439c20
mov ebp, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esi], 0x537948
mov ecx, dword [0x659a18]
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 [0x659a18]
lea ecx, [esi + 0x1d4]
push eax
push 1
push 4
push ecx
call ebp
mov edx, dword [0x659a18]
lea eax, [esi + 0x1d8]
push edx
push 1
push 4
push eax
call ebp
mov ecx, dword [0x659a18]
lea edx, [esi + 0x1dc]
push ecx
push 1
push 1
push edx
call ebp
mov eax, dword [0x659a18]
add esp, 0x40
lea ecx, [esi + 0x1dd]
push eax
push 1
push 1
push ecx
call ebp
mov edx, dword [0x659a18]
lea eax, [esi + 0x1de]
push edx
push 1
push 1
push eax
call ebp
mov ecx, dword [0x659a18]
lea ebx, [esi + 0x1df]
push ecx
push 1
push 1
push ebx
call ebp
mov edx, dword [0x659a18]
lea eax, [esp + 0x4c]
push edx
push 1
push 4
push eax
mov dword [esp + 0x5c], edi
call ebp
mov ecx, dword [0x659a18]
add esp, 0x40
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
mov ecx, esi
push eax
call fcn.0043b300
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 0x45c6ab
lea ecx, [edi - 1]
test ecx, ecx
jl 0x45c6ad
inc ecx
lea edi, [eax + 0x10]
mov dword [esp + 0x10], ecx
lea ecx, [edi - 0xc]
call fcn.0041b350
mov eax, dword [esp + 0x10]
mov dword [edi], 0
add edi, 0x18
dec eax
mov dword [esp + 0x10], eax
jne 0x45c689
mov eax, dword [esp + 0x14]
jmp 0x45c6ad
xor eax, eax
mov dword [esi + 0x1e0], eax
mov edx, dword [0x659a18]
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 [0x659a18]
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 0x45c76b
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 [0x659a18]
add edi, edx
push 0
mov edx, dword [ecx]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov ecx, dword [0x659a18]
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 0x45c712
mov ecx, esi
call fcn.0043a330
mov ecx, eax
call fcn.004b53f0
push eax
mov dword [esi + 0x1e8], eax
call fcn.00470b90
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