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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a70c0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4bc1f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x28]
call fcn.00480070
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.004811d0
mov byte [ebp - 4], 1
push 0x4b0d72
lea ecx, [ebp - 0x44]
call fcn.00481590
mov ecx, 0x4c5778
call fcn.00409580
push eax
lea ecx, [ebp - 0x44]
call fcn.00481650
push 0x4b54e0
lea ecx, [ebp - 0x44]
call fcn.00481650
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
call fcn.00481650
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea ecx, [ebp - 0x44]
call fcn.00429040
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffff
jne 0x40af2b
jmp 0x40afbf
push 0
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.kernel32.dll_GetFileSize]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0048432d
add esp, 4
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], eax
push 0
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.kernel32.dll_ReadFile]
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x54]
call fcn.0040ad50
mov eax, dword [ebp + 0xc]
add eax, 0x2e8
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0xc]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x28]
call eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
push edx
call fcn.00483f7e
add esp, 4
jmp 0x40b028
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x4c5778
call fcn.004083d0
movzx edx, al
cmp edx, 1
je 0x40afdb
jmp 0x40b028
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x28]
call fcn.00451630
push eax
lea ecx, [ebp - 0x28]
call fcn.00409560
push eax
mov ecx, dword [ebp - 0x54]
call fcn.0040ad50
mov ecx, dword [ebp + 0xc]
add ecx, 0x2e8
push ecx
lea ecx, [ebp - 0x28]
call fcn.00451630
push eax
lea ecx, [ebp - 0x28]
call fcn.00409560
push eax
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx + 0xc]
mov edx, dword [eax]
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 ecx, dword [eax + 0x2e8]
mov edx, dword [edx]
mov eax, dword [edx + 0x34]
call eax
push ecx
fldz
fstp dword [esp]
push ecx
fldz
fstp dword [esp]
push ecx
fld dword [ebp + 0x10]
fstp dword [esp]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x2e8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2e8]
mov edx, dword [edx]
mov eax, dword [edx + 0x5c]
call eax
push ecx
fldz
fstp dword [esp]
push ecx
fldz
fstp dword [esp]
push ecx
fldz
fstp dword [esp]
push ecx
fldz
fstp dword [esp]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x2e8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2e8]
mov edx, dword [edx]
mov eax, dword [edx + 0x54]
call eax
mov ecx, dword [ebp + 0xc]
fldz
fstp dword [ecx + 0x2ec]
mov edx, dword [ebp + 0xc]
fldz
fstp dword [edx + 0x2f0]
mov eax, dword [ebp + 0xc]
fldz
fstp dword [eax + 0x2f4]
mov ecx, dword [ebp + 0xc]
fldz
fstp dword [ecx + 0x2f8]
mov edx, dword [ebp + 0xc]
fldz
fstp dword [edx + 0x2fc]
push ecx
fld1
fstp dword [esp]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2e8]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x2e8]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x110]
call eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x2e8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2e8]
mov edx, dword [edx]
mov eax, dword [edx + 0x104]
call eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x2e8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2e8]
mov edx, dword [edx]
mov eax, dword [edx + 0x18]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00481220
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004803d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10