Function at 0x140001320
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push rbp
push rbx
push rdi
push r13
push r14
lea rbp, [rsp - 0x5e0]
sub rsp, 0x6e0
mov rax, qword [0x14001d008]
xor rax, rsp
mov qword [rbp + 0x5d0], rax
xor r13d, r13d
mov rdi, rdx
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x70], r13
cmp ecx, 3
jl 0x140001650
cmp qword [rdx + 8], r13
je 0x140001650
mov rcx, qword [0x14001f010]
lea rdx, [rsp + 0x50]
call fcn.140001660
test eax, eax
jne 0x14000138b
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000161b
mov rbx, qword [rsp + 0x50]
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x140001650
movsxd r14, dword [rbx + 0x3c]
lea rcx, [rbp + 0x450]
xor edx, edx
add r14, rbx
lea r8d, [rdx + 0x68]
call fcn.140003260
xor eax, eax
lea rcx, str._F7A0F465_950B_43BA_BED9_D3713D974073
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov qword [rsp + 0x60], rax
xor r8d, r8d
mov qword [rsp + 0x68], rax
xor edx, edx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x450]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140001650
mov qword [rsp + 0x720], r12
lea rcx, [rbp + 0x4c0]
xor edx, edx
mov qword [rsp + 0x728], r15
mov r8d, 0x104
call fcn.140003260
mov eax, dword [rsp + 0x68]
lea r8, str._s._d.csv
mov r9, qword [rdi]
lea rcx, [rbp + 0x4c0]
mov edx, 0x104
mov dword [rsp + 0x20], eax
call fcn.1400012c0
xor r9d, r9d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
lea rcx, [rbp + 0x4c0]
mov edx, 0x10000000
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140001639
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
lea rdx, [rbp - 0x80]
mov dword [rbp - 0x50], 0x10000b
call qword [0x14001f588]
mov rdx, qword [rbp + 8]
lea r8, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], r13
call qword [0x14001f5a0]
mov rdx, qword [r14 + 0x30]
mov rax, qword [rsp + 0x70]
cmp rax, rdx
jne 0x1400014f4
mov rcx, qword [rsp + 0x58]
mov rdx, rax
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov rdx, qword [r14 + 0x30]
mov r8d, dword [r14 + 0x50]
mov r9d, 0x3000
mov rcx, qword [rsp + 0x58]
mov dword [rsp + 0x20], 0x40
call qword [0x14001f5b8]
mov r15, rax
test rax, rax
je 0x140001639
mov r9d, dword [r14 + 0x54]
mov r8, rbx
mov rcx, qword [rsp + 0x58]
mov rdx, rax
mov qword [rsp + 0x710], rsi
mov qword [rsp + 0x20], r13
call qword [0x14001f5a8]
mov esi, r13d
cmp r13w, word [r14 + 6]
jae 0x140001593
mov rdi, r13
nop dword [rax]
movsxd rax, dword [rbx + 0x3c]
mov rcx, qword [rsp + 0x58]
add rax, rdi
mov qword [rsp + 0x20], r13
mov r8d, dword [rax + rbx + 0x11c]
mov edx, dword [rax + rbx + 0x114]
add r8, rbx
mov r9d, dword [rax + rbx + 0x118]
add rdx, r15
call qword [0x14001f5a8]
movzx eax, word [r14 + 6]
inc esi
add rdi, 0x28
cmp esi, eax
jl 0x140001550
mov eax, dword [r14 + 0x28]
lea r8, [r14 + 0x30]
mov rdx, qword [rbp + 8]
add rax, r15
mov rcx, qword [rsp + 0x58]
add rdx, 0x10
mov r9d, 8
mov qword [rbp], rax
mov qword [rsp + 0x20], r13
call qword [0x14001f5a8]
mov rcx, qword [rsp + 0x60]
lea rdx, [rbp - 0x80]
call qword [0x14001f580]
mov rcx, qword [rsp + 0x60]
call qword [0x14001f598]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [0x14001f590]
mov rsi, qword [rsp + 0x710]
xor eax, eax
mov r12, qword [rsp + 0x720]
mov r15, qword [rsp + 0x728]
mov rcx, qword [rbp + 0x5d0]
xor rcx, rsp
call fcn.1400022d0
add rsp, 0x6e0
pop r14
pop r13
pop rdi
pop rbx
pop rbp
ret
mov rcx, qword [rsp + 0x58]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 1
jmp 0x14000160b
mov eax, 1
jmp 0x14000161b