Function at 0x1400209ec
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xfd0]
mov eax, 0x10d0
call fcn.1400226f0
sub rsp, rax
xor r12d, r12d
mov dil, r8b
mov rbx, rdx
mov r14, rcx
cmp word [rdx], r12w
je 0x140020cbe
mov rcx, rdx
call fcn.1400263d8
cmp rax, 0x7f6
jae 0x140020cbe
lea esi, [r12 + 0x70]
xor edx, edx
mov r8d, esi
lea rcx, [rsp + 0x30]
call fcn.140023460
test dil, dil
mov dword [rsp + 0x30], esi
mov eax, 0x1c0
mov ecx, 0x5c0
cmovne eax, ecx
mov rdx, rbx
cmp word [rbx], 0x22
mov dword [rsp + 0x34], eax
lea rax, [rbx + 2]
cmove rdx, rax
mov eax, r12d
mov qword [rsp + 0x48], rdx
cmp word [rbx], r12w
je 0x140020ad2
mov rcx, rbx
lea r8d, [r12 + 0x20]
cmp word [rcx], 0x22
jne 0x140020aae
jmp 0x140020a9d
cmp word [rbx + rax*2], 0x22
je 0x140020aa9
inc rax
cmp word [rbx + rax*2], r12w
jne 0x140020a96
jmp 0x140020aae
mov word [rbx + rax*2], r8w
cmp word [rbx + rax*2], r8w
je 0x140020bd2
cmp word [rbx + rax*2 + 2], 0x2f
je 0x140020bcb
inc rax
lea rcx, [rbx + rax*2]
cmp word [rcx], r12w
jne 0x140020a8e
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140020ae2
cmp word [rcx], r12w
jne 0x140020aff
test dil, dil
jne 0x140020aff
cmp word [0x1400505ba], r12w
lea rax, [0x1400505ba]
cmove rax, rcx
mov qword [rsp + 0x50], rax
mov rcx, rdx
mov dword [rsp + 0x60], 1
call fcn.14000c578
mov rbx, rax
test rax, rax
je 0x140020b3a
lea rdx, str..inf
mov rcx, rax
call fcn.140012c00
test eax, eax
lea rcx, [0x140037460]
cmovne rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x48]
call fcn.14000b000
test al, al
je 0x140020b65
mov rcx, qword [rsp + 0x48]
lea rdx, [rbp - 0x30]
mov r8d, 0x800
call fcn.14000c2b4
lea rax, [rbp - 0x30]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140020cbe
cmp byte [0x14004e5b0], r12b
mov sil, r12b
jne 0x140020b96
test dil, dil
jne 0x140020b96
cmp byte [0x14004d5a7], r12b
je 0x140020c5b
test r14, r14
je 0x140020bb6
mov rcx, r14
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x140020bb6
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_ShowWindow]
mov sil, 1
mov rcx, qword [rbp - 0x68]
mov edx, 0x7d0
call qword [sym.imp.USER32.dll_WaitForInputIdle]
mov r15, qword [rbp - 0x68]
jmp 0x140020c03
cmp word [rbx + rax*2], r8w
jne 0x140020bd7
mov word [rbx + rax*2], r12w
lea rcx, [rbx + 2]
lea rcx, [rcx + rax*2]
mov qword [rsp + 0x50], rcx
jmp 0x140020ad7
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp - 0x60]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
mov edx, 0xa
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140020be9
cmp byte [0x14004d5a7], r12b
je 0x140020c5b
test dil, dil
jne 0x140020c5b
mov rcx, qword [rbp - 0x68]
lea rdx, [rbp + 0x1008]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x140020c5b
mov eax, dword [0x1400516bc]
cmp dword [rbp + 0x1008], eax
mov byte [0x14005beb2], 1
cmova eax, dword [rbp + 0x1008]
mov dword [0x1400516bc], eax
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x140020c7d
lea rdx, str..exe
mov rcx, rbx
call fcn.140012c00
test eax, eax
je 0x140020ca6
cmp byte [0x14004e5b0], r12b
je 0x140020ca6
test dil, dil
jne 0x140020ca6
mov eax, dword [0x140062fc4]
mov ecx, 0x1b58
cmp byte [0x14004d5a7], r12b
cmove eax, ecx
mov dword [0x140062fc4], eax
test sil, sil
je 0x140020cbe
test dil, dil
je 0x140020cbe
mov edx, 1
mov rcx, r14
call qword [sym.imp.USER32.dll_ShowWindow]
lea r11, [rsp + 0x10d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret