Function at 0x4598b0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5475
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4d0b90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x54]
call fcn.00493a30
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004942b0
mov byte [ebp - 4], 1
push 0x4c3b47
lea ecx, [ebp - 0x38]
call fcn.00494370
mov ecx, 0x489f1d0
call fcn.00411390
push eax
lea ecx, [ebp - 0x38]
call fcn.004943c0
push 0x4c5cf8
lea ecx, [ebp - 0x38]
call fcn.004943c0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x38]
call fcn.004943c0
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea ecx, [ebp - 0x38]
call fcn.00411210
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x45995b
jmp 0x4599ed
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
call fcn.0049d760
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
push 0
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00459780
mov eax, dword [ebp + 0xc]
add eax, 0x2e8
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov ecx, dword [edx + 0xc]
mov edx, dword [eax + 0x28]
call edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.0049d75b
add esp, 4
jmp 0x459a55
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x489f1d0
call fcn.00466260
movzx ecx, al
cmp ecx, 1
je 0x459a09
jmp 0x459a55
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x54]
call fcn.00411250
push eax
lea ecx, [ebp - 0x54]
call fcn.00457d70
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00459780
mov eax, dword [ebp + 0xc]
add eax, 0x2e8
push eax
lea ecx, [ebp - 0x54]
call fcn.00411250
push eax
lea ecx, [ebp - 0x54]
call fcn.00457d70
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
mov edx, dword [edx]
mov ecx, dword [eax + 0xc]
mov eax, dword [edx + 0x28]
call eax
push 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x2e8]
mov eax, dword [ebp + 0xc]
mov edx, dword [edx]
mov ecx, dword [eax + 0x2e8]
mov eax, dword [edx + 0x34]
call eax
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp + 0x10]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x2e8]
mov eax, dword [ebp + 0xc]
mov edx, dword [edx]
mov ecx, dword [eax + 0x2e8]
mov eax, dword [edx + 0x64]
call eax
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x2e8]
mov eax, dword [ebp + 0xc]
mov edx, dword [edx]
mov ecx, dword [eax + 0x2e8]
mov eax, dword [edx + 0x5c]
call eax
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
movss dword [eax + edx + 0x2ec], xmm0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 0xc]
xorps xmm0, xmm0
movss dword [edx + ecx + 0x2ec], xmm0
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
movss dword [ecx + eax + 0x2ec], xmm0
mov edx, 4
imul eax, edx, 3
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
movss dword [ecx + eax + 0x2ec], xmm0
mov edx, 4
shl edx, 2
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
movss dword [eax + edx + 0x2ec], xmm0
push ecx
movss xmm0, dword [0x4c8fcc]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x2e8]
mov eax, dword [ebp + 0xc]
mov edx, dword [edx]
mov ecx, dword [eax + 0x2e8]
mov eax, dword [edx + 0x118]
call eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x2e8]
mov eax, dword [ebp + 0xc]
mov edx, dword [edx]
mov ecx, dword [eax + 0x2e8]
mov eax, dword [edx + 0x10c]
call eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x2e8]
mov eax, dword [ebp + 0xc]
mov edx, dword [edx]
mov ecx, dword [eax + 0x2e8]
mov eax, dword [edx + 0x18]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004942f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00493a70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10