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

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xc0
mov rax, qword [0x1402ba040]
xor rax, rsp
mov qword [rsp + 0xa0], 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 [0x1402bc560], 1
jne 0x14007cc3e
lock bts qword [0x1402bc560], 0x1f
jb 0x14007cc27
mov rdx, qword [0x1402c4f98]
lea ecx, [r15 + 0x40]
call sym.SystemInformer.exe_QiCreateObject
mov ecx, 1
mov word [rax], r15w
lock xadd dword [0x1402c4f90], ecx
movzx edx, cl
lea rbx, [0x1402c9280]
lea rcx, [0x14007d040]
mov byte [rax + 2], dl
mov qword [rax + 8], rcx
lea rcx, str.ModuleProvider
mov qword [rax + 0x10], rcx
lea ecx, [r15 + 0x40]
mov qword [rbx + rdx*8], rax
mov rdx, qword [0x1402c4f98]
mov dword [rax + 4], r15d
mov qword [0x1402c3fa8], rax
call sym.SystemInformer.exe_QiCreateObject
mov ecx, 1
mov word [rax], r15w
lock xadd dword [0x1402c4f90], ecx
movzx edx, cl
lea rcx, [0x14007d220]
cmp dword [0x1402baf40], 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 [0x1402c3fa0], rax
jb 0x14007cc19
lea rcx, [0x1402c80c0]
call qword [sym.imp.ntdll.dll_RtlInterlockedPopEntrySList]
mov rbx, rax
test rax, rax
je 0x14007cb44
lock dec dword [0x1402c80d0]
jmp 0x14007cb69
mov r8, qword [0x1402c80d8]
mov edx, 4
mov rcx, qword [0x1402c5110]
add r8, 0x10
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
mov qword [rbx + 0x18], r15
lea rdx, [rbx + 0x10]
lea rax, [0x14007eea0]
xorps xmm0, xmm0
mov qword [rdx], rax
lea r8, [rsp + 0x40]
lea rcx, [0x1401408c0]
mov dword [rsp + 0x40], 3
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x80], 0x48
mov dword [rsp + 0x78], 1
mov dword [rsp + 0x7c], 2
call qword [sym.imp.ntdll.dll_TpSimpleTryPost]
test eax, eax
jns 0x14007cc19
mov eax, dword [0x1402c80d4]
cmp dword [0x1402c80d0], eax
lfence
jae 0x14007cc07
mov rdx, rbx
lea rcx, [0x1402c80c0]
call qword [sym.imp.ntdll.dll_RtlInterlockedPushEntrySList]
lock inc dword [0x1402c80d0]
lea rcx, [0x1402bc560]
call sym.SystemInformer.exe_QifSetEvent
jmp 0x14007cc3e
mov rcx, qword [0x1402c5110]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea rcx, [0x1402bc560]
call sym.SystemInformer.exe_QifSetEvent
jmp 0x14007cc3e
test byte [0x1402bc560], 1
jne 0x14007cc3e
xor edx, edx
lea rcx, [0x1402bc560]
call sym.SystemInformer.exe_QifWaitForEvent
mov rcx, qword [0x1402c3e78]
mov rdx, qword [0x1402c3fa8]
add rcx, 0xe0
mov qword [0x1402c3e70], 0xe0
call sym.SystemInformer.exe_QiCreateObject
xor edx, edx
mov r8d, 0xe0
mov rcx, rax
mov rbx, rax
call fcn.140207110
mov rdx, qword [0x1402c4fa0]
mov ecx, 0x48
call sym.SystemInformer.exe_QiCreateObject
mov rcx, qword [0x1402c5110]
mov rdi, rax
mov edx, 4
mov dword [rax], 8
lea rax, [0x14007d2c0]
mov qword [rdi + 8], rax
lea rax, [0x14007d320]
lea r8d, [rdx + 0x7c]
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.140207110
mov r8d, dword [rdi + 0x18]
mov edx, 4
mov rcx, qword [0x1402c5110]
mov dword [rdi + 0x28], r8d
shl r8, 4
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 0x14007cdeb
mov qword [rsp + 0xe0], rsi
lfence
mov edi, r15d
lea rsi, [0x14023f7d8]
nop dword [rax + rax]
mov edx, dword ds:[rsi]
lea rcx, [rbx + 0xa8]
mov r8, rbp
call sym.SystemInformer.exe_QiOpenProcess
mov dword [rbx + 0xd0], eax
test eax, eax
jns 0x14007cddc
inc edi
add rsi, 4
cmp edi, 3
jb 0x14007cdb0
jmp 0x14007cde3
or byte [rbx + 0xd4], 2
mov rsi, qword [rsp + 0xe0]
mov rcx, rbp
call sym.SystemInformer.exe_QiReferenceProcessItem
mov rdi, qword [rsp + 0xe8]
mov rdx, rax
mov rbp, qword [rsp + 0xd8]
test rax, rax
je 0x14007ce6e
mov rax, qword [rax + 0x60]
mov qword [rbx + 0xb0], rax
test rax, rax
je 0x14007ce1f
lock inc dword [rax - 8]
mov rax, qword [rdx + 0x390]
mov qword [rbx + 0xb8], rax
test rax, rax
je 0x14007ce36
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 0x14007ce6e
call fcn.14013fb00
cmp dword [0x1402baf40], 0x3f
jb 0x14007ced0
mov rcx, qword ds:[rbx + 0xa8]
test rcx, rcx
je 0x14007ced0
mov r9d, 8
mov dword [rsp + 0x98], 7
lea r8, [rsp + 0x98]
mov qword [rsp + 0x20], r15
lea edx, [r9 + 0x2c]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x14007ced0
movzx eax, byte [rbx + 0xd4]
movzx ecx, byte [rsp + 0x9c]
and al, 0xf7
and cl, 1
shl cl, 3
or cl, al
mov byte [rbx + 0xd4], cl
cmp dword [0x1402baf40], 0x6d
jb 0x14007cf98
mov rcx, qword [rbx + 0xa8]
test rcx, rcx
je 0x14007cf98
cmp qword [rbx + 0xa0], 4
jne 0x14007cf3f
xor r9d, r9d
lea rdx, [rsp + 0x90]
mov ecx, 0xdd
lea r8d, [r9 + 4]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x14007cf98
movzx eax, byte [rbx + 0xd4]
mov ecx, dword [rsp + 0x90]
shr ecx, 8
shl cl, 4
xor cl, al
and cl, 0x10
xor cl, al
or cl, 0x20
mov byte [rbx + 0xd4], cl
jmp 0x14007cf98
mov r9d, 8
mov dword [rsp + 0x90], 0xf
lea r8, [rsp + 0x90]
mov qword [rsp + 0x20], r15
lea edx, [r9 + 0x2c]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x14007cf98
mov ecx, dword [rsp + 0x94]
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 [0x1402c9b14]
mov r15, qword [rsp + 0xb0]
mov r14, qword [rsp + 0xb8]
sub eax, 1
je 0x14007cfe2
sub eax, 1
je 0x14007cfd7
sub eax, 1
je 0x14007cfce
nop dword [rax]
cmp eax, 1
jne 0x14007cfce
mov byte [rbx + 0xd5], 3
jmp 0x14007cfe9
mov byte [rbx + 0xd5], 2
jmp 0x14007cfe9
mov byte ds:[rbx + 0xd5], 1
jmp 0x14007cfe9
mov byte [rbx + 0xd5], 0
lea rax, [rbx + 0xc0]
test al, 0xf
jne 0x14007d025
xor r8d, r8d
xorps xmm0, xmm0
mov rdx, rbx
movaps xmmword [rax], xmm0
lea ecx, [r8 + 0x10]
call fcn.14002f160
mov rax, rbx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1401e0100
add rsp, 0xc0
pop rbx
ret
mov ecx, 0x80000002
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3