Function at 0x445740
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 0x4457db
cmp ebp, edi
jne 0x4457d8
lea ebp, [edi + 6]
jmp 0x4457db
sub ebp, 1
mov ecx, dword [esi + 0x700]
cmp ecx, 0x7b2
jne 0x4457f4
cmp dword [esi + 0x704], 2
jge 0x4457fa
cmp ecx, ecx
jle 0x4458b9
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 0x44596b
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.00443090
add edi, 1
sub ebx, 0x15180
cmp edi, ebp
jl 0x445864
jmp 0x445967
cmp ebp, edi
jle 0x44596b
mov ebx, 0x1f
sub ebx, ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebp
mov edx, dword [esi + 0x704]
cmp edx, 1
mov ecx, dword [esi + 0x700]
jne 0x4458f0
sub ecx, edx
mov dword [esp + 0x18], 0xc
lea ebp, [ebx + 1]
jmp 0x445941
mov eax, edx
cmp eax, 8
lea ebp, [eax - 1]
mov dword [esp + 0x18], ebp
jg 0x445a45
cmp edx, 3
jne 0x445a2e
mov eax, ecx
and eax, reloc.WS2_32.dll_closesocket
lea ebp, [ebx - 2]
jns 0x44591c
dec eax
or eax, 0xfffffffc
inc eax
jne 0x44592c
mov eax, ecx
cdq
mov ebx, 0x64
idiv ebx
test edx, edx
jne 0x44593a
mov eax, ecx
cdq
mov ebx, 0x190
idiv ebx
test edx, edx
jne 0x44593d
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.00443090
add ebx, 1
add edi, 1
sub dword [esp + 0x20], 1
mov dword [esp + 0x14], ebx
jne 0x4458d0
mov ebx, dword [esp + 0x28]
mov ebp, 1
cmp ebx, ebp
jl 0x445997
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.00443090
add ebp, 1
add edi, 1
cmp ebp, ebx
jle 0x445974
mov ebx, 1
lea esp, [esp]
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.00443090
test eax, eax
je 0x4459cd
add edi, 1
cmp edi, 0x2a
jge 0x4459cd
add ebx, 1
cmp ebx, 0x14
jl 0x4459a0
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 0x4459f2
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 0x445a1a
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 0x445a3b
dec edx
or edx, 0xfffffffe
inc edx
jne 0x445a58
lea ebp, [ebx + 1]
jmp 0x445941
and edx, reloc.WSOCK32.dll_accept
jns 0x445a52
dec edx
or edx, 0xfffffffe
inc edx
jne 0x4458eb
mov ebp, ebx
jmp 0x445941