Function at 0x456e30
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x530b38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
mov eax, dword [esp + 0x84]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push eax
mov dword [esp + 0x14], ebx
call fcn.00453f30
mov eax, dword [ebx + 0xc4]
xor ebp, ebp
mov dword [ebx + 0x268], ebp
mov dword [ebx], 0x537554
mov edi, dword [eax + 0x20]
mov esi, 1
and edi, 0xfffffffe
mov dword [esp + 0x8c], ebp
mov dword [eax + 0x20], edi
mov ecx, dword [ebx + 0x1e4]
mov eax, dword [ebx + 0x210]
mov edx, dword [ebx + 0x208]
and ecx, 8
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], ecx
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x68]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x48], edx
rep stosd dword es:[edi], eax
mov ecx, dword [0x659a18]
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push ecx
push esi
lea edx, [esp + 0x6c]
push 0x20
push edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], ebp
call edi
mov eax, dword [0x659a18]
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x14
mov ecx, ebx
push eax
call fcn.0043b300
mov ecx, dword [0x659a18]
lea edx, [esp + 0x24]
push ecx
push esi
push 0x20
push edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ebp
call edi
xor eax, eax
add esp, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov al, byte [ebx + 0x1e4]
test al, 0x40
je 0x456f62
mov ecx, dword [0x659a18]
lea edx, [esp + 0x14]
push ecx
push esi
push 0x10
push edx
call edi
add esp, 0x10
jmp 0x456f74
mov eax, dword [0x659a18]
push esi
push 0x10
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
lea eax, [ebx + 0xe6c]
xor ecx, ecx
mov edx, eax
lea esi, [esp + 0x14]
mov edi, eax
mov ebp, 4
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
cmp dword [esi], 0
jle 0x456ffd
mov eax, dword [esp + 0x30]
dec eax
je 0x456fdd
dec eax
je 0x456fc0
dec eax
jne 0x456ffd
push 0x1c
call fcn.00470250
add esp, 4
test eax, eax
je 0x456ff9
mov ecx, dword [esi]
push ecx
mov ecx, eax
call fcn.004ba9e0
jmp 0x456ffb
push 0x298
call fcn.00470250
add esp, 4
test eax, eax
je 0x456ff9
mov edx, dword [esi]
mov ecx, eax
push edx
call fcn.004baf10
jmp 0x456ffb
push 0x24
call fcn.00470250
add esp, 4
test eax, eax
je 0x456ff9
mov ecx, dword [esi]
push 0
push ecx
mov ecx, eax
call fcn.004bac90
jmp 0x456ffb
xor eax, eax
mov dword [edi], eax
add esi, 4
add edi, 4
dec ebp
jne 0x456f94
mov dword [ebx + 0x214], 8
xor esi, esi
lea edi, [ebx + 0x218]
mov eax, dword [esp + esi*4 + 0x44]
test eax, eax
je 0x457092
mov eax, dword [esp + esi*4 + 0x64]
test eax, eax
jle 0x457092
mov eax, dword [esp + esi*4 + 0x24]
dec eax
je 0x457070
dec eax
je 0x457051
dec eax
jne 0x457092
push 0x1c
call fcn.00470250
add esp, 4
test eax, eax
je 0x45708e
mov edx, dword [esp + esi*4 + 0x64]
mov ecx, eax
push edx
call fcn.004ba9e0
jmp 0x457090
push 0x298
call fcn.00470250
add esp, 4
test eax, eax
je 0x45708e
mov ecx, dword [esp + esi*4 + 0x64]
push ecx
mov ecx, eax
call fcn.004baf10
jmp 0x457090
push 0x24
call fcn.00470250
add esp, 4
test eax, eax
je 0x45708e
mov edx, dword [esp + esi*4 + 0x64]
push 0
push edx
mov ecx, eax
call fcn.004bac90
jmp 0x457090
xor eax, eax
mov dword [edi], eax
mov eax, dword [ebx + 0x214]
inc esi
add edi, 4
cmp esi, eax
jl 0x457018
mov ecx, dword [esp + 0x84]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x80
ret 4