Function at 0x14007efc0
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
push r13
push r14
push r15
sub rsp, 0x200
mov qword [r11 - 0x68], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r12
mov rax, qword [0x14015d3e0]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov rbx, rcx
mov qword [rsp + 0x120], rcx
lea r15, str.base_stor_vssmodulescoord_srchwwrpdb.cxx
mov qword [rsp + 0x60], r15
lea r12, str.CVssHardwareProviderWrapper::LoadData
mov qword [rsp + 0x68], r12
lea r13, str.CORHWDBC
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x1e8
mov dword [rsp + 0x7c], 1
mov r14d, 0xff
mov dword [r11 - 0x198], r14d
xor edi, edi
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rdi + 0x78]
lea rcx, [r11 - 0x190]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.1400bec34
nop
mov rcx, rbx
call fcn.14007fb6c
lea rcx, [0x1400f6268]
mov qword [rsp + 0x128], rcx
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x58]
lea r8d, [rdi + 0xc]
lea rdx, [rsp + 0x1e0]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
jne 0x14007f146
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14007f0db
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x148], eax
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x1f4
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], r14d
mov dword [rsp + 0x100], 0x1000000
mov ebx, 0x78
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea r8, [0x14011a178]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.140027ed8
jmp 0x14007f14b
mov ebx, 0x78
cmp dword [rsp + 0x1e0], 0x9d4feff5
jne 0x14007f60e
cmp dword [rsp + 0x1e4], 1
jne 0x14007f60e
mov eax, dword [rsp + 0x1e8]
mov dword [rsp + 0x40], eax
jmp 0x14007f17d
mov r14d, 0xff
mov eax, dword [rsp + 0x40]
dec dword [rsp + 0x40]
test eax, eax
je 0x14007f5c4
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x58]
mov r8d, 0x14
lea rdx, [rsp + 0x1c8]
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
jne 0x14007f23a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14007f1d5
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x148], eax
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x210
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], r14d
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea r8, [0x14011a178]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.140027ed8
mov ecx, dword [rsp + 0x1c8]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
lea rdx, [0x1400fb65a]
mov rcx, rax
call fcn.1400169cc
mov r14, rax
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x14007f2d8
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x21c
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rax + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea r9, str.Cant_allocate_XML_string
mov r8d, 0x8007000e
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.1400c2090
nop
lea rdx, [0x1400fb65a]
mov ecx, 0x20
call fcn.140016988
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14007f2fc
mov qword [rax + 0x18], rdi
jmp 0x14007f2ff
mov rbx, rdi
mov qword [rsp + 0x50], rbx
test rbx, rbx
jne 0x14007f370
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x223
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rbx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea r9, str.Cant_allocate_snapshot_set_description
mov r8d, 0x8007000e
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.1400c2090
mov r8d, dword [rsp + 0x1c8]
add r8d, r8d
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x58]
mov rdx, r14
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
jne 0x14007f424
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14007f3bc
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x148], eax
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x229
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea r8, [0x14011a178]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.140027ed8
movups xmm0, xmmword [0x1400fb8a0]
movdqu xmmword [rsp + 0x110], xmm0
lea rdx, [rbx + 0x18]
lea r8, [rsp + 0x110]
mov rcx, r14
call qword [sym.imp.VSSAPI.DLL_LoadVssSnapshotSetDescription]
nop dword [rax + rax]
mov dword [rsp + 0x148], eax
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x230
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea r8, [0x140108720]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.140031318
mov rcx, qword [rbx + 0x18]
mov rax, qword [rcx]
lea rdx, [rbx + 8]
mov rax, qword [rax + 0x28]
call qword [0x1400f7e80]
mov dword [rsp + 0x148], eax
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x234
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea r8, str.IVssSnapshotSetDescription::GetSnapshotSetId
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.140031318
mov rcx, qword [rsp + 0x120]
mov rax, qword [rcx + 0xb0]
mov qword [rbx], rax
mov qword [rcx + 0xb0], rbx
mov rcx, r14
call fcn.140015ff8
nop
jmp 0x14007f57f
cmp dword [rsp + 0x148], edi
jge 0x14007f177
mov rcx, r14
call fcn.140015ff8
test rbx, rbx
je 0x14007f5a1
mov rcx, rbx
call fcn.1400697f8
mov eax, dword [rsp + 0x148]
mov dword [rsp + 0x108], eax
lea rdx, [0x140159b90]
lea rcx, [rsp + 0x108]
call sub.msvcrt.dll__CxxThrowException
nop
lea rcx, [rsp + 0x128]
call fcn.14002e56c
nop
lea rcx, [rsp + 0x140]
call fcn.140009990
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.1400164a0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x1fd
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], r14d
mov dword [rsp + 0x100], 0x1000000
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
mov r9d, 1
lea r8, [rsp + 0x60]
mov edx, 0x3012
lea rcx, [rsp + 0x140]
call fcn.1400c09a4
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], 0x200
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], r14d
mov dword [rsp + 0x100], 0x1000000
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea r9, str.Contents_of_the_hardware_snapshot_set_database_are_invalid
mov r8d, 0x80042302
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.1400c2090
int3