Function at 0x140023a8c
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0xfa8]
mov eax, 0x1090
call fcn.140025870
sub rsp, rax
xor r12d, r12d
mov dil, r9b
mov esi, r8d
mov rbx, rdx
mov r14, rcx
cmp word [rdx], r12w
je 0x140023d16
mov rcx, rdx
call fcn.14002a818
cmp rax, 0x7f6
jae 0x140023d16
xor edx, edx
lea r8d, [r12 + 0x70]
lea rcx, [rsp + 0x20]
call fcn.140026760
test dil, dil
mov dword [rsp + 0x20], 0x70
mov eax, 0x1c0
mov ecx, 0x5c0
cmovne eax, ecx
mov rdx, rbx
movzx ecx, word [rbx]
cmp cx, 0x22
mov dword [rsp + 0x24], eax
lea rax, [rbx + 2]
cmove rdx, rax
mov eax, r12d
mov qword [rsp + 0x38], rdx
test cx, cx
je 0x140023b7c
lea r8d, [r12 + 0x20]
cmp cx, 0x22
jne 0x140023b53
jmp 0x140023b40
cmp cx, 0x22
je 0x140023b4e
inc rax
movzx ecx, word [rbx + rax*2]
test cx, cx
jne 0x140023b3a
jmp 0x140023b53
mov word [rbx + rax*2], r8w
lea rcx, [rbx + 2]
lea rcx, [rcx + rax*2]
cmp word [rbx + rax*2], r8w
je 0x140023d33
cmp word [rcx], 0x2f
je 0x140023d38
inc rax
movzx ecx, word [rbx + rax*2]
test cx, cx
jne 0x140023b32
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140023b8c
cmp word [rcx], r12w
jne 0x140023ba9
test dil, dil
jne 0x140023ba9
cmp word [0x140060d4a], r12w
lea rax, [0x140060d4a]
cmove rax, rcx
mov qword [rsp + 0x40], rax
mov rcx, rdx
mov dword [rsp + 0x50], esi
call fcn.14000eb40
mov rbx, rax
test rax, rax
je 0x140023be0
lea rdx, [0x14003daa0]
mov rcx, rax
call fcn.140015fa4
test eax, eax
lea rcx, [0x14003dab0]
cmovne rcx, qword [rsp + 0x30]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x38]
call fcn.14000cf4c
test al, al
je 0x140023c0b
mov rcx, qword [rsp + 0x38]
lea rdx, [rbp - 0x70]
mov r8d, 0x800
call fcn.14000e868
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140023d16
cmp byte [0x14005ed40], r12b
mov sil, r12b
jne 0x140023c38
test dil, dil
jne 0x140023c38
cmp byte [0x14006e3b8], r12b
je 0x140023cb3
test r14, r14
je 0x140023c58
mov rcx, r14
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x140023c58
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_ShowWindow]
mov sil, 1
mov rcx, qword [rbp - 0x78]
mov edx, 0x7d0
call qword [sym.imp.USER32.dll_WaitForInputIdle]
mov rcx, qword [rbp - 0x78]
call fcn.140023fd0
cmp byte [0x14006e3b8], r12b
je 0x140023cb3
test dil, dil
jne 0x140023cb3
mov rcx, qword [rbp - 0x78]
lea rdx, [rbp + 0xfb8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x140023cb3
mov eax, dword [0x14006e3bc]
cmp dword [rbp + 0xfb8], eax
mov byte [0x14006e3b9], 1
cmova eax, dword [rbp + 0xfb8]
mov dword [0x14006e3bc], eax
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x140023cd5
lea rdx, str..exe
mov rcx, rbx
call fcn.140015fa4
test eax, eax
je 0x140023cfe
cmp byte [0x14005ed40], r12b
je 0x140023cfe
test dil, dil
jne 0x140023cfe
mov eax, dword [0x14006e3c0]
mov ecx, 0x1b58
cmp byte [0x14006e3b8], r12b
cmove eax, ecx
mov dword [0x14006e3c0], eax
test sil, sil
je 0x140023d16
test dil, dil
je 0x140023d16
mov edx, 1
mov rcx, r14
call qword [sym.imp.USER32.dll_ShowWindow]
lea r11, [rsp + 0x1090]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
mov word [rbx + rax*2], r12w
mov qword [rsp + 0x40], rcx
jmp 0x140023b81