Function at 0x14002e910
Capabilities:
Create process on windows
Create thread

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.140076e90
sub rsp, rax
mov rax, qword [0x1400df080]
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.1400761e4
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x1400300b0]
xor edx, edx
xor ecx, ecx
call fcn.140085f7c
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14002ee87
lea rcx, [0x1400c83d0]
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 0x14002eac8
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 0x14002e9f0
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.140005660
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 0x14002eac4
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 0x14002ea6a
cmp word [rax], 0x72
je 0x14002ea67
cmp rcx, 1
je 0x14002ea6a
dec rcx
add rax, 2
cmp word [rax], 0x72
jne 0x14002ea54
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x14002eac4
mov r9d, 0x11
mov rcx, r13
movzx edx, word [rdx]
mov r8d, 0x72
cmp dx, r8w
jb 0x14002eab2
mov r10, rax
sub r10, r13
cmp dx, r8w
ja 0x14002eab2
cmp r9, 1
je 0x14002eab8
dec r9
add rcx, 2
movzx edx, word [r10 + rcx]
movzx r8d, word [rcx]
cmp dx, r8w
jae 0x14002ea94
add rax, 2
jmp 0x14002ea40
sub rax, rbx
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x14002ead0
mov bl, 1
jmp 0x14002ead2
mov rsi, qword [rbp + 0x28]
mov r11, qword [rbp + 0x10]
xor bl, bl
test r15b, 1
je 0x14002eb13
cmp rsi, 8
jb 0x14002eb13
lea rdx, [rsi*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x14002eb0b
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ee97
mov rcx, r11
call fcn.1400761b0
test bl, bl
je 0x14002eb1e
call fcn.14002f010
jmp 0x14002eb23
call fcn.14002f310
test al, al
jne 0x14002edc1
test bl, bl
je 0x14002ed99
cmp dword [0x1400dfc90], 0x1388
jae 0x14002ed99
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x50]
call fcn.140078c70
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.140078c70
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 0x14002ebc0
mov r8, rdi
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x10]
call fcn.140005660
mov rcx, qword [rbp]
mov rdx, qword [rbp + 8]
mov rax, rdx
sub rax, rcx
cmp rax, 0x13
jb 0x14002ec24
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.1400785c0
mov word [rbx + rdi*2], r12w
lea rax, [rbp - 0x10]
jmp 0x14002ec48
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.14002bb40
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 0x14002eca7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002eca2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ee9d
call fcn.1400761b0
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.1400785c0
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 0x14002ed27
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 0x14002eea3
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x10]
call fcn.1400750d4
test eax, eax
jne 0x14002eeae
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
test sil, sil
je 0x14002ee3a
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14002ed8c
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002eeb6
mov rcx, rbx
call fcn.1400761b0
jmp 0x14002ee3a
cmp dword [rsp + 0x68], 0
je 0x14002eebc
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x10]
call fcn.1400750d4
test eax, eax
jne 0x14002ee7f
jmp 0x14002ee31
mov rcx, qword [0x1400e3790]
test rcx, rcx
je 0x14002edfa
cmp dword [rcx + 0x330], 1
jne 0x14002edf3
add rcx, 0x10
call fcn.14004d2a0
test eax, eax
jle 0x14002edf3
lea ecx, [rax + rax*4]
lea ecx, [rcx*8 + 0xfa]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov byte [0x1400e37c8], 1
cmp dword [rsp + 0x68], 0
je 0x14002eebc
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rsp + 0x68], eax
je 0x14002eec7
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x10], xmm0
xor edx, edx
lea rcx, [rbp - 0x10]
call fcn.1400750f8
test eax, eax
jne 0x14002eed2
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [rsp + 0x68], 0
jne 0x14002ee79
xor eax, eax
mov rcx, qword [rbp + 0x1050]
xor rcx, rsp
call fcn.140076190
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.140085e30
int3
mov ecx, eax
call fcn.1400738b4
int3
mov dword [rsp + 0x68], r12d
mov ecx, 6
call fcn.1400738f0
int3
call fcn.14007cacc
int3
call fcn.14007cacc
int3
mov ecx, 1
call fcn.1400738f0
int3
mov ecx, eax
call fcn.1400738b4
int3
call fcn.14007cacc
int3
mov ecx, 1
call fcn.1400738f0
int3
mov ecx, 5
call fcn.1400738f0
int3
mov ecx, 2
call fcn.1400738f0
int3