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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor r14d, r14d
mov rbx, r8
mov qword [rdx], r14
mov r15, rdx
mov qword [rax - 0x38], r14
xor r9d, r9d
mov qword [r8], r14
mov edx, 0x80000000
mov dword [rax - 0x40], 0x80
lea r8d, [r14 + 1]
mov r12, rcx
mov dword [rax - 0x48], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x14013cf36
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14017a048]
lea rsi, [0x14017a048]
cmp rcx, rsi
je 0x14013cf20
test byte [rcx + 0x1c], 1
je 0x14013cf20
cmp byte [rcx + 0x19], 2
jb 0x14013cf20
mov rcx, qword [rcx + 0x10]
lea edx, [r14 + 0xa]
mov r9, r12
mov dword [rsp + 0x20], eax
lea r8, [0x140169f78]
call fcn.14003d060
mov rcx, qword [0x14017a048]
test ebx, ebx
jle 0x14013d0fd
movzx ebx, bx
or ebx, 0x80070000
jmp 0x14013d0fb
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
nop dword [rax + rax]
lea rsi, [0x14017a048]
test eax, eax
jne 0x14013cfab
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x14013cf95
test byte [rcx + 0x1c], 1
je 0x14013cf95
cmp byte [rcx + 0x19], 2
jb 0x14013cf95
mov rcx, qword [rcx + 0x10]
lea r8, [0x140169f78]
mov edx, 0xb
mov dword [rsp + 0x20], eax
mov r9, r12
call fcn.14003d060
test ebx, ebx
jle 0x14013d0e5
movzx ebx, bx
or ebx, 0x80070000
jmp 0x14013d0e5
cmp dword [rbx + 4], r14d
je 0x14013cfbb
mov ebx, 0x80780028
jmp 0x14013d0e5
mov edi, dword [rbx]
test dil, 1
jne 0x14013cfb1
lea eax, [rdi + 2]
cmp eax, edi
jb 0x14013d0a8
mov ecx, eax
mov ebx, r14d
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov r14, rax
xor eax, eax
test r14, r14
jne 0x14013cff3
mov ebx, 0x8007000e
jmp 0x14013d0e5
lea r9, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r8d, edi
mov rdx, r14
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [rax + rax]
xor ecx, ecx
test eax, eax
jne 0x14013d078
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x14013d05a
test byte [rcx + 0x1c], 1
je 0x14013d05a
cmp byte [rcx + 0x19], 2
jb 0x14013d05a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140169f78]
mov edx, 0xd
mov dword [rsp + 0x20], eax
mov r9, r12
call fcn.14003d060
test ebx, ebx
jle 0x14013d067
movzx ebx, bx
or ebx, 0x80070000
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x14013d0e5
cmp dword [rsp + 0x78], edi
je 0x14013d098
lea r8, [0x140169ed8]
mov edx, 0x8d
lea rcx, str.base_stor_blbwsbutilwsbfsutils.cpp
call fcn.14008ac24
xor ecx, ecx
mov rax, rdi
mov qword [r15], r14
shr rax, 1
mov word [r14 + rax*2], cx
jmp 0x14013d0e5
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x14013d0e0
test byte [rcx + 0x1c], 1
je 0x14013d0e0
cmp byte [rcx + 0x19], 2
jb 0x14013d0e0
mov rcx, qword [rcx + 0x10]
lea r8, [0x140169f78]
mov edx, 0xc
mov dword [rsp + 0x20], 2
mov r9d, edi
call fcn.14003c7a4
mov ebx, 0x80070216
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
test ebx, ebx
jns 0x14013d12c
cmp rcx, rsi
je 0x14013d12c
test byte [rcx + 0x1c], 1
je 0x14013d12c
cmp byte [rcx + 0x19], 2
jb 0x14013d12c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140169f78]
mov edx, 0xe
mov dword [rsp + 0x20], ebx
mov r9, r12
call fcn.140011330
lea r11, [rsp + 0x40]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret