Function at 0x445f50
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x55f4d0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x651788]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x704]
mov ecx, dword [esi + 0x700]
push eax
push ecx
call fcn.00405810
add esp, 8
mov ebx, eax
push 0x5a6624
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], ebx
xor edi, edi
call fcn.00406220
push 0x5a6624
lea ecx, [esp + 0x30]
mov dword [esp + 0x64], edi
call fcn.00406220
mov edx, dword [esi + 0x704]
mov eax, dword [esi + 0x700]
push 1
push edx
push eax
mov byte [esp + 0x6c], 1
call fcn.004056f0
add esp, 0xc
cmp byte [esi + 0x4fd], 0
mov ebp, eax
je 0x445feb
cmp ebp, edi
jne 0x445fe8
lea ebp, [edi + 6]
jmp 0x445feb
sub ebp, 1
mov ecx, dword [esi + 0x700]
cmp ecx, 0x7b2
jne 0x446004
cmp dword [esi + 0x704], 2
jge 0x44600a
cmp ecx, ecx
jle 0x4460c9
xor eax, eax
add ecx, 0xfffff894
mov dword [esp + 0x48], eax
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x704]
lea edx, [esp + 0x34]
sub ecx, 1
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.004aec51
add esp, 4
test ebp, ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jle 0x446179
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.004b0e7b
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
add esp, 4
push edx
mov edx, dword [eax + 0x14]
add ecx, 1
push ecx
add edx, 0x76c
push edx
push edi
push 0
mov ecx, esi
call fcn.00445a60
add edi, 1
sub ebx, 0x15180
cmp edi, ebp
jl 0x446074
jmp 0x446175
cmp ebp, edi
jle 0x446179
mov ebx, 0x1f
sub ebx, ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebp
mov eax, dword [esi + 0x704]
cmp eax, 1
mov ecx, dword [esi + 0x700]
jne 0x446100
sub ecx, eax
mov dword [esp + 0x18], 0xc
lea ebp, [ebx + 1]
jmp 0x44614f
cmp eax, 8
lea edx, [eax - 1]
mov dword [esp + 0x18], edx
jg 0x4461f0
cmp eax, 3
jne 0x4461da
mov eax, ecx
and eax, reloc.WS2_32.dll_closesocket
lea ebp, [ebx - 2]
jns 0x44612a
dec eax
or eax, 0xfffffffc
inc eax
jne 0x44613a
mov eax, ecx
cdq
mov ebx, 0x64
idiv ebx
test edx, edx
jne 0x446148
mov eax, ecx
cdq
mov ebx, 0x190
idiv ebx
test edx, edx
jne 0x44614b
add ebp, 1
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.00445a60
add ebx, 1
add edi, 1
sub dword [esp + 0x20], 1
mov dword [esp + 0x14], ebx
jne 0x4460e0
mov ebx, dword [esp + 0x28]
mov ebp, 1
cmp ebx, ebp
jl 0x4461a5
mov eax, dword [esi + 0x704]
mov ecx, dword [esi + 0x700]
push ebp
push eax
push ecx
push edi
push 1
mov ecx, esi
call fcn.00445a60
add ebp, 1
add edi, 1
cmp ebp, ebx
jle 0x446182
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 5
jne 0x446209
lea ecx, [edi - 0x23]
test ecx, ecx
je 0x446209
mov dword [esi + 0x7dc], 2
mov dword [esi + 0x734], 0x2a
jmp 0x44621d
and eax, reloc.WSOCK32.dll_accept
jns 0x4461e6
dec eax
or eax, 0xfffffffe
inc eax
jne 0x446202
lea ebp, [ebx + 1]
jmp 0x44614f
and eax, reloc.WSOCK32.dll_accept
jns 0x4461fc
dec eax
or eax, 0xfffffffe
inc eax
jne 0x4460fb
mov ebp, ebx
jmp 0x44614f
mov dword [esi + 0x734], 0x23
mov dword [esi + 0x7dc], 0xe
mov ebx, 1
mov edx, dword [esi + 0x718]
mov eax, dword [esi + 0x714]
push ebx
push edx
push eax
push edi
push 2
mov ecx, esi
call fcn.00445a60
test eax, eax
je 0x44624f
add edi, 1
cmp edi, 0x2a
jge 0x44624f
add ebx, 1
cmp ebx, 0x14
jl 0x446222
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 0x446274
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 0x44629c
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