Function at 0x650400
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f9a3d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x766480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
mov esi, dword [ebp + 8]
add eax, 0x15c
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push esi
push 1
push 4
push eax
call edi
mov eax, dword [ebp - 0x18]
push esi
push 1
add eax, 0x17c
push 4
push eax
call edi
mov eax, dword [ebp - 0x18]
push esi
push 1
add eax, 0x180
push 4
push eax
call edi
mov eax, dword [ebp - 0x18]
push esi
push 1
push 2
lea ecx, [eax + 0x128]
lea edi, [eax + 0x1a0]
mov dword [ebp - 0x14], ecx
lea eax, [edi + 0x10]
mov dword [eax], 0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x40
mov dword [edi + 0x14], 0
cmp dword [edi + 0x10], 0
jbe 0x650560
nop dword [eax]
push esi
push 1
lea eax, [ebp - 0x10]
push 2
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push esi
push 1
push 0x10
push dword [ebp - 0x14]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
movzx eax, word [ebp - 0x10]
add esp, 0x20
mov dword [ebp - 0x1c], eax
mov ecx, edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00495da0
mov eax, dword [ebp - 0x28]
cmp byte [eax + 0xd], 0
jne 0x6504e8
movzx ecx, word [ebp - 0x10]
cmp ecx, dword [eax + 0x10]
jae 0x650547
cmp dword [edi + 4], 0x71c71c7
je 0x650890
mov esi, dword [edi]
mov dword [ebp - 0x24], edi
push 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
call fcn.006df8c3
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add esp, 4
mov dword [ebp - 0x20], 0
mov dword [ecx + 0x10], eax
push ecx
push dword [ebp - 0x2c]
mov dword [ecx], esi
push dword [ebp - 0x30]
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
mov word [ecx + 0xc], 0
mov ecx, edi
call fcn.00451330
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
movups xmm0, xmmword [ecx]
movups xmmword [eax + 0x14], xmm0
inc dword [edi + 0x14]
mov eax, dword [edi + 0x14]
cmp eax, dword [edi + 0x10]
jb 0x6504a0
mov eax, dword [ebp - 0x18]
push esi
push 1
push 2
lea ecx, [eax + 0x14c]
lea edi, [eax + 0x188]
mov dword [ebp - 0x14], ecx
lea eax, [edi + 0x10]
mov dword [eax], 0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov dword [edi + 0x14], 0
cmp dword [edi + 0x10], 0
jbe 0x650666
nop dword [eax + eax]
push esi
push 1
lea eax, [ebp - 0x10]
push 2
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push esi
push 1
push 0xc
push dword [ebp - 0x14]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
movzx eax, word [ebp - 0x10]
add esp, 0x20
mov dword [ebp - 0x1c], eax
mov ecx, edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00495da0
mov eax, dword [ebp - 0x28]
cmp byte [eax + 0xd], 0
jne 0x6505e8
movzx ecx, word [ebp - 0x10]
cmp ecx, dword [eax + 0x10]
jae 0x650645
cmp dword [edi + 4], 0x7ffffff
je 0x650890
mov esi, dword [edi]
mov dword [ebp - 0x24], edi
push 0x20
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], 0
call fcn.006df8c3
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], 0
mov dword [eax + 0x10], ecx
mov ecx, edi
push eax
push dword [ebp - 0x2c]
mov dword [eax], esi
push dword [ebp - 0x30]
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + 0xc], 0
call fcn.00451330
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
movq xmm0, qword [ecx]
movq qword [eax + 0x14], xmm0
mov ecx, dword [ecx + 8]
mov dword [eax + 0x1c], ecx
inc dword [edi + 0x14]
mov eax, dword [edi + 0x14]
cmp eax, dword [edi + 0x10]
jb 0x6505a0
mov edi, dword [ebp - 0x18]
push esi
push 1
push 4
lea eax, [edi + 0x1d4]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
lea eax, [edi + 0x158]
add edi, 0x1b8
push esi
push 1
mov dword [ebp - 0x1c], eax
lea eax, [edi + 0x10]
push 2
push eax
mov dword [eax], 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x20
mov dword [edi + 0x14], 0
cmp dword [edi + 0x10], 0
jbe 0x65076f
push esi
push 1
lea eax, [ebp - 0x14]
push 2
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push esi
push 1
push 4
push dword [ebp - 0x1c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
movzx eax, word [ebp - 0x14]
add esp, 0x20
mov dword [ebp - 0x20], eax
mov ecx, edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00495da0
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0xd], 0
jne 0x6506fb
movzx ecx, word [ebp - 0x14]
cmp ecx, dword [eax + 0x10]
jae 0x650758
cmp dword [edi + 4], 0xaaaaaaa
je 0x650890
mov esi, dword [edi]
mov dword [ebp - 0x2c], edi
push 0x18
mov dword [ebp - 4], 2
mov dword [ebp - 0x28], 0
call fcn.006df8c3
mov ecx, dword [ebp - 0x20]
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], 0
mov dword [eax + 0x10], ecx
mov ecx, edi
push eax
push dword [ebp - 0x38]
mov dword [eax], esi
push dword [ebp - 0x3c]
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + 0xc], 0
call fcn.00451330
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
mov dword [eax + 0x14], ecx
inc dword [edi + 0x14]
mov eax, dword [edi + 0x14]
cmp eax, dword [edi + 0x10]
jb 0x6506b3
mov edi, dword [ebp - 0x18]
lea eax, [edi + 0x1dc]
push eax
push esi
lea ecx, [edi + 0x208]
call fcn.0064cfe0
lea eax, [edi + 0x1e4]
push eax
push esi
lea ecx, [edi + 0x238]
call fcn.0064cfe0
lea eax, [edi + 0x1e0]
push eax
push esi
lea ecx, [edi + 0x220]
call fcn.0064cfe0
lea eax, [edi + 0x1e8]
push eax
push esi
lea ecx, [edi + 0x250]
call fcn.0064cfe0
movss xmm1, dword [edi + 0x168]
shufps xmm1, xmm1, 0
ucomiss xmm1, dword [0x70196c]
lahf
test ah, 0x44
jnp 0x65081e
movups xmm0, xmmword [edi + 0x1dc]
mulps xmm0, xmm1
movups xmmword [edi + 0x1dc], xmm0
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, [edi + 0x1f4]
push eax
push esi
lea ecx, [edi + 0x298]
call fcn.0064cfe0
lea eax, [edi + 0x1f8]
push eax
push esi
lea ecx, [edi + 0x2b0]
call fcn.0064cfe0
lea eax, [edi + 0x1ec]
push eax
push esi
lea ecx, [edi + 0x268]
call fcn.0064cfe0
lea eax, [edi + 0x1f0]
push eax
push esi
lea ecx, [edi + 0x280]
call fcn.0064cfe0
lea eax, [edi + 0x1fc]
push eax
push esi
lea ecx, [edi + 0x2c8]
call fcn.0064cfe0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.00451520
int3