Function at 0x140095910
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2c0
mov qword [rax - 0x118], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14016b400]
xor rax, rsp
mov qword [rsp + 0x2b8], rax
mov rbx, rcx
mov qword [rsp + 0x110], rcx
lea r15, str.base_stor_vssmodulescoord_srchwwrpdb.cxx
mov qword [rsp + 0x50], r15
lea r12, str.CVssHardwareProviderWrapper::LoadData
mov qword [rsp + 0x58], r12
lea r13, str.CORHWDBC
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x68], 0x1e8
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x70], 0xff
xor edi, edi
mov dword [rsp + 0xf0], 0x1000000
xor edx, edx
lea r8d, [rdi + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x160]
call fcn.14001cce0
nop
mov rcx, rbx
call fcn.140096784
lea rcx, [0x1400f83d0]
mov qword [rsp + 0x140], rcx
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0xf8]
lea r8d, [rdi + 0xc]
lea rdx, [rsp + 0x2a8]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
jne 0x140095ad8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140095a20
movzx ebx, ax
or ebx, 0x80070000
mov dword [rsp + 0x168], ebx
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x68], 0x1f4
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x70], 0xff
mov dword [rsp + 0xf0], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov eax, ebx
shr eax, 0x1f
test al, al
je 0x140095aa9
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x1e8]
call fcn.14000aeb0
lea r9, [0x14011eb00]
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.1400dc9fc
nop
cmp byte [rsp + 0xf3], 0
je 0x140095ad8
lea rbx, [rsp + 0x78]
mov esi, 0xf
mov rcx, qword [rbx]
test rcx, rcx
je 0x140095ace
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], rdi
add rbx, 8
sub rsi, 1
jne 0x140095abd
cmp dword [rsp + 0x2a8], 0x9d4feff5
jne 0x140096143
cmp dword [rsp + 0x2ac], 1
jne 0x140096143
mov eax, dword [rsp + 0x2b0]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
dec dword [rsp + 0x48]
test eax, eax
je 0x1400960fb
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0xf8]
mov r8d, 0x14
lea rdx, [rsp + 0x290]
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
jne 0x140095c10
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140095b58
movzx ebx, ax
or ebx, 0x80070000
mov dword [rsp + 0x168], ebx
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x68], 0x210
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x70], 0xff
mov dword [rsp + 0xf0], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov eax, ebx
shr eax, 0x1f
test al, al
je 0x140095be1
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x1e8]
call fcn.14000aeb0
lea r9, [0x14011eb00]
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.1400dc9fc
nop
cmp byte [rsp + 0xf3], 0
je 0x140095c10
lea rbx, [rsp + 0x78]
mov esi, 0xf
mov rcx, qword [rbx]
test rcx, rcx
je 0x140095c06
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], rdi
add rbx, 8
sub rsi, 1
jne 0x140095bf5
mov ecx, dword [rsp + 0x290]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
lea rdx, [0x140102ed8]
mov rcx, rax
call fcn.140032688
mov r14, rax
mov qword [rsp + 0x108], rax
test rax, rax
jne 0x140095cab
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x68], 0x21c
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x70], 0xff
mov dword [rsp + 0xf0], 0x1000000
xor edx, edx
lea r8d, [rax + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea r9, str.Cant_allocate_XML_string
mov r8d, 0x8007000e
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x160]
call fcn.1400dc25c
nop
lea rdx, [0x140102ed8]
mov ecx, 0x20
call fcn.14003264c
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140095ccf
mov qword [rax + 0x18], rdi
jmp 0x140095cd2
mov rbx, rdi
mov qword [rsp + 0x100], rbx
test rbx, rbx
jne 0x140095d40
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x68], 0x223
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x70], 0xff
mov dword [rsp + 0xf0], 0x1000000
xor edx, edx
lea r8d, [rbx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea r9, str.Cant_allocate_snapshot_set_description
mov r8d, 0x8007000e
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x160]
call fcn.1400dc25c
mov r8d, dword [rsp + 0x290]
add r8d, r8d
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0xf8]
mov rdx, r14
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
jne 0x140095e4d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
test eax, eax
jle 0x140095d86
movzx esi, ax
or esi, 0x80070000
mov dword [rsp + 0x168], esi
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x68], 0x229
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x70], 0xff
mov dword [rsp + 0xf0], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov eax, esi
shr eax, 0x1f
test al, al
je 0x140095e0f
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x1e8]
call fcn.14000aeb0
lea r9, [0x14011eb00]
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.1400dc9fc
nop
cmp byte [rsp + 0xf3], 0
je 0x140095e4d
lea rsi, [rsp + 0x78]
mov eax, 0xf
mov qword [rsp + 0x40], rax
mov rcx, qword [rsi]
test rcx, rcx
je 0x140095e3e
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rsi], rdi
mov rax, qword [rsp + 0x40]
add rsi, 8
sub rax, 1
mov qword [rsp + 0x40], rax
jne 0x140095e28
movups xmm0, xmmword [0x140103120]
movaps xmmword [rsp + 0x120], xmm0
lea rdx, [rbx + 0x18]
lea r8, [rsp + 0x120]
mov rcx, r14
call qword [sym.imp.VSSAPI.DLL_LoadVssSnapshotSetDescription]
mov esi, eax
mov dword [rsp + 0x168], eax
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x68], 0x230
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x70], 0xff
mov dword [rsp + 0xf0], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x50]
mov qword [rsp + 0x120], rax
mov eax, esi
shr eax, 0x1f
test al, al
je 0x140095f22
cmp esi, 0x8000ffff
jne 0x140095ef5
mov dword [rsp + 0x130], esi
lea rdx, [0x140167770]
lea rcx, [rsp + 0x130]
call sub.msvcrt.dll__CxxThrowException
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x1e8]
call fcn.14000aeb0
lea r9, [0x1401105f0]
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.1400dc9fc
nop
cmp byte [rsp + 0xf3], 0
je 0x140095f60
lea rsi, [rsp + 0x78]
mov eax, 0xf
mov qword [rsp + 0x40], rax
mov rcx, qword [rsi]
test rcx, rcx
je 0x140095f51
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rsi], rdi
mov rax, qword [rsp + 0x40]
add rsi, 8
sub rax, 1
mov qword [rsp + 0x40], rax
jne 0x140095f3b
mov rcx, qword [rbx + 0x18]
mov rax, qword [rcx]
lea rdx, [rbx + 8]
mov rax, qword [rax + 0x28]
call qword [0x1400f9ec0]
mov esi, eax
mov dword [rsp + 0x168], eax
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x68], 0x234
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x70], 0xff
mov dword [rsp + 0xf0], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x50]
mov qword [rsp + 0x120], rax
mov eax, esi
shr eax, 0x1f
test al, al
je 0x140096026
cmp esi, 0x8000ffff
jne 0x140095ff9
mov dword [rsp + 0x134], esi
lea rdx, [0x140167770]
lea rcx, [rsp + 0x134]
call sub.msvcrt.dll__CxxThrowException
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x1e8]
call fcn.14000aeb0
lea r9, str.IVssSnapshotSetDescription::GetSnapshotSetId
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.1400dc9fc
nop
cmp byte [rsp + 0xf3], 0
je 0x140096064
lea rsi, [rsp + 0x78]
mov eax, 0xf
mov qword [rsp + 0x40], rax
mov rcx, qword [rsi]
test rcx, rcx
je 0x140096055
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rsi], rdi
mov rax, qword [rsp + 0x40]
add rsi, 8
sub rax, 1
mov qword [rsp + 0x40], rax
jne 0x14009603f
mov rcx, qword [rsp + 0x110]
mov rax, qword [rcx + 0xb0]
mov qword [rbx], rax
mov qword [rcx + 0xb0], rbx
mov rcx, r14
call fcn.140031d4c
nop
jmp 0x1400960b5
cmp dword [rsp + 0x168], 0
jge 0x140095b02
mov rcx, r14
call fcn.140031d4c
test rbx, rbx
je 0x1400960d8
mov rcx, rbx
call fcn.14007dfd8
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x138], eax
lea rdx, [0x140167770]
lea rcx, [rsp + 0x138]
call sub.msvcrt.dll__CxxThrowException
nop
lea rcx, [rsp + 0x140]
call fcn.140014248
nop
lea rcx, [rsp + 0x160]
call fcn.14001ce00
mov rcx, qword [rsp + 0x2b8]
xor rcx, rsp
call fcn.1400321c0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x68], 0x1fd
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x70], 0xff
mov dword [rsp + 0xf0], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
mov r9d, 1
lea r8, [rsp + 0x50]
mov edx, 0x3012
lea rcx, [rsp + 0x160]
call fcn.1400db328
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x68], 0x200
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x70], 0xff
mov dword [rsp + 0xf0], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
lea r9, str.Contents_of_the_hardware_snapshot_set_database_are_invalid
mov r8d, 0x80042302
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x160]
call fcn.1400dc25c
int3