Function at 0x1400d01f0
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 r13, r9
mov rsi, r8
mov rdi, rdx
mov r15, rcx
mov rax, qword [0x1401b46a8]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rcx, rdx
call fcn.1401482b4
mov rcx, qword [r15 + 0x50]
mov qword [r15 + 0x50], rax
test rcx, rcx
je 0x1400d023b
call fcn.140042f50
mov rbp, qword [r13]
mov rcx, rsi
call fcn.1401482b4
mov r12, rax
xor esi, esi
cmp qword [rbp + 0xa0], 0
setne sil
shl esi, 0x13
or esi, 0x40c
cmp qword [r15 + 0x30], 0
je 0x1400d0279
call fcn.140067900
lea ecx, [rsi + 0x1000000]
cmp eax, 5
cmovl esi, ecx
mov r14, qword [rsp + 0x1b8]
mov rax, qword [r13]
movzx eax, byte [rax + 0x20]
xor edx, edx
lea rbx, [rsp + 0x80]
mov qword [rbx + 0x10], rdx
xorps xmm0, xmm0
movaps xmmword [rbx], xmm0
add rbp, 0x38
mov rcx, qword [r15 + 0x18]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbp
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
mov rdx, rdi
mov r8, r12
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1400d0401
movabs rsi, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x60]
mov qword [rcx + 0x10], rsi
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rcx], xmm0
lea rdx, [rsp + 0x80]
call fcn.1400cfc60
mov rcx, qword [r15 + 0x30]
test rcx, rcx
je 0x1400d0332
mov rax, qword [r13]
mov rdx, qword [rax + 0xf0]
cmp rdx, qword [rax + 0xf8]
jne 0x1400d0332
mov rdx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x1400d0414
mov r14, qword [r15 + 0x20]
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400d052f
mov qword [rsp + 0x58], 0
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0xb0]
mov qword [r8], rsi
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400d04d6
mov rdx, qword [rsp + 0xb0]
lea rsi, [rsp + 0xa0]
mov qword [rsi], 0
mov rcx, rsi
call fcn.1400067ee
mov rsi, qword [rsi]
mov ecx, 0x4c
call fcn.1401321a8
mov rdi, rax
xor ebp, ebp
mov r8d, 0x4c
mov rcx, rax
xor edx, edx
call fcn.140135a50
lea rax, [rsp + 0xac]
mov dword [rax], 0xaaaaaaaa
mov qword [rsp + 0x20], rax
mov rcx, rsi
mov edx, 0x1f
mov r8, rdi
mov r9d, 0x4c
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400d0434
mov rsi, qword [rdi]
test rsi, rsi
je 0x1400d0438
mov ecx, 0x44
call fcn.1401321a8
mov rbx, rax
mov rcx, rax
mov rdx, rsi
call fcn.1400c9a60
jmp 0x1400d043a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov edi, 0x12
jmp 0x1400d05d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x14
jmp 0x1400d05c9
xor ebx, ebx
jmp 0x1400d0441
xor ebx, ebx
test rsi, rsi
setne bpl
mov rcx, rdi
call fcn.1401321e4
lea rcx, [rsp + 0xa0]
call fcn.1400067c0
test bpl, bpl
je 0x1400d04c9
lea rsi, [r15 + 0x58]
lea rdi, [rsp + 0xb0]
mov r8d, 0x90
mov rcx, rdi
mov dl, 0xaa
call fcn.140135a50
mov rcx, rdi
mov rdx, rbx
mov r8, rsi
call fcn.1400f5324
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov rcx, r14
xor edx, edx
mov r8, rdi
xor r9d, r9d
call fcn.1400966d4
mov esi, eax
mov rcx, rdi
call fcn.1400f54d4
test rbx, rbx
je 0x1400d04be
mov rcx, rbx
call fcn.1401321e4
test esi, esi
jne 0x1400d04d6
mov r14, qword [rsp + 0x58]
jmp 0x1400d04d6
test rbx, rbx
je 0x1400d04d6
mov rcx, rbx
call fcn.1401321e4
mov rax, qword [rsp + 0x68]
lea rcx, [rsp + 0xb0]
mov qword [rcx], rax
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
mov edi, eax
test eax, eax
je 0x1400d0500
lea rcx, [r15 + 0x20]
call fcn.1400067c0
jmp 0x1400d051d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x1b8]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rcx, [rsp + 0x58]
call fcn.1400067c0
test edi, edi
je 0x1400d05c4
mov rcx, qword [rsp + 0x1b0]
lea rdx, [rsp + 0x60]
call fcn.1400cfeb0
test al, al
je 0x1400d057c
mov rcx, qword [rsp + 0x60]
call fcn.1400cb61d
mov qword [r15 + 0x48], rax
test rax, rax
je 0x1400d05a0
lea rcx, [rsp + 0x60]
lea rsi, [rsp + 0xb0]
mov rdx, rsi
call fcn.1400cfff0
mov rcx, r15
mov rdx, rsi
call fcn.1400cfc90
xor edi, edi
jmp 0x1400d05c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x1b8]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x17
jmp 0x1400d05c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x1b8]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x2b
jmp 0x1400d05c9
mov edi, 0x15
lea rcx, [rsp + 0x60]
call fcn.1400cfdf0
test r12, r12
je 0x1400d05e0
mov rcx, r12
call fcn.140042f50
mov rcx, r13
xor edx, edx
call fcn.1400d0a08
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140132550
mov eax, edi
add rsp, 0x148
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret