Function at 0x45ec60
Capabilities:
Check processdebugport

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5ac004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x80
mov edi, edx
mov ebx, ecx
push 0
push edi
mov dword [ebp - 8], ebx
call fcn.0051fd40
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 0x45ece8
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 + 0x40]
cmove edx, ecx
and bl, 8
mov dword [ebp - 0x10], ebx
lea ecx, [edi + 0x40]
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 + 0x44], 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 0x45ed16
cmp esi, 0xc0000073
jne 0x45ed23
mov esi, eax
jmp 0x45ed23
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x48]
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 0x45ed4c
nop
cmp esi, 0xc0000073
jne 0x45ed59
mov esi, eax
jmp 0x45ed59
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x4c]
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 0x45ed82
cmp esi, 0xc0000073
jne 0x45ed8f
mov esi, eax
jmp 0x45ed8f
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x50]
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 0x45edb7
cmp esi, 0xc0000073
jne 0x45edc4
mov esi, eax
jmp 0x45edc4
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x54]
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 0x45edf0
cmp esi, 0xc0000073
jne 0x45edfd
mov esi, eax
jmp 0x45edfd
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x58]
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 0x45ee2c
lea esp, [esp]
cmp esi, 0xc0000073
jne 0x45ee39
mov esi, eax
jmp 0x45ee39
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x5c]
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 0x45ee62
cmp esi, 0xc0000073
jne 0x45ee6f
mov esi, eax
jmp 0x45ee6f
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x60]
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 0x45ee97
cmp esi, 0xc0000073
jne 0x45eea4
mov esi, eax
jmp 0x45eea4
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x64]
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 0x45eed0
cmp esi, 0xc0000073
jne 0x45eedd
mov esi, eax
jmp 0x45eedd
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x68]
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 0x45ef0c
lea esp, [esp]
cmp esi, 0xc0000073
jne 0x45ef19
mov esi, eax
jmp 0x45ef19
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x6c]
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 0x45ef42
cmp esi, 0xc0000073
jne 0x45ef4f
mov esi, eax
jmp 0x45ef4f
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x70]
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 0x45ef77
cmp esi, 0xc0000073
jne 0x45ef84
mov esi, eax
jmp 0x45ef84
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x74]
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 0x45efb0
cmp esi, 0xc0000073
jne 0x45efbd
mov esi, eax
jmp 0x45efbd
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x78]
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 0x45effb
lea esp, [esp]
cmp esi, 0xc0000073
je 0x45f008
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e068
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x7c]
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.0051e068
mov esp, ebp
pop ebp
ret