Function at 0x656950
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f9d8d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x766480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
lea eax, [edi + 0x15c]
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push ebx
push 1
push 4
push eax
call esi
push ebx
push 1
lea eax, [edi + 0x17c]
push 4
push eax
call esi
push ebx
push 1
lea eax, [edi + 0x180]
push 4
push eax
call esi
push ebx
push 1
lea eax, [edi + 0x204]
push 4
push eax
call esi
add esp, 0x40
lea eax, [edi + 0x208]
push ebx
push 1
push 4
push eax
call esi
push ebx
push 1
lea eax, [edi + 0x20c]
push 4
push eax
call esi
push ebx
push 1
lea eax, [edi + 0x210]
push 4
push eax
call esi
push ebx
push 1
lea eax, [edi + 0x214]
push 4
push eax
call esi
add esp, 0x40
lea eax, [edi + 0x218]
push ebx
push 1
push 4
push eax
call esi
push ebx
push 1
lea eax, [edi + 0x21c]
push 4
push eax
call esi
push ebx
push 1
lea eax, [edi + 0x220]
push 4
push eax
call esi
push ebx
push 1
lea eax, [edi + 0x224]
push 4
push eax
call esi
add esp, 0x40
lea eax, [edi + 0x228]
push ebx
push 1
push 4
push eax
call esi
push ebx
push 1
lea eax, [edi + 0x22c]
push 4
push eax
call esi
add esp, 0x20
cmp byte [edi + 0x174], 0
je 0x656a96
movss xmm1, dword [edi + 0x168]
shufps xmm1, xmm1, 0
ucomiss xmm1, dword [0x70196c]
lahf
test ah, 0x44
jnp 0x656a96
movups xmm0, xmmword [edi + 0x21c]
mulps xmm0, xmm1
mulss xmm1, dword [edi + 0x22c]
movups xmmword [edi + 0x21c], xmm0
movss dword [edi + 0x22c], xmm1
lea eax, [edi + 0x128]
push eax
push ebx
lea ecx, [edi + 0x1a0]
call fcn.00653a10
lea eax, [edi + 0x14c]
push eax
push ebx
lea ecx, [edi + 0x188]
call fcn.00653b40
movss xmm1, dword [edi + 0x168]
ucomiss xmm1, dword [0x70196c]
lahf
test ah, 0x44
jnp 0x656b07
movaps xmm0, xmm1
mulss xmm0, dword [edi + 0x14c]
movss dword [edi + 0x14c], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [edi + 0x154]
mulss xmm1, dword [edi + 0x150]
movss dword [edi + 0x154], xmm0
movss dword [edi + 0x150], xmm1
lea eax, [ebp - 0x18]
push eax
push ebx
lea ecx, [edi + 0x240]
call fcn.0064cfe0
lea eax, [edi + 0x1dc]
push eax
push ebx
lea ecx, [edi + 0x258]
call fcn.0064cfe0
lea eax, [edi + 0x1e0]
push eax
push ebx
lea ecx, [edi + 0x270]
call fcn.0064cfe0
lea eax, [edi + 0x1e4]
push eax
push ebx
lea ecx, [edi + 0x288]
call fcn.0064cfe0
lea eax, [edi + 0x1e8]
push eax
push ebx
lea ecx, [edi + 0x2a0]
call fcn.00653b40
cmp byte [edi + 0x174], 0
je 0x656bca
movss xmm1, dword [edi + 0x168]
ucomiss xmm1, dword [0x70196c]
lahf
test ah, 0x44
jnp 0x656bca
movaps xmm0, xmm1
mulss xmm0, dword [edi + 0x1e0]
movss dword [edi + 0x1e0], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [edi + 0x1e8]
movss dword [edi + 0x1e8], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [edi + 0x1ec]
mulss xmm1, dword [edi + 0x1f0]
movss dword [edi + 0x1ec], xmm0
movss dword [edi + 0x1f0], xmm1
lea eax, [edi + 0x1f4]
push eax
push ebx
lea ecx, [edi + 0x2b8]
call fcn.00653a10
lea eax, [edi + 0x1dc]
push eax
push ebx
lea ecx, [edi + 0x2d0]
call fcn.0064cfe0
lea eax, [edi + 0x1dc]
push eax
push ebx
lea ecx, [edi + 0x2e8]
call fcn.0064cfe0
lea eax, [edi + 0x158]
add edi, 0x1b8
push ebx
push 1
mov dword [ebp - 0x14], eax
lea eax, [edi + 0x10]
push 2
push eax
mov dword [eax], 0
call esi
add esp, 0x10
mov dword [edi + 0x14], 0
cmp dword [edi + 0x10], 0
jbe 0x656cec
push ebx
push 1
lea eax, [ebp + 8]
push 2
push eax
call esi
push ebx
push 1
push 4
push dword [ebp - 0x14]
call esi
movzx esi, word [ebp + 8]
lea eax, [ebp - 0x10]
add esp, 0x20
mov dword [ebp - 0x10], esi
mov ecx, edi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00495da0
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0xd], 0
jne 0x656c73
cmp esi, dword [eax + 0x10]
jae 0x656ccf
cmp dword [edi + 4], 0xaaaaaaa
je 0x656d00
mov esi, dword [edi]
mov dword [ebp - 0x20], edi
push 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.006df8c3
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ecx + 0x10], eax
push ecx
push dword [ebp - 0x28]
mov dword [ecx], esi
push dword [ebp - 0x2c]
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
mov word [ecx + 0xc], 0
mov ecx, edi
call fcn.00451330
mov ecx, dword [ebp - 0x14]
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov ecx, dword [ecx]
mov dword [eax + 0x14], ecx
inc dword [edi + 0x14]
mov eax, dword [edi + 0x14]
cmp eax, dword [edi + 0x10]
jb 0x656c37
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00451520
int3