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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569573
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x5c3484]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov ecx, dword [ebp + 0xc]
push esi
push 0x80
push 3
push esi
push 1
push 0x81
push eax
mov dword [ebp - 0x64], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x60], edi
cmp edi, 0xffffffff
je 0x48800e
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], vtable.std::_Func_impl_no_alloc_class__lambda_d2e97494e408a74d76c6dde28a0d3861___void___.0
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], esi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x38], esi
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 1
call fcn.004898c0
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x487ec2
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x90]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x6c], esi
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 2
push eax
xorps xmm0, xmm0
push edi
movlpd qword [ebp - 0x34], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov esi, eax
test esi, esi
jne 0x487eee
mov dword [ebp - 4], 3
jmp 0x487fea
cmp dword [ebp - 0x30], 0
jle 0x487f00
mov dword [ebp - 4], 4
jmp 0x487fea
mov edi, dword [ebp - 0x34]
test edi, edi
jne 0x487f13
mov dword [ebp - 4], 5
jmp 0x487fea
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push 0
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.00432cc0
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x14]
push 0
push ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x14], 0
cmovae eax, dword [ebp - 0x2c]
push edi
push eax
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x487fd9
cmp edi, dword [ebp - 0x14]
jne 0x487fd9
mov eax, dword [ebp - 0x64]
mov esi, 1
movups xmm1, xmmword [ebp - 0x2c]
mov byte [ebp - 4], 2
movq xmm2, qword [ebp - 0x1c]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov edx, dword [ebp - 0x18]
movups xmmword [eax], xmm1
movq qword [eax + 0x10], xmm2
cmp edx, 0x10
jb 0x487fbe
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x487fb4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48802d
push edx
push ecx
call fcn.0045f7ba
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 8
jmp 0x487fea
lea ecx, [ebp - 0x2c]
xor esi, esi
call fcn.0040f580
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x48800e
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x48800e
mov edx, dword [ecx]
lea eax, [ebp - 0x5c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045fbca
mov esp, ebp
pop ebp
ret 8
call fcn.004cad68
int3