Function at 0x14000da0c
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, [rsp - 0x80]
sub rsp, 0x180
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400541a0]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rdx
lea rax, [rbp - 0x58]
mov qword [rsp + 0x40], rax
mov r13d, 7
mov qword [rbp - 0x40], r13
xor r12d, r12d
mov qword [rbp - 0x48], r12
mov word [rbp - 0x58], r12w
lea r14d, [r13 + 2]
mov r8d, r14d
lea rdx, [0x14003b020]
lea rcx, [rbp - 0x58]
call fcn.140002d18
nop
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x28], r12
mov word [rbp - 0x38], r12w
lea r15d, [r13 + 0x1b]
mov r8d, r15d
lea rdx, str.base_stor_vss_tools_vshadowutil.h
lea rcx, [rbp - 0x38]
call fcn.140002d18
nop
lea r9, [rbp - 0x58]
mov r8d, 0x25e
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x20]
call fcn.140002028
nop
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x78], r12
mov word [rsp + 0x78], r12w
lea r8d, [r13 + 0x12]
lea rdx, str.Writing_the_file__s_...
lea rcx, [rsp + 0x78]
call fcn.140002d18
cmp qword [rbx + 0x18], 8
jb 0x14000daf1
mov r8, qword [rbx]
jmp 0x14000daf4
mov r8, rbx
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x20]
call fcn.140001a50
cmp qword [rbx + 0x18], 8
jb 0x14000db0e
mov rcx, qword [rbx]
jmp 0x14000db11
mov rcx, rbx
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000dc20
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rax
lea rax, [rbp]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x78], r12
mov word [rsp + 0x78], r12w
lea r8d, [rsi + 0x1a]
lea rdx, str.Executing_Win32_call__s
lea rcx, [rsp + 0x78]
call fcn.140002d18
nop
mov qword [rbp + 0x18], r13
mov qword [rbp + 0x10], r12
mov word [rbp], r12w
mov r8, r14
lea rdx, [0x14003b020]
lea rcx, [rbp]
call fcn.140002d18
nop
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r12
mov word [rsp + 0x48], r12w
mov r8, r15
lea rdx, str.base_stor_vss_tools_vshadowutil.h
lea rcx, [rsp + 0x48]
call fcn.140002d18
nop
lea rax, str.L_CreateFile_
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rbp]
mov r8d, 0x26b
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x20]
call fcn.140001cb4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r15d, eax
movzx r14d, ax
or r14d, 0x80070000
test eax, eax
cmovle r14d, eax
jne 0x14000de74
lea r14d, [rsi + 0xa]
lea r15d, [rsi + 0x23]
mov qword [rsp + 0x68], rsi
mov rax, qword [rdi + 0x10]
lea r8d, [rax*2 + 2]
cmp qword [rdi + 0x18], 8
jb 0x14000dc3d
mov rdx, qword [rdi]
jmp 0x14000dc40
mov rdx, rdi
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x68]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x14000dd32
lea rax, [rsp + 0x48]
mov qword [rbp - 0x60], rax
lea rax, [rbp]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r12
mov word [rsp + 0x48], r12w
mov r8d, AtlComPtrAssign
lea rdx, str.Executing_Win32_call__s
lea rcx, [rsp + 0x48]
call fcn.140002d18
nop
mov qword [rbp + 0x18], r13
mov qword [rbp + 0x10], r12
mov word [rbp], r12w
mov r8, r14
lea rdx, [0x14003b020]
lea rcx, [rbp]
call fcn.140002d18
nop
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x78], r12
mov word [rsp + 0x78], r12w
mov r8, r15
lea rdx, str.base_stor_vss_tools_vshadowutil.h
lea rcx, [rsp + 0x78]
call fcn.140002d18
nop
lea rax, str._WriteFile_hFile___LPWSTR_contents.c_str____cbWrite__dwWritten__NULL__
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rbp]
mov r8d, 0x274
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x20]
call fcn.140001cb4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r15d, eax
movzx r14d, ax
or r14d, 0x80070000
test eax, eax
cmovle r14d, eax
jne 0x14000ddb8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
nop
lea rcx, [rbp + 0x20]
call fcn.1400021d4
nop
cmp qword [rbx + 0x18], 8
jb 0x14000dd62
mov rcx, qword [rbx]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbx + 0x18], r13
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
cmp qword [rdi + 0x18], 8
jb 0x14000dd84
mov rcx, qword [rdi]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rdi + 0x18], r13
mov qword [rdi + 0x10], r12
mov word [rdi], r12w
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140032b80
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, str._nERROR:_Win32_call__s_failed.
lea rcx, [rsp + 0x48]
call fcn.140002e00
lea r8, str._WriteFile_hFile___LPWSTR_contents.c_str____cbWrite__dwWritten__NULL__
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140001a50
lea rdx, str.__GetLastError_____ld
lea rcx, [rsp + 0x48]
call fcn.140002e00
mov r8d, r15d
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140001a50
mov edx, r14d
lea rcx, [rbp]
call fcn.14000231c
mov rdi, rax
lea rdx, str.__Error_text:__s
lea rcx, [rsp + 0x48]
call fcn.140002e00
mov rbx, rax
mov rcx, rdi
call fcn.140003700
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.140001a50
nop
lea rcx, [rbp]
call fcn.140003a84
lea rdx, str.__Please_re_run_VSHADOW.EXE_with_the__tracing_option_to_get_more_details
lea rcx, [rsp + 0x48]
call fcn.140002e00
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140001a50
mov dword [rsp + 0x40], r14d
lea rdx, [0x140052a88]
lea rcx, [rsp + 0x40]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, str._nERROR:_Win32_call__s_failed.
lea rcx, [rsp + 0x48]
call fcn.140002e00
lea r8, str.L_CreateFile_
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140001a50
lea rdx, str.__GetLastError_____ld
lea rcx, [rsp + 0x48]
call fcn.140002e00
mov r8d, r15d
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140001a50
mov edx, r14d
lea rcx, [rbp]
call fcn.14000231c
mov rdi, rax
lea rdx, str.__Error_text:__s
lea rcx, [rsp + 0x48]
call fcn.140002e00
mov rbx, rax
mov rcx, rdi
call fcn.140003700
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.140001a50
nop
lea rcx, [rbp]
call fcn.140003a84
lea rdx, str.__Please_re_run_VSHADOW.EXE_with_the__tracing_option_to_get_more_details
lea rcx, [rsp + 0x48]
call fcn.140002e00
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140001a50
mov dword [rsp + 0x40], r14d
lea rdx, [0x140052a88]
lea rcx, [rsp + 0x40]
call sub.msvcrt.dll__CxxThrowException
int3