Function at 0x486500
Capabilities:
Check processdebugport

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x62e040]
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.00582250
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 0x48658e
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 0x4865b6
cmp esi, 0xc0000073
jne 0x4865c3
mov esi, eax
jmp 0x4865c3
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 0x4865ec
nop
cmp esi, 0xc0000073
jne 0x4865f9
mov esi, eax
jmp 0x4865f9
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 0x486622
cmp esi, 0xc0000073
jne 0x48662f
mov esi, eax
jmp 0x48662f
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 0x486657
cmp esi, 0xc0000073
jne 0x486664
mov esi, eax
jmp 0x486664
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 0x486690
cmp esi, 0xc0000073
jne 0x48669d
mov esi, eax
jmp 0x48669d
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 0x4866cc
lea esp, [esp]
cmp esi, 0xc0000073
jne 0x4866d9
mov esi, eax
jmp 0x4866d9
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 0x486702
cmp esi, 0xc0000073
jne 0x48670f
mov esi, eax
jmp 0x48670f
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 0x486737
cmp esi, 0xc0000073
jne 0x486744
mov esi, eax
jmp 0x486744
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 0x486770
cmp esi, 0xc0000073
jne 0x48677d
mov esi, eax
jmp 0x48677d
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 0x4867ac
lea esp, [esp]
cmp esi, 0xc0000073
jne 0x4867b9
mov esi, eax
jmp 0x4867b9
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 0x4867e2
cmp esi, 0xc0000073
jne 0x4867f2
mov esi, eax
jmp 0x4867f2
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 0x48681a
cmp esi, 0xc0000073
jne 0x48682a
mov esi, eax
jmp 0x48682a
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 0x486856
cmp esi, 0xc0000073
jne 0x486866
mov esi, eax
jmp 0x486866
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 0x486890
cmp esi, 0xc0000073
jne 0x4868a0
mov esi, eax
jmp 0x4868a0
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 0x4868cc
lea esp, [esp]
cmp esi, 0xc0000073
jne 0x4868dc
mov esi, eax
jmp 0x4868dc
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 0x48690c
jmp 0x486900
cmp esi, 0xc0000073
jne 0x48691c
mov esi, eax
jmp 0x48691c
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 0x48695b
jmp 0x486940
cmp esi, 0xc0000073
je 0x48696b
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ef
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.005802ef
mov esp, ebp
pop ebp
ret