Function at 0x14008c0a0
Capabilities:
Check processdebugport
Get system information on windows

Disassembly:
mov r11, rsp
push rbp
push r12
push r15
lea rbp, [r11 - 0x138]
sub rsp, 0x220
mov rax, qword [0x140237008]
xor rax, rsp
mov qword [rbp + 0xf0], rax
cmp qword [rcx + 0x20], 0
mov r15, rcx
mov rax, qword [rdx + 0x58]
mov qword [r11 + 0x18], rbx
mov qword [rcx + 0x28], rax
mov eax, dword [rdx + 0x64]
mov qword [r11 - 0x20], rsi
mov dword [rcx + 0x38], eax
mov rax, qword [rdx + 0x20]
mov qword [r11 - 0x28], rdi
mov qword [r11 - 0x30], r13
mov r13, rdx
mov qword [rcx + 0x40], rax
je 0x14008c156
movzx eax, word [rdx + 0x38]
xor r12d, r12d
test ax, ax
jne 0x14008c113
call sym.ProcessHacker.exe_PhReferenceEmptyString
mov rbx, rax
jmp 0x14008c1ae
mov rsi, qword [rdx + 0x40]
lea rcx, [rax + 0x12]
mov rdx, qword [0x1402418e8]
mov rdi, rax
call sym.ProcessHacker.exe_PhCreateObject
mov rbx, rax
mov qword [rax], rdi
add rax, 0x10
mov qword [rbx + 8], rax
mov word [rax + rdi], r12w
test rsi, rsi
je 0x14008c1ae
mov rcx, qword [rbx + 8]
mov r8, rdi
mov rdx, rsi
call fcn.140188690
jmp 0x14008c1ae
mov rdx, qword [0x1402418e8]
mov ecx, 0x38
call sym.ProcessHacker.exe_PhCreateObject
mov rbx, rax
mov qword [rax], 0x26
add rax, 0x10
mov qword [rbx + 8], rax
xor r12d, r12d
mov word [rax + 0x26], r12w
mov rcx, qword [rbx + 8]
movups xmm0, xmmword [str.System_Idle_Process]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x1401da748]
movups xmmword [rcx + 0x10], xmm1
mov eax, dword [0x1401da758]
mov dword [rcx + 0x20], eax
movzx eax, word [0x1401da75c]
mov word [rcx + 0x24], ax
mov qword [r15 + 0x30], rbx
mov rax, qword [r15 + 0x20]
test rax, rax
jle 0x14008c338
lea rdx, [r15 + 0xf8]
mov r8d, 0xa
mov ecx, eax
call fcn.140189644
mov ecx, dword [r15 + 0x28]
lea rdx, [r15 + 0x112]
mov r8d, 0xa
call fcn.140189644
mov ecx, dword [r15 + 0x38]
lea rdx, [r15 + 0x12c]
mov r8d, 0xa
call fcn.140189644
mov rax, qword [r15 + 0x20]
test rax, rax
jle 0x14008c338
cmp byte [0x140240e3f], 0
lea rbx, [r15 + 0x48]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], r12
je 0x14008c269
lea rax, ds:[rsp + 0x68]
mov qword [rbp - 0x80], rbx
lea rcx, [rbp - 0x68]
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x78], 0x400
mov dword [rbp - 0x68], r12d
call fcn.14011f9e0
mov dword [rsp + 0x48], r12d
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], 0x20
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x30]
jmp 0x14008c2f0
xorps xmm0, xmm0
mov dword [rbp], 0x30
lea r9, [rsp + 0x68]
mov qword [rbp + 8], r12
lea r8, [rbp]
mov dword [rbp + 0x18], r12d
mov edx, 0x400
mov qword [rbp + 0x10], r12
mov rcx, rbx
movdqu xmmword [rbp + 0x20], xmm0
call qword [sym.imp.ntdll.dll_NtOpenProcess]
nop dword [rax + rax]
cmp eax, 0xc0000022
jne 0x14008c312
cmp byte [0x140240e3f], 0
je 0x14008c321
lea rax, [rsp + 0x68]
mov qword [rbp - 0x60], rbx
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x58], 0x400
mov dword [rbp - 0x48], r12d
call fcn.14011f9e0
mov dword [rsp + 0x48], r12d
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], 0x20
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x40]
mov rcx, qword [0x140241b70]
xor r9d, r9d
mov dword [rsp + 0x28], 0x999920cb
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
test eax, eax
js 0x14008c321
or dword [r15 + 0xd0], 0x80
cmp qword [rbx], 0
jne 0x14008c338
mov r8, qword [r15 + 0x20]
mov edx, 0x1000
mov rcx, rbx
call fcn.140110fc0
mov rcx, qword ds:[r15 + 0x48]
test rcx, rcx
je 0x14008c39b
mov r9d, 0x40
mov qword [rbp + 0xb0], 0x40
lea r8, [rbp + 0xb0]
mov qword [rsp + 0x20], r12
xor edx, edx
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x14008c39b
mov eax, dword [rbp + 0xe8]
mov ecx, eax
and dword [r15 + 0xd0], 0xfffe3dff
and ecx, 1
shl ecx, 6
and eax, 0x182
or ecx, eax
or ecx, 8
shl ecx, 8
or dword [r15 + 0xd0], ecx
mov rcx, qword [r15 + 0x20]
mov qword [rsp + 0x200], r14
cmp rcx, 4
je 0x14008c55b
test rcx, rcx
jle 0x14008c57a
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x58], r12
mov rdi, r12
call sym.ProcessHacker.exe_PhGetProcessImageFileNameByProcessId
test eax, eax
js 0x14008c3d9
mov rax, qword [rsp + 0x58]
mov qword [r15 + 0x58], rax
mov r14, qword ds:[r15 + 0x48]
test r14, r14
je 0x14008c4fe
test dword [r15 + 0xd0], 0x10000
jne 0x14008c4fe
mov rcx, qword [0x140241998]
mov edx, 4
mov r8d, 0x114
mov dword [rsp + 0x50], r12d
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r9d, 0x114
mov edx, 0x2b
mov rsi, rax
mov rcx, r14
lea rax, [rsp + 0x50]
mov r8, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
nop dword [rax + rax]
cmp eax, 0xc0000004
jne 0x14008c493
mov rcx, qword [0x140241998]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ebx, dword [rsp + 0x50]
mov edx, 4
mov rcx, qword [0x140241998]
mov r8d, ebx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r9d, ebx
mov edx, 0x2b
mov rsi, rax
mov rcx, r14
lea rax, [rsp + 0x50]
mov r8, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x14008c4ec
cmp word [rsi], 0
jne 0x14008c4aa
nop dword [rax]
call sym.ProcessHacker.exe_PhReferenceEmptyString
mov rdi, rax
jmp 0x14008c4ec
lfence
movzx ebx, word [rsi]
mov rdx, qword [0x1402418e8]
mov r14, qword [rsi + 8]
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov rdi, rax
mov qword [rax], rbx
add rax, 0x10
mov qword [rdi + 8], rax
mov word [rbx + rax], r12w
test r14, r14
je 0x14008c4ec
mov rcx, qword [rdi + 8]
mov r8d, ebx
mov rdx, r14
call fcn.140188690
mov rcx, qword [0x140241998]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, qword [r15 + 0x58]
mov ebx, 0xffffffff
test rax, rax
je 0x14008c52b
cmp qword [rax], 0
jne 0x14008c52b
lea rcx, [rax - 0x10]
mov qword [r15 + 0x58], r12
mov eax, ebx
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14008c52b
call fcn.1400fbcc0
test rdi, rdi
je 0x14008c54a
cmp qword [rdi], 0
jne 0x14008c555
lea rcx, ds:[rdi - 0x10]
lock xadd dword [rcx + 8], ebx
cmp ebx, 1
jne 0x14008c54a
call fcn.1400fbcc0
mov rcx, qword [r15 + 0x58]
test rcx, rcx
je 0x14008c57a
jmp 0x14008c571
mov qword [r15 + 0x50], rdi
jmp 0x14008c57a
nop dword [rax + rax]
call sym.ProcessHacker.exe_PhGetKernelFileName
test rax, rax
je 0x14008c57a
mov qword [r15 + 0x58], rax
mov rcx, rax
call sym.ProcessHacker.exe_PhGetFileName
mov qword [r15 + 0x50], rax
mov rbx, qword [r15 + 0x48]
mov edi, 8
test rbx, rbx
je 0x14008c8bd
cmp qword [r15 + 0x20], 4
je 0x14008c8bd
cmp byte [0x140240e3f], 0
nop
je 0x14008c5df
lea rax, [rbp + 0x70]
mov qword [rbp - 0x40], rbx
lea rcx, [rbp - 0x28]
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x38], edi
mov dword [rbp - 0x28], r12d
call fcn.14011f9e0
mov dword [rsp + 0x48], r12d
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], 0x20
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x50]
jmp 0x14008c644
lea r8, [rbp + 0x70]
mov edx, edi
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtOpenProcessToken]
cmp eax, 0xc0000022
jne 0x14008c666
cmp byte [0x140240e3f], 0
nop dword [rax]
je 0x14008c943
lea rax, ds:[rbp + 0x70]
mov qword [rbp - 0x20], rbx
lea rcx, [rbp - 8]
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x18], edi
mov dword [rbp - 8], r12d
call fcn.14011f9e0
mov dword [rsp + 0x48], r12d
lea rax, [rbp - 0x20]
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], 0x20
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x60]
mov rcx, qword [0x140241b70]
xor r9d, r9d
mov dword [rsp + 0x28], 0x999920cf
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
test eax, eax
js 0x14008c943
mov rcx, qword ds:[rbp + 0x70]
lea r8, [rsp + 0x78]
mov edx, 1
call fcn.140113ba0
test eax, eax
js 0x14008c6f2
mov r14, qword [rsp + 0x78]
mov rcx, qword [r14]
call qword [sym.imp.ntdll.dll_RtlLengthSid]
mov rcx, qword [0x140241998]
mov edx, 4
mov rsi, qword [r14]
mov r8d, eax
mov edi, eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, edi
mov rdx, rsi
mov rcx, rax
mov rbx, rax
call fcn.140188690
mov qword [r15 + 0x98], rbx
mov rcx, qword [r14]
call fcn.14008b400
mov rcx, qword [0x140241998]
mov r8, r14
xor edx, edx
mov qword [r15 + 0x368], rax
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov edi, 8
mov rcx, qword [rbp + 0x70]
lea rax, [rbp + 0xa8]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x8c]
lea edx, [r9 + 0xe]
call qword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x14008c742
and dword [r15 + 0xd0], 0xfffffff7
mov eax, r12d
mov ecx, dword [rbp + 0x8c]
cmp ecx, 2
mov dword [r15 + 0xa0], ecx
cmove eax, edi
or dword [r15 + 0xd0], eax
mov rcx, qword [rbp + 0x70]
lea r8, [rsp + 0x60]
mov edx, 0x19
call fcn.140113ba0
test eax, eax
js 0x14008c8ae
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rbx]
call qword [sym.imp.ntdll.dll_RtlSubAuthorityCountSid]
movzx edx, byte [rax]
test edx, edx
je 0x14008c884
lfence
mov rbx, qword [rsp + 0x60]
dec edx
mov rcx, qword [rbx]
call qword [sym.imp.ntdll.dll_RtlSubAuthoritySid]
mov rcx, qword [0x140241998]
mov r8, rbx
xor edx, edx
mov edi, dword [rax]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax]
cmp edi, 0x2100
ja 0x14008c7ea
je 0x14008c8ae
test edi, edi
je 0x14008c896
cmp edi, 0x1000
je 0x14008c7d9
mov ecx, edi
cmp edi, 0x2000
jne 0x14008c808
lea rax, str.Medium
mov ecx, 2
jmp 0x14008c8a0
lea rax, [0x1401ef1f8]
mov ecx, 1
jmp 0x14008c8a0
cmp edi, 0x3000
je 0x14008c876
cmp edi, 0x4000
je 0x14008c868
mov ecx, edi
cmp edi, 0x5000
je 0x14008c85a
lea rax, [0x1401dd948]
cmp ecx, 0x3000
jg 0x14008c843
je 0x14008c87d
nop dword [rax]
test ecx, ecx
je 0x14008c89d
cmp ecx, 0x1000
je 0x14008c7e0
cmp ecx, 0x2000
jne 0x14008c8ae
mov ecx, 2
jmp 0x14008c8a0
cmp ecx, 0x4000
je 0x14008c86f
cmp ecx, 0x5000
jne 0x14008c8ae
mov ecx, 5
jmp 0x14008c8a0
lea rax, [0x1401dceb8]
mov ecx, 5
jmp 0x14008c8a0
lea rax, [0x1401ea318]
mov ecx, 4
jmp 0x14008c8a0
lea rax, str.High
mov ecx, 3
jmp 0x14008c8a0
mov rcx, qword [0x140241998]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea rax, str.Untrusted
mov ecx, r12d
mov dword [r15 + 0xa4], ecx
mov qword [r15 + 0xa8], rax
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x14008c93e
test qword [r15 + 0x20], 0xfffffffffffffffb
jne 0x14008c943
lea rsi, [0x140238018]
mov rcx, rsi
call qword [sym.imp.ntdll.dll_RtlLengthSid]
mov rcx, qword [0x140241998]
mov edx, 4
mov r8d, eax
mov edi, eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, edi
mov rdx, rsi
mov rcx, rax
mov rbx, rax
call fcn.140188690
mov qword [r15 + 0x98], rbx
mov rcx, qword [0x140242dc8]
test rcx, rcx
je 0x14008c934
lea rdx, [rbp + 0x78]
mov qword [rbp + 0x78], rsi
call sym.ProcessHacker.exe_PhFindEntryHashtable
test rax, rax
je 0x14008c934
mov rax, qword [rax + 8]
lock inc dword [rax - 8]
jmp 0x14008c937
mov rax, r12
mov qword [r15 + 0x368], rax
mov edi, 8
mov rdx, qword [r15 + 0x50]
mov rcx, qword [r15 + 0x20]
call sym.ProcessHacker.exe_PhGetProcessKnownTypeEx
mov rcx, qword [r15 + 0x48]
mov r14, qword [rsp + 0x200]
mov rsi, qword [rsp + 0x218]
mov rbx, qword [rsp + 0x250]
mov dword [r15 + 0x378], eax
test rcx, rcx
je 0x14008c9d4
cmp dword [0x140237d34], 0x3f
nop
jb 0x14008c9b4
mov r9d, 1
mov qword [rsp + 0x20], r12
lea r8, [rbp + 0x88]
lea edx, [r9 + 0x3c]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
nop
test eax, eax
js 0x14008c9dc
movzx eax, byte [rbp + 0x88]
mov byte [r15 + 0x37c], al
jmp 0x14008c9dc
test dword ds:[r15 + 0xd0], 0x4000
je 0x14008c9dc
and byte [r15 + 0x37c], 0xfa
or byte [r15 + 0x37c], 2
jmp 0x14008c9dc
mov byte [r15 + 0x37c], 0xff
cmp dword [0x140237d34], 0x3f
jb 0x14008ca37
mov rcx, qword [r15 + 0x48]
test rcx, rcx
je 0x14008ca37
mov r9d, edi
mov dword [rbp + 0x98], 7
lea r8, [rbp + 0x98]
mov qword [rsp + 0x20], r12
mov edx, 0x34
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x14008ca37
movzx eax, byte [rbp + 0x9c]
and dword [r15 + 0xd0], 0xfffdffff
and al, 1
movzx eax, al
shl eax, 0x11
or dword [r15 + 0xd0], eax
cmp dword [0x140237d34], 0x6d
nop
jb 0x14008cad0
cmp qword [r15 + 0x20], 4
jne 0x14008ca7e
xor r9d, r9d
lea rdx, [rbp + 0x90]
mov ecx, 0xdd
lea r8d, [r9 + 4]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x14008cad0
mov eax, dword [rbp + 0x90]
and eax, 0x100
shl eax, 0xa
jmp 0x14008cabe
mov rcx, qword [r15 + 0x48]
test rcx, rcx
je 0x14008cad0
mov r9d, edi
mov dword [rbp + 0xa0], 0xf
lea r8, [rbp + 0xa0]
mov qword [rsp + 0x20], r12
mov edx, 0x34
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x14008cad0
movzx eax, byte [rbp + 0xa4]
and al, 1
movzx eax, al
shl eax, 0x12
and dword [r15 + 0xd0], 0xfffbffff
or dword [r15 + 0xd0], eax
cmp dword [r13 + 4], 0
mov r13, qword [rsp + 0x208]
mov rdi, qword [rsp + 0x210]
jne 0x14008cafa
mov rcx, qword [r15 + 0x48]
test rcx, rcx
je 0x14008cafa
call qword [sym.imp.ntdll.dll_NtClose]
mov qword [r15 + 0x48], r12
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1401848a0
add rsp, 0x220
pop r15
pop r12
pop rbp
ret