Function at 0x449370
Capabilities:
Get number of processors

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x78
push 0xffffffffffffffff
push 0x47bd6d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x48d1f4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp + 0x14], esi
push 0x449330
push 0x18
push dword [esi + 0x34]
xor ebx, ebx
xor edi, edi
push dword [esi + 0x30]
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
call fcn.0046a9f0
mov edx, dword [esi + 0x34]
add esp, 0x10
xor ecx, ecx
mov dword [ebp + 0xc], edx
xor eax, eax
cmp edx, 2
jb 0x449418
mov eax, dword [esi + 0x30]
lea ecx, [edx - 2]
shr ecx, 1
add eax, 0x28
inc ecx
lea edx, [ecx + ecx]
mov dword [ebp + 0x20], edx
xor edx, edx
xor esi, esi
lea esp, [esp]
add edi, dword [eax - 0x18]
adc ebx, dword [eax - 0x14]
add edx, dword [eax]
adc esi, dword [eax + 4]
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x4493f0
mov eax, dword [ebp + 0x20]
mov dword [ebp + 0x1c], esi
mov esi, dword [ebp + 0x14]
mov dword [ebp + 0x18], edx
cmp eax, dword [ebp + 0xc]
jb 0x449420
xor eax, eax
jmp 0x44942e
test edx, edx
je 0x44942e
lea esp, [esp]
mov edx, dword [esi + 0x30]
lea eax, [eax + eax*2]
mov ecx, dword [edx + eax*8 + 0x10]
mov eax, dword [edx + eax*8 + 0x14]
add edi, dword [ebp + 0x18]
adc ebx, dword [ebp + 0x1c]
add ecx, edi
mov dword [ebp - 0x10], ecx
adc eax, ebx
mov dword [ebp + 4], eax
jne 0x44944e
cmp ecx, 0x10000000
ja 0x44944e
mov byte [ebp + 0x27], 0
jmp 0x4494b9
xor eax, eax
mov byte [ebp + 0x27], 1
lea ecx, [ebp + 0x28]
mov dword [ebp + 0x28], 0x47d694
mov dword [ebp + 0x2c], 0x47d694
mov dword [ebp + 0x30], 0x47d694
mov dword [ebp + 0x34], 0x47d694
mov dword [ebp + 0x38], 0x47d694
mov dword [ebp + 0x3c], 0x47d694
mov dword [ebp + 0x40], 0x47d694
mov dword [ebp + 0x44], 0x47d694
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x70], 0x6e
call fcn.00458680
push 0x100000
push 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x20], 0x100000
call fcn.0046a903
mov ebx, eax
add esp, 8
mov dword [ebp + 0x18], ebx
test ebx, ebx
jne 0x4494ed
mov ecx, 0x49d17c
call fcn.004213d0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], 0x100000
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp + 8], 0
mov dword [ebp + 0x20], eax
mov dword [ebp], eax
cmp dword [esi + 0x34], eax
jbe 0x44968f
xor ecx, ecx
mov dword [ebp + 0xc], ecx
jmp 0x449520
mov ebx, dword [esi + 0x30]
mov edi, dword [esi]
add ebx, ecx
push 0
mov esi, dword [edi]
push dword [ebx + 4]
push dword [ebx]
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x47d2b8]
mov ecx, edi
call esi
mov edi, dword [ebp + 0x14]
push 0
push dword [ebx + 0xc]
mov edi, dword [edi + 4]
push dword [ebx + 8]
mov esi, dword [edi]
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x47d2b8]
mov ecx, edi
call esi
mov esi, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x1c], esi
test esi, esi
jl 0x449670
mov ebx, eax
jg 0x44957e
test ebx, ebx
je 0x449670
mov edi, dword [ebp + 0x14]
call fcn.004576b0
test esi, esi
ja 0x449598
jb 0x449594
cmp ebx, 0x100000
jae 0x449598
mov ecx, ebx
jmp 0x44959d
mov ecx, 0x100000
mov edi, dword [edi]
push ecx
push dword [ebp + 0x18]
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x47d2b8]
mov ecx, edi
call esi
mov esi, eax
test esi, esi
je 0x449670
mov edi, dword [ebp + 0x14]
push esi
push dword [ebp + 0x18]
mov ecx, dword [edi + 4]
call fcn.00428c10
mov ecx, dword [ebp + 8]
mov eax, esi
mov esi, dword [ebp + 0x1c]
cdq
sub ebx, eax
sbb esi, edx
add ecx, eax
mov dword [ebp + 0x1c], esi
adc dword [ebp + 0x20], edx
cmp byte [ebp + 0x27], 0
mov dword [ebp + 8], ecx
je 0x44965e
mov eax, dword [edi]
mov edx, dword [ebp + 4]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0x7fffffff
jne 0x44961a
cmp edx, eax
jne 0x44961a
push 0x47d698
mov dword [0x49d19c], 0xffffffff
call fcn.0041c520
add esp, 4
jmp 0x44965e
push edx
push eax
mov eax, dword [ebp + 0x20]
push eax
push ecx
call fcn.004561b0
mov esi, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x222c]
cmp byte [eax + 0x714c], 0
jne 0x449655
cmp esi, dword [0x49d19c]
je 0x449655
push 0
push 0x64
mov eax, esi
cdq
push edx
push eax
push 0x480104
call fcn.00459ba0
mov dword [0x49d19c], esi
mov esi, dword [ebp + 0x1c]
test esi, esi
jg 0x449581
jl 0x449670
test ebx, ebx
jne 0x449581
mov eax, dword [ebp]
mov esi, dword [ebp + 0x14]
inc eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x18
mov dword [ebp], eax
mov dword [ebp + 0xc], ecx
cmp eax, dword [esi + 0x34]
jb 0x449520
mov ebx, dword [ebp + 0x18]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4496a6
push eax
call fcn.0046a8f3
add esp, 4
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
test ebx, ebx
je 0x4496c1
push ebx
call fcn.0046a8f3
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
call fcn.004669f1
lea esp, [ebp + 0x78]
pop ebp
ret