Function at 0x1400aee80
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.14020a280
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 0x1400aeef0
cmp qword [rbp - 0x10], r14
setne al
test al, al
jne 0x1400aeef0
mov r9d, 5
jmp 0x1400aef44
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 0x1400aef3a
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 0x1400aef3e
mov r9d, dword [rbp - 0x10]
nop
test eax, eax
js 0x1400aef76
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 0x1400aefac
nop
cmp ebx, 0xc0000073
jne 0x1400aefbf
mov ebx, eax
jmp 0x1400aefbf
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 0x1400aeff6
cmp ebx, 0xc0000073
jne 0x1400af009
mov ebx, eax
jmp 0x1400af009
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 0x1400af03d
cmp ebx, 0xc0000073
jne 0x1400af050
mov ebx, eax
jmp 0x1400af050
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 0x1400af08c
nop dword [rax + rax]
cmp ebx, 0xc0000073
jne 0x1400af09f
mov ebx, eax
jmp 0x1400af09f
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 0x1400af0d6
cmp ebx, 0xc0000073
jne 0x1400af0e9
mov ebx, eax
jmp 0x1400af0e9
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 0x1400af11d
cmp ebx, 0xc0000073
jne 0x1400af130
mov ebx, eax
jmp 0x1400af130
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 0x1400af16c
nop dword [rax + rax]
cmp ebx, 0xc0000073
jne 0x1400af17f
mov ebx, eax
jmp 0x1400af17f
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 0x1400af1b6
cmp ebx, 0xc0000073
jne 0x1400af1c9
mov ebx, eax
jmp 0x1400af1c9
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 0x1400af1fd
cmp ebx, 0xc0000073
jne 0x1400af210
mov ebx, eax
jmp 0x1400af210
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 0x1400af24c
nop dword [rax + rax]
cmp ebx, 0xc0000073
jne 0x1400af25f
mov ebx, eax
jmp 0x1400af25f
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 0x1400af296
cmp ebx, 0xc0000073
jne 0x1400af2a9
mov ebx, eax
jmp 0x1400af2a9
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 0x1400af2dd
cmp ebx, 0xc0000073
jne 0x1400af2f0
mov ebx, eax
jmp 0x1400af2f0
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 0x1400af32c
nop dword [rax + rax]
cmp ebx, 0xc0000073
jne 0x1400af33f
mov ebx, eax
jmp 0x1400af33f
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 0x1400af376
cmp ebx, 0xc0000073
jne 0x1400af389
mov ebx, eax
jmp 0x1400af389
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 0x1400af3bd
cmp ebx, 0xc0000073
jne 0x1400af3d3
mov ebx, eax
jmp 0x1400af3d3
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 0x1400af40c
nop dword [rax + rax]
cmp ebx, 0xc0000073
jne 0x1400af423
mov ebx, eax
jmp 0x1400af423
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 0x1400af45c
cmp ebx, 0xc0000073
je 0x1400af472
mov eax, ebx
jmp 0x1400af472
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.1401e4160
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret