Function at 0x14000b4a0
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, 0x190
mov rax, qword [0x1400af008]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov r12, r9
mov qword [rsp + 0x70], r9
mov rsi, r8
mov rdi, rdx
mov rax, rcx
mov qword [rsp + 0xb0], rcx
mov qword [r11 - 0x78], rdx
mov qword [r11 - 0x68], r8
mov qword [r11 - 0x110], r9
mov r15, qword [rsp + 0x1f0]
mov qword [r11 - 0x70], r15
mov rcx, qword [rsp + 0x1f8]
mov qword [rsp + 0xa8], rcx
mov r14, qword [rsp + 0x200]
mov qword [r11 - 0x108], r14
mov byte [rsp + 0x61], 0
mov byte [rsp + 0x60], 0
lea rdx, str.Attempting_to_impersonate_logged_in_user.
mov rcx, qword [rax]
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 + 0xc8], xmm0
mov qword [rsp + 0xd8], rax
xorps xmm1, xmm1
movups xmmword [rsp + 0xe8], xmm1
movups xmmword [rsp + 0xf8], xmm1
movups xmmword [rsp + 0x108], xmm1
movups xmmword [rsp + 0x118], xmm1
movups xmmword [rsp + 0x128], xmm1
movups xmmword [rsp + 0x138], xmm1
mov qword [rsp + 0x148], rax
mov dword [rsp + 0xe0], 0x70
xor ebx, ebx
mov qword [rsp + 0x88], rbx
cmp qword [rdi + 0x10], rax
je 0x14000b5c0
mov qword [rsp + 0x80], rdi
cmp qword [rdi + 0x18], 8
jb 0x14000b5c8
mov r12, qword [rdi]
mov qword [rsp + 0x80], r12
mov r12, qword [rsp + 0x70]
jmp 0x14000b5c8
mov qword [rsp + 0x80], rbx
mov rdx, rdi
cmp qword [r15 + 0x10], rax
cmovne rdx, r15
lea rcx, [rsp + 0x168]
call fcn.140005c30
nop
mov rdx, qword [rsp + 0x178]
lea rax, [rdx + 1]
cmp rax, 0x7fff
jbe 0x14000b7d6
mov rdx, qword [rsp + 0x180]
cmp rdx, 8
jb 0x14000b641
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x168]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b63c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000bb37
call fcn.140059820
mov qword [rsp + 0x178], rbx
mov qword [rsp + 0x180], 7
mov word [rsp + 0x168], bx
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14000b69c
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000b697
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b852
mov rcx, r8
call fcn.140059820
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 7
mov word [rdi], bx
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x14000b6ea
mov rcx, qword [rsi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000b6e5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b859
mov rcx, r8
call fcn.140059820
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 7
mov word [rsi], bx
mov rsi, qword [r12 + 8]
test rsi, rsi
je 0x14000b730
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14000b730
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
lock xadd dword [rsi + 0xc], edi
cmp edi, 1
jne 0x14000b730
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 8
jb 0x14000b76f
mov rcx, qword [r15]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000b76a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b860
mov rcx, r8
call fcn.140059820
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], 7
mov word [r15], bx
mov rcx, qword [r14]
test rcx, rcx
je 0x14000b7cf
mov rax, qword [r14 + 0x10]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
cmp rdx, 0x1000
jb 0x14000b7bf
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b867
mov rcx, r8
call fcn.140059820
mov qword [r14], rbx
mov qword [r14 + 8], rbx
mov qword [r14 + 0x10], rbx
xor al, al
jmp 0x14000bce0
lea rcx, [rsp + 0x168]
cmp qword [rsp + 0x180], 8
cmovae rcx, qword [rsp + 0x168]
lea r8, [rcx + rdx*2]
lea rdx, [rsp + 0x168]
cmovae rdx, qword [rsp + 0x168]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], rbx
lea rcx, [rsp + 0x90]
call fcn.14000cce0
nop
mov word [rsp + 0x62], bx
mov rdx, qword [rsp + 0x98]
mov r12, qword [rsp + 0xa0]
cmp rdx, r12
je 0x14000b86e
mov word [rdx], bx
add rdx, 2
mov qword [rsp + 0x98], rdx
jmp 0x14000b888
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 r8, [rsp + 0x62]
lea rcx, [rsp + 0x90]
call fcn.14000c800
mov r12, qword [rsp + 0xa0]
cmp qword [rsi + 0x10], 0
je 0x14000b8a8
mov r13, rsi
mov qword [rsp + 0x68], rsi
cmp qword [rsi + 0x18], 8
jb 0x14000b8b0
mov r13, qword [rsi]
mov qword [rsp + 0x68], r13
jmp 0x14000b8b0
mov r13, rbx
mov qword [rsp + 0x68], rbx
mov rax, qword [r14 + 8]
sub rax, qword [r14]
sar rax, 3
test rax, rax
je 0x14000b980
mov qword [rsp + 0x78], rbx
lea r9, [rsp + 0x78]
xor r8d, r8d
lea edx, [r8 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
mov r13, qword [rsp + 0x78]
test r13, r13
je 0x14000ba3e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r13
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r13, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x14000ba3e
lea r9, [rsp + 0x78]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
test eax, eax
je 0x14000ba3e
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, r13
call qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x14000ba3e
mov qword [rsp + 0x148], r13
mov r13, qword [rsp + 0x68]
mov qword [rsp + 0x68], rbx
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rdx, qword [rdx]
lea rcx, [rsp + 0x68]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x14000ba76
mov rax, qword [r14 + 8]
sub rax, qword [r14]
sar rax, 3
mov r8d, ebx
test rax, rax
setne r8b
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r13
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x80430
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r13, qword [rsp + 0x90]
mov r8, r13
mov rdx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x14000ba48
mov byte [rsp + 0x61], 1
mov eax, dword [rsp + 0xd8]
mov rcx, qword [rsp + 0xa8]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
jmp 0x14000ba7e
mov r13, qword [rsp + 0x90]
jmp 0x14000bab8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Problem_while_creating_process_as_user__d.
mov rcx, qword [rsp + 0xb0]
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 + 0x68]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
jmp 0x14000ba7e
mov r13, qword [rsp + 0x90]
cmp byte [rsp + 0x60], 0
je 0x14000ba93
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
cmp qword [rsp + 0x148], 0
je 0x14000bab8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, qword [rsp + 0x88]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
test r13, r13
je 0x14000baf8
sub r12, r13
sar r12, 1
lea rdx, [r12 + r12]
mov rax, r13
cmp rdx, 0x1000
jb 0x14000baef
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000baef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.140059820
nop
mov rdx, qword [rsp + 0x180]
cmp rdx, 8
jb 0x14000bb44
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x168]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bb3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bb3e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140059820
nop
mov r12, qword [rsp + 0x70]
jmp 0x14000bb75
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14000bbb4
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000bbaf
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000bd03
mov rcx, r8
call fcn.140059820
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 7
mov word [rdi], bx
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x14000bc02
mov rcx, qword [rsi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000bbfd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000bd0a
mov rcx, r8
call fcn.140059820
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 7
mov word [rsi], bx
mov rsi, qword [r12 + 8]
test rsi, rsi
je 0x14000bc48
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14000bc48
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
lock xadd dword [rsi + 0xc], edi
cmp edi, 1
jne 0x14000bc48
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 8
jb 0x14000bc87
mov rcx, qword [r15]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000bc82
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000bd11
mov rcx, r8
call fcn.140059820
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], 7
mov word [r15], bx
mov rcx, qword [r14]
test rcx, rcx
je 0x14000bcdb
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x14000bccb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000bd18
mov rcx, r8
call fcn.140059820
mov qword [r14], rbx
mov qword [r14 + 8], rbx
mov qword [r14 + 0x10], rbx
movzx eax, byte [rsp + 0x61]
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140059800
add rsp, 0x190
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]
int3