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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1060]
mov eax, 0x1160
call fcn.140085e80
sub rsp, rax
mov rax, qword [0x1400f5798]
xor rax, rsp
mov qword [rbp + 0x1050], rax
mov rbx, r8
xor r15d, r15d
mov edi, r15d
mov dword [rsp + 0x70], r15d
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
lea edx, [r15 + 2]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
lea ecx, [r15 + 1]
call fcn.140085814
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140036070]
xor edx, edx
xor ecx, ecx
call fcn.14009551c
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400374f1
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]
lea rsi, [r15 - 1]
test rax, rax
jne 0x140037162
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], 7
mov r8, rsi
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x140037080
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.1400279c0
lea rbx, [rbp + 0x10]
mov r11, qword [rbp + 0x10]
mov r14, qword [rbp + 0x28]
cmp r14, 8
cmovae rbx, r11
mov rax, qword [rbp + 0x20]
cmp rax, 0x11
jb 0x140037159
add rax, 0xfffffffffffffff0
lea rdi, [rbx + rax*2]
mov rax, rbx
lea r12, str.retry_non_windows
nop dword [rax + rax]
mov rcx, rdi
sub rcx, rax
sar rcx, 1
mov rdx, r15
je 0x1400370fa
cmp word [rax], 0x72
je 0x1400370f7
cmp rcx, 1
je 0x1400370fa
dec rcx
add rax, 2
cmp word [rax], 0x72
jne 0x1400370e4
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x140037159
mov r9d, 0x11
mov rcx, r12
movzx edx, word [rdx]
mov r8d, 0x72
cmp dx, r8w
jb 0x140037142
mov r10, rax
sub r10, r12
cmp dx, r8w
ja 0x140037142
cmp r9, 1
je 0x140037148
dec r9
add rcx, 2
movzx edx, word [r10 + rcx]
movzx r8d, word [rcx]
cmp dx, r8w
jae 0x140037124
add rax, 2
jmp 0x1400370d0
sub rax, rbx
sar rax, 1
mov edi, 1
cmp rax, 0xffffffffffffffff
jne 0x14003716a
mov bl, 1
mov edi, 1
jmp 0x14003716c
mov r14, qword [rbp + 0x28]
mov r11, qword [rbp + 0x10]
xor bl, bl
test dil, 1
je 0x1400371ad
cmp r14, 8
jb 0x1400371ad
lea rdx, [r14*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x1400371a5
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037501
mov rcx, r11
call fcn.140085850
lea rdx, [0x1400b829c]
mov ecx, 0x65
test bl, bl
je 0x1400371c4
call fcn.1400362a0
jmp 0x1400371c9
call fcn.1400365b0
test al, al
jne 0x140037464
test bl, bl
je 0x14003743c
cmp dword [0x1400f53c0], 0x1388
jae 0x14003743c
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x50]
call fcn.140088330
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.140088330
mov qword [rbp - 0x10], r15
mov qword [rbp], r15
mov qword [rbp + 8], 7
lea rax, [rbp + 0x50]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140037266
mov r8, rsi
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x10]
call fcn.1400279c0
mov rcx, qword [rbp]
mov rdx, qword [rbp + 8]
mov rax, rdx
sub rax, rcx
cmp rax, 0x13
jb 0x1400372ca
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.140087c80
mov word [rbx + rdi*2], r15w
lea rax, [rbp - 0x10]
jmp 0x1400372ee
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.14002c280
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x40], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x14003734d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037348
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037507
call fcn.140085850
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.140087c80
lea rax, [rbp + 0x10]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
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 + 0x850]
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400373cd
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 0x14003750d
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x10]
call fcn.14008466c
test eax, eax
jne 0x140037518
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
test sil, sil
je 0x1400374a9
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140037432
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037520
mov rcx, rbx
call fcn.140085850
jmp 0x1400374a9
cmp dword [rsp + 0x68], 0
je 0x140037526
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x10]
call fcn.14008466c
test eax, eax
jne 0x1400374e9
jmp 0x1400374a0
call fcn.14003cc40
cmp dword [rsp + 0x68], 0
je 0x140037526
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rsp + 0x68], eax
je 0x140037531
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x10], xmm0
xor edx, edx
lea rcx, [rbp - 0x10]
call fcn.140084690
test eax, eax
jne 0x14003753c
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [rsp + 0x68], 0
jne 0x1400374e3
xor eax, eax
mov rcx, qword [rbp + 0x1050]
xor rcx, rsp
call fcn.140085e50
lea r11, [rsp + 0x1160]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400953d0
int3
mov ecx, eax
call fcn.1400839c0
int3
mov dword [rsp + 0x68], r15d
mov ecx, 6
call fcn.1400839fc
int3
call fcn.14008c06c
int3
call fcn.14008c06c
int3
mov ecx, 1
call fcn.1400839fc
int3
mov ecx, eax
call fcn.1400839c0
int3
call fcn.14008c06c
int3
mov ecx, 1
call fcn.1400839fc
int3
mov ecx, 5
call fcn.1400839fc
int3
mov ecx, 2
call fcn.1400839fc
int3