Function at 0x1400ce5e0
Capabilities:
Create process on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0xcc0
mov rax, qword [0x1401f22c8]
xor rax, rsp
mov qword [rsp + 0xca0], rax
cmp byte [0x1401f37d0], 0
mov rsi, r9
mov rbx, r8
mov rdi, rdx
mov r12, rcx
je 0x1400ce97e
mov rcx, rbx
call fcn.140160370
test eax, eax
jne 0x1400ce97e
mov rcx, rbx
mov qword [rsp + 0xcb8], r13
call fcn.1400c8e30
test rax, rax
mov r13, rax
je 0x1400ce958
lea rcx, [rsp + 0x420]
call fcn.1401617b0
lea rcx, [rsp + 0x640]
call fcn.1401617b0
lea rcx, [rsp + 0x200]
call fcn.1401617b0
lea rcx, [rsp + 0xe0]
call fcn.1401617b0
lea rcx, [rsp + 0xe0]
mov rdx, rbx
call fcn.140163ff0
test rsi, rsi
je 0x1400ce6a0
lea rcx, [rsp + 0x420]
mov rdx, rsi
call fcn.140167a80
jmp 0x1400ce6ad
lea rcx, [rsp + 0x420]
call fcn.140161fc0
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x640]
call fcn.140167a80
test rdi, rdi
je 0x1400ce6d9
lea rcx, [rsp + 0x200]
mov rdx, rdi
call fcn.140167a80
jmp 0x1400ce6e6
lea rcx, [rsp + 0x200]
call fcn.140161fc0
xor ebp, ebp
lea r8, [0x1400c6920]
lea rdx, str.EVERYTHING_SHELL_EXECUTE
xor r9d, r9d
xor ecx, ecx
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call fcn.1400c4e60
test r12, r12
je 0x1400ce71f
lea rdx, [rsp + 0x60]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x1400ce732
xor edx, edx
lea r8, [rsp + 0x60]
xor r9d, r9d
lea ecx, [rdx + 0x30]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x64]
mov r8d, dword [rsp + 0x60]
mov rsi, qword [0x1401f37e0]
add eax, ecx
lea rcx, [rsp + 0xa80]
cdq
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [rsp + 0x68]
add eax, r8d
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
call fcn.1401617b0
lea rcx, [rsp + 0x860]
call fcn.1401617b0
lea rdx, str.EVERYTHING_SHELL_EXECUTE
lea rcx, [rsp + 0xa80]
call fcn.140167a80
lea rdx, [0x14019aef2]
lea rcx, [rsp + 0x860]
call fcn.140167a80
mov r8, qword [rsp + 0x868]
mov rdx, qword [rsp + 0xa88]
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], ebp
mov r9d, 0x90000000
mov ecx, 0x80
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_CreateWindowExW]
lea rcx, [rsp + 0x860]
mov rdi, rax
call fcn.140001150
lea rcx, [rsp + 0xa80]
call fcn.140001150
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x70]
call fcn.140193570
mov rax, qword [rsp + 0x648]
mov rcx, qword [rsp + 0x428]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x90], rcx
mov rcx, rdi
mov dword [rsp + WSACleanup], 0x70
mov dword [rsp + 0x74], 0x104
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0xb0], r13
mov dword [rsp + 0xa0], 1
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [rsp + 0x30], 3
xor r9d, r9d
xor r8d, r8d
or rdx, 0xffffffffffffffff
mov rcx, rdi
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_SetWindowPos]
lea rcx, str.Enter_ShellExecuteExW_n
call fcn.1400b1c70
mov rdx, qword [rsp + 0x648]
lea rcx, [0x1401b7a70]
call fcn.1400b1c70
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea rcx, str.Leave_ShellExecuteExW_n
mov ebx, eax
call fcn.1400b1c70
test ebx, ebx
jne 0x1400ce8ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.ShellExecuteExW__:_GetLastError__:__d:_failed_to_execute_n
mov ecx, 0xffff0000
mov r8d, eax
call fcn.1400b1ca0
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rcx, [rsp + 0xe0]
call fcn.140001150
lea rcx, [rsp + 0x200]
call fcn.140001150
lea rcx, [rsp + 0x640]
call fcn.140001150
lea rcx, [rsp + 0x420]
call fcn.140001150
mov r13, qword [rsp + 0xcb8]
mov rcx, qword [rsp + 0xca0]
xor rcx, rsp
call fcn.1401931f0
add rsp, 0xcc0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor ebp, ebp
mov r9, rsi
mov r8, rdi
mov dword [rsp + 0x30], ebp
mov rdx, rbx
mov rcx, r12
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbp
call fcn.1400c6990
jmp 0x1400ce932
xor ebp, ebp
mov r9, rsi
mov r8, rdi
mov dword [rsp + 0x30], ebp
mov rdx, rbx
mov rcx, r12
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbp
call fcn.1400c6990
jmp 0x1400ce93a