Function at 0x140096a28
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x6b8]
sub rsp, 0x790
mov qword [rbp + 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14016b400]
xor rax, rsp
mov qword [rbp + 0x680], rax
mov r14, rcx
lea r13, str.base_stor_vssmodulescoord_srchwwrpdb.cxx
mov qword [rsp + 0x58], r13
lea rsi, str.CVssHardwareProviderWrapper::SaveData
mov qword [rsp + 0x60], rsi
lea rax, str.CORHWDBC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x251
mov dword [rsp + 0x74], 1
mov dword [rsp + 0x78], 0xff
xor r12d, r12d
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [r12 + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x10]
call fcn.14001cce0
nop
mov rcx, r14
call fcn.140096564
mov r15, rax
lea rax, [0x1400f83d0]
mov qword [rbp], rax
mov qword [rbp + 8], r15
mov dword [rbp + 0x130], 0x9d4feff5
mov qword [rbp + 0x134], 1
mov rdi, qword [r14 + 0xb0]
test rdi, rdi
je 0x140096bd4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov rcx, qword [rdi + 0x18]
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
mov rax, qword [rax + 0x50]
call qword [0x1400f9ec0]
mov ebx, eax
mov dword [rbp + 0x18], eax
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], rsi
lea rax, str.CORHWDBC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x265
mov dword [rsp + 0x74], 1
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
nop
mov eax, ebx
shr eax, 0x1f
test al, al
jne 0x140096c9a
cmp byte [rbp - 5], al
je 0x140096bbb
lea rbx, [rbp - 0x80]
mov esi, 0xf
mov rcx, qword [rbx]
test rcx, rcx
je 0x140096baa
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], r12
add rbx, 8
sub rsi, 1
jne 0x140096b99
lea rsi, str.CVssHardwareProviderWrapper::SaveData
test byte [rsp + 0x48], 8
je 0x140096bc8
inc dword [rbp + 0x138]
mov rdi, qword [rdi]
test rdi, rdi
jne 0x140096b1e
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x30]
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rdx, [rbp + 0x130]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
test eax, eax
je 0x140096c03
cmp dword [rsp + 0x30], 0xc
je 0x140096cec
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140096c18
movzx ebx, ax
or ebx, 0x80070000
mov dword [rbp + 0x18], ebx
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], rsi
lea rax, str.CORHWDBC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x271
mov dword [rsp + 0x74], 1
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov eax, ebx
shr eax, 0x1f
test al, al
je 0x140096cc2
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x88]
call fcn.14000aeb0
lea r9, [0x14011e910]
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400dc9fc
nop
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x88]
call fcn.14000aeb0
lea r9, str.IVssSnapshotSetDescription::GetContext
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400dc9fc
nop
cmp byte [rbp - 5], 0
je 0x140096cec
lea rbx, [rbp - 0x80]
mov edi, 0xf
mov rcx, qword [rbx]
test rcx, rcx
je 0x140096ce2
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], r12
add rbx, 8
sub rdi, 1
jne 0x140096cd1
mov rdi, qword [r14 + 0xb0]
test rdi, rdi
je 0x14009704b
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov rcx, qword [rdi + 0x18]
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
mov rax, qword [rax + 0x50]
call qword [0x1400f9ec0]
mov ebx, eax
mov dword [rbp + 0x18], eax
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], rsi
lea rax, str.CORHWDBC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x27b
mov dword [rsp + 0x74], 1
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
nop
mov eax, ebx
shr eax, 0x1f
test al, al
jne 0x14009717f
cmp byte [rbp - 5], al
je 0x140096da3
lea rbx, [rbp - 0x80]
mov esi, 0xf
mov rcx, qword [rbx]
test rcx, rcx
je 0x140096d92
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], r12
add rbx, 8
sub rsi, 1
jne 0x140096d81
lea rsi, str.CVssHardwareProviderWrapper::SaveData
test byte [rsp + 0x48], 8
jne 0x140096db2
mov rdi, qword [rdi]
jmp 0x140097042
mov qword [rsp + 0x40], r12
mov rcx, qword [rdi + 0x18]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
mov rax, qword [rax + 0x18]
call qword [0x1400f9ec0]
mov ebx, eax
mov dword [rbp + 0x18], eax
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], rsi
lea rax, str.CORHWDBC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x289
mov dword [rsp + 0x74], 1
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov eax, ebx
shr eax, 0x1f
test al, al
jne 0x140097139
cmp byte [rbp - 5], al
je 0x140096e5d
lea rbx, [rbp - 0x80]
mov esi, 0xf
mov rcx, qword [rbx]
test rcx, rcx
je 0x140096e4c
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], r12
add rbx, 8
sub rsi, 1
jne 0x140096e3b
lea rsi, str.CVssHardwareProviderWrapper::SaveData
mov rcx, qword [rsp + 0x40]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140096e66
inc eax
mov dword [rbp + 0x140], eax
movups xmm0, xmmword [rdi + 8]
movups xmmword [rbp + 0x144], xmm0
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x30]
mov r8d, 0x14
lea rdx, [rbp + 0x140]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
test eax, eax
je 0x140096eb2
cmp dword [rsp + 0x30], 0x14
je 0x140096f55
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140096ec7
movzx ebx, ax
or ebx, 0x80070000
mov dword [rbp + 0x18], ebx
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], rsi
lea rax, str.CORHWDBC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x296
mov dword [rsp + 0x74], 1
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov eax, ebx
shr eax, 0x1f
test al, al
jne 0x140097111
cmp byte [rbp - 5], al
je 0x140096f55
lea rbx, [rbp - 0x80]
mov esi, 0xf
mov rcx, qword [rbx]
test rcx, rcx
je 0x140096f44
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], r12
add rbx, 8
sub rsi, 1
jne 0x140096f33
lea rsi, str.CVssHardwareProviderWrapper::SaveData
mov r8d, dword [rbp + 0x140]
add r8d, r8d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
test eax, eax
je 0x140096f91
mov ecx, dword [rbp + 0x140]
add rcx, rcx
mov eax, dword [rsp + 0x30]
cmp rax, rcx
je 0x140097034
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140096fa6
movzx ebx, ax
or ebx, 0x80070000
mov dword [rbp + 0x18], ebx
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], rsi
lea rax, str.CORHWDBC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x29e
mov dword [rsp + 0x74], 1
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov eax, ebx
shr eax, 0x1f
test al, al
jne 0x1400970e9
cmp byte [rbp - 5], al
je 0x140097034
lea rbx, [rbp - 0x80]
mov esi, 0xf
mov rcx, qword [rbx]
test rcx, rcx
je 0x140097023
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], r12
add rbx, 8
sub rsi, 1
jne 0x140097012
lea rsi, str.CVssHardwareProviderWrapper::SaveData
mov rdi, qword [rdi]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rdi, rdi
jne 0x140096d06
lea rcx, [rbp]
call fcn.14001377c
lea r8, [rbp + 0x160]
xor edx, edx
mov rcx, r14
call fcn.1400956f4
lea r8, [rbp + 0x3f0]
mov dl, 1
mov rcx, r14
call fcn.1400956f4
lea rdx, [rbp + 0x160]
call fcn.140095424
test al, al
je 0x140097092
lea rdx, [rbp + 0x160]
call fcn.140095288
lea r8, [rbp + 0x160]
lea rdx, [rbp + 0x3f0]
call fcn.1400963b8
nop
lea rcx, [rbp]
call fcn.140014248
nop
lea rcx, [rbp + 0x10]
call fcn.14001ce00
mov rcx, qword [rbp + 0x680]
xor rcx, rsp
call fcn.1400321c0
lea r11, [rsp + 0x790]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x88]
call fcn.14000aeb0
lea r9, [0x14011e910]
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400dc9fc
nop
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x88]
call fcn.14000aeb0
lea r9, [0x14011e910]
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400dc9fc
nop
cmp ebx, 0x8000ffff
jne 0x140097157
mov dword [rsp + 0x38], ebx
lea rdx, [0x140167770]
lea rcx, [rsp + 0x38]
call sub.msvcrt.dll__CxxThrowException
int3
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x88]
call fcn.14000aeb0
lea r9, str.IVssSnapshotSetDescription::SaveAsXML
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400dc9fc
nop
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x88]
call fcn.14000aeb0
lea r9, str.IVssSnapshotSetDescription::GetContext
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400dc9fc
int3