Function at 0x65a060
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 0x65a1c0
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 0x65a148
movzx ecx, word [ebp - 0x10]
cmp ecx, dword [eax + 0x10]
jae 0x65a1a7
cmp dword [edi + 4], 0x71c71c7
je 0x65a56b
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 0x65a100
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 0x65a2c6
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 0x65a248
movzx ecx, word [ebp - 0x10]
cmp ecx, dword [eax + 0x10]
jae 0x65a2a5
cmp dword [edi + 4], 0x7ffffff
je 0x65a56b
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 0x65a200
mov eax, dword [ebp - 0x18]
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add eax, 0x1dc
push esi
push 1
push 4
push eax
call edi
mov eax, dword [ebp - 0x18]
push esi
push 1
add eax, 0x1d4
push 4
push eax
call edi
mov eax, dword [ebp - 0x18]
push esi
push 1
add eax, 0x1f8
push 4
push eax
call edi
mov eax, dword [ebp - 0x18]
push esi
push 1
add eax, 0x1f4
push 4
push eax
call edi
mov eax, dword [ebp - 0x18]
add esp, 0x40
add eax, 0x1f0
push esi
push 1
push 4
push eax
call edi
mov eax, dword [ebp - 0x18]
push esi
push 1
add eax, 0x208
push 4
push eax
call edi
mov eax, dword [ebp - 0x18]
push esi
push 1
add eax, 0x204
push 4
push eax
call edi
mov eax, dword [ebp - 0x18]
push esi
push 1
add eax, 0x200
push 4
push eax
call edi
mov eax, dword [ebp - 0x18]
add esp, 0x40
push esi
lea ecx, [eax + 0x158]
lea edi, [eax + 0x1b8]
mov dword [ebp - 0x1c], ecx
push 1
lea eax, [edi + 0x10]
mov dword [eax], 0
push 2
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 0x65a44c
nop dword [eax]
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 0x65a3d8
movzx ecx, word [ebp - 0x14]
cmp ecx, dword [eax + 0x10]
jae 0x65a435
cmp dword [edi + 4], 0xaaaaaaa
je 0x65a56b
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 0x65a390
mov edi, dword [ebp - 0x18]
lea eax, [edi + 0x1e8]
push eax
push esi
lea ecx, [edi + 0x230]
call fcn.0064cfe0
lea eax, [edi + 0x1ec]
push eax
push esi
lea ecx, [edi + 0x248]
call fcn.0064cfe0
movss xmm1, dword [edi + 0x168]
ucomiss xmm1, dword [0x70196c]
lahf
test ah, 0x44
jnp 0x65a4d3
movaps xmm0, xmm1
mulss xmm0, dword [edi + 0x1ec]
movss dword [edi + 0x1ec], 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 + 0x1fc]
push eax
push esi
lea ecx, [edi + 0x260]
call fcn.0064cfe0
lea eax, [edi + 0x20c]
push eax
push esi
lea ecx, [edi + 0x278]
call fcn.0064cfe0
lea eax, [edi + 0x218]
push eax
push esi
lea ecx, [edi + 0x2c0]
call fcn.0064cfe0
lea eax, [edi + 0x21c]
push eax
push esi
lea ecx, [edi + 0x2d8]
call fcn.0064cfe0
lea eax, [edi + 0x210]
push eax
push esi
lea ecx, [edi + 0x290]
call fcn.0064cfe0
lea eax, [edi + 0x214]
push eax
push esi
lea ecx, [edi + 0x2a8]
call fcn.0064cfe0
lea eax, [edi + 0x220]
push eax
push esi
lea ecx, [edi + 0x2f0]
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