Function at 0x14003a180
Capabilities:
Create process on windows
Resume thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x238
mov rbx, r8
mov r14, rdx
mov r15, rcx
mov rax, qword [0x14017b818]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rcx, [rsp + 0xb0]
call fcn.14005f360
cmp dword [rbx + 0x2c], 1
sete dl
mov rdi, qword [rbx + 0x30]
mov rbp, qword [rbx + 0x38]
cmp rdi, rbp
je 0x14003a203
mov rax, rbp
sub rax, rdi
sar rax, 3
cmp rax, 0x1fffffff
ja 0x14003a6b1
mov r13, r14
mov rsi, qword [sym.imp.KERNEL32.dll_SetHandleInformation]
lea r12, str..._.._base_process_launch_win.cc
lea r14, [rsp + 0x120]
jmp 0x14003a640
xor ebp, ebp
cmp byte [rbx + 0x50], 0
je 0x14003a21a
lea rax, [0x14014a5ca]
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0xec], 1
movzx eax, byte [rbx + 0x28]
xor eax, 1
mov word [rsp + 0xf0], ax
mov rax, qword [rbx + 0x60]
test rax, rax
je 0x14003a243
mov rcx, qword [rbx + 0x68]
jmp 0x14003a253
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14003a253
cmp qword [rbx + 0x70], 0
je 0x14003a27a
mov dword [rsp + 0xec], 0x101
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rcx
mov rax, qword [rbx + 0x70]
mov qword [rsp + 0x110], rax
mov byte [rsp + 0x67], dl
cmp qword [rbx + 0x58], 0
je 0x14003a29c
call fcn.14004cd50
xor ecx, ecx
cmp eax, 5
setl cl
shl ecx, 0x18
or ecx, ebp
or ecx, 4
mov ebp, ecx
mov edi, ebp
or edi, 0x1000000
cmp byte [rbx + 0x78], 0
cmove edi, ebp
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], 0
cmp qword [rbx + 0x18], 0
je 0x14003a2dd
lea r13, [rbx + 8]
cmp qword [rbx + 0x20], 8
jb 0x14003a2e5
mov rbp, r15
mov r13, qword [r13]
jmp 0x14003a2e8
mov rbp, r15
xor r13d, r13d
jmp 0x14003a2e8
mov rbp, r15
movups xmmword [rsp + 0x130], xmm0
mov r15, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 7
mov r12, r14
jbe 0x14003a301
mov r12, qword [r14]
mov rsi, r14
cmp r15, 7
ja 0x14003a31f
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x120], xmm0
mov r14d, 7
jmp 0x14003a391
mov r14, r15
or r14, 7
movabs rax, 0x7ffffffffffffffe
cmp r14, rax
cmovae r14, rax
mov rcx, r14
add rcx, 1
js 0x14003a6f6
add rcx, rcx
cmp rcx, 0x1000
jb 0x14003a371
cmp rcx, 0xffffffffffffffd9
jae 0x14003a6f6
add rcx, 0x27
call fcn.14011a310
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x14003a379
call fcn.14011a310
mov rcx, rax
mov qword [rsp + 0x120], rcx
lea r8, [r15 + r15]
add r8, 2
mov rdx, r12
call fcn.14011d3a0
mov qword [rsp + 0x130], r15
mov qword [rsp + 0x138], r14
mov rdx, qword [rbx + 0x48]
test rdx, rdx
je 0x14003a3ec
mov qword [rsp + 0x78], 0
lea rcx, [rsp + 0x78]
xor r8d, r8d
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x14003a408
or edi, 0x400
mov rdx, qword [rsp + 0x78]
movzx eax, byte [rsp + 0x67]
cmp qword [rsp + 0x138], 7
mov r15, rbp
jbe 0x14003a41a
mov r8, qword [rsp + 0x120]
jmp 0x14003a422
movzx eax, byte [rsp + 0x67]
cmp r14, 7
jbe 0x14003a503
mov rdx, qword [rsp + 0x120]
jmp 0x14003a50b
xor edx, edx
mov r15, rbp
mov rcx, rbp
call fcn.14003a700
jmp 0x14003a5a9
lea r8, [rsp + 0x120]
mov r14, rsi
lea rbp, [rsp + 0xb0]
mov rcx, qword [rbx + 0x48]
lea rsi, [rsp + 0x90]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0
xor edx, edx
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
mov rcx, qword [rsp + 0x78]
call sub.USERENV.dll_DestroyEnvironmentBlock
test esi, esi
je 0x14003a557
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0x90]
call fcn.14004eeb0
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x14003a4b9
mov rdx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x14003a563
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [rbx], 0
je 0x14003a4ce
mov rcx, qword [rsp + 0x78]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [rsp + 0x88]
mov rcx, qword [0x14017ccc0]
test rcx, rcx
je 0x14003a4e9
mov r8, r14
call fcn.140053af0
lea rcx, [rsp + 0x78]
call fcn.14004f020
mov rcx, r15
mov rdx, rax
call fcn.14003a700
jmp 0x14003a59f
lea rdx, [rsp + 0x120]
mov r15, rbp
mov r14, rsi
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x30], 0
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14003a47d
xor edx, edx
mov rcx, r15
call fcn.14003a700
jmp 0x14003a5a9
lea rcx, [rsp + 0x78]
call fcn.14004f020
lea rsi, [rsp + 0x68]
mov rcx, rsi
mov rdx, rax
call fcn.14003a700
mov edx, 1
mov r8b, 1
mov rcx, rsi
call fcn.14003a900
xor edx, edx
mov rcx, r15
call fcn.14003a700
mov rcx, rsi
call fcn.14003a740
lea rcx, [rsp + 0x78]
call fcn.14004ef00
mov rax, qword [rsp + 0x138]
cmp rax, 8
jb 0x14003a6bb
add rax, 1
js 0x14003a6ef
mov rcx, qword [rsp + 0x120]
add rax, rax
cmp rax, 0x1000
jb 0x14003a602
test cl, 0x1f
jne 0x14003a6ef
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14003a6ef
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
mov rcx, rax
jae 0x14003a6ef
call fcn.14011a350
jmp 0x14003a6bb
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
mov r8d, 0xde
mov r9d, 3
mov rcx, r14
mov rdx, r12
call fcn.14002d860
mov rcx, r14
call fcn.14002d9a0
jmp 0x14003a654
mov rcx, qword [rdi]
mov edx, 1
mov r8d, 1
call rsi
test eax, eax
je 0x14003a60c
add rdi, 8
cmp rbp, rdi
jne 0x14003a640
lea rcx, [rsp + 0xb0]
mov edx, 1
call fcn.14005f450
test al, al
je 0x14003a6b1
mov r9d, dword [rbx + 0x38]
mov r8, qword [rbx + 0x30]
sub r9d, r8d
and r9d, 0xfffffff8
lea rcx, [rsp + 0xb0]
mov edx, 0x20002
call fcn.14005f500
test al, al
je 0x14003a6b1
mov dl, 1
mov ebp, 0x80000
mov r14, r13
cmp byte [rbx + 0x50], 0
jne 0x14003a20b
jmp 0x14003a21a
xor edx, edx
mov rcx, r15
call fcn.14003a700
lea rcx, [rsp + 0xb0]
call fcn.14005f410
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14011a370
mov rax, r15
add rsp, 0x238
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140120f80
ud2
call fcn.14011ae10
ud2