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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xb0
mov rdi, rcx
mov rsi, r9
mov rcx, rdx
mov rbx, r8
mov r12, rdx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
mov rcx, qword [rdi + 0x50]
mov qword [rdi + 0x50], rax
test rcx, rcx
je 0x14003e444
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r13, qword [rsi]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
mov rbx, rax
mov rax, qword [r13 + 0xa0]
neg rax
sbb r14d, r14d
and r14d, 0x80000
add r14d, 0x40c
cmp qword [rdi + 0x30], 0
mov r15d, r14d
je 0x14003e487
call fcn.1400494c0
cmp eax, 5
jge 0x14003e487
bts r15d, 0x18
mov rax, qword [rsi]
lea rcx, [rbp - 0x21]
mov qword [rsp + 0x50], rcx
xor r9d, r9d
mov rcx, qword [rdi + 0x18]
mov r8, rbx
movzx edx, byte [rax + 0x20]
xor eax, eax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
lea rax, [r13 + 0x38]
mov qword [rsp + 0x48], rax
xor r13d, r13d
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], edx
mov rdx, r12
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x14003e51c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x7f]
mov dword [rcx], eax
test rbx, rbx
je 0x14003e4fa
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rsi]
test rbx, rbx
je 0x14003e512
mov rcx, rbx
call fcn.14003c890
mov rcx, rbx
call fcn.140080210
mov eax, 0x12
jmp 0x14003e7a3
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x39]
call fcn.140048a10
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14003e5a4
mov rdx, qword [rsi]
mov rax, qword [rdx + 0x100]
cmp qword [rdx + 0xf8], rax
jne 0x14003e5a4
mov rdx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x14003e5a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x7f]
xor edx, edx
mov dword [rcx], eax
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rcx, [rbp - 0x39]
call fcn.140048aa0
test rbx, rbx
je 0x14003e582
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rsi]
test rbx, rbx
je 0x14003e59a
mov rcx, rbx
call fcn.14003c890
mov rcx, rbx
call fcn.140080210
mov eax, 0x14
jmp 0x14003e7a3
mov r14, qword [rdi + 0x20]
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14003e698
mov rcx, qword [rbp - 0x39]
lea r8, [rdi + 0x58]
lea r9, [rbp + 0x57]
mov qword [rbp + 0x57], r13
mov rdx, r14
call fcn.14003e7c0
test al, al
lea rcx, [rbp + 0x6f]
mov rax, qword [rbp - 0x31]
cmovne r14, qword [rbp + 0x57]
mov rdx, r14
mov qword [rbp + 0x6f], rax
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x14003e65e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x7f]
xor edx, edx
mov dword [rcx], eax
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rax, qword [rbp + 0x57]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14003e625
call fcn.140047460
mov rcx, qword [rbp + 0x57]
call fcn.140047470
mov qword [rbp + 0x57], r13
lea rcx, [rbp - 0x39]
call fcn.140048aa0
test rbx, rbx
je 0x14003e63c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rsi]
test rbx, rbx
je 0x14003e654
mov rcx, rbx
call fcn.14003c890
mov rcx, rbx
call fcn.140080210
mov eax, 0x15
jmp 0x14003e7a3
mov rax, qword [rdi + 0x20]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14003e67d
call fcn.140047460
mov rcx, qword [rdi + 0x20]
call fcn.140047470
mov qword [rdi + 0x20], r13
mov rax, qword [rbp + 0x57]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14003e698
call fcn.140047460
mov rcx, qword [rbp + 0x57]
call fcn.140047470
mov rcx, qword [rbp + 0x77]
lea rdx, [rbp - 0x39]
call fcn.140048c40
test al, al
jne 0x14003e6fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x7f]
xor edx, edx
mov dword [rcx], eax
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rcx, [rbp - 0x39]
call fcn.140048aa0
test rbx, rbx
je 0x14003e6d8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rsi]
test rbx, rbx
je 0x14003e6f0
mov rcx, rbx
call fcn.14003c890
mov rcx, rbx
call fcn.140080210
mov eax, 0x17
jmp 0x14003e7a3
mov rcx, qword [rbp - 0x39]
call fcn.1400400a0
mov qword [rdi + 0x48], rax
test rax, rax
jne 0x14003e75a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x7f]
xor edx, edx
mov dword [rcx], eax
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rcx, [rbp - 0x39]
call fcn.140048aa0
test rbx, rbx
je 0x14003e73b
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rsi]
test rbx, rbx
je 0x14003e753
mov rcx, rbx
call fcn.14003c890
mov rcx, rbx
call fcn.140080210
mov eax, 0x2b
jmp 0x14003e7a3
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x39]
call fcn.140048d30
mov rdx, rax
mov rcx, rdi
call fcn.140048cc0
lea rcx, [rbp - 0x39]
call fcn.140048aa0
test rbx, rbx
je 0x14003e789
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rsi]
test rbx, rbx
je 0x14003e7a1
mov rcx, rbx
call fcn.14003c890
mov rcx, rbx
call fcn.140080210
xor eax, eax
mov rbx, qword [rsp + 0xf8]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret