Function at 0x14007df5c
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 [0x14016d090]
lea rax, [0x14016d090]
cmp rcx, rax
je 0x14007dfa9
test byte [rcx + 0x1c], 1
je 0x14007dfa9
cmp byte [rcx + 0x19], 4
jb 0x14007dfa9
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014a2b8]
mov edx, 0x2a
call fcn.140004968
and qword [rsp + 0x78], 0
lea rbx, str.base_stor_blbengine_service_sppmetadatamanager.cpp
test r15, r15
jne 0x14007dfcf
lea r8, str.wszFile___NULL
mov edx, 0x263
mov rcx, rbx
call fcn.140081b60
test r14, r14
jne 0x14007dfe8
lea r8, str.pbSppBlob___NULL
mov edx, 0x264
mov rcx, rbx
call fcn.140081b60
test rsi, rsi
jne 0x14007e001
lea r8, str.dwcSppBlob___NULL
mov edx, 0x265
mov rcx, rbx
call fcn.140081b60
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 0x14007e065
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
lea rsi, [0x14016d090]
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14007e15e
lea rdx, [rsp + 0x80]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x14007e09a
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
lea rsi, [0x14016d090]
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14007e155
mov rbx, qword [rsp + 0x80]
lea rcx, [rsp + 0x78]
mov edx, ebx
mov r8d, 1
call fcn.14000f570
mov edi, eax
test eax, eax
jns 0x14007e0fc
mov rcx, qword [0x14016d090]
lea rsi, [0x14016d090]
cmp rcx, rsi
je 0x14007e0f5
test byte [rcx + 0x1c], 1
je 0x14007e0f5
cmp byte [rcx + 0x19], 2
jb 0x14007e0f5
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014a2b8]
mov edx, 0x2b
mov dword [rsp + 0x20], eax
mov r9, r15
call fcn.1400058c8
mov rbx, qword [rsp + 0x78]
jmp 0x14007e147
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 0x14007e135
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14007e140
mov eax, dword [rsp + 0x70]
mov qword [r14], rbx
xor ebx, ebx
mov dword [rsi], eax
lea rsi, [0x14016d090]
test rbx, rbx
je 0x14007e155
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jns 0x14007e196
mov rcx, qword [0x14016d090]
cmp rcx, rsi
je 0x14007e1c3
test byte [rcx + 0x1c], 1
je 0x14007e19d
cmp byte [rcx + 0x19], 2
jb 0x14007e19d
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014a2b8]
mov edx, 0x2c
mov dword [rsp + 0x20], edi
mov r9, r15
call fcn.1400058c8
mov rcx, qword [0x14016d090]
cmp rcx, rsi
je 0x14007e1c3
test byte [rcx + 0x1c], 1
je 0x14007e1c3
cmp byte [rcx + 0x19], 4
jb 0x14007e1c3
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014a2b8]
mov edx, 0x2d
call fcn.140004968
mov eax, edi
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret