Function at 0x14005c9e0
Capabilities:
Create process on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x188
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xf0], xmm6
mov qword [rbp + 0xe8], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
movzx eax, byte [rcx + 0x80]
test byte [rcx], 1
je 0x14005ca4c
mov r8, qword [rsi + 0x10]
mov rcx, 0xffffffffffffffff
mov rdx, 0xffffffffffffffff
test r8b, 1
je 0x14005ca3b
mov rdx, qword [rsi + 0x18]
or eax, 0x100
mov r8, qword [rsi + 8]
cmp byte [rsi + 0x20], 0
jne 0x14005caa6
jmp 0x14005caaa
cmp dword [rsi + 0x10], 1
jne 0x14005ca71
or eax, 0x100
mov rdx, qword [rsi + 0x18]
mov r8, 0xffffffffffffffff
mov rcx, 0xffffffffffffffff
cmp byte [rsi + 0x20], 0
jne 0x14005caa6
jmp 0x14005caaa
cmp dword [rsi + 0x20], 1
jne 0x14005ca99
or eax, 0x100
mov r8, 0xffffffffffffffff
mov rcx, 0xffffffffffffffff
mov rdx, 0xffffffffffffffff
cmp byte [rsi + 0x20], 0
jne 0x14005caa6
jmp 0x14005caaa
xor r8d, r8d
xor ecx, ecx
xor edx, edx
cmp byte [rsi + 0x20], 0
je 0x14005caaa
mov rcx, qword [rsi + 0x28]
xorps xmm6, xmm6
movups xmmword [rbp - 0xc], xmm6
movups xmmword [rbp - 0x1c], xmm6
movups xmmword [rbp - 0x2c], xmm6
mov qword [rbp + 4], 0
movups xmmword [rbp + 0x10], xmm6
mov dword [rbp + 0xc], eax
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], 0
mov dword [rbp - 0x30], 0x70
lea rcx, [rbp + 0x58]
mov edx, 1
call fcn.14005d9b0
mov rcx, qword [rbp + 0x58]
mov rbx, qword [rbp + 0x60]
mov rax, rcx
neg rax
jo 0x14005ccc7
mov qword [rbp + 0xe0], rcx
mov r9, qword [rdi]
movups xmmword [rsp + 0x28], xmm6
mov qword [rsp + 0x20], 8
mov r8d, 0x20016
mov rcx, rbx
xor edx, edx
call sub.KERNEL32.dll_UpdateProcThreadAttribute
test eax, eax
mov qword [rbp + 0xc8], rbx
je 0x14005cc77
mov qword [rbp + 0x38], rbx
xorps xmm0, xmm0
movaps xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], 0
mov rdx, qword [rsi + 0x38]
mov r8, qword [rsi + 0x40]
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x88], 0
lea rcx, [rbp + 0x58]
xor r9d, r9d
call fcn.14005be50
mov rcx, qword [rbp + 0x58]
mov rbx, qword [rbp + 0x60]
mov rax, rcx
neg rax
jo 0x14005cc9b
mov qword [rbp + 0xd0], rcx
mov qword [rbp + 0xc0], rbx
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0xb8], rax
lea rcx, [rsi + 0x60]
call fcn.14006edd0
add rdx, rax
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x60], rdx
mov word [rbp + 0x68], 0
mov dword [rbp + 0x70], 1
lea rcx, [rbp + 0x40]
lea rdx, [rbp + 0x58]
call fcn.14005ded0
mov rax, qword [rsi + 0x50]
mov rdx, qword [rbp + 0x48]
lea rcx, [rbp + 0xa0]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x40], rcx
mov qword [rbp + 0x98], rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x80400
mov dword [rsp + 0x20], 1
mov rsi, qword [rbp + 0xc0]
mov rcx, rsi
mov rdx, qword [rbp + 0xb8]
xor r8d, r8d
xor r9d, r9d
call sub.KERNEL32.dll_CreateProcessW
test eax, eax
je 0x14005ccea
mov rdi, qword [rbp + 0xa0]
test rdi, rdi
je 0x14005cdd8
mov qword [rbp + 0xa0], 0
xor ebx, ebx
mov r14, qword [rbp + 0xe0]
mov r15, qword [rbp + 0xc8]
jmp 0x14005cd28
call fcn.14006d290
shl rax, 0x20
or rax, 2
lea rcx, [0x1400881fa]
mov edx, 0x20
mov r8, rax
call fcn.14005add0
mov rbx, rax
mov rsi, qword [rbp + 0xe0]
mov rdi, qword [rbp + 0xc8]
mov rcx, rdi
call sub.KERNEL32.dll_DeleteProcThreadAttributeList
test rsi, rsi
je 0x14005ccc7
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call fcn.140009320
mov eax, 1
mov rdx, rbx
movaps xmm6, xmmword [rbp + 0xf0]
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.14006d290
shl rax, 0x20
or rax, 2
lea rcx, str.CreateProcessAsUserW
mov edx, 0x14
mov r8, rax
call fcn.14005add0
mov rdi, rax
mov ebx, 1
mov r14, qword [rbp + 0xe0]
mov r15, qword [rbp + 0xc8]
mov rsi, qword [rbp + 0xc0]
mov r12, qword [rbp + 0xd0]
mov r13, qword [rbp + 0xd8]
mov rdx, qword [rbp + 0x40]
test rdx, rdx
je 0x14005cd54
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x98]
call fcn.140009320
test r13, r13
je 0x14005cd71
add r13, r13
mov r8d, 2
mov rcx, qword [rbp + 0xb8]
mov rdx, r13
call fcn.140009320
test r12, r12
je 0x14005cd8a
add r12, r12
mov r8d, 2
mov rcx, rsi
mov rdx, r12
call fcn.140009320
mov rcx, qword [rbp + 0xa0]
mov rsi, qword [rbp + 0xa8]
test rcx, rcx
je 0x14005cda2
call fcn.14007ef3e
test rsi, rsi
je 0x14005cdaf
mov rcx, rsi
call fcn.14007ef3e
mov rcx, r15
call sub.KERNEL32.dll_DeleteProcThreadAttributeList
test r14, r14
je 0x14005cdcd
mov r8d, 1
mov rcx, r15
mov rdx, r14
call fcn.140009320
mov rdx, rdi
mov rax, rbx
jmp 0x14005cccf
lea rcx, [0x140088008]
call fcn.140081560
ud2