Function at 0x14001f6f0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x190
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rbx, rdx
mov rdi, rcx
lea r13, str.base_stor_vss_tools_vssagent_vsdoc.cpp
mov qword [rsp + 0x48], r13
lea rsi, str.CVssXmlDiagDocument::SaveAsXml
mov qword [rsp + 0x50], rsi
lea r14, str.TST__
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x60], 0xdf8
mov dword [rsp + 0x64], 9
mov dword [rsp + 0x68], 0xdc
xor r12d, r12d
mov dword [rbp - 0x18], 0x1000000
xor edx, edx
lea r8d, [r12 + 0x78]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x20]
call fcn.14004058c
nop
mov r8, rbx
lea rdx, str.__Saving_data_into__s...
lea rcx, [rbp + 0x20]
call fcn.140041860
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r12 + 1]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov r15, rax
lea rax, vtable.._AV__CVssAuto_PEAXV__CVssAutoGenericValue_Storage_PEAX_0_0P6AHPEAX_Z_1_CloseHandle__YAH0_ZP6AAEAPEAXAEAPEAX_Z_1_Identity___DTyper_PEAX__SAAEAPEAX1_Z____.0
mov qword [rbp - 8], rax
mov qword [rbp], r15
cmp r15, 0xffffffffffffffff
je 0x14001f999
lea rcx, [rdi + 0x30]
call fcn.140006150
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov rbx, rax
mov qword [rbp + 0xe8], rax
test rax, rax
je 0x14001f9d8
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_VariantInit]
nop dword [rax + rax]
mov esi, eax
lea r14d, [rax*2 + 2]
movsxd rcx, r14d
lea rdx, [0x140054410]
call fcn.140043b28
mov rdi, rax
mov qword [rbp + 0x10], rax
lea rax, vtable.CVssAutoCppPtr_char____ptr64_.0
mov qword [rbp + 8], rax
test rdi, rdi
je 0x14001fa10
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rdi
mov r9d, esi
mov r8, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop dword [rax + rax]
movsxd rsi, eax
test eax, eax
jle 0x14001f90b
mov byte [rsi + rdi], r12b
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0xe0]
mov r8d, esi
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
je 0x14001f952
cmp dword [rbp + 0xe0], esi
jne 0x14001f952
mov rcx, rdi
call fcn.1400434b8
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
nop
lea rcx, [rbp + 0x20]
call fcn.1400406a0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x30], 0xdc
mov dword [rsp + 0x28], 9
mov dword [rsp + 0x20], 0xe17
lea r9, str.CVssXmlDiagDocument::SaveAsXml
lea r8, str.TST__
mov rdx, r13
lea rcx, [rsp + 0x48]
call fcn.1400400dc
lea r8, [0x14005dc10]
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140041e40
int3
mov dword [rsp + 0x30], 0xdc
mov dword [rsp + 0x28], 9
mov dword [rsp + 0x20], 0xe1f
lea r9, str.CVssXmlDiagDocument::SaveAsXml
lea r8, str.TST__
mov rdx, r13
lea rcx, [rsp + 0x48]
call fcn.1400400dc
lea r8, [0x14005dc38]
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140041e40
nop
mov dword [rsp + 0x30], 0xdc
mov dword [rsp + 0x28], 9
mov dword [rsp + 0x20], 0xe07
mov r9, rsi
mov r8, r14
mov rdx, r13
lea rcx, [rsp + 0x48]
call fcn.1400400dc
lea r8, str.CreateFile
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140041e40
nop
mov dword [rsp + 0x30], 0xdc
mov dword [rsp + 0x28], 9
mov dword [rsp + 0x20], 0xe0b
mov r9, rsi
mov r8, r14
mov rdx, r13
lea rcx, [rsp + 0x48]
call fcn.1400400dc
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.1400414c4
nop
mov dword [rsp + 0x30], 0xdc
mov dword [rsp + 0x28], 9
mov dword [rsp + 0x20], 0xe13
lea r9, str.CVssXmlDiagDocument::SaveAsXml
lea r8, str.TST__
mov rdx, r13
lea rcx, [rsp + 0x48]
call fcn.1400400dc
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.1400414c4
int3