Function at 0x14001fd40
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 - 0xa60]
sub rsp, 0xb60
mov rax, qword [0x14006c030]
xor rax, rsp
mov qword [rbp + 0xa50], rax
mov edi, ecx
call fcn.140023780
test eax, eax
jne 0x14001fd85
mov eax, 4
jmp 0x140020015
mov r8d, eax
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x14001fda5
lea eax, [rbx + 5]
jmp 0x140020015
xor esi, esi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
lea r8, [rbp - 0x80]
lea edx, [rsi + 0xa]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140020007
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
lea r9d, [rsi + 2]
xor r8d, r8d
mov edx, 0x2000000
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x140020007
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea ebx, [rsi + 7]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x40]
call fcn.14002aed0
mov r8d, 0x104
lea rdx, [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rax
xorps xmm1, xmm1
movups xmmword [rbp - 0x30], xmm1
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x10], xmm1
movups xmmword [rbp], xmm1
movups xmmword [rbp + 0x10], xmm1
movups xmmword [rbp + 0x20], xmm1
mov qword [rbp + 0x30], rax
mov dword [rbp - 0x30], 0x68
mov word [rbp + 0x10], si
mov dword [rbp + 0xc], 1
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x250]
call fcn.14002aed0
lea edx, [rsi + 0x4c]
lea rcx, [rbp - 0x50]
call fcn.1400140c0
nop
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
add r8, rdx
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rdx, qword [rbp - 0x50]
lea rcx, [rsp + 0x60]
call fcn.1400146d0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x14001feed
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001fee8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020043
call fcn.1400285fc
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r9, qword [rsp + 0x60]
mov dword [rsp + 0x20], edi
lea r8, [rbp + 0x40]
lea rdx, str.__s___s_i
lea rcx, [rbp + 0x250]
call fcn.140021550
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14001ff5b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ff56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002003d
call fcn.1400285fc
lea rax, [rbp - 0x70]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rbp + 0x250]
lea rdx, [rbp + 0x40]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x140020003
mov edx, 0x927c0
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rbp - 0x58]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x14001ffef
mov eax, dword [rbp - 0x58]
cmp eax, 0x103
je 0x14001ffef
test eax, eax
jne 0x14001ffd3
mov ebx, esi
jmp 0x14001ffef
cmp eax, 1
jne 0x14001ffdc
mov ebx, eax
jmp 0x14001ffef
cmp eax, 2
jne 0x14001ffe5
mov ebx, eax
jmp 0x14001ffef
mov ecx, 3
cmp eax, ecx
cmove ebx, ecx
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x140020015
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 6
mov rcx, qword [rbp + 0xa50]
xor rcx, rsp
call fcn.1400285b0
lea r11, [rsp + 0xb60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14002ef48
int3
call fcn.14002ef48
int3