Function at 0x464560
Capabilities:
Check processdebugport

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5c7004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x84
mov edi, edx
mov ebx, ecx
push 0
push edi
mov dword [ebp - 8], ebx
call fcn.00536b00
add esp, 0xc
lea eax, [ebp - 0x10]
push 0
push 4
push eax
push 0x22
push ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov esi, eax
test esi, esi
js 0x4645e8
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
shr ecx, 1
mov eax, ebx
not ecx
and ecx, 1
mov edx, ecx
or edx, 2
and al, 4
mov eax, dword [edi + 0x44]
cmove edx, ecx
and bl, 8
mov dword [ebp - 0x10], ebx
lea ecx, [edi + 0x44]
mov ebx, edx
mov dword [edi], ecx
or ebx, 4
cmp byte [ebp - 0x10], 0
cmove ebx, edx
xor esi, esi
xor eax, ebx
and eax, 3
xor dword [ecx], eax
shr ebx, 2
mov byte [edi + 0x48], bl
mov ebx, dword [ebp - 8]
push 0
push 8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 1
push eax
push 0x34
push ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x464616
cmp esi, 0xc0000073
jne 0x464623
mov esi, eax
jmp 0x464623
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x4c]
mov dword [ecx], eax
xor esi, esi
mov dword [edi + 4], ecx
push 0
push 8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 2
push eax
push 0x34
push ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x46464c
nop
cmp esi, 0xc0000073
jne 0x464659
mov esi, eax
jmp 0x464659
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x50]
mov dword [ecx], eax
xor esi, esi
mov dword [edi + 8], ecx
push 0
push 8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 3
push eax
push 0x34
push ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x464682
cmp esi, 0xc0000073
jne 0x46468f
mov esi, eax
jmp 0x46468f
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x54]
mov dword [ecx], eax
xor esi, esi
mov dword [edi + 0xc], ecx
push 0
push 8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
push 0x34
push ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x4646b7
cmp esi, 0xc0000073
jne 0x4646c4
mov esi, eax
jmp 0x4646c4
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x58]
mov dword [ecx], eax
xor esi, esi
mov dword [edi + 0x10], ecx
push 0
push 8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 6
push eax
push 0x34
push ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
lea esp, [esp]
test eax, eax
jns 0x4646f0
cmp esi, 0xc0000073
jne 0x4646fd
mov esi, eax
jmp 0x4646fd
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x5c]
mov dword [ecx], eax
xor esi, esi
mov dword [edi + 0x18], ecx
push 0
push 8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 7
push eax
push 0x34
push ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x46472c
lea esp, [esp]
cmp esi, 0xc0000073
jne 0x464739
mov esi, eax
jmp 0x464739
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x60]
mov dword [ecx], eax
xor esi, esi
mov dword [edi + 0x1c], ecx
push 0
push 8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 8
push eax
push 0x34
push ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x464762
cmp esi, 0xc0000073
jne 0x46476f
mov esi, eax
jmp 0x46476f
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x64]
mov dword [ecx], eax
xor esi, esi
mov dword [edi + 0x20], ecx
push 0
push 8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 9
push eax
push 0x34
push ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x464797
cmp esi, 0xc0000073
jne 0x4647a4
mov esi, eax
jmp 0x4647a4
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x68]
mov dword [ecx], eax
xor esi, esi
mov dword [edi + 0x24], ecx
push 0
push 8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0xa
push eax
push 0x34
push ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
lea esp, [esp]
test eax, eax
jns 0x4647d0
cmp esi, 0xc0000073
jne 0x4647dd
mov esi, eax
jmp 0x4647dd
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x6c]
mov dword [ecx], eax
xor esi, esi
mov dword [edi + 0x28], ecx
push 0
push 8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0xb
push eax
push 0x34
push ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x46480c
lea esp, [esp]
cmp esi, 0xc0000073
jne 0x464819
mov esi, eax
jmp 0x464819
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x70]
mov dword [ecx], eax
xor esi, esi
mov dword [edi + 0x2c], ecx
push 0
push 8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0xc
push eax
push 0x34
push ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x464842
cmp esi, 0xc0000073
jne 0x46484f
mov esi, eax
jmp 0x46484f
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x74]
mov dword [ecx], eax
xor esi, esi
mov dword [edi + 0x30], ecx
push 0
push 8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0xd
push eax
push 0x34
push ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x464877
cmp esi, 0xc0000073
jne 0x464884
mov esi, eax
jmp 0x464884
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x78]
mov dword [ecx], eax
xor esi, esi
mov dword [edi + 0x34], ecx
push 0
push 8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0xe
push eax
push 0x34
push ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
lea esp, [esp]
test eax, eax
jns 0x4648b0
cmp esi, 0xc0000073
jne 0x4648bd
mov esi, eax
jmp 0x4648bd
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x7c]
mov dword [ecx], eax
xor esi, esi
mov dword [edi + 0x38], ecx
push 0
push 8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0xf
push eax
push 0x34
push ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x4648fb
lea esp, [esp]
cmp esi, 0xc0000073
je 0x46490b
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534c91
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x80]
mov dword [ecx], eax
xor eax, eax
mov dword [edi + 0x3c], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00534c91
mov esp, ebp
pop ebp
ret