Function at 0x14004e980
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x980]
sub rsp, 0xa80
mov rax, qword [0x1400ce568]
xor rax, rsp
mov qword [rbp + 0x970], rax
mov rdi, rcx
call fcn.14004e600
mov esi, eax
test al, 2
jne 0x14004ea2f
call fcn.1400597f0
mov rcx, rax
lea r9, [0x1400a39a0]
lea rax, [0x1400a3c28]
mov edx, 3
mov qword [rsp + 0x28], rax
lea r8, [0x1400a3c58]
mov dword [rsp + 0x20], 0x4d3
call fcn.140059d70
xor r8d, r8d
lea rcx, [rsp + 0x60]
mov edx, 0x406
call fcn.1400591e0
xor ecx, ecx
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rcx
mov r8, 0xffffffffffffffff
mov word [rsp + 0x40], cx
inc r8
cmp word [rax + r8*2], cx
jne 0x14004ea20
jmp 0x14004eb1d
test rdi, rdi
je 0x14004ea45
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x14004eb9c
lea rdx, [0x14009ee98]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rbx, rax
test rax, rax
je 0x14004eaa7
mov rcx, rax
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x14004ea77
mov edx, 9
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r9, rbx
mov r8d, 2
mov rcx, rax
mov rax, qword [0x1400d68b8]
mov edx, dword [rax + 0x28]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14004ec72
test sil, 1
jne 0x14004eb9c
call fcn.1400597f0
mov rcx, rax
lea r9, [0x1400a39a0]
lea rax, [0x1400a3d18]
mov edx, 3
mov qword [rsp + 0x28], rax
lea r8, [0x1400a3c58]
mov dword [rsp + 0x20], 0x4f2
call fcn.140059d70
xor r8d, r8d
lea rcx, [rsp + 0x60]
mov edx, 0x406
call fcn.1400591e0
xor ecx, ecx
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rcx
mov r8, 0xffffffffffffffff
mov word [rsp + 0x40], cx
inc r8
cmp word [rax + r8*2], cx
jne 0x14004eb13
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14000d6c0
mov r8d, 0x49
lea rdx, [0x1400a3c80]
lea rcx, [rsp + 0x40]
call fcn.14000edd0
cmp qword [rsp + 0x58], 8
lea rbx, [rsp + 0x40]
mov edx, 0x407
lea rcx, [rsp + 0x60]
cmovae rbx, qword [rsp + 0x40]
xor r8d, r8d
call fcn.1400591e0
mov r9d, 0x40010
mov r8, rax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14004eb95
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
call fcn.140006f30
xor eax, eax
jmp 0x14004ec77
call fcn.14004d9e0
test al, al
je 0x14004ec72
xor edx, edx
lea rcx, [rbp + 0x760]
mov r8d, 0x208
call fcn.1400725e0
mov edx, 0x208
lea rcx, [rbp + 0x760]
call fcn.14005d280
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.1400725e0
lea rax, [0x1400a3d38]
mov edx, 0x208
lea r9, [rbp + 0x760]
mov qword [rsp + 0x20], rax
lea r8, [0x1400a1a00]
lea rcx, [rsp + 0x60]
call fcn.1400070a0
call fcn.1400597f0
mov rcx, rax
lea r9, [0x1400a39a0]
lea rax, [rsp + 0x60]
mov edx, 3
mov qword [rsp + 0x30], rax
lea r8, [0x1400a3c58]
lea rax, [0x1400a3d58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x505
call fcn.140059d70
lea rax, [rbp + 0x760]
mov dword [rsp + 0x28], 1
mov r9, rdi
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x60]
xor ecx, ecx
lea rdx, [0x1400a1d50]
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, 1
mov rcx, qword [rbp + 0x970]
xor rcx, rsp
call fcn.14006fd90
lea r11, [rsp + 0xa80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret