Function at 0x14013b470
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 [0x14027e238]
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.1401a7d70
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.140140260
mov ebx, eax
test eax, eax
js 0x14013ba9e
lea r8, str.cmd.exe__S__C___
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x20]
call fcn.1400dc1b0
nop
mov rcx, rdi
call fcn.140139370
mov ebx, eax
test eax, eax
js 0x14013ba70
cmp qword [rdi + 0x18], 8
jb 0x14013b55b
mov rdx, qword [rdi]
jmp 0x14013b55e
mov rdx, rdi
or rbx, 0xffffffffffffffff
cmp word [rdx], 0
jne 0x14013b56d
mov r8, r14
jmp 0x14013b57b
mov r8, rbx
inc r8
cmp word [rdx + r8*2], 0
jne 0x14013b570
lea rcx, [rbp + 0x20]
call fcn.1400c4b50
mov r8d, 2
lea rdx, [0x140235ba0]
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 0x14013b7e7
lea rdx, [rbp + 0x4e0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14013b6de
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 0x14013b6de
mov r8d, 3
lea rdx, [0x140235bb8]
lea rcx, [rbp + 0x20]
call fcn.1400c4b50
lea r8, [0x140227224]
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, [0x140227224]
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 0x14013b67f
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 0x14013b6aa
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 0x14013b6de
inc r8
mov rdx, qword [rbp + 0xa0]
lea rcx, [rbp + 0xa0]
call fcn.1400be810
test r15b, r15b
je 0x14013b7e7
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 0x14013b7e7
mov r8d, 4
lea rdx, str._2_
lea rcx, [rbp + 0x20]
call fcn.1400c4b50
lea r8, [0x140227224]
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, [0x140227224]
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 0x14013b788
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 0x14013b7b3
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 0x14013b7e7
inc r8
mov rdx, qword [rbp + 0xa0]
lea rcx, [rbp + 0xa0]
call fcn.1400be810
mov r8d, 1
lea rdx, [0x140227224]
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 0x14013b8e1
test sil, sil
je 0x14013b8c8
mov edx, r14d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14013b8b8
mov byte [rsp + 0x50], 1
mov rax, qword [rsp + 0x70]
test eax, eax
je 0x14013b8c8
mov r8d, eax
xor edx, edx
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14013b8b0
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x14013b8a7
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 0x14013b8c8
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 0x14013ba1b
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], rbx
mov word [rbp], bx
cmp word [rbp + 0xc0], bx
jne 0x14013b90a
mov r8d, ebx
jmp 0x14013b91f
lea rax, [rbp + 0xc0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x14013b915
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.1401393f0
mov ebx, eax
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x14013b964
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 0x14013ba1b
mov qword [rbp + 0x18], 7
xor ebx, ebx
mov qword [rbp + 0x10], rbx
mov word [rbp], bx
cmp word [rbp + 0x2d0], bx
jne 0x14013b99a
mov r8d, ebx
jmp 0x14013b9af
lea rax, [rbp + 0x2d0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x14013b9a5
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.1401393f0
mov ebx, eax
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x14013b9f8
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 0x14013ba6c
cmp byte [rsp + 0x50], 0
mov rax, 0xffffffffffffffff
cmovne ebx, eax
call fcn.140137500
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.140138840
jmp 0x14013ba70
or rbx, 0xffffffffffffffff
mov r8, qword [rbp + 0x38]
cmp r8, 8
jb 0x14013ba8a
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 0x14013bab8
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 0x14013baec
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.1401646e0
add rsp, 0x808
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret