Function at 0x461960
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5e8250
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x71c]
mov ecx, dword [esi + 0x718]
push eax
push ecx
call fcn.00404090
add esp, 8
mov ebx, eax
push 0x5fd0cc
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], ebx
xor edi, edi
call fcn.00404b40
push 0x5fd0cc
lea ecx, [esp + 0x30]
mov dword [esp + 0x64], edi
call fcn.00404b40
mov edx, dword [esi + 0x71c]
mov eax, dword [esi + 0x718]
push 1
push edx
push eax
mov byte [esp + 0x6c], 1
call fcn.00403f60
mov ebp, eax
mov eax, dword [esi + 0x500]
add esp, 0xc
cmp eax, edi
jne 0x4619fc
cmp ebp, edi
jne 0x4619f9
lea ebp, [edi + 6]
jmp 0x461a14
dec ebp
jmp 0x461a14
cmp eax, 2
jne 0x461a14
cmp ebp, edi
jne 0x461a0a
lea ebp, [eax - 1]
jmp 0x461a14
cmp ebp, 6
jne 0x461a13
xor ebp, ebp
jmp 0x461a14
inc ebp
mov ecx, dword [esi + 0x718]
cmp ecx, 0x7b2
jne 0x461a2d
cmp dword [esi + 0x71c], 2
jge 0x461a33
cmp ecx, ecx
jle 0x461aec
xor eax, eax
add ecx, 0xfffff894
mov dword [esp + 0x48], eax
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x71c]
lea edx, [esp + 0x34]
dec ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], 1
call fcn.004e8c26
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
test ebp, ebp
jle 0x461ba4
mov ebx, ebp
imul ebx, ebx, 0x15180
mov ecx, dword [esp + 0x20]
mov eax, ebx
cdq
sub ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
sbb eax, edx
push ecx
mov dword [esp + 0x20], eax
call fcn.004eac6e
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
add esp, 4
push edx
mov edx, dword [eax + 0x14]
inc ecx
push ecx
add edx, 0x76c
push edx
push edi
push 0
mov ecx, esi
call fcn.0045e9a0
inc edi
sub ebx, 0x15180
cmp edi, ebp
jl 0x461a9b
jmp 0x461ba0
cmp ebp, edi
jle 0x461ba4
mov ebx, 0x1f
sub ebx, ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebp
jmp 0x461b10
mov edx, dword [esi + 0x71c]
mov ecx, dword [esi + 0x718]
cmp edx, 1
jne 0x461b2f
dec ecx
mov dword [esp + 0x18], 0xc
lea ebp, [ebx + 1]
jmp 0x461b7e
mov eax, edx
cmp eax, 8
lea ebp, [eax - 1]
mov dword [esp + 0x18], ebp
jg 0x461c72
cmp edx, 3
jne 0x461c5b
mov eax, ecx
and eax, reloc.WS2_32.dll_closesocket
lea ebp, [ebx - 2]
jns 0x461b5b
dec eax
or eax, 0xfffffffc
inc eax
jne 0x461b6b
mov eax, ecx
cdq
mov ebx, 0x64
idiv ebx
test edx, edx
jne 0x461b79
mov eax, ecx
cdq
mov ebx, 0x190
idiv ebx
test edx, edx
jne 0x461b7a
inc ebp
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ebp
push edx
push ecx
push edi
push 0
mov ecx, esi
call fcn.0045e9a0
inc ebx
inc edi
sub dword [esp + 0x20], 1
mov dword [esp + 0x14], ebx
jne 0x461b10
mov ebx, dword [esp + 0x28]
mov ebp, 1
cmp ebx, ebp
jl 0x461bcc
mov eax, dword [esi + 0x71c]
mov ecx, dword [esi + 0x718]
push ebp
push eax
push ecx
push edi
push 1
mov ecx, esi
call fcn.0045e9a0
inc ebp
inc edi
cmp ebp, ebx
jle 0x461bad
mov ebx, 1
mov edx, dword [esi + 0x73c]
mov eax, dword [esi + 0x738]
push ebx
push edx
push eax
push edi
push 2
mov ecx, esi
call fcn.0045e9a0
test eax, eax
je 0x461bfa
inc edi
cmp edi, 0x2a
jge 0x461bfa
inc ebx
cmp ebx, 0x14
jl 0x461bd1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x60], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461c1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x60], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461c47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
and edx, reloc.WSOCK32.dll_accept
jns 0x461c68
dec edx
or edx, 0xfffffffe
inc edx
jne 0x461c85
lea ebp, [ebx + 1]
jmp 0x461b7e
and edx, reloc.WSOCK32.dll_accept
jns 0x461c7f
dec edx
or edx, 0xfffffffe
inc edx
jne 0x461b2a
mov ebp, ebx
jmp 0x461b7e