Function at 0x1400aec40
Capabilities:
Check processdebugport

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1402c0040]
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.14020ba80
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 0x1400aecb0
cmp qword [rbp - 0x10], r14
setne al
test al, al
jne 0x1400aecb0
mov r9d, 5
jmp 0x1400aed04
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 0x1400aecfa
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 0x1400aecfe
mov r9d, dword [rbp - 0x10]
nop
test eax, eax
js 0x1400aed36
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 0x1400aed6c
nop
cmp ebx, 0xc0000073
jne 0x1400aed7f
mov ebx, eax
jmp 0x1400aed7f
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 0x1400aedb6
cmp ebx, 0xc0000073
jne 0x1400aedc9
mov ebx, eax
jmp 0x1400aedc9
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 0x1400aedfd
cmp ebx, 0xc0000073
jne 0x1400aee10
mov ebx, eax
jmp 0x1400aee10
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 0x1400aee4c
nop dword [rax + rax]
cmp ebx, 0xc0000073
jne 0x1400aee5f
mov ebx, eax
jmp 0x1400aee5f
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 0x1400aee96
cmp ebx, 0xc0000073
jne 0x1400aeea9
mov ebx, eax
jmp 0x1400aeea9
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 0x1400aeedd
cmp ebx, 0xc0000073
jne 0x1400aeef0
mov ebx, eax
jmp 0x1400aeef0
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 0x1400aef2c
nop dword [rax + rax]
cmp ebx, 0xc0000073
jne 0x1400aef3f
mov ebx, eax
jmp 0x1400aef3f
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 0x1400aef76
cmp ebx, 0xc0000073
jne 0x1400aef89
mov ebx, eax
jmp 0x1400aef89
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 0x1400aefbd
cmp ebx, 0xc0000073
jne 0x1400aefd0
mov ebx, eax
jmp 0x1400aefd0
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 0x1400af00c
nop dword [rax + rax]
cmp ebx, 0xc0000073
jne 0x1400af01f
mov ebx, eax
jmp 0x1400af01f
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 0x1400af056
cmp ebx, 0xc0000073
jne 0x1400af069
mov ebx, eax
jmp 0x1400af069
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 0x1400af09d
cmp ebx, 0xc0000073
jne 0x1400af0b0
mov ebx, eax
jmp 0x1400af0b0
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 0x1400af0ec
nop dword [rax + rax]
cmp ebx, 0xc0000073
jne 0x1400af0ff
mov ebx, eax
jmp 0x1400af0ff
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 0x1400af136
cmp ebx, 0xc0000073
jne 0x1400af149
mov ebx, eax
jmp 0x1400af149
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 0x1400af17d
cmp ebx, 0xc0000073
jne 0x1400af193
mov ebx, eax
jmp 0x1400af193
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 0x1400af1cc
nop dword [rax + rax]
cmp ebx, 0xc0000073
jne 0x1400af1e3
mov ebx, eax
jmp 0x1400af1e3
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 0x1400af21c
cmp ebx, 0xc0000073
je 0x1400af232
mov eax, ebx
jmp 0x1400af232
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.1401e5e20
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret