Function at 0x14000bd40
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x1400ab008]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
mov rax, r9
mov qword [r11 - 0x168], rax
mov rsi, r8
mov rdi, rdx
mov qword [rsp + 0xc8], rcx
mov qword [r11 - 0x78], rdx
mov qword [r11 - 0x68], r8
mov qword [r11 - 0x118], rax
mov r12, qword [rsp + 0x210]
mov qword [r11 - 0x70], r12
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0xc0], rax
mov r14, qword [rsp + 0x220]
mov qword [r11 - 0x110], r14
mov byte [rsp + 0x61], 0
mov byte [rsp + 0x60], 0
lea rdx, str.Attempting_to_impersonate_logged_in_user.
mov rcx, qword [rcx]
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogInfo_wchar_t_const____ptr64____ptr64]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xe0], xmm0
mov qword [rsp + 0xf0], rax
xorps xmm1, xmm1
movups xmmword [rsp + 0x108], xmm1
movups xmmword [rsp + 0x118], xmm1
movups xmmword [rsp + 0x128], xmm1
movups xmmword [rsp + 0x138], xmm1
movups xmmword [rsp + 0x148], xmm1
movups xmmword [rsp + 0x158], xmm1
mov qword [rsp + 0x168], rax
mov dword [rsp + 0x100], 0x70
xor ebx, ebx
mov qword [rsp + 0x78], rbx
cmp qword [rdi + 0x10], rax
je 0x14000be57
mov qword [rsp + 0x90], rdi
cmp qword [rdi + 0x18], 8
jb 0x14000be5f
mov rcx, qword [rdi]
mov qword [rsp + 0x90], rcx
jmp 0x14000be5f
mov qword [rsp + 0x90], rbx
mov rax, rdi
cmp qword [r12 + 0x10], rbx
cmovne rax, r12
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x188], rbx
mov qword [rsp + 0x198], rbx
mov qword [rsp + 0x1a0], rbx
mov r13, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14000be9b
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
cmp r13, 8
jae 0x14000bec0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x188], xmm0
mov qword [rsp + 0x1a0], 7
mov r15d, 7
jmp 0x14000bf06
mov r15, r13
or r15, 7
movabs rax, 0x7ffffffffffffffe
cmp r15, rax
cmova r15, rax
lea rdx, [r15 + 1]
call fcn.140006bb0
mov qword [rsp + 0x188], rax
lea r8, [r13*2 + 2]
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x1a0], r15
mov qword [rsp + 0x198], r13
lea rax, [r13 + 1]
cmp rax, 0x7fff
jbe 0x14000c0fb
cmp r15, 8
jb 0x14000bf5e
lea rdx, [r15*2 + 2]
mov rcx, qword [rsp + 0x188]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bf59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c4a1
call fcn.140058b40
mov qword [rsp + 0x198], rbx
mov qword [rsp + 0x1a0], 7
mov word [rsp + 0x188], bx
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14000bfb9
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000bfb4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c117
mov rcx, r8
call fcn.140058b40
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 7
mov word [rdi], bx
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x14000c007
mov rcx, qword [rsi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000c002
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c11e
mov rcx, r8
call fcn.140058b40
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 7
mov word [rsi], bx
mov rdx, qword [rsp + 0x80]
mov rsi, qword [rdx + 8]
test rsi, rsi
je 0x14000c054
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14000c054
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
lock xadd dword [rsi + 0xc], edi
cmp edi, 1
jne 0x14000c054
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 8
jb 0x14000c095
mov rcx, qword [r12]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000c090
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c125
mov rcx, r8
call fcn.140058b40
mov qword [r12 + 0x10], rbx
mov qword [r12 + 0x18], 7
mov word [r12], bx
mov rcx, qword [r14]
test rcx, rcx
je 0x14000c0f4
mov rax, qword [r14 + 0x10]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
cmp rdx, 0x1000
jb 0x14000c0e4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c12c
mov rcx, r8
call fcn.140058b40
mov qword [r14], rbx
mov qword [r14 + 8], rbx
mov qword [r14 + 0x10], rbx
xor al, al
jmp 0x14000c651
lea rax, [rsp + 0x188]
cmp r15, 8
jb 0x14000c133
mov rcx, qword [rsp + 0x188]
lea rax, [rcx + r13*2]
jmp 0x14000c13f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rax, [rax + r13*2]
lea rcx, [rsp + 0x188]
mov qword [rsp + 0x68], rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rbx
sub rax, rcx
mov qword [rsp + 0x98], rax
mov rcx, rax
sar rcx, 1
mov qword [rsp + 0xb8], rcx
mov rdx, rbx
cmp rax, 2
jb 0x14000c1da
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000c690
lfence
mov rdx, rcx
call fcn.140006bb0
mov r15, rax
lfence
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xb8]
lea r13, [r15 + rax*2]
mov qword [rsp + 0xb0], r13
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x68]
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0xa8], r13
mov rdx, r13
mov word [rsp + 0x62], bx
lea r8, [rsp + 0x62]
lea rcx, [rsp + 0xa0]
call fcn.14000d380
mov r13, qword [rsp + 0xb0]
mov r15, qword [rsp + 0xa0]
cmp qword [rsi + 0x10], 0
je 0x14000c21e
mov qword [rsp + 0x68], rsi
cmp qword [rsi + 0x18], 8
jb 0x14000c223
mov rcx, qword [rsi]
mov qword [rsp + 0x68], rcx
jmp 0x14000c223
mov qword [rsp + 0x68], rbx
mov rax, qword [r14 + 8]
sub rax, qword [r14]
sar rax, 3
test rax, rax
je 0x14000c308
mov qword [rsp + 0x88], rbx
lea r9, [rsp + 0x88]
xor r8d, r8d
lea edx, [r8 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x98], rax
test rax, rax
je 0x14000c41e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x98]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14000c41e
lea r9, [rsp + 0x88]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
test eax, eax
je 0x14000c41e
mov byte [rsp + 0x60], 1
mov r9, qword [r14]
mov rax, qword [r14 + 8]
sub rax, r9
sar rax, 3
lea rax, [rax*8]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov r8d, 0x20002
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x14000c41e
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x70], rbx
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x14000c3ea
mov rax, qword [r14 + 8]
sub rax, qword [r14]
sar rax, 3
mov r8d, ebx
test rax, rax
setne r8b
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x80430
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8, r15
mov rdx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x14000c3be
mov byte [rsp + 0x61], 1
mov eax, dword [rsp + 0xf0]
mov rcx, qword [rsp + 0xc0]
mov dword [rcx], eax
jmp 0x14000c3df
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Problem_while_creating_process_as_user__d.
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx]
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogWarning_wchar_t_const____ptr64____ptr64]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
cmp byte [rsp + 0x60], 0
je 0x14000c3fc
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
cmp qword [rsp + 0x168], 0
je 0x14000c41e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, qword [rsp + 0x78]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
test r15, r15
je 0x14000c462
sub r13, r15
sar r13, 1
lea rdx, [r13*2]
mov rax, r15
cmp rdx, 0x1000
jb 0x14000c459
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c459
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.140058b40
nop
mov rdx, qword [rsp + 0x1a0]
cmp rdx, 8
jb 0x14000c4ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x188]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c4a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c4a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058b40
nop
mov r15, qword [rsp + 0x80]
jmp 0x14000c4e2
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14000c521
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000c51c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c674
mov rcx, r8
call fcn.140058b40
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 7
mov word [rdi], bx
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x14000c56f
mov rcx, qword [rsi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000c56a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c67b
mov rcx, r8
call fcn.140058b40
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 7
mov word [rsi], bx
mov rsi, qword [r15 + 8]
test rsi, rsi
je 0x14000c5b4
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14000c5b4
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
lock xadd dword [rsi + 0xc], edi
cmp edi, 1
jne 0x14000c5b4
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 8
jb 0x14000c5f5
mov rcx, qword [r12]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000c5f0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c682
mov rcx, r8
call fcn.140058b40
mov qword [r12 + 0x10], rbx
mov qword [r12 + 0x18], 7
mov word [r12], bx
mov rcx, qword [r14]
test rcx, rcx
je 0x14000c64c
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x14000c63c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c689
mov rcx, r8
call fcn.140058b40
mov qword [r14], rbx
mov qword [r14 + 8], rbx
mov qword [r14 + 0x10], rbx
movzx eax, byte [rsp + 0x61]
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140058b20
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14000d5b0
int3