Function at 0x460df0
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 0x460e8c
cmp ebp, edi
jne 0x460e89
lea ebp, [edi + 6]
jmp 0x460ea4
dec ebp
jmp 0x460ea4
cmp eax, 2
jne 0x460ea4
cmp ebp, edi
jne 0x460e9a
lea ebp, [eax - 1]
jmp 0x460ea4
cmp ebp, 6
jne 0x460ea3
xor ebp, ebp
jmp 0x460ea4
inc ebp
mov ecx, dword [esi + 0x718]
cmp ecx, 0x7b2
jne 0x460ebd
cmp dword [esi + 0x71c], 2
jge 0x460ec3
cmp ecx, ecx
jle 0x460f7c
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 0x461034
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.0045e870
inc edi
sub ebx, 0x15180
cmp edi, ebp
jl 0x460f2b
jmp 0x461030
cmp ebp, edi
jle 0x461034
mov ebx, 0x1f
sub ebx, ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebp
jmp 0x460fa0
mov edx, dword [esi + 0x71c]
mov ecx, dword [esi + 0x718]
cmp edx, 1
jne 0x460fbf
dec ecx
mov dword [esp + 0x18], 0xc
lea ebp, [ebx + 1]
jmp 0x46100e
mov eax, edx
cmp eax, 8
lea ebp, [eax - 1]
mov dword [esp + 0x18], ebp
jg 0x461102
cmp edx, 3
jne 0x4610eb
mov eax, ecx
and eax, reloc.WS2_32.dll_closesocket
lea ebp, [ebx - 2]
jns 0x460feb
dec eax
or eax, 0xfffffffc
inc eax
jne 0x460ffb
mov eax, ecx
cdq
mov ebx, 0x64
idiv ebx
test edx, edx
jne 0x461009
mov eax, ecx
cdq
mov ebx, 0x190
idiv ebx
test edx, edx
jne 0x46100a
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.0045e870
inc ebx
inc edi
sub dword [esp + 0x20], 1
mov dword [esp + 0x14], ebx
jne 0x460fa0
mov ebx, dword [esp + 0x28]
mov ebp, 1
cmp ebx, ebp
jl 0x46105c
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.0045e870
inc ebp
inc edi
cmp ebp, ebx
jle 0x46103d
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.0045e870
test eax, eax
je 0x46108a
inc edi
cmp edi, 0x2a
jge 0x46108a
inc ebx
cmp ebx, 0x14
jl 0x461061
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 0x4610af
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 0x4610d7
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 0x4610f8
dec edx
or edx, 0xfffffffe
inc edx
jne 0x461115
lea ebp, [ebx + 1]
jmp 0x46100e
and edx, reloc.WSOCK32.dll_accept
jns 0x46110f
dec edx
or edx, 0xfffffffe
inc edx
jne 0x460fba
mov ebp, ebx
jmp 0x46100e