Function at 0x457ba0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x530b98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
mov eax, dword [esp + 0x98]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push eax
mov dword [esp + 0x7c], ebp
call fcn.00453f30
mov eax, dword [ebp + 0xc4]
mov dword [ebp], 0x537658
xor ecx, ecx
mov esi, dword [sym.imp.MSVCRT.dll_fread]
mov edi, dword [eax + 0x20]
mov dword [esp + 0xa0], ecx
and edi, 0xfffffffe
mov dword [esp + 0x5c], ecx
mov dword [eax + 0x20], edi
mov eax, dword [ebp + 0x210]
mov edx, dword [ebp + 0x1e4]
mov dword [ebp + 0x208], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x38], ecx
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x3c]
mov ebx, 1
rep stosd dword es:[edi], eax
mov eax, dword [0x659a18]
lea ecx, [esp + 0x38]
push eax
push ebx
and edx, 8
push 4
push ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
call esi
mov edx, dword [0x659a18]
lea eax, [esp + 0x50]
push edx
push ebx
push 4
push eax
call esi
mov ecx, dword [0x659a18]
lea edx, [esp + 0x68]
push ecx
push 2
push 4
push edx
call esi
mov eax, dword [0x659a18]
lea ecx, [esp + 0x74]
push eax
push ebx
push 4
push ecx
call esi
mov edx, dword [0x659a18]
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0x40
push ebx
push 0xc
push edx
call edi
mov eax, dword [0x659a18]
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x10
mov ecx, ebp
push eax
call fcn.0043b300
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov ecx, dword [0x659a18]
lea edx, [esp + 0x18]
push ecx
push ebx
push 4
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 0
call esi
mov eax, dword [0x659a18]
lea ecx, [esp + 0x30]
push eax
push ebx
push 4
push ecx
call esi
mov edx, dword [0x659a18]
lea eax, [esp + 0x48]
push edx
push 2
push 4
push eax
call esi
mov ecx, dword [0x659a18]
lea edx, [esp + 0x54]
push ecx
push ebx
push 4
push edx
call esi
mov eax, dword [0x659a18]
add esp, 0x40
push ebx
push 0xc
push eax
call edi
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x8c]
mov dword [esp + 0x88], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x659a18]
lea edx, [esp + 0x88]
push ecx
push ebx
push 0x1c
push edx
call esi
mov eax, dword [0x659a18]
lea ecx, [esp + 0x2c]
push eax
push ebx
xor edi, edi
push 8
push ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call esi
add esp, 0x2c
mov dword [ebp + 0x214], 8
xor esi, esi
lea ebx, [ebp + 0x218]
cmp dword [esp + esi*4 + 0x58], edi
je 0x457dfd
cmp dword [esp + esi*4 + 0x38], edi
jle 0x457dfd
mov eax, dword [esp + esi*4 + 0x18]
dec eax
je 0x457ddc
dec eax
je 0x457dbd
dec eax
jne 0x457dfd
push 0x1c
call fcn.00470250
add esp, 4
cmp eax, edi
je 0x457df9
mov edx, dword [esp + esi*4 + 0x38]
mov ecx, eax
push edx
call fcn.004ba9e0
jmp 0x457dfb
push 0x298
call fcn.00470250
add esp, 4
cmp eax, edi
je 0x457df9
mov ecx, dword [esp + esi*4 + 0x38]
push ecx
mov ecx, eax
call fcn.004baf10
jmp 0x457dfb
push 0x24
call fcn.00470250
add esp, 4
cmp eax, edi
je 0x457df9
mov edx, dword [esp + esi*4 + 0x38]
push edi
push edx
mov ecx, eax
call fcn.004bac90
jmp 0x457dfb
xor eax, eax
mov dword [ebx], eax
mov eax, dword [ebp + 0x214]
inc esi
add ebx, 4
cmp esi, eax
jl 0x457d88
lea edx, [ebp + 0xe68]
mov ecx, 7
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea esi, [esp + 0x7c]
mov edi, edx
mov ebx, 7
cmp dword [esi], 0
jle 0x457e94
mov eax, dword [esp + 0x2c]
dec eax
je 0x457e74
dec eax
je 0x457e57
dec eax
jne 0x457e94
push 0x1c
call fcn.00470250
add esp, 4
test eax, eax
je 0x457e90
mov ecx, dword [esi]
push ecx
mov ecx, eax
call fcn.004ba9e0
jmp 0x457e92
push 0x298
call fcn.00470250
add esp, 4
test eax, eax
je 0x457e90
mov edx, dword [esi]
mov ecx, eax
push edx
call fcn.004baf10
jmp 0x457e92
push 0x24
call fcn.00470250
add esp, 4
test eax, eax
je 0x457e90
mov ecx, dword [esi]
push 0
push ecx
mov ecx, eax
call fcn.004bac90
jmp 0x457e92
xor eax, eax
mov dword [edi], eax
add esi, 4
add edi, 4
dec ebx
jne 0x457e2b
lea eax, [ebp + 0xe84]
xor edx, edx
mov ecx, eax
lea esi, [esp + 0x10]
mov edi, eax
mov ebx, 2
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp dword [esi], 0
jle 0x457f20
mov eax, dword [esp + 0x24]
dec eax
je 0x457f00
dec eax
je 0x457ee3
dec eax
jne 0x457f20
push 0x1c
call fcn.00470250
add esp, 4
test eax, eax
je 0x457f1c
mov edx, dword [esi]
mov ecx, eax
push edx
call fcn.004ba9e0
jmp 0x457f1e
push 0x298
call fcn.00470250
add esp, 4
test eax, eax
je 0x457f1c
mov ecx, dword [esi]
push ecx
mov ecx, eax
call fcn.004baf10
jmp 0x457f1e
push 0x24
call fcn.00470250
add esp, 4
test eax, eax
je 0x457f1c
mov edx, dword [esi]
push 0
push edx
mov ecx, eax
call fcn.004bac90
jmp 0x457f1e
xor eax, eax
mov dword [edi], eax
add esi, 4
add edi, 4
dec ebx
jne 0x457eb7
lea edx, [ebp + 0x268]
mov ecx, 0x300
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
push edx
call fcn.0041b280
mov ecx, eax
call fcn.0041b250
mov ecx, dword [esp + 0x98]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x94
ret 4