Function at 0x14004ebc0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1060]
mov eax, 0x1160
call fcn.14009a740
sub rsp, rax
mov rax, qword [0x14012a098]
xor rax, rsp
mov qword [rbp + 0x1050], rax
mov rbx, r8
xor r12d, r12d
mov r15d, r12d
mov dword [rsp + 0x70], r12d
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
lea edx, [r12 + 2]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
lea ecx, [r12 + 1]
call fcn.1400998f4
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140050370]
xor edx, edx
xor ecx, ecx
call fcn.1400ad3a4
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14004f13e
lea rcx, [0x14010fa60]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.wine_get_version
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdi, [r12 - 1]
test rax, rax
jne 0x14004ed78
lea r15d, [r12 + 1]
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], 7
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x14004eca0
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.140005480
lea rbx, [rbp + 0x10]
mov r11, qword [rbp + 0x10]
mov rsi, qword [rbp + 0x28]
cmp rsi, 8
cmovae rbx, r11
mov rax, qword [rbp + 0x20]
cmp rax, 0x11
jb 0x14004ed74
add rax, 0xfffffffffffffff0
lea r14, [rbx + rax*2]
mov rax, rbx
lea r13, str.retry_non_windows
nop dword [rax + rax]
mov rcx, r14
sub rcx, rax
sar rcx, 1
mov rdx, r12
je 0x14004ed1a
cmp word [rax], 0x72
je 0x14004ed17
cmp rcx, 1
je 0x14004ed1a
dec rcx
add rax, 2
cmp word [rax], 0x72
jne 0x14004ed04
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x14004ed74
mov r9d, 0x11
mov rcx, r13
movzx edx, word [rdx]
mov r8d, 0x72
cmp dx, r8w
jb 0x14004ed62
mov r10, rax
sub r10, r13
cmp dx, r8w
ja 0x14004ed62
cmp r9, 1
je 0x14004ed68
dec r9
add rcx, 2
movzx edx, word [r10 + rcx]
movzx r8d, word [rcx]
cmp dx, r8w
jae 0x14004ed44
add rax, 2
jmp 0x14004ecf0
sub rax, rbx
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x14004ed80
mov bl, 1
jmp 0x14004ed82
mov rsi, qword [rbp + 0x28]
mov r11, qword [rbp + 0x10]
xor bl, bl
test r15b, 1
je 0x14004edc3
cmp rsi, 8
jb 0x14004edc3
lea rdx, [rsi*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x14004edbb
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f14e
mov rcx, r11
call fcn.1400998c0
test bl, bl
je 0x14004edce
call fcn.14004f2d0
jmp 0x14004edd3
call fcn.14004f5d0
test al, al
jne 0x14004f071
test bl, bl
je 0x14004f049
cmp dword [0x14012aca0], 0x1388
jae 0x14004f049
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x50]
call fcn.14009c370
mov r8d, 0x400
lea rdx, [rbp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rax
xorps xmm1, xmm1
movups xmmword [rbp - 0x7c], xmm1
movups xmmword [rbp - 0x6c], xmm1
movups xmmword [rbp - 0x5c], xmm1
movups xmmword [rbp - 0x4c], xmm1
movups xmmword [rbp - 0x3c], xmm1
movups xmmword [rbp - 0x2c], xmm1
mov dword [rbp - 0x1c], eax
mov dword [rbp - 0x80], 0x68
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x850]
call fcn.14009c370
mov qword [rbp - 0x10], r12
mov qword [rbp], r12
mov qword [rbp + 8], 7
lea rax, [rbp + 0x50]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14004ee70
mov r8, rdi
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x10]
call fcn.140005480
mov rcx, qword [rbp]
mov rdx, qword [rbp + 8]
mov rax, rdx
sub rax, rcx
cmp rax, 0x13
jb 0x14004eed4
lea rdi, [rcx + 0x13]
mov qword [rbp], rdi
lea rbx, [rbp - 0x10]
cmp rdx, 8
cmovae rbx, qword [rbp - 0x10]
lea rcx, [rbx + rcx*2]
mov r8d, 0x26
lea rdx, str.__retry_non_windows
call fcn.14009bcc0
mov word [rbx + rdi*2], r12w
lea rax, [rbp - 0x10]
jmp 0x14004eef8
mov qword [rsp + 0x20], SafeArrayUnaccessData
lea r9, str.__retry_non_windows
movzx r8d, byte [rsp + 0x50]
mov edx, SafeArrayUnaccessData
lea rcx, [rbp - 0x10]
call fcn.14004bfd0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x40], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x14004ef57
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ef52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f154
call fcn.1400998c0
lea rdx, [rbp + 0x30]
mov rdi, qword [rbp + 0x48]
cmp rdi, 8
setae sil
mov rbx, qword [rbp + 0x30]
cmovae rdx, rbx
mov r8, qword [rbp + 0x40]
add r8, r8
lea rcx, [rbp + 0x850]
call fcn.14009bcc0
lea rax, [rbp + 0x10]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x850]
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14004efd7
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x68], 0
je 0x14004f15a
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x10]
call fcn.1400987dc
test eax, eax
jne 0x14004f165
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
test sil, sil
je 0x14004f0f1
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14004f03c
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f16d
mov rcx, rbx
call fcn.1400998c0
jmp 0x14004f0f1
cmp dword [rsp + 0x68], 0
je 0x14004f173
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x10]
call fcn.1400987dc
test eax, eax
jne 0x14004f136
jmp 0x14004f0e8
mov rax, qword [0x14013e790]
test rax, rax
je 0x14004f0b1
cmp dword [rax + 0x330], 1
jne 0x14004f0aa
lea rcx, [rax + 0x10]
call fcn.14006b4c0
test eax, eax
jle 0x14004f0a3
lea ecx, [rax + rax*4]
lea ecx, [rcx*8 + 0xfa]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [0x14013e790]
mov byte [rax + 0x4b8], 1
cmp dword [rsp + 0x68], 0
je 0x14004f173
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rsp + 0x68], eax
je 0x14004f17e
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x10], xmm0
xor edx, edx
lea rcx, [rbp - 0x10]
call fcn.140098800
test eax, eax
jne 0x14004f189
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [rsp + 0x68], 0
jne 0x14004f130
xor eax, eax
mov rcx, qword [rbp + 0x1050]
xor rcx, rsp
call fcn.1400998a0
lea r11, [rsp + 0x1160]
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.1400ad240
int3
mov ecx, eax
call fcn.140097004
int3
mov dword [rsp + 0x68], r12d
mov ecx, 6
call fcn.140097040
int3
call fcn.1400a03a4
int3
call fcn.1400a03a4
int3
mov ecx, 1
call fcn.140097040
int3
mov ecx, eax
call fcn.140097004
int3
call fcn.1400a03a4
int3
mov ecx, 1
call fcn.140097040
int3
mov ecx, 5
call fcn.140097040
int3
mov ecx, 2
call fcn.140097040
int3