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

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xa0
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov qword [r11 + 0x10], rbp
mov rbp, rcx
mov qword [r11 + 0x20], rdi
mov qword [r11 - 0x10], r14
mov qword [r11 - 0x18], r15
xor r15d, r15d
test byte [0x1402c15a0], 1
jne 0x14007f545
lock bts qword [0x1402c15a0], 0x1f
setb al
test al, al
jne 0x14007f529
mov rdx, qword [0x1402ca958]
mov ecx, 0x40
call sym.SystemInformer.exe_PhCreateObject
mov ecx, 1
mov word [rax], r15w
lock xadd dword [0x1402ca950], ecx
movzx edx, cl
lea rbx, [0x1402cece0]
lea rcx, [0x14007f940]
mov byte [rax + 2], dl
mov qword [rax + 8], rcx
lea rcx, str.ModuleProvider
mov qword [rax + 0x10], rcx
mov ecx, 0x40
mov qword [rbx + rdx*8], rax
mov rdx, qword [0x1402ca958]
mov dword [rax + 4], r15d
mov qword [0x1402c9988], rax
call sym.SystemInformer.exe_PhCreateObject
mov ecx, 1
mov word [rax], r15w
lock xadd dword [0x1402ca950], ecx
movzx edx, cl
lea rcx, [0x14007fb20]
cmp dword [0x1402bff40], 0x64
mov qword [rax + 8], rcx
lea rcx, str.ModuleItem
mov qword [rax + 0x10], rcx
mov byte [rax + 2], dl
mov dword [rax + 4], r15d
mov qword [rbx + rdx*8], rax
mov qword [0x1402c9980], rax
jb 0x14007f51b
lea rcx, [0x1402cdb00]
call qword [sym.imp.ntdll.dll_RtlInterlockedPopEntrySList]
mov rbx, rax
test rax, rax
je 0x14007f44e
lock dec dword [0x1402cdb10]
jmp 0x14007f46e
mov r8, qword [0x1402cdb18]
mov edx, 4
mov rcx, qword [0x1402caad0]
add r8, 0x10
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
mov qword [rbx + 0x18], r15
lea rdx, [rbx + 0x10]
lea rax, [0x140081780]
xorps xmm0, xmm0
mov qword [rdx], rax
lea r8, [rsp + 0x30]
lea rcx, [0x140142a20]
mov dword [rsp + 0x30], 3
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x70], 0x48
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x6c], 2
call qword [sym.imp.ntdll.dll_TpSimpleTryPost]
test eax, eax
jns 0x14007f51b
mov eax, dword [0x1402cdb14]
cmp dword [0x1402cdb10], eax
lfence
jae 0x14007f509
mov rdx, rbx
lea rcx, [0x1402cdb00]
call qword [sym.imp.ntdll.dll_RtlInterlockedPushEntrySList]
lock inc dword [0x1402cdb10]
lea rcx, [0x1402c15a0]
call sym.SystemInformer.exe_PhfSetEvent
jmp 0x14007f545
mov rcx, qword [0x1402caad0]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea rcx, [0x1402c15a0]
call sym.SystemInformer.exe_PhfSetEvent
jmp 0x14007f545
test byte [0x1402c15a0], 1
jne 0x14007f545
xor edx, edx
lea rcx, [0x1402c15a0]
call sym.SystemInformer.exe_PhfWaitForEvent
mov rcx, qword [0x1402c9858]
mov rdx, qword [0x1402c9988]
add rcx, 0xe0
mov qword [0x1402c9850], 0xe0
call sym.SystemInformer.exe_PhCreateObject
xor edx, edx
mov r8d, 0xe0
mov rcx, rax
mov rbx, rax
call fcn.14020a280
mov rdx, qword [0x1402ca960]
mov ecx, 0x48
call sym.SystemInformer.exe_PhCreateObject
mov rcx, qword [0x1402caad0]
mov rdi, rax
mov edx, 4
mov r8d, 0x80
mov dword [rax], 8
lea rax, [0x14007fbc0]
mov qword [rdi + 8], rax
lea rax, [0x14007fc20]
mov qword [rdi + 0x10], rax
mov dword [rdi + 0x18], 0x20
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rdi + 0x18]
mov edx, 0xff
shl r8, 2
mov rcx, rax
mov qword [rdi + 0x20], rax
call fcn.14020a280
mov eax, dword ds:[rdi + 0x18]
mov edx, 4
mov rcx, qword [0x1402caad0]
mov dword [rdi + 0x28], eax
lea r8, [rax + rax*2]
shl r8, 3
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [rdi + 0x38], r15d
mov qword [rdi + 0x30], rax
lea rax, [rbx + 0x20]
mov dword [rdi + 0x3c], 0xffffffff
mov dword [rdi + 0x40], r15d
mov qword [rax + 8], rax
mov qword [rax], rax
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
lea rax, [rbx + 0x40]
mov qword [rax + 8], rax
mov qword [rax], rax
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
lea rax, [rbx + 0x60]
mov qword [rax + 8], rax
mov qword [rax], rax
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
lea rax, [rbx + 0x80]
mov qword [rax + 8], rax
mov qword [rax], rax
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov dword [rbx + 8], r15d
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov qword [rbx + 0xa0], rbp
mov qword [rbx + 0xa8], r15
mov qword [rbx + 0xb0], r15
mov qword [rbx + 0xb8], r15
mov dword [rbx + 0xd0], r15d
mov qword [rbx], rdi
test rbp, rbp
jle 0x14007f6eb
mov qword [rsp + 0xc0], rsi
lfence
mov edi, r15d
lea rsi, [0x1402429f8]
mov edx, dword [rsi]
lea rcx, [rbx + 0xa8]
mov r8, rbp
call sym.SystemInformer.exe_PhOpenProcess
mov dword [rbx + 0xd0], eax
test eax, eax
jns 0x14007f6dc
inc edi
add rsi, 4
cmp edi, 3
jb 0x14007f6b4
jmp 0x14007f6e3
or byte [rbx + 0xd4], 2
mov rsi, qword [rsp + 0xc0]
mov rcx, rbp
call sym.SystemInformer.exe_PhReferenceProcessItem
mov rdi, qword [rsp + 0xc8]
mov rdx, rax
mov rbp, qword [rsp + 0xb8]
test rax, rax
je 0x14007f76e
mov rax, qword [rax + 0x60]
mov qword [rbx + 0xb0], rax
test rax, rax
je 0x14007f71f
lock inc dword [rax - 8]
mov rax, qword [rdx + 0x3c0]
mov qword [rbx + 0xb8], rax
test rax, rax
je 0x14007f736
lock inc dword [rax - 8]
movzx eax, byte [rbx + 0xd4]
mov ecx, dword [rdx + 0xd8]
shr ecx, 0xf
shl cl, 2
xor cl, al
and cl, 4
xor cl, al
mov eax, 0xffffffff
mov byte [rbx + 0xd4], cl
lea rcx, [rdx - 0x10]
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14007f76e
call fcn.140141ca0
cmp dword [0x1402bff40], 0x3f
jb 0x14007f7d2
mov rcx, qword ds:[rbx + 0xa8]
test rcx, rcx
je 0x14007f7d2
mov r9d, 8
mov qword [rsp + 0x80], 7
lea r8, [rsp + 0x80]
mov qword [rsp + 0x20], r15
mov edx, 0x34
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x14007f7d2
movzx eax, byte [rbx + 0xd4]
movzx ecx, byte [rsp + 0x84]
and al, 0xf7
and cl, 1
shl cl, 3
or cl, al
mov byte [rbx + 0xd4], cl
cmp dword [0x1402bff40], 0x6d
jb 0x14007f89d
mov rcx, qword [rbx + 0xa8]
test rcx, rcx
je 0x14007f89d
cmp qword [rbx + 0xa0], 4
jne 0x14007f843
xor r9d, r9d
lea rdx, [rsp + 0x80]
mov r8d, 4
mov ecx, 0xdd
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x14007f89d
movzx eax, byte [rbx + 0xd4]
mov ecx, dword [rsp + 0x80]
shr ecx, 8
shl cl, 4
xor cl, al
and cl, 0x10
xor cl, al
or cl, 0x20
mov byte [rbx + 0xd4], cl
jmp 0x14007f89d
mov r9d, 8
mov dword [rsp + 0x80], 0xf
lea r8, [rsp + 0x80]
mov qword [rsp + 0x20], r15
mov edx, 0x34
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x14007f89d
mov ecx, dword [rsp + 0x84]
mov edx, ecx
movzx eax, byte [rbx + 0xd4]
and cl, 1
shr edx, 4
and al, 0xef
shl dl, 5
shl cl, 4
or cl, al
xor dl, cl
and dl, 0x20
xor dl, cl
mov byte [rbx + 0xd4], dl
mov eax, dword [0x1402cf574]
mov r15, qword [rsp + 0x90]
mov r14, qword [rsp + 0x98]
sub eax, 1
je 0x14007f8e5
sub eax, 1
je 0x14007f8dc
nop dword [rax]
sub eax, 1
je 0x14007f8d3
cmp eax, 1
jne 0x14007f8d3
mov byte [rbx + 0xd5], 3
jmp 0x14007f8ec
mov byte [rbx + 0xd5], 2
jmp 0x14007f8ec
mov byte [rbx + 0xd5], 1
jmp 0x14007f8ec
mov byte [rbx + 0xd5], 0
lea rax, [rbx + 0xc0]
test al, 0xf
jne 0x14007f92e
xorps xmm0, xmm0
xor r8d, r8d
mov rdx, rbx
movaps xmmword [rax], xmm0
mov ecx, 0x10
call fcn.1400311a0
mov rax, rbx
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0xa0
pop rbx
ret
mov ecx, 0x80000002
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3