Function at 0x1400afd40
Capabilities:
Check processdebugport

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1402bb040]
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.14020c410
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 0x1400afdb0
cmp qword [rbp - 0x10], r14
setne al
test al, al
jne 0x1400afdb0
mov r9d, 5
jmp 0x1400afe04
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 0x1400afdfa
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 0x1400afdfe
mov r9d, dword [rbp - 0x10]
nop
test eax, eax
js 0x1400afe36
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 0x1400afe6c
nop
cmp ebx, 0xc0000073
jne 0x1400afe7f
mov ebx, eax
jmp 0x1400afe7f
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 0x1400afeb6
cmp ebx, 0xc0000073
jne 0x1400afec9
mov ebx, eax
jmp 0x1400afec9
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 0x1400afefd
cmp ebx, 0xc0000073
jne 0x1400aff10
mov ebx, eax
jmp 0x1400aff10
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 0x1400aff4c
nop dword [rax + rax]
cmp ebx, 0xc0000073
jne 0x1400aff5f
mov ebx, eax
jmp 0x1400aff5f
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 0x1400aff96
cmp ebx, 0xc0000073
jne 0x1400affa9
mov ebx, eax
jmp 0x1400affa9
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 0x1400affdd
cmp ebx, 0xc0000073
jne 0x1400afff0
mov ebx, eax
jmp 0x1400afff0
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 0x1400b002c
nop dword [rax + rax]
cmp ebx, 0xc0000073
jne 0x1400b003f
mov ebx, eax
jmp 0x1400b003f
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 0x1400b0076
cmp ebx, 0xc0000073
jne 0x1400b0089
mov ebx, eax
jmp 0x1400b0089
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 0x1400b00bd
cmp ebx, 0xc0000073
jne 0x1400b00d0
mov ebx, eax
jmp 0x1400b00d0
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 0x1400b010c
nop dword [rax + rax]
cmp ebx, 0xc0000073
jne 0x1400b011f
mov ebx, eax
jmp 0x1400b011f
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 0x1400b0156
cmp ebx, 0xc0000073
jne 0x1400b0169
mov ebx, eax
jmp 0x1400b0169
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 0x1400b019d
cmp ebx, 0xc0000073
jne 0x1400b01b0
mov ebx, eax
jmp 0x1400b01b0
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 0x1400b01ec
nop dword [rax + rax]
cmp ebx, 0xc0000073
jne 0x1400b01ff
mov ebx, eax
jmp 0x1400b01ff
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 0x1400b0236
cmp ebx, 0xc0000073
jne 0x1400b0249
mov ebx, eax
jmp 0x1400b0249
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 0x1400b027d
cmp ebx, 0xc0000073
jne 0x1400b0293
mov ebx, eax
jmp 0x1400b0293
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 0x1400b02cc
nop dword [rax + rax]
cmp ebx, 0xc0000073
jne 0x1400b02e3
mov ebx, eax
jmp 0x1400b02e3
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 0x1400b031c
cmp ebx, 0xc0000073
je 0x1400b0332
mov eax, ebx
jmp 0x1400b0332
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.1401e5e40
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret