Function at 0x14000a760
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov rax, qword [0x1400332d0]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov qword [rbp + 8], rdx
mov qword [rbp], r8
call fcn.1400096a0
mov r15, rax
test rax, rax
jne 0x14000a7e1
cmp qword [rsi + 0x18], 8
jb 0x14000a7ba
mov rcx, qword [rsi]
call fcn.14000e8fc
mov qword [rsi + 0x18], 7
xor ebx, ebx
mov qword [rsi + 0x10], rbx
mov word [rsi], bx
cmp qword [rdi + 0x18], 8
jb 0x14000a7da
mov rcx, qword [rdi]
call fcn.14000e8fc
xor eax, eax
jmp 0x14000a9cb
mov dword [rbp - 0x70], 0x68
mov r8, rsi
lea rdx, [0x14002c58c]
lea rcx, [rbp + 0x30]
call fcn.14000b060
nop
lea r8, [0x14002c58c]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.140007010
nop
cmp qword [rbp + 0x48], 8
jb 0x14000a820
mov rcx, qword [rbp + 0x30]
call fcn.14000e8fc
mov qword [rbp + 0x48], 7
xor ebx, ebx
mov qword [rbp + 0x40], rbx
mov word [rbp + 0x30], bx
cmp qword [rdi + 0x10], rbx
je 0x14000a870
mov r8, rdi
lea rdx, [0x14002c590]
lea rcx, [rbp + 0x50]
call fcn.14000b060
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400072b0
nop
cmp qword [rbp + 0x68], 8
jb 0x14000a870
mov rcx, qword [rbp + 0x50]
call fcn.14000e8fc
mov qword [rsp + 0x60], rbx
xor r8d, r8d
mov rdx, r15
lea rcx, [rsp + 0x60]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x14000a890
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x70]
call fcn.1400113d0
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x70], 0x68
lea r8, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae r8, qword [rbp + 0x10]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8410
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor edx, edx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov r12d, eax
test eax, eax
jne 0x14000a923
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Service_failed_to_CreateProcessAsUser_w_err_0x_08lx_n
call fcn.14000ff50
jmp 0x14000a966
mov rcx, qword [r14 + 0x288]
mov rax, qword [rcx]
cmp rax, rcx
je 0x14000a966
mov edx, dword [r14 + 0x2a8]
nop dword [rax]
cmp dword [rax + 0x10], edx
je 0x14000a94f
mov rax, qword [rax]
cmp rax, rcx
jne 0x14000a940
jmp 0x14000a966
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x18], rcx
mov dword [rax + 0x20], ebx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rbp + 0x28], 8
jb 0x14000a98b
mov rcx, qword [rbp + 0x10]
call fcn.14000e8fc
mov qword [rbp + 0x28], 7
mov qword [rbp + 0x20], rbx
mov word [rbp + 0x10], bx
cmp qword [rsi + 0x18], 8
jb 0x14000a9aa
mov rcx, qword [rsi]
call fcn.14000e8fc
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], rbx
mov word [rsi], bx
cmp qword [rdi + 0x18], 8
jb 0x14000a9c8
mov rcx, qword [rdi]
call fcn.14000e8fc
mov eax, r12d
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
mov word [rdi], bx
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14000e920
add rsp, 0x180
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret