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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rsi, r8
mov r14, rdx
mov r15, rcx
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x14007e47d
test byte [rcx + 0x1c], 1
je 0x14007e47d
cmp byte [rcx + 0x19], 4
jb 0x14007e47d
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b288]
mov edx, 0x2a
call fcn.1400049d8
and qword [rsp + 0x78], 0
lea rbx, str.base_stor_blbengine_service_sppmetadatamanager.cpp
test r15, r15
jne 0x14007e4a3
lea r8, str.wszFile___NULL
mov edx, 0x263
mov rcx, rbx
call fcn.140082070
test r14, r14
jne 0x14007e4bc
lea r8, str.pbSppBlob___NULL
mov edx, 0x264
mov rcx, rbx
call fcn.140082070
test rsi, rsi
jne 0x14007e4d5
lea r8, str.dwcSppBlob___NULL
mov edx, 0x265
mov rcx, rbx
call fcn.140082070
and qword [rsp + 0x30], 0
xor r9d, r9d
and qword [r14], 0
mov edx, 0x80000000
and dword [rsi], 0
mov rcx, r15
and qword [rsp + 0x80], 0
lea r8d, [r9 + 1]
mov dword [rsp + 0x28], 0x2000080
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x14007e539
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
lea rsi, [0x14016f048]
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14007e632
lea rdx, [rsp + 0x80]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x14007e56e
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
lea rsi, [0x14016f048]
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14007e629
mov rbx, qword [rsp + 0x80]
lea rcx, [rsp + 0x78]
mov edx, ebx
mov r8d, 1
call fcn.14000f99c
mov edi, eax
test eax, eax
jns 0x14007e5d0
mov rcx, qword [0x14016f048]
lea rsi, [0x14016f048]
cmp rcx, rsi
je 0x14007e5c9
test byte [rcx + 0x1c], 1
je 0x14007e5c9
cmp byte [rcx + 0x19], 2
jb 0x14007e5c9
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b288]
mov edx, 0x2b
mov dword [rsp + 0x20], eax
mov r9, r15
call fcn.140005938
mov rbx, qword [rsp + 0x78]
jmp 0x14007e61b
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x70]
mov r8d, ebx
mov rcx, rbp
mov rbx, qword [rsp + 0x78]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14007e609
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14007e614
mov eax, dword [rsp + 0x70]
mov qword [r14], rbx
xor ebx, ebx
mov dword [rsi], eax
lea rsi, [0x14016f048]
test rbx, rbx
je 0x14007e629
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jns 0x14007e66a
mov rcx, qword [0x14016f048]
cmp rcx, rsi
je 0x14007e697
test byte [rcx + 0x1c], 1
je 0x14007e671
cmp byte [rcx + 0x19], 2
jb 0x14007e671
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b288]
mov edx, 0x2c
mov dword [rsp + 0x20], edi
mov r9, r15
call fcn.140005938
mov rcx, qword [0x14016f048]
cmp rcx, rsi
je 0x14007e697
test byte [rcx + 0x1c], 1
je 0x14007e697
cmp byte [rcx + 0x19], 4
jb 0x14007e697
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b288]
mov edx, 0x2d
call fcn.1400049d8
mov eax, edi
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret