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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c06e5
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4deb90]
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.00496dd0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00497650
mov byte [ebp - 4], 1
push 0x4cffb7
lea ecx, [ebp - 0x38]
call fcn.00497710
mov ecx, 0x51ca6a0
call fcn.00411420
push eax
lea ecx, [ebp - 0x38]
call fcn.00497760
push 0x4d1ffc
lea ecx, [ebp - 0x38]
call fcn.00497760
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x38]
call fcn.00497760
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea ecx, [ebp - 0x38]
call fcn.00411240
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x45933b
jmp 0x4593cd
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.004a0b10
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.00459160
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.004a0b0b
add esp, 4
jmp 0x459435
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x51ca6a0
call fcn.00465c10
movzx ecx, al
cmp ecx, 1
je 0x4593e9
jmp 0x459435
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x54]
call fcn.00411280
push eax
lea ecx, [ebp - 0x54]
call fcn.0041fb70
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00459160
mov eax, dword [ebp + 0xc]
add eax, 0x2e8
push eax
lea ecx, [ebp - 0x54]
call fcn.00411280
push eax
lea ecx, [ebp - 0x54]
call fcn.0041fb70
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 [0x4d5d88]
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.00497690
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00496e10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10