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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2cb5
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4ceb90]
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.004912c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00491b40
mov byte [ebp - 4], 1
push 0x4c1b33
lea ecx, [ebp - 0x38]
call fcn.00491c00
mov ecx, 0x47c64f8
call fcn.004113b0
push eax
lea ecx, [ebp - 0x38]
call fcn.00491c50
push 0x4c3c9c
lea ecx, [ebp - 0x38]
call fcn.00491c50
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x38]
call fcn.00491c50
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 0x4585cb
jmp 0x45865d
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.0049b000
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.004583f0
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.0049affb
add esp, 4
jmp 0x4586c5
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x47c64f8
call fcn.00465080
movzx ecx, al
cmp ecx, 1
je 0x458679
jmp 0x4586c5
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x54]
call fcn.00411250
push eax
lea ecx, [ebp - 0x54]
call fcn.004569e0
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004583f0
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.004569e0
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 [0x4c6e58]
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.00491b80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00491300
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10