Function at 0x140018730
Capabilities:
Terminate process
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rsi, rcx
xor r14d, r14d
mov dword [rsp + 0x40], r14d
lea r13, vtable.CVolCommonBaseWithMemManager.0
mov qword [rsp + 0x50], r13
lea r15, vtable.CVolObject.0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
lea rax, vtable.CWString.0
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x70]
mov qword [rbp + 0x238], rax
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
lea r12, vtable.CVolMem.0
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x60], 0x40
mov qword [rsp + 0x68], r14
mov qword [rbp - 0x60], 0xfe
mov qword [rsp + 0x68], r14
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x70], r14
lea rdx, str.7D7500008A9DAD885FBD57C322A1AE86DBB20C81EEBCF247336AF8045E6147A7CF535639118CD547FFC87FFAE8F113DF136A772594A348E97D718A8E0696625F5E475E878A11CAE0C2031612B03629C91734FD31E69710975F3C1F9E3042ADC4A94957026B964C01F02D4E1C1AABEECD411B9E7150D1CF15E219699ABD807172E2BB2A
lea rcx, [rsp + 0x70]
call fcn.14001f4e0
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.140016f50
mov rbx, rax
mov dword [rsp + 0x40], 1
lea rax, [rsp + 0x70]
mov qword [rbp + 0x238], rax
mov qword [rsp + 0x70], r12
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x14001883e
lea rcx, [rsp + 0x70]
mov rax, qword [rsp + 0x70]
call qword [rax + 0x18]
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x70], r14
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x50], r15
mov rcx, rbx
call fcn.140005f70
cmp eax, 1
sete bl
mov edi, 1
and edi, 0xfffffffe
mov dword [rsp + 0x40], edi
mov qword [rbp - 0x50], r12
mov rdx, qword [rbp - 0x38]
test rdx, rdx
je 0x140018886
lea rcx, [rbp - 0x50]
mov rax, qword [rbp - 0x50]
call qword [rax + 0x18]
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x50], r15
test bl, bl
je 0x1400188a3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, [rbp + 0xf0]
call fcn.140016160
mov rbx, rax
lea rcx, [rbp + 0x98]
call fcn.140015d80
nop
lea r8, [0x140246488]
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.140021590
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.1400213e0
nop
lea r8, [0x140246478]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140021590
nop
mov rcx, qword [rax + 0x18]
test rcx, rcx
jne 0x140018912
cmp qword [rax + 0x48], rcx
lea rcx, [0x1402431b0]
je 0x140018912
mov rcx, qword [rax + 0x38]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
lea rax, [rsp + 0x70]
mov qword [rbp + 0x238], rax
mov qword [rsp + 0x70], r12
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x140018962
lea rcx, [rsp + 0x70]
mov rax, qword [rsp + 0x70]
call qword [rax + 0x18]
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x70], r14
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x50], r15
lea rax, [rbp + 8]
mov qword [rbp + 0x238], rax
mov qword [rbp + 8], r12
mov rdx, qword [rbp + 0x20]
test rdx, rdx
je 0x14001899b
lea rcx, [rbp + 8]
mov rax, qword [rbp + 8]
call qword [rax + 0x18]
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x28], r14
mov qword [rbp + 8], r15
mov qword [rbp - 0x18], r15
lea rax, [rbp + 0x60]
mov qword [rbp + 0x238], rax
mov qword [rbp + 0x60], r12
mov rdx, qword [rbp + 0x78]
test rdx, rdx
je 0x1400189d2
lea rcx, [rbp + 0x60]
mov rax, qword [rbp + 0x60]
call qword [rax + 0x18]
mov qword [rbp + 0x78], r14
mov qword [rbp + 0x88], r14
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x40], r15
lea rax, [rbp + 0xb8]
mov qword [rbp + 0x238], rax
mov qword [rbp + 0xb8], r12
mov rdx, qword [rbp + 0xd0]
test rdx, rdx
je 0x140018a1e
lea rcx, [rbp + 0xb8]
mov rax, qword [rbp + 0xb8]
call qword [rax + 0x18]
mov qword [rbp + 0xd0], r14
mov qword [rbp + 0xe0], r14
mov qword [rbp + 0xd8], r14
mov qword [rbp + 0xb8], r15
mov qword [rbp + 0x98], r15
lea rax, [rbp + 0x110]
mov qword [rbp + 0x238], rax
mov qword [rbp + 0x110], r12
mov rdx, qword [rbp + 0x128]
test rdx, rdx
je 0x140018a73
lea rcx, [rbp + 0x110]
mov rax, qword [rbp + 0x110]
call qword [rax + 0x18]
mov qword [rbp + 0x128], r14
mov qword [rbp + 0x138], r14
mov qword [rbp + 0x130], r14
mov qword [rbp + 0x110], r15
mov qword [rbp + 0xf0], r15
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x20], 0x40
or edi, 2
mov dword [rsp + 0x40], edi
mov r9d, 0xa
lea r8, [rbp - 0x50]
mov edx, 0x1f6
lea rcx, [0x140290e40]
mov rax, qword [0x140290e40]
call qword [rax + 0x30]
mov rax, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x38]
test rax, rax
cmove rdx, r14
mov dword [rbp + 0x238], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x238]
mov r8d, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
and edi, 0xfffffffd
mov dword [rsp + 0x40], edi
mov qword [rbp - 0x50], r12
mov rdx, qword [rbp - 0x38]
test rdx, rdx
je 0x140018b32
lea rcx, [rbp - 0x50]
mov rax, qword [rbp - 0x50]
call qword [rax + 0x18]
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x50], r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x1a0]
call fcn.140016160
mov rbx, rax
lea rcx, [rbp + 0x148]
call fcn.140015d80
nop
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
lea rcx, vtable.CWString.0
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x70]
mov qword [rbp + 0x238], rcx
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x60], 0x40
mov qword [rsp + 0x68], r14
mov qword [rbp - 0x60], 0xfe
lea rcx, vtable.CWConstString.0
mov qword [rsp + 0x50], rcx
lea rcx, str.cmd__c__
mov qword [rsp + 0x68], rcx
mov r8, rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x18]
call fcn.1400213e0
nop
lea r8, [0x140246488]
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.140021590
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x98]
call fcn.1400213e0
nop
lea r8, str..exe_
mov rdx, rax
lea rcx, [rbp + 0xf0]
call fcn.140021590
nop
mov rcx, qword [rax + 0x18]
test rcx, rcx
jne 0x140018c4e
cmp qword [rax + 0x48], rcx
lea rcx, [0x1402431b0]
je 0x140018c4e
mov rcx, qword [rax + 0x38]
call fcn.14001e140
nop
lea rax, [rbp + 0x110]
mov qword [rbp + 0x238], rax
mov qword [rbp + 0x110], r12
mov rdx, qword [rbp + 0x128]
test rdx, rdx
je 0x140018c86
lea rcx, [rbp + 0x110]
mov rax, qword [rbp + 0x110]
call qword [rax + 0x18]
mov qword [rbp + 0x128], r14
mov qword [rbp + 0x138], r14
mov qword [rbp + 0x130], r14
mov qword [rbp + 0x110], r15
mov qword [rbp + 0xf0], r15
lea rax, [rbp + 0xb8]
mov qword [rbp + 0x238], rax
mov qword [rbp + 0xb8], r12
mov rdx, qword [rbp + 0xd0]
test rdx, rdx
je 0x140018cdb
lea rcx, [rbp + 0xb8]
mov rax, qword [rbp + 0xb8]
call qword [rax + 0x18]
mov qword [rbp + 0xd0], r14
mov qword [rbp + 0xe0], r14
mov qword [rbp + 0xd8], r14
mov qword [rbp + 0xb8], r15
mov qword [rbp + 0x98], r15
lea rax, [rbp + 0x60]
mov qword [rbp + 0x238], rax
mov qword [rbp + 0x60], r12
mov rdx, qword [rbp + 0x78]
test rdx, rdx
je 0x140018d21
lea rcx, [rbp + 0x60]
mov rax, qword [rbp + 0x60]
call qword [rax + 0x18]
mov qword [rbp + 0x78], r14
mov qword [rbp + 0x88], r14
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x40], r15
lea rax, [rbp + 8]
mov qword [rbp + 0x238], rax
mov qword [rbp + 8], r12
mov rdx, qword [rbp + 0x20]
test rdx, rdx
je 0x140018d5e
lea rcx, [rbp + 8]
mov rax, qword [rbp + 8]
call qword [rax + 0x18]
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x28], r14
mov qword [rbp + 8], r15
mov qword [rbp - 0x18], r15
lea rax, [rsp + 0x70]
mov qword [rbp + 0x238], rax
mov qword [rsp + 0x70], r12
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x140018d99
lea rcx, [rsp + 0x70]
mov rax, qword [rsp + 0x70]
call qword [rax + 0x18]
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x70], r14
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x50], r15
lea rax, [rbp + 0x168]
mov qword [rbp + 0x238], rax
mov qword [rbp + 0x168], r12
mov rdx, qword [rbp + 0x180]
test rdx, rdx
je 0x140018de1
lea rcx, [rbp + 0x168]
mov rax, qword [rbp + 0x168]
call qword [rax + 0x18]
mov qword [rbp + 0x180], r14
mov qword [rbp + 0x190], r14
mov qword [rbp + 0x188], r14
mov qword [rbp + 0x168], r15
mov qword [rbp + 0x148], r15
lea rax, [rbp + 0x1c0]
mov qword [rbp + 0x238], rax
mov qword [rbp + 0x1c0], r12
mov rdx, qword [rbp + 0x1d8]
test rdx, rdx
je 0x140018e36
lea rcx, [rbp + 0x1c0]
mov rax, qword [rbp + 0x1c0]
call qword [rax + 0x18]
mov qword [rbp + 0x1d8], r14
mov qword [rbp + 0x1e8], r14
mov qword [rbp + 0x1e0], r14
mov qword [rbp + 0x1c0], r15
mov qword [rbp + 0x1a0], r15
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], r14
lea rbx, vtable.CVolRefObject.0
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x38], r14
lea rax, vtable.rg_n1::rg_n2515.0
mov qword [rbp - 0x50], rax
lea rax, vtable.rg_n9851::rg_n12038.0
mov qword [rbp - 0x50], rax
or qword [rbp - 0x48], 1
lea rcx, [rsi + 0x18]
mov qword [rsp + 0x30], r14
call fcn.1400111d0
nop
mov qword [rbp - 0x50], rbx
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140018eb6
mov rdx, qword [rcx]
call qword [rdx + 0x40]
nop
mov qword [rbp - 0x50], r15
mov eax, 1
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret