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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x180208090]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rbx, rdx
mov rdi, rcx
xor r12d, r12d
mov byte [rcx + 0x10], r12b
mov rax, qword [rcx]
call qword [rax]
mov qword [rbp - 0x10], r12
lea rcx, [rbp - 0x10]
call fcn.1800038c0
nop
lea ecx, [r12 + 8]
call fcn.1800d8074
mov qword [rsp + 0x30], rax
mov qword [rax], 0xffffffffffffffff
mov qword [rbp - 0x10], rax
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r9d, [r12 + 1]
mov r8d, 0x80000000
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.1800a1d10
test al, al
jne 0x1800bb182
lea rcx, [rbp]
call fcn.1800bbb00
nop
cmp qword [rdi + 8], r12
je 0x1800bb179
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rdx, [rbp]
lea rcx, [rsp + 0x48]
call fcn.1800096b0
nop
mov rcx, qword [rdi + 8]
mov r9, qword [rcx]
mov r8, rax
xor edx, edx
call qword [r9 + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp]
jmp 0x1800bb399
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x1800bb35c
mov rcx, qword [rax]
cmp rcx, 0xffffffffffffffff
je 0x1800bb35c
lea rdx, [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1800bb1bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1800bb35c
mov esi, dword [rbp - 8]
shl rsi, 0x20
add rsi, rbx
je 0x1800bb35c
mov r15b, 1
mov dword [rbp - 0x18], r12d
mov rbx, r12
mov ecx, 0x10000
call fcn.1800d85d0
mov r14, rax
movsd xmm6, qword [0x1801a4a68]
nop word [rax + rax]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1800bb308
test r14, r14
je 0x1800bb2e5
cmp qword [rcx], 0xffffffffffffffff
je 0x1800bb2e5
mov dword [rbp - 0x18], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x18]
mov r8d, 0x10000
mov rdx, r14
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800bb2e1
movzx eax, byte [rdi + 0x10]
test al, al
jne 0x1800bb29b
mov r8d, dword [rbp - 0x18]
test r8d, r8d
je 0x1800bb2e1
mov rax, qword [rdi]
mov rdx, r14
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbp - 0x18]
add rbx, rax
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1800bb292
mov rax, qword [rcx]
xorps xmm1, xmm1
cvtsi2sd xmm1, rbx
test rbx, rbx
jns 0x1800bb27b
addsd xmm1, xmm6
xorps xmm0, xmm0
cvtsi2sd xmm0, rsi
test rsi, rsi
jns 0x1800bb28c
addsd xmm0, xmm6
divsd xmm1, xmm0
call qword [rax]
mov dword [rbp - 0x18], r12d
jmp 0x1800bb1f0
lea rcx, [rbp + 0x20]
call fcn.180003c60
nop
cmp qword [rdi + 8], 0
je 0x1800bb2d5
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x68]
call fcn.1800096b0
nop
mov rcx, qword [rdi + 8]
mov r9, qword [rcx]
mov r8, rax
xor edx, edx
call qword [r9 + reloc.OLEAUT32.dll_VariantClear]
xor r15b, r15b
lea rcx, [rbp + 0x20]
call fcn.180003b80
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1800bb308
mov rcx, qword [rcx]
cmp rcx, 0xffffffffffffffff
je 0x1800bb308
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1800bb308
mov rax, qword [rbp - 0x10]
mov qword [rax], 0xffffffffffffffff
mov rcx, r14
call fcn.1800d80b0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
lea rcx, [rbp - 0x58]
call fcn.180003c60
nop
cmp qword [rdi + 8], 0
je 0x1800bb351
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x30], rcx
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.1800096b0
nop
mov rcx, qword [rdi + 8]
mov r9, qword [rcx]
mov r8, rax
mov dl, 1
call qword [r9 + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp - 0x58]
call fcn.180003b80
jmp 0x1800bb3a1
lea rcx, [rbp + 0x40]
call fcn.180003c60
nop
cmp qword [rdi + 8], 0
je 0x1800bb395
lea rax, [rbp - 0x38]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x38]
call fcn.1800096b0
nop
mov rcx, qword [rdi + 8]
mov r9, qword [rcx]
mov r8, rax
xor edx, edx
call qword [r9 + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp + 0x40]
call fcn.180003b80
xor r15b, r15b
mov rbx, qword [rbp - 0x10]
test rbx, rbx
je 0x1800bb3d1
mov rcx, qword [rbx]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1800bb3c0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r12
mov edx, 8
mov rcx, rbx
call fcn.1800d80b0
mov qword [rbp - 0x10], r12
lea rcx, [rbp - 0x10]
call fcn.180003800
movzx eax, r15b
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1800d8050
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret