Function at 0x7ff7c005beb0
Capabilities:
Check processdebugport

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x30
mov rdi, rdx
mov qword [rsp + 0x50], rsi
mov rsi, rcx
xor edx, edx
mov rcx, rdi
mov r8d, 0xc0
call fcn.7ff7c0123170
xor r14d, r14d
lea r8, [rbp + 0x30]
mov rcx, rsi
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 8]
lea edx, [r14 + 0x1a]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x7ff7c005bf08
cmp qword [rbp + 0x30], r14
jne 0x7ff7c005bf08
lea r9d, [r14 + 5]
jmp 0x7ff7c005bf54
mov r9d, 4
mov qword [rsp + 0x20], r14
lea r8, [rbp + 0x30]
mov rcx, rsi
lea edx, [r9 + 0x1e]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov ebx, eax
test eax, eax
js 0x7ff7c005bf7b
mov r8d, dword [rbp + 0x30]
mov ecx, r8d
shr ecx, 1
mov eax, r8d
not ecx
and ecx, 1
mov edx, ecx
or edx, 2
and al, 4
cmove edx, ecx
mov r9d, edx
or r9d, 4
and r8b, 8
cmove r9d, edx
mov eax, r9d
lea rcx, [rdi + 0x80]
and dword [rcx], 0xfffffffc
and eax, 3
or dword [rcx], eax
mov ebx, r14d
shr r9d, 2
and r9b, 1
mov qword [rdi], rcx
mov byte [rdi + 0x84], r9b
mov r9d, 8
mov dword [rbp + 0x30], 1
lea r8, [rbp + 0x30]
mov qword [rsp + 0x20], r14
mov rcx, rsi
lea edx, [r9 + 0x2c]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x7ff7c005bfae
cmp ebx, 0xc0000073
jne 0x7ff7c005bfc1
mov ebx, eax
jmp 0x7ff7c005bfc1
mov eax, dword [rbp + 0x34]
lea rcx, [rdi + 0x88]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 8], rcx
mov r9d, 8
mov dword [rbp + 0x30], 2
lea r8, [rbp + 0x30]
mov qword [rsp + 0x20], r14
mov rcx, rsi
lea edx, [r9 + 0x2c]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x7ff7c005bffc
nop dword [rax + rax]
cmp ebx, 0xc0000073
jne 0x7ff7c005c00f
mov ebx, eax
jmp 0x7ff7c005c00f
mov eax, dword [rbp + 0x34]
lea rcx, [rdi + 0x8c]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x10], rcx
mov r9d, 8
mov dword [rbp + 0x30], 3
lea r8, [rbp + 0x30]
mov qword [rsp + 0x20], r14
mov rcx, rsi
lea edx, [r9 + 0x2c]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x7ff7c005c046
cmp ebx, 0xc0000073
jne 0x7ff7c005c059
mov ebx, eax
jmp 0x7ff7c005c059
mov eax, dword [rbp + 0x34]
lea rcx, [rdi + 0x90]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x18], rcx
mov r9d, 8
mov dword [rbp + 0x30], 4
lea r8, [rbp + 0x30]
mov qword [rsp + 0x20], r14
mov rcx, rsi
lea edx, [r9 + 0x2c]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x7ff7c005c08c
cmp ebx, 0xc0000073
jne 0x7ff7c005c09f
mov ebx, eax
jmp 0x7ff7c005c09f
mov eax, dword [rbp + 0x34]
lea rcx, [rdi + 0x94]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x20], rcx
mov r9d, 8
mov dword [rbp + 0x30], 6
lea r8, [rbp + 0x30]
mov qword [rsp + 0x20], r14
mov rcx, rsi
lea edx, [r9 + 0x2c]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x7ff7c005c0d2
cmp ebx, 0xc0000073
jne 0x7ff7c005c0e5
mov ebx, eax
jmp 0x7ff7c005c0e5
mov eax, dword [rbp + 0x34]
lea rcx, [rdi + 0x98]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x30], rcx
mov r9d, 8
mov dword [rbp + 0x30], 7
lea r8, [rbp + 0x30]
mov qword [rsp + 0x20], r14
mov rcx, rsi
lea edx, [r9 + 0x2c]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x7ff7c005c11c
nop dword [rax]
cmp ebx, 0xc0000073
jne 0x7ff7c005c12f
mov ebx, eax
jmp 0x7ff7c005c12f
mov eax, dword [rbp + 0x34]
lea rcx, [rdi + 0x9c]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x38], rcx
mov r9d, 8
mov dword [rbp + 0x30], 8
lea r8, [rbp + 0x30]
mov qword [rsp + 0x20], r14
mov rcx, rsi
lea edx, [r9 + 0x2c]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x7ff7c005c166
cmp ebx, 0xc0000073
jne 0x7ff7c005c179
mov ebx, eax
jmp 0x7ff7c005c179
mov eax, dword [rbp + 0x34]
lea rcx, [rdi + 0xa0]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x40], rcx
mov r9d, 8
mov dword [rbp + 0x30], 9
lea r8, [rbp + 0x30]
mov qword [rsp + 0x20], r14
mov rcx, rsi
lea edx, [r9 + 0x2c]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x7ff7c005c1ac
cmp ebx, 0xc0000073
jne 0x7ff7c005c1bf
mov ebx, eax
jmp 0x7ff7c005c1bf
mov eax, dword [rbp + 0x34]
lea rcx, [rdi + 0xa4]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x48], rcx
mov r9d, 8
mov dword [rbp + 0x30], 0xa
lea r8, [rbp + 0x30]
mov qword [rsp + 0x20], r14
mov rcx, rsi
lea edx, [r9 + 0x2c]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x7ff7c005c1f2
cmp ebx, 0xc0000073
jne 0x7ff7c005c205
mov ebx, eax
jmp 0x7ff7c005c205
mov eax, dword [rbp + 0x34]
lea rcx, [rdi + 0xa8]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x50], rcx
mov r9d, 8
mov dword [rbp + 0x30], 0xb
lea r8, [rbp + 0x30]
mov qword [rsp + 0x20], r14
mov rcx, rsi
lea edx, [r9 + 0x2c]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x7ff7c005c23c
nop dword [rax]
cmp ebx, 0xc0000073
jne 0x7ff7c005c24f
mov ebx, eax
jmp 0x7ff7c005c24f
mov eax, dword [rbp + 0x34]
lea rcx, [rdi + 0xac]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x58], rcx
mov r9d, 8
mov dword [rbp + 0x30], 0xc
lea r8, [rbp + 0x30]
mov qword [rsp + 0x20], r14
mov rcx, rsi
lea edx, [r9 + 0x2c]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x7ff7c005c286
cmp ebx, 0xc0000073
jne 0x7ff7c005c299
mov ebx, eax
jmp 0x7ff7c005c299
mov eax, dword [rbp + 0x34]
lea rcx, [rdi + 0xb0]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x60], rcx
mov r9d, 8
mov dword [rbp + 0x30], 0xd
lea r8, [rbp + 0x30]
mov qword [rsp + 0x20], r14
mov rcx, rsi
lea edx, [r9 + 0x2c]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x7ff7c005c2cc
cmp ebx, 0xc0000073
jne 0x7ff7c005c2df
mov ebx, eax
jmp 0x7ff7c005c2df
mov eax, dword [rbp + 0x34]
lea rcx, [rdi + 0xb4]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x68], rcx
mov r9d, 8
mov dword [rbp + 0x30], 0xe
lea r8, [rbp + 0x30]
mov qword [rsp + 0x20], r14
mov rcx, rsi
lea edx, [r9 + 0x2c]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x7ff7c005c312
cmp ebx, 0xc0000073
jne 0x7ff7c005c325
mov ebx, eax
jmp 0x7ff7c005c325
mov eax, dword [rbp + 0x34]
lea rcx, [rdi + 0xb8]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x70], rcx
mov r9d, 8
mov dword [rbp + 0x30], 0xf
lea r8, [rbp + 0x30]
mov qword [rsp + 0x20], r14
mov rcx, rsi
lea edx, [r9 + 0x2c]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov rsi, qword ss:[rsp + 0x50]
test eax, eax
jns 0x7ff7c005c36c
cmp ebx, 0xc0000073
je 0x7ff7c005c37f
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rbp
ret
mov ecx, dword [rbp + 0x34]
lea rdx, [rdi + 0xbc]
mov dword [rdx], ecx
mov eax, r14d
mov qword [rdi + 0x78], rdx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rbp
ret