Function at 0x14008cd64
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], rsi
mov qword [r11 + 0x20], rdi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov rbx, rcx
mov qword [rsp + 0x120], rcx
lea rdi, str.base_stor_vssmodulescoord_srchwwrpdb.cxx
mov qword [rsp + 0x60], rdi
lea rsi, str.CVssHardwareProviderWrapper::LoadData
mov qword [rsp + 0x68], rsi
lea rax, str.CORHWDBC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x1f3
mov dword [rsp + 0x7c], 1
mov r15d, 0xff
mov dword [r11 - 0x198], r15d
xor r14d, r14d
mov dword [rsp + 0x100], 0x1000000
lea r13d, [r14 + 0x78]
mov r8d, r13d
xor edx, edx
lea rcx, [r11 - 0x190]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.140010990
nop
mov rcx, rbx
call fcn.14008d8f0
lea rcx, [0x1400f2cd0]
mov qword [rsp + 0x128], rcx
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x58]
lea r8d, [r14 + 0xc]
lea rdx, [rsp + 0x1e0]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_ReadFile]
test eax, eax
jne 0x14008cee0
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x14008ce73
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x148], eax
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rsi
lea rbx, str.CORHWDBC
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x78], 0x1ff
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], r15d
mov dword [rsp + 0x100], 0x1000000
mov r8, r13
xor edx, edx
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea r8, [0x1401101e0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.14000f7d0
jmp 0x14008cee7
lea rbx, str.CORHWDBC
cmp dword [rsp + 0x1e0], 0x9d4feff5
jne 0x14008d37f
cmp dword [rsp + 0x1e4], 1
jne 0x14008d37f
mov eax, dword [rsp + 0x1e8]
mov dword [rsp + 0x48], eax
jmp 0x14008cf1f
mov r15d, 0xff
mov r13d, 0x78
mov eax, dword [rsp + 0x48]
dec dword [rsp + 0x48]
test eax, eax
je 0x14008d35f
mov qword [rsp + 0x20], r14
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_2_1.dll_ReadFile]
test eax, eax
jne 0x14008cfcf
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x14008cf6b
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x148], eax
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x78], 0x21b
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], r15d
mov dword [rsp + 0x100], 0x1000000
mov r8, r13
xor edx, edx
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll_memset
lea r8, [0x1401101e0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.14000f7d0
mov ecx, dword [rsp + 0x1c8]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
lea rdx, [0x14015a53c]
mov rcx, rax
call fcn.14003083c
mov r13, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14008d06a
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x78], 0x227
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], r15d
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.1400ce7c0
nop
lea rdx, [0x14015a53c]
mov ecx, 0x20
call fcn.1400307f4
mov r15, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14008d08e
mov qword [rax + 0x18], r14
jmp 0x14008d091
mov r15, r14
mov qword [rsp + 0x50], r15
test r15, r15
jne 0x14008d102
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x78], 0x22e
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], 0xff
mov dword [rsp + 0x100], 0x1000000
xor edx, edx
lea r8d, [r15 + 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.1400ce7c0
mov r8d, dword [rsp + 0x1c8]
add r8d, r8d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x58]
mov rdx, r13
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_ReadFile]
test eax, eax
jne 0x14008d1a6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x14008d13e
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x148], eax
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rbx
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, [0x1401101e0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.14000f7d0
movups xmm0, xmmword [0x1400f35b8]
movdqu xmmword [rsp + 0x110], xmm0
lea rdx, [r15 + 0x18]
lea r8, [rsp + 0x110]
mov rcx, r13
call qword [sym.imp.VSSAPI.DLL_long_int___cdecl_LoadVssSnapshotSetDescription_unsigned_short_int_const____ptr64__class_IVssSnapshotSetDescription____ptr64____ptr64__struct__GUID_]
mov dword [rsp + 0x148], eax
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x78], 0x23b
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.LoadVssSnapshotSetDescription
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.140010880
mov rsi, qword [r15 + 0x18]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x28]
mov rcx, rdi
call qword [fcn.140031010]
lea rdx, [r15 + 8]
mov rcx, rsi
call rdi
mov dword [rsp + 0x148], eax
lea rdi, str.base_stor_vssmodulescoord_srchwwrpdb.cxx
mov qword [rsp + 0x60], rdi
lea rsi, str.CVssHardwareProviderWrapper::LoadData
mov qword [rsp + 0x68], rsi
lea rbx, str.CORHWDBC
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x78], 0x23f
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.140010880
mov rcx, qword [rsp + 0x120]
mov rax, qword [rcx + 0xb0]
mov qword [r15], rax
mov qword [rcx + 0xb0], r15
mov rcx, r13
call fcn.140030134
nop
jmp 0x14008d319
cmp dword [rsp + 0x148], r14d
jge 0x14008cf13
mov rcx, r13
call fcn.140030134
test r15, r15
je 0x14008d33c
mov rcx, r15
call fcn.1400775d0
mov eax, dword [rsp + 0x148]
mov dword [rsp + 0x108], eax
lea rdx, [0x140156368]
lea rcx, [rsp + 0x108]
call sub.msvcrt.dll__CxxThrowException
nop
lea rcx, [rsp + 0x128]
call fcn.14001d908
nop
lea rcx, [rsp + 0x140]
call fcn.140010ab0
jmp 0x14008d444
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x78], 0x208
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], r15d
mov dword [rsp + 0x100], 0x1000000
mov r8, r13
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.140010bcc
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x78], 0x20b
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x80], r15d
mov dword [rsp + 0x100], 0x1000000
mov r8, r13
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.1400ce7c0
nop
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.1400305f0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret