Function at 0x14000b340
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, 0x290
mov rax, qword [0x1400c9008]
xor rax, rsp
mov qword [rsp + 0x288], rax
mov rax, r9
mov qword [r11 - 0x240], rax
mov r14, r8
mov rsi, rdx
mov qword [rsp + 0x100], rcx
mov qword [r11 - 0x68], rdx
mov qword [r11 - 0x70], r8
mov qword [r11 - 0x1b8], rax
mov r12, qword [rsp + 0x2f0]
mov qword [r11 - 0x78], r12
mov rax, qword [rsp + 0x2f8]
mov qword [rsp + 0xf8], rax
mov r15, qword [rsp + 0x300]
mov qword [r11 - 0x1c0], r15
mov byte [rsp + 0x62], 0
mov byte [rsp + 0x61], 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 + 0x118], xmm0
mov qword [rsp + 0x128], rax
xor edi, edi
mov dword [rsp + 0x1e0], edi
movups xmmword [rsp + 0x1e8], xmm0
movups xmmword [rsp + 0x1f8], xmm0
movups xmmword [rsp + 0x208], xmm0
movups xmmword [rsp + 0x218], xmm0
movups xmmword [rsp + 0x228], xmm0
movups xmmword [rsp + 0x238], xmm0
mov qword [rsp + 0x248], rax
mov dword [rsp + 0x1e0], 0x70
mov ebx, edi
mov qword [rsp + 0xb8], rbx
cmp qword [rsi + 0x10], rax
je 0x14000b478
mov qword [rsp + 0x1d0], rsi
mov r13, rsi
mov qword [rsp + 0xc8], rsi
cmp qword [rsi + 0x18], 8
setae byte [rsp + 0x63]
jb 0x14000b46e
mov r13, qword [rsi]
mov qword [rsp + 0xc8], r13
mov qword [rsp + 0x130], r13
jmp 0x14000b47b
mov r13, rdi
mov qword [rsp + 0xf0], r13
mov rdx, rsi
cmp qword [r12 + 0x10], rax
cmovne rdx, r12
mov qword [rsp + 0x138], rdx
lea rcx, [rsp + 0x268]
call fcn.140005260
nop
mov rcx, qword [rsp + 0x278]
lea rax, [rcx + 1]
mov qword [rsp + 0x1c8], rax
cmp rax, 0x7fff
jbe 0x14000b54d
lea rcx, [rsp + 0x268]
call sym.NetworkCap.exe_public:_void___cdecl_Hp::Bridge::Server::Uwp::UwpPackageModel::destructor_void____ptr64
nop
mov rcx, rsi
call sym.NetworkCap.exe_public:_void___cdecl_Hp::Bridge::Server::Uwp::UwpPackageModel::destructor_void____ptr64
nop
mov rcx, r14
call sym.NetworkCap.exe_public:_void___cdecl_Hp::Bridge::Server::Uwp::UwpPackageModel::destructor_void____ptr64
nop
mov rdx, qword [rsp + 0x88]
mov rdi, qword [rdx + 8]
test rdi, rdi
je 0x14000b535
mov qword [rsp + 0xa8], rdi
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14000b535
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x14000b535
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, r12
call sym.NetworkCap.exe_public:_void___cdecl_Hp::Bridge::Server::Uwp::UwpPackageModel::destructor_void____ptr64
nop
mov rcx, r15
call fcn.14000c5a0
xor al, al
jmp 0x14000bb45
lea rax, [rsp + 0x268]
mov qword [rsp + 0x140], rax
lea rax, [rsp + 0x268]
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0x280], 8
setae r8b
mov byte [rsp + 0x64], r8b
mov r9, qword [rsp + 0x268]
cmovae rax, r9
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x148], rax
lea rcx, [rax + rcx*2]
mov qword [rsp + 0x150], rcx
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0x158], rcx
lea rax, [rsp + 0x268]
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x268]
mov qword [rsp + 0xb0], rax
mov byte [rsp + 0x65], r8b
cmovae rax, r9
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x170], rax
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x178], rax
mov qword [rsp + 0x180], rcx
mov qword [rsp + 0x188], rax
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x190], rdx
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x198], rdx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x1a0], rcx
mov qword [rsp + 0x1a8], rax
sub rcx, rax
mov qword [rsp + 0x68], rcx
mov rax, rcx
sar rax, 1
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xd8], rax
je 0x14000b713
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
ja 0x14000bb84
lfence
mov rbx, qword [rsp + 0xd8]
mov rdx, rbx
call fcn.140005b20
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
lea rax, [rax + rbx*2]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0xe8], rax
mov rbx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0xb0]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [rsp + 0xe0]
lea rax, [rbx + rax*2]
mov qword [rsp + 0x1b8], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0xe8], rdi
mov rbx, qword [rsp + 0xb8]
mov r13, qword [rsp + 0xf0]
mov word [rsp + 0x66], di
mov rdx, qword [rsp + 0x78]
cmp rdx, qword [rsp + 0x80]
je 0x14000b732
mov word [rdx], di
add qword [rsp + 0x78], 2
jmp 0x14000b741
lea r8, [rsp + 0x66]
lea rcx, [rsp + 0x70]
call fcn.14000c9f0
cmp qword [r14 + 0x10], 0
je 0x14000b771
mov rax, r14
mov qword [rsp + 0x68], rax
mov qword [rsp + 0xa0], rax
cmp qword [r14 + 0x18], 8
jb 0x14000b76f
mov rax, qword [r14]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0xa0], rax
jmp 0x14000b779
mov rax, rdi
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x1c0], rax
mov byte [rsp + 0x60], 1
mov rax, qword [r15 + 8]
sub rax, qword [r15]
sar rax, 3
test rax, rax
je 0x14000b85f
mov byte [rsp + 0x60], 0
mov qword [rsp + 0x90], rdi
lea r9, [rsp + 0x90]
xor r8d, r8d
lea edx, [r8 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
mov rbx, qword [rsp + 0x90]
test rbx, rbx
je 0x14000b988
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
mov qword [rsp + 0xb8], rax
test rax, rax
je 0x14000b988
lea r9, [rsp + 0x90]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
test eax, eax
je 0x14000b988
mov byte [rsp + 0x61], 1
mov rax, qword [r15 + 8]
sub rax, qword [r15]
and rax, 0xfffffffffffffff8
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
mov r9, qword [r15]
xor edx, edx
mov r8d, 0x20002
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x14000b988
mov qword [rsp + 0x248], rbx
mov byte [rsp + 0x60], 1
mov qword [rsp + 0x98], rdi
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rdx, qword [rdx]
lea rcx, [rsp + 0x98]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x14000b958
mov rax, qword [r15 + 8]
sub rax, qword [r15]
sar rax, 3
mov r8d, edi
test rax, rax
setne r8b
lea rax, [rsp + 0x118]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x80430
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, qword [rsp + 0x70]
mov rdx, r13
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [rsp + 0xc0], eax
test eax, eax
je 0x14000b922
mov byte [rsp + 0x62], 1
mov eax, dword [rsp + 0x128]
mov rcx, qword [rsp + 0xf8]
mov dword [rcx], eax
jmp 0x14000b94a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xc4], eax
mov r8d, eax
lea rdx, str.Problem_while_creating_process_as_user__d.
mov rcx, qword [rsp + 0x100]
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 + 0x98]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
cmp byte [rsp + 0x61], 0
je 0x14000b968
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
cmp qword [rsp + 0x248], 0
je 0x14000b988
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
lea rcx, [rsp + 0x70]
call fcn.14000c440
nop
lea rcx, [rsp + 0x268]
call sym.NetworkCap.exe_public:_void___cdecl_Hp::Bridge::Server::Uwp::UwpPackageModel::destructor_void____ptr64
nop
mov rbx, qword [rsp + 0x88]
jmp 0x14000b9d5
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x14000ba14
mov rcx, qword [rsi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000ba0f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000bb68
mov rcx, r8
call fcn.140061b40
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 7
mov word [rsi], di
mov rdx, qword [r14 + 0x18]
cmp rdx, 8
jb 0x14000ba62
mov rcx, qword [r14]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000ba5d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000bb6f
mov rcx, r8
call fcn.140061b40
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], 7
mov word [r14], di
mov rsi, qword [rbx + 8]
test rsi, rsi
je 0x14000baa8
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14000baa8
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
lock xadd dword [rsi + 0xc], ebx
cmp ebx, 1
jne 0x14000baa8
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
nop
mov rdx, qword [r12 + 0x18]
cmp rdx, 8
jb 0x14000bae9
mov rcx, qword [r12]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000bae4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000bb76
mov rcx, r8
call fcn.140061b40
mov qword [r12 + 0x10], rdi
mov qword [r12 + 0x18], 7
mov word [r12], di
mov rcx, qword [r15]
test rcx, rcx
je 0x14000bb40
mov rdx, qword [r15 + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x14000bb30
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000bb7d
mov rcx, r8
call fcn.140061b40
mov qword [r15], rdi
mov qword [r15 + 8], rdi
mov qword [r15 + 0x10], rdi
movzx eax, byte [rsp + 0x62]
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.140061b20
add rsp, 0x290
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.14000cdf0
int3