Function at 0x140003de0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov r12, rcx
mov r13, rdx
mov ecx, 5
xor eax, eax
lock cmpxchg qword [0x14018d8b0], rcx
je 0x140003e23
lea rcx, [0x14018d8b0]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhfAcquireQueuedLockShared
mov r14, qword [0x140191a30]
lea rax, str.EnableWarnings
lea rcx, [rbp - 0x69]
mov qword [rsp + 0x130], rbx
mov qword [rbp - 0x61], 0x1c
mov qword [rbp - 0x59], rax
call qword [r14 + 0x10]
mov edx, dword [r14 + 0x18]
xor edi, edi
mov rcx, qword [r14 + 0x20]
dec edx
mov r15d, eax
btr r15d, 0x1f
and edx, r15d
mov r8d, dword [rcx + rdx*4]
cmp r8d, 0xffffffff
je 0x140003ea0
nop
mov ebx, dword [r14]
add ebx, 8
imul ebx, r8d
add rbx, qword [r14 + 0x30]
cmp dword [rbx], r15d
jne 0x140003e96
lea rsi, [rbx + 8]
mov rcx, rsi
lea rdx, [rbp - 0x69]
call qword [r14 + 8]
test al, al
jne 0x140003ed3
mov r8d, dword [rbx + 4]
cmp r8d, 0xffffffff
jne 0x140003e70
mov ebx, dword [rbp + 0x77]
mov rsi, rdi
mov eax, 5
lock cmpxchg qword [0x14018d8b0], rdi
je 0x140003ec2
lea rcx, [0x14018d8b0]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhfReleaseQueuedLockShared
test rsi, rsi
jne 0x140003ee2
mov ecx, 0xc0000225
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
test rsi, rsi
je 0x140003ea0
cmp dword [rsi], 1
jne 0x140003ea0
mov ebx, dword [rsi + 0x28]
jmp 0x140003ea6
test ebx, ebx
je 0x140003f11
mov r8, qword [r13 + 0x30]
lea r9, str.Debugging_a_process_may_result_in_loss_of_data.
lea rdx, str.debug
mov byte [rsp + 0x20], dil
mov rcx, r12
mov r8, qword [r8 + 8]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhShowConfirmMessage
test al, al
je 0x14000407b
test byte [0x140187fc8], 1
mov r15d, 0x22
jne 0x14000405b
lock bts qword [0x140187fc8], 0x1f
setb al
test al, al
jne 0x140004044
lea r9, [0x140187fd8]
mov dword [rsp + 0x20], edi
mov edx, 0x20019
lea rcx, [rbp + 0x77]
mov r8, 0xfffffffffffffffd
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhOpenKey
test eax, eax
js 0x140004036
mov rcx, qword [rbp + 0x77]
lea rdx, str.Debugger
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhQueryRegistryString
mov rcx, rax
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhAutoDereferenceObject
test rax, rax
je 0x14000402c
movups xmm0, xmmword [rax]
mov edx, r15d
xor r8d, r8d
mov rcx, rax
movups xmmword [rbp - 0x79], xmm0
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhFindCharInStringRef
cmp rax, 0xffffffffffffffff
je 0x14000402c
movups xmm1, xmmword [rbp - 0x79]
lea rcx, [rax + rax]
mov edx, r15d
xor r8d, r8d
movdqa xmm0, xmm1
movq rax, xmm1
sub rax, rcx
psrldq xmm0, 8
movq r14, xmm0
sub rax, 2
add r14, 2
mov qword [rbp - 0x79], rax
add r14, rcx
lea rcx, [rbp - 0x79]
mov qword [rbp - 0x71], r14
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhFindCharInStringRef
cmp rax, 0xffffffffffffffff
je 0x14000402c
mov rdx, qword [0x140191180]
lea rsi, [rax + rax]
lea rcx, [rsi + 0x12]
mov qword [rbp - 0x79], rsi
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
mov rbx, rax
mov qword [rax], rsi
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rsi], di
test r14, r14
je 0x140004025
mov rcx, qword [rax + 8]
mov r8, rsi
mov rdx, r14
call fcn.1401317c0
mov qword [0x14018d918], rbx
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.ntdll.dll_NtClose]
lea rcx, [0x140187fc8]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhfSetEvent
jmp 0x14000405b
test byte [0x140187fc8], 1
jne 0x14000405b
xor edx, edx
lea rcx, [0x140187fc8]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhfWaitForEvent
mov rcx, qword [0x14018d918]
test rcx, rcx
jne 0x140004082
lea r8, str.Unable_to_locate_the_debugger.
mov edx, 0x10
mov rcx, r12
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhShowMessage
xor al, al
jmp 0x1400042d8
mov rcx, qword [rcx]
mov rdx, qword [0x140191180]
lea rax, [rcx + 0x1e]
lea rsi, [rcx + 0x1e]
and eax, 1
add rsi, rax
mov qword [rbp - 0x79], rsi
lea rcx, [rsi + 0x12]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
mov rbx, rax
mov qword [rbp - 0x71], rax
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rsi], di
mov qword [rax], rdi
mov rcx, qword [rax + 8]
mov word [rcx], di
mov rdx, qword [rax]
add rdx, 2
cmp rsi, rdx
jae 0x1400040e1
lea rcx, [rbp - 0x79]
call fcn.1400dd840
mov rbx, qword [rbp - 0x71]
mov rsi, qword [rbp - 0x79]
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov word [rcx + rax], r15w
add qword [rbx], 2
mov rax, qword [rbx + 8]
mov rcx, qword [rbx]
mov word [rcx + rax], di
mov rax, qword [0x14018d918]
mov r14, qword [rax]
mov r15, qword [rax + 8]
test r14, r14
je 0x140004150
mov rdx, qword [rbx]
add rdx, r14
cmp rsi, rdx
jae 0x14000412b
lea rcx, [rbp - 0x79]
call fcn.1400dd840
mov rbx, qword [rbp - 0x71]
mov rsi, qword [rbp - 0x79]
test r15, r15
je 0x140004142
mov rcx, qword [rbx + 8]
mov r8, r14
add rcx, qword [rbx]
mov rdx, r15
call fcn.1401317c0
add qword [rbx], r14
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov word [rcx + rax], di
mov rdx, qword [rbx]
add rdx, 2
cmp rsi, rdx
jae 0x140004169
lea rcx, [rbp - 0x79]
call fcn.1400dd840
mov rbx, qword [rbp - 0x71]
mov rcx, qword [rbx]
lea rdx, str.__p__u
mov rax, qword [rbx + 8]
mov word [rcx + rax], 0x22
add qword [rbx], 2
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov word [rcx + rax], di
lea rcx, [rbp - 0x79]
mov r8d, dword [r13 + 0x20]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhAppendFormatStringBuilder
mov rax, qword [rbp - 0x71]
mov r14, rdi
mov rsi, 0xffffffffffffffff
mov r15, qword [rax + 8]
test r15, r15
je 0x1400041f1
mov rbx, rsi
inc rbx
cmp word [r15 + rbx*2], di
jne 0x1400041b3
mov rdx, qword [0x140191180]
add rbx, rbx
lea rcx, [rbx + 0x12]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
mov r8, rbx
mov rdx, r15
mov r14, rax
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov word [rcx + rbx], di
mov rcx, qword [rax + 8]
call fcn.1401317c0
xorps xmm0, xmm0
mov dword [rbp - 0x39], 0x68
xor eax, eax
mov dword [rbp + 0x2b], eax
movups xmmword [rbp - 0x35], xmm0
movups xmmword [rbp - 0x25], xmm0
movups xmmword [rbp - 0x15], xmm0
movups xmmword [rbp - 5], xmm0
movups xmmword [rbp + 0xb], xmm0
movups xmmword [rbp + 0x1b], xmm0
test r14, r14
je 0x140004223
mov rdx, qword [r14 + 8]
jmp 0x140004226
mov rdx, rdi
lea rax, [rbp - 0x69]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp - 0x39]
xor ecx, ecx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140004270
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x14000426e
movzx eax, ax
or eax, 0xc0070000
mov edi, eax
test r14, r14
je 0x14000428a
lea rcx, [r14 - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000428a
call fcn.1400d9400
test edi, edi
js 0x1400042a2
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp - 0x71]
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], esi
cmp esi, 1
jne 0x1400042b9
call fcn.1400d9400
test edi, edi
jns 0x1400042d6
mov r9d, edi
lea rdx, str.debug
mov r8, r13
mov rcx, r12
call fcn.140002ce0
xor al, al
jmp 0x1400042d8
mov al, 1
mov rbx, qword [rsp + 0x130]
lea r11, [rsp + 0x100]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret