Function at 0x460ea0
Capabilities:
Check processdebugport
Get system information on windows

Disassembly:
sub esp, 0x3c
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x34], eax
test byte [0x62e678], 1
push ebx
push ebp
push esi
push edi
mov ebp, ecx
jne 0x461085
mov edi, 0x62e678
lock bts dword [edi], 0x1f
setb al
test al, al
jne 0x46106f
push dword [0x633a48]
push 0x28
call sym.SystemInformer.exe_Ordinal_1240
mov edx, eax
mov ebx, 1
xor eax, eax
mov ecx, ebx
mov word [edx], ax
lock xadd dword [0x633a44], ecx
inc ecx
push dword [0x633a48]
dec cl
mov dword [edx + 4], eax
movzx eax, cl
push 0x28
mov byte [edx + 2], cl
mov dword [edx + 8], 0x461380
mov dword [edx + 0xc], str.ModuleProvider
mov dword [eax*4 + 0x6360e0], edx
mov dword [0x633068], edx
call sym.SystemInformer.exe_Ordinal_1240
mov ecx, eax
xor eax, eax
mov word [ecx], ax
lock xadd dword [0x633a44], ebx
inc ebx
dec bl
mov dword [ecx + 4], eax
cmp dword [0x62db64], 0x64
movzx eax, bl
mov byte [ecx + 2], bl
mov dword [ecx + 8], 0x461500
mov dword [ecx + 0xc], str.ModuleItem
mov dword [eax*4 + 0x6360e0], ecx
mov dword [0x633064], ecx
jb 0x461066
push 0x6356f8
nop word [eax + eax]
call dword [sym.imp.ntdll.dll_RtlInterlockedPopEntrySList]
mov esi, eax
test esi, esi
je 0x460f95
lock dec dword [0x635700]
jmp 0x460fae
mov eax, dword [0x635708]
add eax, 8
push eax
push 4
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
mov dword [esi + 8], 0x462b20
lea ecx, ds:[esi + 8]
mov dword [ecx + 4], 0
lea eax, [esp + 0x14]
push eax
push ecx
push 0x4feb80
mov dword [esp + 0x20], 3
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x44], 0x28
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 1
call dword [sym.imp.ntdll.dll_TpSimpleTryPost]
test eax, eax
jns 0x461066
mov eax, dword [0x635700]
cmp eax, dword [0x635704]
push esi
lfence
jae 0x461056
push 0x6356f8
call dword [sym.imp.ntdll.dll_RtlInterlockedPushEntrySList]
lock inc dword [0x635700]
mov ecx, edi
call sym.SystemInformer.exe_Ordinal_1358
jmp 0x461085
push 0
push dword [0x633a74]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, edi
call sym.SystemInformer.exe_Ordinal_1358
jmp 0x461085
test byte [0x62e678], 1
jne 0x461085
xor edx, edx
mov ecx, edi
call sym.SystemInformer.exe_Ordinal_1388
mov eax, dword [0x632fc4]
push dword [0x633068]
add eax, 0x70
mov dword [0x632fc0], 0x70
push eax
call sym.SystemInformer.exe_Ordinal_1240
push 0x70
mov esi, eax
push 0
push esi
call fcn.005861b0
add esp, 0xc
push 0x14
push 0x4615e0
push 0x461580
push 4
call sym.SystemInformer.exe_Ordinal_1325
mov dword [esi + 0x18], 0
lea ebx, [esi + 0x54]
mov dword [esi + 0x1c], 0
mov dword [esi], eax
lea eax, [esi + 0x10]
mov dword [eax + 4], eax
mov dword [eax], eax
lea eax, [esi + 0x20]
mov dword [eax + 4], eax
mov dword [eax], eax
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
lea eax, [esi + 0x30]
mov dword [eax + 4], eax
mov dword [eax], eax
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
lea eax, [esi + 0x40]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [eax + 4], eax
mov dword [eax], eax
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [esi + 0x50], ebp
mov dword [ebx], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x68], 0
test ebp, ebp
jle 0x461182
lfence
xor edi, edi
push ebp
push dword [edi + 0x5d6e00]
push ebx
call sym.SystemInformer.exe_Ordinal_1560
mov dword [esi + 0x68], eax
test eax, eax
jns 0x46117e
add edi, 4
cmp edi, 0xc
jb 0x461160
jmp 0x461182
or byte [esi + 0x6c], 2
mov edx, 5
mov ebx, 0x63377c
xor eax, eax
lock cmpxchg dword [ebx], edx
test eax, eax
je 0x46119d
mov ecx, ebx
call sym.SystemInformer.exe_Ordinal_1255
mov ecx, ebp
call fcn.0048b280
mov edi, eax
test edi, edi
je 0x4611af
lock inc dword [edi - 4]
xor edx, edx
mov eax, 5
lock cmpxchg dword [ebx], edx
cmp eax, 5
je 0x4611c6
mov ecx, ebx
call sym.SystemInformer.exe_Ordinal_1260
test edi, edi
je 0x461213
mov eax, dword [edi + 0x30]
mov dword [esi + 0x58], eax
test eax, eax
je 0x4611d8
lock inc dword [eax - 4]
mov eax, dword [edi + 0x2d0]
mov dword [esi + 0x5c], eax
test eax, eax
je 0x4611e9
lock inc dword [eax - 4]
mov ecx, dword [edi + 0x98]
mov eax, 0xffffffff
shr ecx, 0xf
shl cl, 2
xor cl, byte [esi + 0x6c]
and cl, 4
xor byte [esi + 0x6c], cl
lea ecx, [edi - 8]
lock xadd dword [ecx + 4], eax
dec eax
jne 0x461213
call fcn.004fe0c0
cmp dword [0x62db64], 0x3f
jb 0x46125e
mov eax, dword ds:[esi + 0x54]
test eax, eax
je 0x46125e
push 0
push 8
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], 7
push ecx
push 0x34
push eax
mov dword [esp + 0x54], 0
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x46125e
mov cl, byte [esp + 0x40]
mov al, byte [esi + 0x6c]
and cl, 1
shl cl, 3
and al, 0xf7
or cl, al
mov byte [esi + 0x6c], cl
cmp dword [0x62db64], 0x6d
jb 0x4612ee
mov eax, dword [esi + 0x54]
test eax, eax
je 0x4612ee
cmp dword [esi + 0x50], 4
push 0
jne 0x4612af
push 4
lea eax, [esp + 0x44]
push eax
push 0xdd
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x4612ee
mov ecx, dword [esp + 0x3c]
shr ecx, 8
shl cl, 4
xor cl, byte [esi + 0x6c]
and cl, 0x10
xor cl, byte [esi + 0x6c]
or cl, 0x20
mov byte [esi + 0x6c], cl
jmp 0x4612ee
push 8
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], 0xf
push ecx
push 0x34
push eax
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x4612ee
mov ecx, dword [esp + 0x40]
mov edx, ecx
mov al, byte [esi + 0x6c]
and cl, 1
shr edx, 4
and al, 0xef
shl cl, 4
shl dl, 5
or cl, al
xor dl, cl
and dl, 0x20
xor dl, cl
mov byte [esi + 0x6c], dl
mov eax, dword [0x636570]
dec eax
cmp eax, 3
ja case.0x461300.3
nop dword [eax]
jmp dword [eax*4 + 0x46135c]
mov byte [esi + 0x6d], 0
jmp 0x46131d
mov byte [esi + 0x6d], 1
jmp 0x46131d
mov byte [esi + 0x6d], 3
jmp 0x46131d
mov byte [esi + 0x6d], 2
lea eax, [esi + 0x60]
test al, 7
jne 0x46134e
xorps xmm0, xmm0
mov edx, esi
push 0
mov ecx, 0x10
movq qword [eax], xmm0
call fcn.00423170
mov ecx, dword [esp + 0x44]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00583f7f
add esp, 0x3c
ret
push 0x80000002
call dword [sym.imp.ntdll.dll_RtlRaiseStatus]
nop dword [eax]
pop es
adc eax, dword [esi]
or eax, 0x19004613
adc eax, dword [esi]
adc edx, dword [ebx]
inc esi
add ah, cl
int3