Function at 0x4865a0
Capabilities:
Check processdebugport

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x9c
mov edi, edx
mov ebx, ecx
push 0
push edi
mov dword [ebp - 8], ebx
call fcn.00580ff0
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 0x48662e
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
and ecx, 1
mov edx, ecx
or edx, 2
test bl, 4
cmove edx, ecx
mov eax, edx
or eax, 4
test bl, 8
mov ebx, eax
mov dword [ebp - 0x10], eax
cmove ebx, edx
lea edx, [edi + 0x50]
mov ecx, ebx
mov dword [edi], edx
xor ecx, dword [edx]
xor esi, esi
and ecx, 1
xor ecx, dword [edx]
mov eax, ecx
xor eax, ebx
shr ebx, 2
and eax, 2
xor eax, ecx
and bl, 1
mov byte [edi + 0x54], bl
mov ebx, dword [ebp - 8]
mov dword [edx], eax
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 0x486656
cmp esi, 0xc0000073
jne 0x486663
mov esi, eax
jmp 0x486663
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x58]
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 0x48668c
nop
cmp esi, 0xc0000073
jne 0x486699
mov esi, eax
jmp 0x486699
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x5c]
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 0x4866c2
cmp esi, 0xc0000073
jne 0x4866cf
mov esi, eax
jmp 0x4866cf
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x60]
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 0x4866f7
cmp esi, 0xc0000073
jne 0x486704
mov esi, eax
jmp 0x486704
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x64]
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 0x486730
cmp esi, 0xc0000073
jne 0x48673d
mov esi, eax
jmp 0x48673d
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x68]
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 0x48676c
lea esp, [esp]
cmp esi, 0xc0000073
jne 0x486779
mov esi, eax
jmp 0x486779
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x6c]
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 0x4867a2
cmp esi, 0xc0000073
jne 0x4867af
mov esi, eax
jmp 0x4867af
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x70]
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 0x4867d7
cmp esi, 0xc0000073
jne 0x4867e4
mov esi, eax
jmp 0x4867e4
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x74]
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 0x486810
cmp esi, 0xc0000073
jne 0x48681d
mov esi, eax
jmp 0x48681d
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x78]
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 0x48684c
lea esp, [esp]
cmp esi, 0xc0000073
jne 0x486859
mov esi, eax
jmp 0x486859
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x7c]
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 0x486882
cmp esi, 0xc0000073
jne 0x486892
mov esi, eax
jmp 0x486892
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x80]
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 0x4868ba
cmp esi, 0xc0000073
jne 0x4868ca
mov esi, eax
jmp 0x4868ca
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x84]
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]
test eax, eax
jns 0x4868f6
cmp esi, 0xc0000073
jne 0x486906
mov esi, eax
jmp 0x486906
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x88]
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]
mov edi, edi
test eax, eax
jns 0x486930
cmp esi, 0xc0000073
jne 0x486940
mov esi, eax
jmp 0x486940
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x8c]
mov dword [ecx], eax
xor esi, esi
mov dword [edi + 0x3c], ecx
push 0
push 8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x10
push eax
push 0x34
push ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x48696c
lea esp, [esp]
cmp esi, 0xc0000073
jne 0x48697c
mov esi, eax
jmp 0x48697c
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x90]
mov dword [ecx], eax
xor esi, esi
mov dword [edi + 0x40], ecx
push 0
push 8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x11
push eax
push 0x34
push ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x4869ac
jmp 0x4869a0
cmp esi, 0xc0000073
jne 0x4869bc
mov esi, eax
jmp 0x4869bc
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x94]
mov dword [ecx], eax
xor esi, esi
mov dword [edi + 0x44], ecx
push 0
push 8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x12
push eax
push 0x34
push ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
jns 0x4869fb
jmp 0x4869e0
cmp esi, 0xc0000073
je 0x486a0b
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x98]
mov dword [ecx], eax
xor eax, eax
mov dword [edi + 0x48], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret