Function at 0x1400aeee0
Capabilities:
Check processdebugport

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov qword [rsp + 0x70], rsi
mov rsi, rcx
xor edx, edx
mov rcx, rdi
mov r8d, 0xf0
call fcn.14020ab40
xor r14d, r14d
lea r8, [rbp - 0x10]
mov r9d, 8
mov qword [rsp + 0x20], r14
mov edx, 0x1a
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x1400aef50
cmp qword [rbp - 0x10], r14
setne al
test al, al
jne 0x1400aef50
mov r9d, 5
jmp 0x1400aefa4
mov r9d, 4
mov qword [rsp + 0x20], r14
lea r8, [rbp - 0x10]
mov edx, 0x22
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov ebx, eax
test eax, eax
js 0x1400aef9a
mov r8d, dword [rbp - 0x10]
mov ecx, r8d
and ecx, 1
mov edx, ecx
or edx, 2
test r8b, 4
cmove edx, ecx
mov r9d, edx
or r9d, 4
test r8b, 8
cmove r9d, edx
jmp 0x1400aef9e
mov r9d, dword [rbp - 0x10]
nop
test eax, eax
js 0x1400aefd6
lea rdx, [rdi + 0xa0]
mov ebx, r14d
mov ecx, dword [rdx]
xor ecx, r9d
mov qword [rdi], rdx
and ecx, 1
xor ecx, dword [rdx]
mov eax, ecx
xor eax, r9d
shr r9d, 2
and eax, 2
xor eax, ecx
and r9b, 1
mov dword [rdx], eax
mov byte [rdi + 0xa4], r9b
mov r9d, 8
mov dword [rbp - 0x10], 1
lea r8, [rbp - 0x10]
mov qword [rsp + 0x20], r14
mov edx, 0x34
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x1400af00c
nop
cmp ebx, 0xc0000073
jne 0x1400af01f
mov ebx, eax
jmp 0x1400af01f
mov eax, dword [rbp - 0xc]
lea rcx, [rdi + 0xa8]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 8], rcx
mov r9d, 8
mov dword [rbp - 0x10], 2
lea r8, [rbp - 0x10]
mov qword [rsp + 0x20], r14
mov edx, 0x34
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x1400af056
cmp ebx, 0xc0000073
jne 0x1400af069
mov ebx, eax
jmp 0x1400af069
mov eax, dword [rbp - 0xc]
lea rcx, [rdi + 0xac]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x10], rcx
mov r9d, 8
mov dword [rbp - 0x10], 3
lea r8, [rbp - 0x10]
mov qword [rsp + 0x20], r14
mov edx, 0x34
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x1400af09d
cmp ebx, 0xc0000073
jne 0x1400af0b0
mov ebx, eax
jmp 0x1400af0b0
mov eax, dword [rbp - 0xc]
lea rcx, [rdi + 0xb0]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x18], rcx
mov r9d, 8
mov dword [rbp - 0x10], 4
lea r8, [rbp - 0x10]
mov qword [rsp + 0x20], r14
mov edx, 0x34
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x1400af0ec
nop dword [rax + rax]
cmp ebx, 0xc0000073
jne 0x1400af0ff
mov ebx, eax
jmp 0x1400af0ff
mov eax, dword [rbp - 0xc]
lea rcx, [rdi + 0xb4]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x20], rcx
mov r9d, 8
mov dword [rbp - 0x10], 6
lea r8, [rbp - 0x10]
mov qword [rsp + 0x20], r14
mov edx, 0x34
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x1400af136
cmp ebx, 0xc0000073
jne 0x1400af149
mov ebx, eax
jmp 0x1400af149
mov eax, dword [rbp - 0xc]
lea rcx, [rdi + 0xb8]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x30], rcx
mov r9d, 8
mov dword [rbp - 0x10], 7
lea r8, [rbp - 0x10]
mov qword [rsp + 0x20], r14
mov edx, 0x34
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x1400af17d
cmp ebx, 0xc0000073
jne 0x1400af190
mov ebx, eax
jmp 0x1400af190
mov eax, dword [rbp - 0xc]
lea rcx, [rdi + 0xbc]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x38], rcx
mov r9d, 8
mov dword [rbp - 0x10], 8
lea r8, [rbp - 0x10]
mov qword [rsp + 0x20], r14
mov edx, 0x34
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x1400af1cc
nop dword [rax + rax]
cmp ebx, 0xc0000073
jne 0x1400af1df
mov ebx, eax
jmp 0x1400af1df
mov eax, dword [rbp - 0xc]
lea rcx, [rdi + 0xc0]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x40], rcx
mov r9d, 8
mov dword [rbp - 0x10], 9
lea r8, [rbp - 0x10]
mov qword [rsp + 0x20], r14
mov edx, 0x34
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x1400af216
cmp ebx, 0xc0000073
jne 0x1400af229
mov ebx, eax
jmp 0x1400af229
mov eax, dword [rbp - 0xc]
lea rcx, [rdi + 0xc4]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x48], rcx
mov r9d, 8
mov dword [rbp - 0x10], 0xa
lea r8, [rbp - 0x10]
mov qword [rsp + 0x20], r14
mov edx, 0x34
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x1400af25d
cmp ebx, 0xc0000073
jne 0x1400af270
mov ebx, eax
jmp 0x1400af270
mov eax, dword [rbp - 0xc]
lea rcx, [rdi + 0xc8]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x50], rcx
mov r9d, 8
mov dword [rbp - 0x10], 0xb
lea r8, [rbp - 0x10]
mov qword [rsp + 0x20], r14
mov edx, 0x34
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x1400af2ac
nop dword [rax + rax]
cmp ebx, 0xc0000073
jne 0x1400af2bf
mov ebx, eax
jmp 0x1400af2bf
mov eax, dword [rbp - 0xc]
lea rcx, [rdi + 0xcc]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x58], rcx
mov r9d, 8
mov dword [rbp - 0x10], 0xc
lea r8, [rbp - 0x10]
mov qword [rsp + 0x20], r14
mov edx, 0x34
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x1400af2f6
cmp ebx, 0xc0000073
jne 0x1400af309
mov ebx, eax
jmp 0x1400af309
mov eax, dword [rbp - 0xc]
lea rcx, [rdi + 0xd0]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x60], rcx
mov r9d, 8
mov dword [rbp - 0x10], 0xd
lea r8, [rbp - 0x10]
mov qword [rsp + 0x20], r14
mov edx, 0x34
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x1400af33d
cmp ebx, 0xc0000073
jne 0x1400af350
mov ebx, eax
jmp 0x1400af350
mov eax, dword [rbp - 0xc]
lea rcx, [rdi + 0xd4]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x68], rcx
mov r9d, 8
mov dword [rbp - 0x10], 0xe
lea r8, [rbp - 0x10]
mov qword [rsp + 0x20], r14
mov edx, 0x34
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x1400af38c
nop dword [rax + rax]
cmp ebx, 0xc0000073
jne 0x1400af39f
mov ebx, eax
jmp 0x1400af39f
mov eax, dword [rbp - 0xc]
lea rcx, [rdi + 0xd8]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x70], rcx
mov r9d, 8
mov dword [rbp - 0x10], 0xf
lea r8, [rbp - 0x10]
mov qword [rsp + 0x20], r14
mov edx, 0x34
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x1400af3d6
cmp ebx, 0xc0000073
jne 0x1400af3e9
mov ebx, eax
jmp 0x1400af3e9
mov eax, dword [rbp - 0xc]
lea rcx, [rdi + 0xdc]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x78], rcx
mov r9d, 8
mov dword [rbp - 0x10], 0x10
lea r8, [rbp - 0x10]
mov qword [rsp + 0x20], r14
mov edx, 0x34
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x1400af41d
cmp ebx, 0xc0000073
jne 0x1400af433
mov ebx, eax
jmp 0x1400af433
mov eax, dword [rbp - 0xc]
lea rcx, [rdi + 0xe0]
mov dword [rcx], eax
mov ebx, r14d
mov qword [rdi + 0x80], rcx
mov r9d, 8
mov dword [rbp - 0x10], 0x11
lea r8, [rbp - 0x10]
mov qword [rsp + 0x20], r14
mov edx, 0x34
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x1400af46c
nop dword [rax + rax]
cmp ebx, 0xc0000073
jne 0x1400af483
mov ebx, eax
jmp 0x1400af483
mov eax, dword [rbp - 0xc]
lea r8, [rdi + 0xe4]
mov dword [r8], eax
mov ebx, r14d
mov qword [rdi + 0x88], r8
mov r9d, 8
mov dword [rbp - 0x10], 0x12
lea r8, [rbp - 0x10]
mov qword [rsp + 0x20], r14
mov edx, 0x34
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov rsi, qword [rsp + 0x70]
test eax, eax
jns 0x1400af4bc
cmp ebx, 0xc0000073
je 0x1400af4d2
mov eax, ebx
jmp 0x1400af4d2
mov ecx, dword [rbp - 0xc]
lea rdx, [rdi + 0xe8]
mov dword [rdx], ecx
mov eax, r14d
mov qword [rdi + 0x90], rdx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401e4a20
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret