Function at 0x45ed70
Capabilities:
Check processdebugport

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x70
mov edi, edx
mov ebx, ecx
push 0
push edi
mov dword [ebp - 8], ebx
call fcn.004dce30
add esp, 0xc
lea eax, [ebp - 4]
push 0
push 4
push eax
push 0x22
push ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov esi, eax
test esi, esi
js 0x45ede8
mov ebx, dword [ebp - 4]
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 + 0x38]
cmove edx, ecx
and bl, 8
mov dword [ebp - 4], ebx
lea ecx, [edi + 0x38]
mov ebx, edx
or ebx, 4
cmp byte [ebp - 4], 0
cmove ebx, edx
xor esi, esi
xor eax, ebx
and eax, 3
xor dword [ecx], eax
shr ebx, 2
mov byte [edi + 0x3c], bl
mov ebx, dword [ebp - 8]
mov dword [edi], ecx
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]
mov edx, eax
lea ecx, [edi + 0x40]
test edx, edx
jns 0x45ee14
cmp esi, 0xc0000073
cmove esi, edx
jmp 0x45ee1b
mov eax, dword [ebp - 8]
xor esi, esi
mov dword [ecx], eax
test edx, edx
js 0x45ee22
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]
mov edx, eax
lea ecx, [edi + 0x44]
test edx, edx
jns 0x45ee4e
cmp esi, 0xc0000073
cmove esi, edx
jmp 0x45ee55
mov eax, dword [ebp - 8]
xor esi, esi
mov dword [ecx], eax
test edx, edx
js 0x45ee5c
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]
mov edx, eax
lea ecx, [edi + 0x48]
test edx, edx
jns 0x45ee88
cmp esi, 0xc0000073
cmove esi, edx
jmp 0x45ee8f
mov eax, dword [ebp - 8]
xor esi, esi
mov dword [ecx], eax
test edx, edx
js 0x45ee96
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]
mov edx, eax
lea ecx, [edi + 0x4c]
test edx, edx
jns 0x45eec2
cmp esi, 0xc0000073
cmove esi, edx
jmp 0x45eec9
mov eax, dword [ebp - 8]
xor esi, esi
mov dword [ecx], eax
test edx, edx
js 0x45eed0
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]
mov edx, eax
lea ecx, [edi + 0x50]
test edx, edx
jns 0x45eefc
cmp esi, 0xc0000073
cmove esi, edx
jmp 0x45ef03
mov eax, dword [ebp - 8]
xor esi, esi
mov dword [ecx], eax
test edx, edx
js 0x45ef0a
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]
mov edx, eax
lea ecx, [edi + 0x54]
test edx, edx
jns 0x45ef36
cmp esi, 0xc0000073
cmove esi, edx
jmp 0x45ef3d
mov eax, dword [ebp - 8]
xor esi, esi
mov dword [ecx], eax
test edx, edx
js 0x45ef44
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]
mov edx, eax
lea ecx, [edi + 0x58]
test edx, edx
jns 0x45ef70
cmp esi, 0xc0000073
cmove esi, edx
jmp 0x45ef77
mov eax, dword [ebp - 8]
xor esi, esi
mov dword [ecx], eax
test edx, edx
js 0x45ef7e
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]
mov edx, eax
lea ecx, [edi + 0x5c]
test edx, edx
jns 0x45efaa
cmp esi, 0xc0000073
cmove esi, edx
jmp 0x45efb1
mov eax, dword [ebp - 8]
xor esi, esi
mov dword [ecx], eax
test edx, edx
js 0x45efb8
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]
mov edx, eax
lea ecx, [edi + 0x60]
test edx, edx
jns 0x45efe4
cmp esi, 0xc0000073
cmove esi, edx
jmp 0x45efeb
mov eax, dword [ebp - 8]
xor esi, esi
mov dword [ecx], eax
test edx, edx
js 0x45eff2
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]
mov edx, eax
lea ecx, [edi + 0x64]
test edx, edx
jns 0x45f01e
cmp esi, 0xc0000073
cmove esi, edx
jmp 0x45f025
mov eax, dword [ebp - 8]
xor esi, esi
mov dword [ecx], eax
test edx, edx
js 0x45f02c
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]
mov edx, eax
lea ecx, [edi + 0x68]
test edx, edx
jns 0x45f058
cmp esi, 0xc0000073
cmove esi, edx
jmp 0x45f05f
mov eax, dword [ebp - 8]
xor esi, esi
mov dword [ecx], eax
test edx, edx
js 0x45f066
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]
mov edx, eax
lea ecx, [edi + 0x6c]
test edx, edx
jns 0x45f092
cmp esi, 0xc0000073
cmove esi, edx
jmp 0x45f099
mov eax, dword [ebp - 8]
xor esi, esi
mov dword [ecx], eax
mov eax, esi
test edx, edx
js 0x45f0a2
mov dword [edi + 0x34], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret