Function at 0x4606a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60bf08
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea eax, [esp + 0x10]
push eax
call fcn.0040b8d0
mov dword [esp + 0x30], 0
push 0
lea eax, [esi + 0x278]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
mov edi, dword [ebp + 0x10]
mov ebx, dword [edi + 4]
cmp eax, 1
sete cl
mov byte [esp + 0x1c], cl
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp ebx, eax
je 0x46086d
mov edx, dword [esp + 0x1c]
push edx
lea edx, [esp + 0x14]
mov ecx, ebx
call fcn.00460140
test al, al
je 0x46086d
mov eax, dword [0x72a84c]
mov ecx, dword [0x72a848]
sub eax, ecx
sar eax, 2
xor ebx, ebx
test eax, eax
jbe 0x46076b
cmp ebx, eax
jb 0x460750
call fcn.005c475a
mov ecx, dword [0x72a848]
mov edx, dword [ecx + ebx*4]
cmp edx, dword [edi + 0x2b]
je 0x460850
mov eax, dword [0x72a84c]
sub eax, ecx
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x460750
cmp byte [edi + 8], 2
jne 0x4608a4
lea ebx, [esi + 0x1dc]
push ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x30], 1
lea edx, [ebp + 8]
push edx
add esi, 0x1bc
push esi
call fcn.00463770
mov dword [eax], edi
lea eax, [ebp + 8]
push eax
push esi
call fcn.00463770
mov edi, eax
add edi, 0xc
lea eax, [esp + 0x10]
call fcn.0040ddb0
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 4]
call fcn.0043d840
mov edi, eax
mov eax, edx
lea edx, [ebp + 8]
push edx
push esi
mov dword [esp + 0x24], eax
call fcn.00463770
mov dword [eax + 0x18], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + 0x1c], edi
mov byte [esp + 0x30], 0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.protocolfilters.dll_int___cdecl_ProtocolFilters::pf_addFilter_unsigned_long_long_unsigned___int64___enum_ProtocolFilters::_PF_FilterType__unsigned_long_int__enum_ProtocolFilters::_PF_OpTarget__enum_ProtocolFilters::_PF_FilterType_]
push 0
push 3
push 0
push 0x1f4
push esi
push edi
call ebx
add esp, 0x18
push 0
push 0
push 0x713de4
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 1
jne 0x46082c
push 0
push 3
push 0x200
push 0x64
push esi
push edi
call ebx
add esp, 0x18
push 0
push 3
push 0x40
push 0xc8
push esi
push edi
call ebx
mov eax, dword [esp + 0x2c]
add esp, 0x18
push esi
push edi
add eax, 0x278
call fcn.0044f980
jmp 0x4608c0
cmp dword [0x71038c], 1
jl 0x46086d
push str.IP_ognored
push str.CNet::tcpConnected
push 1
call fcn.00579a92
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
call dword [sym.imp.nfapi.dll_enum__NF_STATUS___cdecl_nfapi::nf_tcpDisableFiltering_unsigned_long_long_unsigned___int64__]
add esp, 8
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0040ba40
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0
push 3
push 0x40
push 0xc8
push esi
push edi
call dword [sym.imp.protocolfilters.dll_int___cdecl_ProtocolFilters::pf_addFilter_unsigned_long_long_unsigned___int64___enum_ProtocolFilters::_PF_FilterType__unsigned_long_int__enum_ProtocolFilters::_PF_OpTarget__enum_ProtocolFilters::_PF_FilterType_]
add esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x2b]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
lea edx, [esp + 0x18]
push edx
mov ecx, eax
call fcn.00418b00
mov byte [esp + 0x30], 2
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x304]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push esi
push edi
call fcn.004180b0
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x460920
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x460948
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc