Function at 0x1400d42c0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rdi
lea rbp, [rax - 0x18]
sub rsp, 0x108
mov qword [rax + 0x18], rsi
xor edi, edi
mov qword [rax + 0x20], r12
mov r12, r9
mov qword [rax - 0x18], r13
mov r13, r8
mov qword [rax - 0x20], r14
mov r10, rcx
mov qword [rax - 0x28], r15
mov r15, rdx
mov esi, edi
mov r14, 0xffffffffffffffff
test rdx, rdx
je 0x1400d4359
mov qword [rax + 0x10], rbx
mov rbx, r14
nop dword [rax + rax]
inc rbx
cmp word [rdx + rbx*2], si
jne 0x1400d4310
mov rdx, qword [0x140191180]
add rbx, rbx
lea rcx, [rbx + 0x12]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
mov rsi, rax
mov r8, rbx
mov rdx, r15
mov qword [rax], rbx
add rax, 0x10
mov qword [rsi + 8], rax
mov word [rax + rbx], di
mov rcx, qword [rsi + 8]
call fcn.1401317c0
mov r10, qword [rbp + 0x20]
mov rbx, qword [rsp + 0x128]
mov r8d, dword [rbp + 0x48]
mov ecx, r8d
mov rax, qword [rbp + 0x40]
and ecx, 2
mov r15, qword [rsp + 0xf0]
shl ecx, 9
mov edx, ecx
or edx, 4
test r8b, 4
cmove edx, ecx
mov ecx, edx
bts ecx, 0x18
test r8b, 8
cmove ecx, edx
mov r9d, ecx
or r9d, 0x10
test r8b, 0x10
cmove r9d, ecx
test rax, rax
je 0x1400d43da
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x70], xmm1
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [rax + 0x40]
movaps xmmword [rbp - 0x50], xmm1
movups xmm1, xmmword [rax + 0x50]
movaps xmmword [rbp - 0x40], xmm0
movsd xmm0, qword [rax + 0x60]
movsd qword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm1
jmp 0x1400d4401
xorps xmm0, xmm0
mov dword [rbp - 0x80], 0x68
xor eax, eax
movups xmmword [rbp - 0x7c], xmm0
mov dword [rbp - 0x1c], eax
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
mov rcx, qword [rbp + 0x50]
test rcx, rcx
jne 0x1400d4454
test rsi, rsi
je 0x1400d4415
mov rdx, qword [rsi + 8]
jmp 0x1400d4418
mov rdx, rdi
and r8d, 1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov rcx, r10
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r9d
xor r9d, r9d
mov dword [rsp + 0x20], r8d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
jmp 0x1400d44a1
test rsi, rsi
je 0x1400d445f
mov rax, qword [rsi + 8]
jmp 0x1400d4462
mov rax, rdi
and r8d, 1
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x50], rdx
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x48], rdx
mov rdx, r10
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r9d
xor r9d, r9d
mov dword [rsp + 0x28], r8d
mov r8, rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x1400d44b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1400d44b7
movzx eax, ax
or eax, 0xc0070000
mov edi, eax
mov r13, qword [rsp + 0x100]
mov r12, qword [rsp + 0x138]
test rsi, rsi
je 0x1400d44e3
lea rcx, [rsi - 0x10]
lock xadd dword [rcx + 8], r14d
cmp r14d, 1
jne 0x1400d44e3
call fcn.1400d9400
mov r14, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0x130]
test edi, edi
js 0x1400d4550
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x1400d450f
mov eax, dword [rsp + 0x70]
mov qword [rcx], rax
mov eax, dword [rsp + 0x74]
mov qword [rcx + 8], rax
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x1400d4522
mov rax, qword [rsp + 0x60]
mov qword [rcx], rax
jmp 0x1400d452d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtClose]
mov rax, qword [rbp + 0x68]
mov rcx, qword [rsp + 0x68]
test rax, rax
je 0x1400d454a
mov qword [rax], rcx
mov eax, edi
add rsp, 0x108
pop rdi
pop rbp
ret
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, edi
add rsp, 0x108
pop rdi
pop rbp
ret