Function at 0x14002a360
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb8]
sub rsp, 0x1b8
mov rax, qword [0x1401c6780]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov dword [rsp + 0x64], r9d
mov rdi, r8
mov r12, rdx
mov r13, rcx
xor esi, esi
mov r15d, esi
mov dword [rsp + 0x60], esi
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov qword [rbp - 0x60], rax
mov rbx, qword [r8 + 8]
sub rbx, qword [r8]
sar rbx, 5
test rbx, rbx
je 0x14002a45f
movabs rax, 0x7ffffffffffffff
cmp rbx, rax
ja 0x14002a910
lfence
shl rbx, 5
mov rcx, rbx
call fcn.14000d5f0
mov r14, rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
add rax, rbx
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x68], rcx
mov r15, qword [rdi + 8]
mov rdi, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x58], r14
mov rbx, r14
mov qword [rbp - 0x50], rbx
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x48], rcx
cmp rdi, r15
je 0x14002a454
nop dword [rax]
mov rdx, rdi
mov rcx, rbx
call fcn.140023ec0
add rbx, 0x20
mov qword [rbp - 0x50], rbx
add rdi, 0x20
cmp rdi, r15
jne 0x14002a430
mov rax, qword [rbp - 0x60]
mov r14, qword [rbp - 0x70]
mov qword [rbp - 0x68], rbx
mov r15d, dword [rsp + 0x60]
jmp 0x14002a467
mov rbx, qword [rbp - 0x68]
mov r14, qword [rbp - 0x70]
cmp rbx, rax
je 0x14002a50f
mov rdx, r12
cmp r14, rbx
jne 0x14002a48a
mov rcx, rbx
call fcn.140023ec0
add qword [rbp - 0x68], 0x20
jmp 0x14002a51e
lea rax, [rbp - 0x70]
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x30]
call fcn.140023ec0
lea rdi, [rbx - 0x20]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
add qword [rbp - 0x68], 0x20
cmp rdi, r14
je 0x14002a4f8
nop dword [rax]
nop dword [rax + rax]
sub rdi, 0x20
sub rbx, 0x20
mov rdx, rdi
mov rcx, rbx
call fcn.140008190
cmp rdi, r14
jne 0x14002a4e0
lea rdx, [rbp - 0x30]
mov rcx, r14
call fcn.140008190
lea rcx, [rbp - 0x30]
call fcn.140009810
jmp 0x14002a51e
mov r8, r12
mov rdx, r14
lea rcx, [rbp - 0x70]
call fcn.14002fdd0
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov r8d, 1
lea rdx, [0x140190d38]
lea rcx, [rbp - 0x38]
call fcn.14000c0c0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
mov r8d, 1
lea rdx, [0x140190d3c]
lea rcx, [rbp - 0x58]
call fcn.14000c0c0
nop
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 8]
call fcn.140028c10
nop
lea rcx, [rbp - 0x58]
call fcn.140009810
nop
lea rcx, [rbp - 0x38]
call fcn.140009810
mov qword [rsp + 0x70], rsi
xor r8d, r8d
mov rdx, r13
lea rcx, [rsp + 0x70]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x14002a67c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14002a5ed
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
jmp 0x14002a5f0
mov rax, rsi
cmp dword [rax + 0x40], 2
jl 0x14002a664
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14002a628
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
mov rbx, rax
jmp 0x14002a62b
mov rbx, rsi
mov edx, edi
lea rcx, [rbp - 0x38]
call fcn.14002c970
nop
mov r15d, 1
mov dword [rsp + 0x60], r15d
cmp qword [rax + 0x18], 0xf
jbe 0x14002a64c
mov rax, qword [rax]
mov r9, rax
lea r8, str.WindowsImpersonatorAgent_RunAsUserInternal:_CreateEnvironmentBlock_failed__s
mov edx, 2
mov rcx, rbx
call fcn.14001ef20
nop
test r15b, 1
je 0x14002a8d7
lea rcx, [rbp - 0x38]
call fcn.140009880
jmp 0x14002a8d7
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
xorps xmm1, xmm1
movups xmmword [rbp + 0x34], xmm1
movups xmmword [rbp + 0x44], xmm1
movups xmmword [rbp + 0x54], xmm1
movups xmmword [rbp + 0x64], xmm1
movups xmmword [rbp + 0x74], xmm1
movups xmmword [rbp + 0x84], xmm1
mov dword [rbp + 0x94], eax
mov dword [rbp + 0x30], 0x68
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
mov dword [rbp - 0x10], 0x18
lea r8, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova r8, qword [rbp + 8]
mov edi, dword [rsp + 0x64]
test dil, 1
mov ecx, 0x8000420
mov eax, 0x430
cmovne ecx, eax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rsi
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], esi
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x10]
xor edx, edx
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x14002a869
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14002a752
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14002a762
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
movdqa xmm1, xmmword [0x14019b870]
movdqu xmmword [rbp - 0x48], xmm1
mov byte [rbp - 0x58], 0
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 8]
call fcn.14001b440
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14002a7c1
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
jmp 0x14002a7c4
mov rax, rsi
cmp dword [rax + 0x40], 2
jl 0x14002a84e
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14002a800
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
mov rdi, rax
jmp 0x14002a803
mov rdi, rsi
lea rbx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rbx, qword [rbp - 0x58]
mov edx, r14d
lea rcx, [rbp - 0x38]
call fcn.14002c970
nop
mov r15d, 2
mov dword [rsp + 0x60], r15d
cmp qword [rax + 0x18], 0xf
jbe 0x14002a833
mov rax, qword [rax]
mov qword [rsp + 0x20], rbx
mov r9, rax
lea r8, str.WindowsImpersonatorAgent_RunAsUserInternal:_CreateProcessAsUser_failed__s_r_n_s
mov edx, r15d
mov rcx, rdi
call fcn.14001ef20
nop
test r15b, 2
je 0x14002a85e
lea rcx, [rbp - 0x38]
call fcn.140009880
nop
lea rcx, [rbp - 0x58]
call fcn.140009880
jmp 0x14002a8d7
mov ebx, dword [rbp - 0x78]
test dil, 2
je 0x14002a8b4
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14002a8a2
mov dword [rsp + 0x20], 9
lea r9, str.ProcessManager
xor r8d, r8d
lea rdx, [0x140028fd0]
mov rcx, rax
call fcn.140027c40
mov rsi, rax
mov r8, qword [rsp + 0x78]
mov rdx, rbx
mov rcx, rsi
call fcn.1400290b0
jmp 0x14002a8bf
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rsi, rbx
lea rcx, [rbp + 8]
call fcn.140009810
nop
lea rcx, [rbp - 0x70]
call fcn.140023fb0
mov rax, rsi
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1401219d0
add rsp, 0x1b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14000d2d0
int3