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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0cc5
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4ca010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0x14
jge 0x457641
imul eax, dword [ebp - 0x14], 0xc
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + eax + 0x3cc], 0
je 0x457641
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x45761f
cmp dword [ebp - 0x14], 0x14
jl 0x45764c
jmp 0x4579d8
lea ecx, [ebp - 0x60]
call fcn.0048f2c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.0048fb40
mov byte [ebp - 4], 1
push 0x4bfb97
lea ecx, [ebp - 0x44]
call fcn.0048fc00
mov ecx, 0x45cfa60
call fcn.004113b0
push eax
lea ecx, [ebp - 0x44]
call fcn.0048fc50
push 0x4c1c10
lea ecx, [ebp - 0x44]
call fcn.0048fc50
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
call fcn.0048fc50
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea ecx, [ebp - 0x44]
call fcn.00411210
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x4576cf
jmp 0x457761
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
call fcn.00498ffa
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
push 0
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x1c]
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 - 0x20]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.004574c0
mov eax, dword [ebp + 0xc]
add eax, 0x2e8
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x20]
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 - 0x20]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00498ff5
add esp, 4
jmp 0x4577c9
lea edx, [ebp - 0x60]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x45cfa60
call fcn.004643d0
movzx ecx, al
cmp ecx, 1
je 0x45777d
jmp 0x4577c9
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x60]
call fcn.00411250
push eax
lea ecx, [ebp - 0x60]
call fcn.00455ac0
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004574c0
mov eax, dword [ebp + 0xc]
add eax, 0x2e8
push eax
lea ecx, [ebp - 0x60]
call fcn.00411250
push eax
lea ecx, [ebp - 0x60]
call fcn.00455ac0
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 [0x4c4dd8]
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 + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
add edx, 1
push edx
call fcn.00498ffa
add esp, 4
mov dword [ebp - 0x30], eax
imul eax, dword [ebp - 0x14], 0xc
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
mov dword [ecx + eax + 0x3cc], edx
mov eax, dword [ebp + 8]
push eax
imul ecx, dword [ebp - 0x14], 0xc
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx + 0x3cc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
imul ecx, dword [ebp - 0x14], 0xc
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x2e8]
mov dword [edx + ecx + 0x3d4], eax
lea ecx, [ebp - 0x60]
call fcn.00411250
test eax, eax
jbe 0x457993
lea ecx, [ebp - 0x60]
call fcn.00411250
imul ecx, dword [ebp - 0x14], 0xc
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx + 0x3d0], eax
jmp 0x4579a4
imul eax, dword [ebp - 0x14], 0xc
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov dword [ecx + eax + 0x3d0], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2e8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x2e8]
mov edx, dword [eax + 0x18]
call edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.0048fb80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.0048f300
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10