Function at 0x14001bf10
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x140041008]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov r14, r9
mov rdi, rdx
mov rsi, rcx
test rcx, rcx
je 0x14001c024
test rdx, rdx
je 0x14001c024
xor ebx, ebx
lea r9, str.DolphinAccessLogonDesktop
lea r8, str.SoftwareMicrosoftWindows_NTCurrentVersionAccessibility
mov qword [rsp + 0x60], rbx
lea rdx, str._sATs_s
mov r15d, ebx
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rsp + 0x60]
xor r8d, r8d
lea r9d, [rbx + 1]
mov qword [rsp + 0x20], rax
lea rdx, [rbp]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001bfba
mov rcx, qword [rsp + 0x60]
lea r15d, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], rbx
lea r9, str.DolphinAccessSecurityDesktop
lea r8, str.SoftwareMicrosoftWindows_NTCurrentVersionAccessibility
lea rdx, str._sATs_s
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rsp + 0x60]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001c013
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], rbx
jmp 0x14001c018
test r15d, r15d
je 0x14001c04c
lea rcx, str.dol_start_:_EOA_registry_has_been_found__Stopping_shell_execution_n
call fcn.14001de10
xor eax, eax
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.14001e3f0
mov rbx, qword [rsp + 0x360]
add rsp, 0x320
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea r8, [rsp + 0x68]
mov qword [rsp + 0x68], rbx
mov edx, 0xb
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14001c024
xor edx, edx
lea rcx, [rbp - 0x70]
lea r8d, [rdx + 0x68]
call fcn.14001fd60
xor eax, eax
mov dword [rbp - 0x70], 0x68
lea r15, str.WinSta0Winlogon
mov qword [rsp + 0x70], rax
mov r8d, 0x104
mov qword [rsp + 0x78], rax
lea rdx, [rbp]
mov qword [rbp - 0x80], rax
xor ecx, ecx
mov qword [rbp - 0x60], r15
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14001c268
mov r8, 0xffffffffffffffff
lea rax, [rbp]
mov rcx, r8
inc rcx
cmp word [rax + rcx*2], bx
jne 0x14001c0c1
mov rax, r8
test r14, r14
jne 0x14001c120
inc rax
cmp word [rdi + rax*2], bx
jne 0x14001c0d2
add rax, 0x104
add rcx, rax
mov eax, 2
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.14001e484
mov r9, r15
mov qword [rsp + 0x20], rdi
lea r8, [rbp]
mov rcx, rax
lea rdx, str.__s___rundesk__s__s
mov rsi, rax
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x14001c17e
inc rax
cmp word [r14 + rax*2], bx
jne 0x14001c120
mov rdx, r8
nop dword [rax]
inc rdx
cmp word [rdi + rdx*2], bx
jne 0x14001c130
add rcx, rax
add rdx, 0x104
add rcx, rdx
mov eax, 2
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.14001e484
mov r9, r15
mov qword [rsp + 0x28], r14
lea r8, [rbp]
mov qword [rsp + 0x20], rdi
lea rdx, str.__s___rundesk__s__s__s
mov rcx, rax
mov rsi, rax
call qword [sym.imp.USER32.dll_wsprintfW]
mov edi, 0x63
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
xor r9d, r9d
lea rax, [rbp - 0x70]
mov r8, rsi
mov qword [rsp + 0x48], rax
xor edx, edx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x14001c249
mov rdx, rsi
lea rcx, str.dol_start_:_SHELL_EXECUTE_:__s__n
call fcn.14001de10
mov edx, dword [rbp - 0x80]
lea rcx, str.started__p_n
call fcn.14001de10
mov rcx, qword [rsp + 0x70]
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x60], 2
jne 0x14001c242
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
add edi, 0xffffffff
jne 0x14001c190
jmp 0x14001c260
mov ebx, 1
jmp 0x14001c260
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, rsi
lea rcx, str.dol_start_:_create_process_with_token_failed__08x_:__s__n
mov edx, eax
call fcn.14001de10
mov rcx, rsi
call fcn.14001e450
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x14001c026