Function at 0x14002ed18
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1078]
mov eax, 0x1150
call fcn.140071ce0
sub rsp, rax
mov rax, qword [0x1400d9448]
xor rax, rsp
mov qword [rbp + 0x1040], rax
mov rbx, r8
xor r15d, r15d
mov r14d, r15d
mov dword [rsp + 0x60], r15d
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
lea edx, [r15 + 2]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
lea r12d, [r15 + 1]
mov ecx, r12d
call fcn.140071670
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14002de4c]
xor edx, edx
xor ecx, ecx
call fcn.140083cd0
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14002f142
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.wine_get_version
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x14002ee2d
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 7
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.140021bc0
lea rcx, [rbp - 0x20]
mov rbx, qword [rbp - 0x20]
mov rdi, qword [rbp - 8]
cmp rdi, 8
cmovae rcx, rbx
mov qword [rsp + 0x20], SafeArrayUnaccessData
lea r9, str.retry_non_windows
xor r8d, r8d
mov rdx, qword [rbp - 0x10]
call fcn.140025f38
mov r14d, r12d
cmp rax, 0xffffffffffffffff
jne 0x14002ee35
mov sil, r12b
jmp 0x14002ee38
mov rdi, qword [rbp - 8]
mov rbx, qword [rbp - 0x20]
mov sil, r15b
mov r13d, 0x1000
test r12b, r14b
je 0x14002ee7a
cmp rdi, 8
jb 0x14002ee7a
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, r13
jb 0x14002ee72
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f152
mov rcx, rbx
call fcn.1400716ac
lea rdx, [0x1400a436c]
mov ecx, 0x65
test sil, sil
je 0x14002ee92
call fcn.14002e0b8
jmp 0x14002ee97
call fcn.14002e3b8
test al, al
jne 0x14002f0b0
test sil, sil
je 0x14002f088
cmp dword [0x1400d9300], 0x1388
jae 0x14002f088
mov ebx, 0x800
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.140074190
mov r8d, 0x400
lea rdx, [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
xor edx, edx
lea r8d, [rax + 0x64]
lea rcx, [rsp + 0x74]
call fcn.140074190
mov dword [rsp + 0x70], 0x68
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x840]
call fcn.140074190
mov qword [rbp], r15
mov qword [rbp + 0x10], r15
mov ebx, 7
mov qword [rbp + 0x18], rbx
lea rdx, [rbp + 0x40]
lea rcx, [rbp]
call fcn.140021bc0
lea r8d, [rbx + 0xc]
lea rdx, str.__retry_non_windows
lea rcx, [rbp]
call fcn.140021a48
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], rbx
mov word [rax], r15w
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x14002ef9c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, r13
jb 0x14002ef97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f158
call fcn.1400716ac
lea rdx, [rbp + 0x20]
mov rdi, qword [rbp + 0x38]
cmp rdi, 8
setae sil
mov rbx, qword [rbp + 0x20]
cmovae rdx, rbx
mov r8, qword [rbp + 0x30]
add r8, r8
lea rcx, [rbp + 0x840]
call fcn.140073ae0
lea rax, [rbp - 0x20]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x840]
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14002f01d
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x58], r15d
je 0x14002f15e
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp], xmm0
lea rcx, [rbp]
call fcn.1400704c8
test eax, eax
jne 0x14002f167
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
test sil, sil
je 0x14002f0f5
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, r13
jb 0x14002f07e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f16f
mov rcx, rbx
call fcn.1400716ac
jmp 0x14002f0f5
cmp dword [rsp + 0x58], r15d
je 0x14002f175
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp], xmm0
lea rcx, [rbp]
call fcn.1400704c8
test eax, eax
jne 0x14002f13a
jmp 0x14002f0ec
call fcn.140032d08
cmp dword [rsp + 0x58], r15d
je 0x14002f175
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rsp + 0x58], eax
je 0x14002f17e
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp], xmm0
xor edx, edx
lea rcx, [rbp]
call fcn.1400704ec
test eax, eax
jne 0x14002f189
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [rsp + 0x58], r15d
jne 0x14002f134
xor eax, eax
mov rcx, qword [rbp + 0x1040]
xor rcx, rsp
call fcn.140071cb0
lea r11, [rsp + 0x1150]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140083b6c
int3
mov ecx, eax
call fcn.14006f370
int3
mov dword [rsp + 0x58], r15d
mov ecx, 6
call fcn.14006f3ac
int3
call fcn.1400780a4
int3
call fcn.1400780a4
int3
mov ecx, r12d
call fcn.14006f3ac
int3
mov ecx, eax
call fcn.14006f370
int3
call fcn.1400780a4
int3
mov ecx, r12d
call fcn.14006f3ac
int3
mov ecx, 5
call fcn.14006f3ac
int3
mov ecx, 2
call fcn.14006f3ac
int3