Function at 0x14002f850
Capabilities:
Create process on windows
Resume thread
Terminate thread

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x8f0]
sub rsp, 0x9f0
mov rax, qword [0x1401761c0]
xor rax, rsp
mov qword [rbp + 0x8e0], rax
mov rbx, qword [rbp + 0x930]
mov qword [rbp + 0x38], rbx
mov rsi, qword [rbp + 0x938]
mov r15, qword [rbp + 0x940]
mov rdi, qword [rbp + 0x948]
mov r14, qword [rbp + 0x950]
xor r12d, r12d
mov dword [rsp + 0x50], r12d
mov dword [rbp + 0x50], r12d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], rax
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x70], 0x68
mov eax, 0xa
mov word [rbp + 0xb0], ax
mov word [rbp + 0xe0], r12w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp + 0xe2]
call fcn.1400fed10
mov r8, rbx
lea rcx, [rbp + 0xe0]
test rsi, rsi
je 0x14002f94b
mov r9, rsi
lea rdx, str.__s___s
call fcn.140031900
jmp 0x14002f957
lea rdx, [0x140148de0]
call fcn.140031900
mov qword [rbp - 0x40], rbx
mov rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp word [rbx + rax*2], r12w
jne 0x14002f965
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x30], xmm0
lea rdx, [rbp - 0x30]
lea rcx, [rbp]
call fcn.14009dba0
cmp qword [rax + 0x18], 7
jbe 0x14002f993
mov rax, qword [rax]
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x414
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xe0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
lea rcx, [rbp]
call fcn.14000c080
test ebx, ebx
je 0x14002fc95
mov ecx, dword [rbp + 0x30]
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov rbx, r12
test rdi, rdi
je 0x14002fa0d
lea r9, str.Global_aswSetupGuiShown_0x02fa47cc9a31afba
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbx, rax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test rbx, rbx
je 0x14002fac4
mov edx, 0x14d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14002fa65
nop word [rax + rax]
xor edx, edx
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14002fa65
mov edx, 0x14d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x14002fa40
cmp qword [rdi + 0x60], r12
je 0x14002fabb
mov rcx, qword [rdi + 0x70]
test rcx, rcx
je 0x14002fa88
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
mov qword [rdi + 0x70], r12
mov edx, 0x2710
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14002faad
mov edx, 1
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x60], r12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x14002fb1f
cmp qword [rdi + 0x60], r12
je 0x14002fb1f
mov rcx, qword [rdi + 0x70]
test rcx, rcx
je 0x14002faec
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
mov qword [rdi + 0x70], r12
mov edx, 0x2710
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14002fb11
mov edx, 1
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x60], r12
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x14002fc7c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
mov dword [rbp + 0x40], 0x31373531
mov dword [rbp + 0x44], 0x38303934
movsd xmm0, qword [str.sfxsh]
movsd qword [rbp - 0x70], xmm0
mov eax, dword [0x140149370]
mov dword [rbp - 0x68], eax
mov rax, qword [rbp + 0x40]
mov qword [rbp - 0x64], rax
mov dword [rbp - 0x5c], 0xba
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
lea rcx, [rbp + 0x40]
call fcn.14000cc90
nop
mov rbx, qword [rbp + 0x40]
test rbx, rbx
je 0x14002fc3e
mov rax, qword [rbx]
mov edx, 7
mov rcx, rbx
mov rax, qword [rax + 0x78]
call qword [case.0x1400a96cf.0]
test al, al
je 0x14002fc3e
lea rax, str.Cannot_get_exit_code_of_process___code_:x_
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0x31
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x38]
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x20]
call fcn.140032460
nop
mov rcx, qword [rbx]
mov r10, qword [rcx + 0x10]
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x14002fc02
mov rcx, qword [rax]
mov r8, qword [rax + 0x10]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], r8
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x80], xmm0
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x70]
mov edx, 7
mov rcx, rbx
mov rax, r10
call qword [case.0x1400a96cf.0]
nop
lea rcx, [rbp - 0x20]
call fcn.14000c080
nop
mov rbx, qword [rbp + 0x48]
test rbx, rbx
je 0x14002fc7c
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14002fc7c
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400a96cf.0]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x14002fc7c
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400a96cf.0]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14002fdcd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
mov dword [rbp + 0x40], 0x31373531
mov dword [rbp + 0x44], 0x38303934
movsd xmm0, qword [str.sfxsh]
movsd qword [rbp - 0x58], xmm0
mov eax, dword [0x140149370]
mov dword [rbp - 0x50], eax
mov rax, qword [rbp + 0x40]
mov qword [rbp - 0x4c], rax
mov dword [rbp - 0x44], 0xc6
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
lea rcx, [rbp + 0x58]
call fcn.14000cc90
nop
mov rbx, qword [rbp + 0x58]
test rbx, rbx
je 0x14002fd8f
mov rax, qword [rbx]
mov edx, 7
mov rcx, rbx
mov rax, qword [rax + 0x78]
call qword [case.0x1400a96cf.0]
test al, al
je 0x14002fd8f
lea rax, str.Error_creating_process___code_:x_
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0x28
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x38]
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x20]
call fcn.140032460
nop
mov rcx, qword [rbx]
mov r10, qword [rcx + 0x10]
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x14002fd53
mov rcx, qword [rax]
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rdx
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x80], xmm0
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x58]
mov edx, 7
mov rcx, rbx
mov rax, r10
call qword [case.0x1400a96cf.0]
nop
lea rcx, [rbp - 0x20]
call fcn.14000c080
nop
mov rbx, qword [rbp + 0x60]
test rbx, rbx
je 0x14002fdcd
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14002fdcd
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400a96cf.0]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x14002fdcd
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400a96cf.0]
test r15, r15
je 0x14002fdd8
mov eax, dword [rbp + 0x50]
mov dword [r15], eax
mov eax, dword [rsp + 0x50]
mov rcx, qword [rbp + 0x8e0]
xor rcx, rsp
call fcn.1400b89f0
add rsp, 0x9f0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret