Function at 0x1400d7ce0
Capabilities:
Create process on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xdb0
mov rax, qword [0x14020cc08]
xor rax, rsp
mov qword [rsp + 0xda0], rax
mov rdi, qword [rsp + 0xe10]
mov rsi, rcx
lea rcx, [rsp + 0xb80]
mov rbp, r9
mov rbx, r8
mov r13, rdx
call fcn.1400012c0
lea rcx, [rsp + 0x520]
call fcn.1400012c0
lea rcx, [rsp + 0xe0]
call fcn.1400012c0
lea rcx, [rsp + 0x300]
call fcn.1400012c0
lea rcx, [rsp + 0xb80]
mov rdx, r13
call fcn.14017d970
test rbp, rbp
lea rcx, [rsp + 0x520]
je 0x1400d7d73
mov rdx, rbp
call fcn.14017d970
jmp 0x1400d7d78
call fcn.140177d30
test rdi, rdi
lea rcx, [rsp + 0xe0]
je 0x1400d7d8f
mov rdx, rdi
call fcn.14017d970
jmp 0x1400d7d94
call fcn.140177d30
test rbx, rbx
lea rcx, [rsp + 0x300]
je 0x1400d7dab
mov rdx, rbx
call fcn.14017d970
jmp 0x1400d7db0
call fcn.140177d30
mov ebp, dword [rsp + 0xe20]
mov eax, 0x140
mov r12d, 0x100
test ebp, ebp
lea r8, [0x1400d7c70]
lea rdx, str.EVERYTHING_SHELL_EXECUTE
cmovne r12d, eax
xor r14d, r14d
xor r9d, r9d
xor ecx, ecx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call fcn.1400d60a0
test rsi, rsi
je 0x1400d7e02
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x1400d7e15
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 + 0x64]
mov eax, dword [rsp + 0x6c]
mov r8d, dword [rsp + 0x60]
mov rsi, qword [0x14020e1d8]
add eax, ecx
lea rcx, [rsp + 0x960]
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.1400012c0
lea rcx, [rsp + 0x740]
call fcn.1400012c0
lea rdx, str.EVERYTHING_SHELL_EXECUTE
lea rcx, [rsp + 0x960]
call fcn.14017d970
lea rdx, [0x1401b0f62]
lea rcx, [rsp + 0x740]
call fcn.14017d970
mov r8, qword [rsp + 0x748]
mov rdx, qword [rsp + 0x968]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r14d
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 + 0x740]
mov rbx, rax
call fcn.140177510
lea rcx, [rsp + 0x960]
call fcn.140177510
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x70]
call fcn.1401a9350
mov rax, qword [rsp + 0x528]
mov rcx, qword [rsp + 0xb88]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0xe18]
mov rcx, rbx
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x308]
mov dword [rsp + WSACleanup], 0x70
mov dword [rsp + 0x74], r12d
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rax
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [rsp + 0x30], 3
xor r9d, r9d
xor r8d, r8d
or rdx, 0xffffffffffffffff
mov rcx, rbx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_SetWindowPos]
lea rcx, str.Enter_ShellExecute_n
call fcn.1400b3e90
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea rcx, str.Leave_ShellExecute_n
mov edi, eax
call fcn.1400b3e90
mov rcx, rbx
call qword [sym.imp.USER32.dll_DestroyWindow]
test edi, edi
je 0x1400d7fe0
test ebp, ebp
je 0x1400d7ffd
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
je 0x1400d7ffd
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400d7ffd
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.ShellExecuteExW__:_GetLastError__:__d:_failed_to_execute__s_n
mov r9, r13
mov r8d, eax
mov ecx, 0xffff0000
call fcn.1400b3ec0
lea rcx, [rsp + 0x300]
call fcn.140177510
lea rcx, [rsp + 0xe0]
call fcn.140177510
lea rcx, [rsp + 0x520]
call fcn.140177510
lea rcx, [rsp + 0xb80]
call fcn.140177510
mov eax, edi
mov rcx, qword [rsp + 0xda0]
xor rcx, rsp
call fcn.1401a8fd0
add rsp, 0xdb0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret