Function at 0x14013bc50
Capabilities:
Create process on windows
Delete file
Get common file path
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x708]
sub rsp, 0x808
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov rax, qword [0x14027f238]
xor rax, rsp
mov qword [rbp + 0x6f0], rax
mov qword [rsp + 0x58], r9
mov r13, r8
mov rsi, rdx
mov qword [rsp + 0x78], rdx
mov rdi, rcx
xor r12b, r12b
mov byte [rsp + 0x50], r12b
mov qword [rbp + 0x98], 7
xor r14d, r14d
mov qword [rbp + 0x90], r14
mov word [rbp + 0x80], r14w
xor edx, edx
lea r8d, [r14 + 0x68]
lea rcx, [rbp - 0x70]
call fcn.1401a85d0
mov dword [rbp - 0x70], 0x68
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], r14
mov word [rbp + 0x60], r14w
lea rcx, [rbp + 0x60]
call fcn.140140a40
mov ebx, eax
test eax, eax
js 0x14013c27e
lea r8, str.cmd.exe__S__C___
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x20]
call fcn.1400dc1b0
nop
mov rcx, rdi
call fcn.140139b50
mov ebx, eax
test eax, eax
js 0x14013c250
cmp qword [rdi + 0x18], 8
jb 0x14013bd3b
mov rdx, qword [rdi]
jmp 0x14013bd3e
mov rdx, rdi
or rbx, 0xffffffffffffffff
cmp word [rdx], 0
jne 0x14013bd4d
mov r8, r14
jmp 0x14013bd5b
mov r8, rbx
inc r8
cmp word [rdx + r8*2], 0
jne 0x14013bd50
lea rcx, [rbp + 0x20]
call fcn.1400c4b50
mov r8d, 2
lea rdx, [0x140235cf8]
lea rcx, [rbp + 0x20]
call fcn.1400c4b50
mov r9, rbx
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0x20]
call fcn.1400c4cb0
movzx r15d, byte [rbp + 0x778]
movzx esi, byte [rbp + 0x770]
test sil, sil
je 0x14013bfc7
lea rdx, [rbp + 0x4e0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14013bebe
lea r9, [rbp + 0xc0]
xor r8d, r8d
lea rdx, str.OPSWAT
lea rcx, [rbp + 0x4e0]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x14013bebe
mov r8d, 3
lea rdx, [0x140235cb8]
lea rcx, [rbp + 0x20]
call fcn.1400c4b50
lea r8, [0x140227254]
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0xa0]
call fcn.1400dc1b0
nop
lea r8, [rbp + 0xc0]
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.1400c5940
nop
lea r8, [0x140227254]
mov rdx, rax
lea rcx, [rbp]
call fcn.1400c5940
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.1400c44d0
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x14013be5f
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.1400be810
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], r14
mov word [rbp], r14w
mov r8, qword [rbp + 0x58]
cmp r8, 8
jb 0x14013be8a
inc r8
mov rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.1400be810
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], r14
mov word [rbp + 0x40], r14w
mov r8, qword [rbp + 0xb8]
cmp r8, 8
jb 0x14013bebe
inc r8
mov rdx, qword [rbp + 0xa0]
lea rcx, [rbp + 0xa0]
call fcn.1400be810
test r15b, r15b
je 0x14013bfc7
lea r9, [rbp + 0x2d0]
xor r8d, r8d
lea rdx, str.OPSWAT
lea rcx, [rbp + 0x4e0]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x14013bfc7
mov r8d, 4
lea rdx, str._2_
lea rcx, [rbp + 0x20]
call fcn.1400c4b50
lea r8, [0x140227254]
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0xa0]
call fcn.1400dc1b0
nop
lea r8, [rbp + 0x2d0]
mov rdx, rax
lea rcx, [rbp]
call fcn.1400c5940
nop
lea r8, [0x140227254]
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.1400c5940
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.1400c44d0
mov r8, qword [rbp + 0x58]
cmp r8, 8
jb 0x14013bf68
inc r8
mov rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.1400be810
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], r14
mov word [rbp + 0x40], r14w
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x14013bf93
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.1400be810
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], r14
mov word [rbp], r14w
mov r8, qword [rbp + 0xb8]
cmp r8, 8
jb 0x14013bfc7
inc r8
mov rdx, qword [rbp + 0xa0]
lea rcx, [rbp + 0xa0]
call fcn.1400be810
mov r8d, 1
lea rdx, [0x140227254]
lea rcx, [rbp + 0x20]
call fcn.1400c4b50
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rdx, qword [rbp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov r14d, dword [rbp + 0x780]
test eax, eax
je 0x14013c0c1
test sil, sil
je 0x14013c0a8
mov edx, r14d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14013c098
mov byte [rsp + 0x50], 1
mov rax, qword [rsp + 0x70]
test eax, eax
je 0x14013c0a8
mov r8d, eax
xor edx, edx
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14013c090
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x14013c087
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14013c0a8
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12b, 1
xor ebx, ebx
test sil, sil
je 0x14013c1fb
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], rbx
mov word [rbp], bx
cmp word [rbp + 0xc0], bx
jne 0x14013c0ea
mov r8d, ebx
jmp 0x14013c0ff
lea rax, [rbp + 0xc0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x14013c0f5
lea rdx, [rbp + 0xc0]
lea rcx, [rbp]
call fcn.1400be520
nop
mov dword [rsp + 0x54], ebx
mov r9, r13
mov r8b, 1
lea rdx, [rsp + 0x54]
lea rcx, [rbp]
call fcn.140139bd0
mov ebx, eax
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x14013c144
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.1400be810
lea rcx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test r15b, r15b
je 0x14013c1fb
mov qword [rbp + 0x18], 7
xor ebx, ebx
mov qword [rbp + 0x10], rbx
mov word [rbp], bx
cmp word [rbp + 0x2d0], bx
jne 0x14013c17a
mov r8d, ebx
jmp 0x14013c18f
lea rax, [rbp + 0x2d0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x14013c185
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp]
call fcn.1400be520
nop
mov dword [rsp + 0x54], ebx
lea r9, [rbp + 0x80]
mov r8b, 1
lea rdx, [rsp + 0x54]
lea rcx, [rbp]
call fcn.140139bd0
mov ebx, eax
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x14013c1d8
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.1400be810
lea rcx, [rbp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x80]
mov rcx, r13
call fcn.1400c4cb0
test r12b, r12b
je 0x14013c24c
cmp byte [rsp + 0x50], 0
mov rax, 0xffffffffffffffff
cmovne ebx, eax
call fcn.140137ce0
mov rcx, rax
mov dword [rsp + 0x48], r14d
mov byte [rsp + 0x40], r15b
mov byte [rsp + 0x38], sil
mov dword [rsp + 0x30], ebx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x20]
mov r8, qword [rsp + 0x78]
mov rdx, rdi
call fcn.140139020
jmp 0x14013c250
or rbx, 0xffffffffffffffff
mov r8, qword [rbp + 0x38]
cmp r8, 8
jb 0x14013c26a
inc r8
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.1400be810
mov qword [rbp + 0x38], 7
xor r14d, r14d
mov qword [rbp + 0x30], r14
mov word [rbp + 0x20], r14w
mov r8, qword [rbp + 0x78]
cmp r8, 8
jb 0x14013c298
inc r8
mov rdx, qword [rbp + 0x60]
lea rcx, [rbp + 0x60]
call fcn.1400be810
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], r14
mov word [rbp + 0x60], r14w
mov r8, qword [rbp + 0x98]
cmp r8, 8
jb 0x14013c2cc
inc r8
mov rdx, qword [rbp + 0x80]
lea rcx, [rbp + 0x80]
call fcn.1400be810
mov eax, ebx
mov rcx, qword [rbp + 0x6f0]
xor rcx, rsp
call fcn.140164ec0
add rsp, 0x808
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret