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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1800c5470]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rax, rdx
mov rdi, rcx
xor r13d, r13d
mov r12d, r13d
mov qword [rbp - 0x31], r13
mov qword [rbp - 0x29], r13
mov qword [rbp - 0x21], r13
mov esi, r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x1800418cc
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r14d, eax
lea eax, [r14 - 1]
cmp eax, 0x3ffffe
ja 0x18004178d
mov edx, r14d
lea rcx, [rbp - 0x31]
call fcn.18000d19c
mov dword [rbp - 0x39], r13d
mov rax, qword [rbp - 0x29]
mov rdx, qword [rbp - 0x31]
sub rax, rdx
cmp rax, r14
jne 0x18004178d
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x39]
mov r8d, r14d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18004178d
cmp dword [rbp - 0x39], r14d
lea r14d, [r13 + 1]
cmove esi, r14d
jmp 0x180041793
mov r14d, 1
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x1800418cc
mov ebx, dword [rbp - 0x29]
mov rcx, qword [rbp - 0x31]
sub ebx, ecx
cmp ebx, 0x54
jb 0x1800418cc
xor eax, eax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
movups xmm0, xmmword [rcx]
movups xmmword [rdi], xmm0
movsd xmm1, qword [rcx + 0x10]
movsd qword [rdi + 0x10], xmm1
lea edx, [rbx - 0x18]
add rcx, 0x18
lea r8, [rbp + 7]
call fcn.180066050
mov rax, qword [rbp + 7]
cmp rax, qword [rdi + 8]
jne 0x1800418cc
mov rax, qword [rbp + 0xf]
cmp rax, qword [rdi + 0x10]
jne 0x1800418cc
mov r8, qword [rbp - 0x31]
movups xmm0, xmmword [r8 + 0x18]
movups xmmword [rdi + 0x18], xmm0
movups xmm1, xmmword [r8 + 0x28]
movups xmmword [rdi + 0x28], xmm1
movsd xmm0, qword [r8 + 0x38]
movsd qword [rdi + 0x38], xmm0
lea ecx, [rbx - 0x40]
movabs rax, 0xcccccccccccccccd
mul rcx
shr rdx, 4
test edx, edx
je 0x18004188d
mov rbx, r13
mov r14d, edx
mov r13d, 1
movups xmm0, xmmword [rbx + r8 + 0x40]
movups xmmword [rbp - 0x19], xmm0
mov eax, dword [rbx + r8 + 0x50]
mov dword [rbp - 9], eax
mov rdx, qword [rdi + 0x48]
cmp qword [rdi + 0x50], rdx
je 0x18004186a
movups xmmword [rdx], xmm0
mov dword [rdx + 0x10], eax
add qword [rdi + 0x48], 0x14
jmp 0x180041877
lea r8, [rbp - 0x19]
lea rcx, [rdi + 0x40]
call fcn.180041e54
add rbx, 0x14
sub r14, r13
je 0x180041886
mov r8, qword [rbp - 0x31]
jmp 0x180041841
xor r13d, r13d
lea r14d, [r13 + 1]
mov r12d, r14d
lea rcx, [rbp + 7]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [rbp + 7]
cmp dword [rdi + 0x18], ecx
jne 0x1800418b5
movzx eax, word [rbp + 9]
cmp dword [rdi + 0x1c], eax
jne 0x1800418b5
movzx eax, word [rbp + 0xd]
cmp dword [rdi + 0x20], eax
je 0x1800418db
mov dword [rdi + 0x28], r13d
mov dword [rdi + 0x18], ecx
movzx eax, word [rbp + 9]
mov dword [rdi + 0x1c], eax
movzx eax, word [rbp + 0xd]
mov dword [rdi + 0x20], eax
jmp 0x1800418db
xor edx, edx
lea r8d, [rdx + 0x40]
mov rcx, rdi
call sub.msvcrt.dll_memset
nop
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x18004191d
mov rdx, qword [rbp - 0x21]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004190c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180041947
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r13
mov eax, r12d
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1800782d0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180070720
int3