Function at 0x14004dc72
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, 0x168
movaps xmmword [rsp + 0x150], xmm6
mov rsi, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x1405bdab8]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov rcx, rdx
call fcn.14033da18
mov rcx, qword [rbx + 0x50]
mov qword [rbx + 0x50], rax
test rcx, rcx
je 0x14004dcc5
call fcn.14032bee0
mov r15, qword [rsi]
mov rcx, rdi
call fcn.14033da18
mov rdi, rax
xor r12d, r12d
cmp qword [r15 + 0xa0], 0
setne r12b
shl r12d, 0x13
or r12d, 0x40c
cmp qword [rbx + 0x30], 0
je 0x14004dd0b
call fcn.14004bb30
lea ecx, [r12 + 0x1000000]
cmp eax, 5
cmovge ecx, r12d
mov r12d, ecx
mov rbp, qword [rsp + 0x1d8]
mov rax, qword [rsi]
movzx eax, byte [rax + 0x20]
xor edx, edx
lea r8, [rsp + 0x80]
mov qword [r8 + 0x10], rdx
xorps xmm0, xmm0
movaps xmmword [r8], xmm0
add r15, 0x38
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x48], r15
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov r8, rdi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x14004decc
movabs r13, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x60]
mov qword [rcx + 0x10], r13
movaps xmm6, xmmword [0x1404c2310]
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0x80]
call fcn.14004c290
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14004ddc4
mov rax, qword [rsi]
mov rdx, qword [rax + 0x100]
cmp rdx, qword [rax + 0x108]
jne 0x14004ddc4
mov rdx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x14004dedf
mov r14, qword [rbx + 0x20]
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14004df45
mov qword [rsp + 0x58], 0
mov rdx, qword [rsp + 0x60]
lea r15, [rsp + 0x130]
mov qword [r15 + 0x10], r13
movaps xmmword [r15], xmm6
mov rcx, r15
xor r8d, r8d
call fcn.1400622b0
cmp byte [r15], 0
je 0x14004df11
lea r12, [rsp + 0x100]
mov qword [r12 + 0x20], r13
movaps xmmword [r12 + 0x10], xmm6
movaps xmmword [r12], xmm6
lea r15, [rsp + 0x138]
mov rcx, r15
mov rdx, r12
call fcn.140062a40
cmp byte [r12], 0
je 0x14004deff
lea r8, [rbx + 0x58]
lea r13, [rsp + 0xa0]
movaps xmmword [r13 + 0x50], xmm6
movaps xmmword [r13 + 0x40], xmm6
movaps xmmword [r13 + 0x30], xmm6
movaps xmmword [r13 + 0x20], xmm6
movaps xmmword [r13 + 0x10], xmm6
movaps xmmword [r13], xmm6
lea r12, [rsp + 0x108]
mov rcx, r13
mov rdx, r12
call fcn.14006135c
lea r9, [rsp + 0x58]
mov rcx, r14
xor edx, edx
mov r8, r13
call fcn.14004edba
mov r15d, eax
mov rcx, r13
call fcn.140061492
cmp byte [r12 - 8], 0
je 0x14004dea9
mov rcx, r12
call fcn.14004cd30
cmp byte [rsp + 0x130], 0
je 0x14004dec0
lea rcx, [rsp + 0x138]
call fcn.140040cb0
test r15d, r15d
jne 0x14004df11
mov r14, qword [rsp + 0x58]
jmp 0x14004df11
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov ebx, send
jmp 0x14004e022
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x14
jmp 0x14004e018
cmp byte [rsp + 0x130], 0
je 0x14004df11
mov rcx, r15
call fcn.140040cb0
mov rax, qword [rsp + 0x68]
lea rcx, [rsp + 0xa0]
mov qword [rcx], rax
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
je 0x14004dfcf
lea rcx, [rbx + 0x20]
call fcn.140040cb0
lea rcx, [rsp + 0x58]
call fcn.140040cb0
mov rcx, qword [rsp + 0x1d0]
lea rdx, [rsp + 0x60]
call fcn.14004c4c0
test al, al
je 0x14004df95
mov rcx, qword [rsp + 0x60]
call fcn.1400648d8
mov qword [rbx + 0x48], rax
test rax, rax
je 0x14004dfb2
lea rax, [rbx + 0x48]
lea rcx, [0x140000000]
cmp qword [rax], rcx
je 0x14004dff6
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x41
jmp 0x14004e018
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x17
jmp 0x14004e018
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x2b
jmp 0x14004e018
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rcx, [rsp + 0x58]
call fcn.140040cb0
mov ebx, 0x15
jmp 0x14004e018
lea rcx, [rsp + 0x60]
lea r14, [rsp + 0xa0]
mov rdx, r14
call fcn.14004c600
mov rcx, rbx
mov rdx, r14
call fcn.14004c2c0
xor ebx, ebx
lea rcx, [rsp + 0x60]
call fcn.14004c400
test rdi, rdi
je 0x14004e02f
mov rcx, rdi
call fcn.14032bee0
mov rcx, rsi
call fcn.14003fb1a
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.14031e660
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x150]
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret