Function at 0x14013ef12
Capabilities:
Create process on windows
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x148
mov ebp, r9d
mov rsi, r8
mov rbx, rdx
mov r13, rcx
mov rdi, qword [rsp + 0x1b0]
mov rax, qword [0x14030f948]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rcx, rdx
call fcn.14019cc7c
mov rcx, qword [r13 + 0x50]
mov qword [r13 + 0x50], rax
test rcx, rcx
je 0x14013ef65
call fcn.140095b90
mov rcx, rsi
call fcn.14019cc7c
mov r12, rax
xor eax, eax
xor esi, esi
cmp qword [rdi + 0x70], rax
setne sil
shl esi, 0x13
or esi, 0x40c
cmp qword [r13 + 0x30], rax
je 0x14013ef9c
call fcn.140095ae0
lea ecx, [rsi + 0x1000000]
cmp eax, 5
cmovl esi, ecx
mov r15, qword [rsp + 0x1c0]
xorps xmm0, xmm0
lea rax, [rsp + 0x80]
movaps xmmword [rax], xmm0
xor edx, edx
mov qword [rax + 0x10], rdx
add rdi, 8
movzx ebp, bpl
mov rcx, qword [r13 + 0x18]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rdx
mov rdx, rbx
mov r8, r12
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x14013f0f4
lea rcx, [rsp + 0x68]
lea rdx, [rsp + 0x80]
call fcn.140094db0
mov rcx, qword [r13 + 0x30]
test rcx, rcx
je 0x14013f025
mov rdx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x14013f107
mov rbx, qword [r13 + 0x20]
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14013f1e4
mov qword [rsp + 0x60], 0
mov rcx, qword [rsp + 0x68]
lea r8, [rsp + 0xb0]
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14013f1b0
mov rdx, qword [rsp + 0xb0]
lea rbp, [rsp + 0xa0]
mov qword [rbp], 0
mov rcx, rbp
call fcn.14000f62c
mov r14, qword [rbp]
mov ecx, 0x4c
call fcn.14018360c
mov rbp, rax
xor edi, edi
mov r8d, 0x4c
mov rcx, rax
xor edx, edx
call fcn.1401867a0
lea rax, [rsp + 0xac]
mov qword [rsp + 0x20], rax
mov rcx, r14
mov edx, 0x1f
mov r8, rbp
mov r9d, 0x4c
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14013f127
mov rsi, r15
mov r15, qword [rbp]
test r15, r15
je 0x14013f12c
mov ecx, 0x44
call fcn.14018360c
mov r14, rax
mov rcx, rax
mov rdx, r15
call fcn.140139b58
mov dil, 1
jmp 0x14013f131
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov edi, reloc.WS2_32.dll_select
jmp 0x14013f29a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov rcx, qword [rsp + 0x68]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, setsockopt
jmp 0x14013f290
xor r14d, r14d
jmp 0x14013f134
xor r14d, r14d
xor edi, edi
mov r15, rsi
mov rcx, rbp
call fcn.140183668
lea rcx, [rsp + 0xa0]
call fcn.140004348
test dil, dil
je 0x14013f197
lea r8, [r13 + 0x58]
lea rbp, [rsp + 0xb0]
mov rcx, rbp
mov rdx, r14
call fcn.14013f6ac
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov rcx, rbx
xor edx, edx
mov r8, rbp
xor r9d, r9d
call fcn.140112521
test eax, eax
sete sil
mov rcx, rbp
call fcn.14013f832
jmp 0x14013f199
xor esi, esi
test r14, r14
je 0x14013f1a6
mov rcx, r14
call fcn.140183668
test sil, sil
je 0x14013f1b0
mov rbx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x70]
lea rcx, [rsp + 0xb0]
mov qword [rcx], rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
je 0x14013f26b
lea rcx, [r13 + 0x20]
call fcn.140004348
lea rcx, [rsp + 0x60]
call fcn.140004348
mov rcx, qword [rsp + 0x1b8]
lea rdx, [rsp + 0x68]
call fcn.140094fa0
test al, al
je 0x14013f231
mov rcx, qword [rsp + 0x68]
call fcn.14013b5aa
mov qword [r13 + 0x48], rax
test rax, rax
je 0x14013f24e
lea rcx, [rsp + 0x68]
lea rbx, [rsp + 0xb0]
mov rdx, rbx
call fcn.1400950a0
mov rcx, r13
mov rdx, rbx
call fcn.140094e00
xor edi, edi
jmp 0x14013f290
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov rcx, qword [rsp + 0x68]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, reloc.WS2_32.dll_socket
jmp 0x14013f290
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov rcx, qword [rsp + 0x68]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x2b
jmp 0x14013f290
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov rcx, qword [rsp + 0x68]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rcx, [rsp + 0x60]
call fcn.140004348
mov edi, reloc.WS2_32.dll_setsockopt
lea rcx, [rsp + 0x68]
call fcn.140094e60
test r12, r12
je 0x14013f2a7
mov rcx, r12
call fcn.140095b90
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140183a80
mov eax, edi
add rsp, 0x148
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret