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

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x100
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x18013e1e0]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov r13, rdx
mov rsi, rcx
mov qword [r11 - 0x60], rcx
cmp qword [rcx + 0x20], 8
jb 0x180074da0
lea rdi, [rcx + 8]
mov rcx, qword [rdi]
jmp 0x180074da7
lea rdi, [rcx + 8]
mov rcx, rdi
test rcx, rcx
je 0x1800750f7
xor edx, edx
call fcn.1800c6e3c
test eax, eax
jne 0x1800750f7
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0xc0], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0xb8], rbx
mov byte [rsp + 0xa8], bl
cmp qword [rsi + 0x20], 8
jb 0x180074ded
mov rcx, qword [rdi]
jmp 0x180074df0
mov rcx, rdi
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x180074e74
cmp qword [rsp + 0xc0], 0x10
jb 0x180074e33
mov rcx, qword [rsp + 0xa8]
call fcn.1800bf8b4
mov qword [rsp + 0xc0], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0xb8], rbx
mov byte [rsp + 0xa8], 0
cmp qword [rsi + 0x20], 8
jb 0x180074e5e
mov rcx, qword [rdi]
call fcn.1800bf8b4
mov qword [rsi + 0x20], 7
mov qword [rsi + 0x18], rbx
mov word [rdi], bx
xor eax, eax
jmp 0x18007512f
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r14d, eax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
jne 0x180074ee9
cmp qword [rsp + 0xc0], 0x10
jb 0x180074ea8
mov rcx, qword [rsp + 0xa8]
call fcn.1800bf8b4
mov qword [rsp + 0xc0], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0xb8], rbx
mov byte [rsp + 0xa8], 0
cmp qword [rsi + 0x20], 8
jb 0x180074ed3
mov rcx, qword [rdi]
call fcn.1800bf8b4
mov qword [rsi + 0x20], 7
mov qword [rsi + 0x18], rbx
mov word [rdi], bx
xor eax, eax
jmp 0x18007512f
cmp qword [rsi + 0x20], 8
jb 0x180074ef3
mov rdi, qword [rdi]
lea rdx, [0x1801096a0]
mov rcx, rdi
call fcn.1800bfb3c
mov r12, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x180074f52
cmp qword [rsp + 0xc0], 0x10
jb 0x180074f27
mov rcx, qword [rsp + 0xa8]
call fcn.1800bf8b4
mov qword [rsp + 0xc0], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0xb8], rbx
mov byte [rsp + 0xa8], 0
mov rcx, rsi
call fcn.180062430
xor eax, eax
jmp 0x18007512f
lea eax, [r14 + 1]
mov edi, eax
mov ecx, eax
call fcn.1800c171c
mov r15, rax
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1800c31a0
mov rdx, r14
mov r9, r12
mov r8d, 1
mov rcx, r15
call fcn.1800bff68
mov rcx, r12
call fcn.1800bfbd4
mov qword [rsp + reloc.OLEAUT32.dll_SafeArrayDestroy0], 0xf
mov qword [rsp + 0xe8], rbx
mov byte [rsp + 0xd8], 0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r15
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r15
lea rcx, [rsp + 0xd0]
call fcn.180003710
nop
mov qword [rsp + 0x70], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x58], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x50]
call fcn.180003b20
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.180077740
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
mov rcx, r13
call fcn.180003570
nop
cmp qword [rsp + 0x98], 8
jb 0x180075031
mov rcx, qword [rsp + 0x80]
call fcn.1800bf8b4
mov rcx, r15
call fcn.1800c17d4
nop
cmp qword [rsp + 0xf0], 0x10
jb 0x180075052
mov rcx, qword [rsp + 0xd8]
call fcn.1800bf8b4
mov qword [rsp + reloc.OLEAUT32.dll_SafeArrayDestroy0], 0xf
mov qword [rsp + 0xe8], rbx
mov byte [rsp + 0xd8], 0
cmp qword [rsp + 0xc0], 0x10
jb 0x180075086
mov rcx, qword [rsp + 0xa8]
call fcn.1800bf8b4
mov qword [rsp + 0xc0], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0xb8], rbx
mov byte [rsp + 0xa8], 0
mov rcx, rsi
call fcn.180062430
mov eax, 1
jmp 0x18007512f
mov r8d, 7
lea rdx, str.no_file
mov rcx, r13
call fcn.180014810
nop
cmp qword [rsi + 0x20], 8
jb 0x18007511c
mov rcx, qword [rdi]
call fcn.1800bf8b4
mov qword [rsi + 0x20], 7
xor ebx, ebx
mov qword [rsi + 0x18], rbx
mov word [rdi], bx
xor eax, eax
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1800bf8d0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret