Function at 0x471570
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5b698e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
xor edi, edi
mov dword [esp + 0x30], 2
cmp dword [esi + 0x190], edi
jne 0x471626
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4715d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4715f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47161f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x471935
push 0x208
call fcn.005851c0
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x30], 3
cmp eax, edi
je 0x47164a
push eax
call fcn.0054f930
mov ebp, eax
jmp 0x47164c
xor ebp, ebp
mov byte [esp + 0x30], 2
mov eax, dword [esi + 0x190]
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x10]
mov ecx, ebp
call eax
mov eax, dword [0x622074]
mov ecx, dword [eax + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
cmp ecx, edi
jne 0x47167b
mov esi, 0x32
jmp 0x471696
push 0x64
cmp ecx, 1
jne 0x471688
mov ecx, dword [eax + 4]
push ecx
jmp 0x47168b
mov edx, dword [eax]
push edx
push 0x32
call ebx
mov esi, eax
mov eax, dword [0x622074]
mov ecx, dword [eax + 8]
cmp ecx, edi
jne 0x4716a4
mov eax, 0x32
jmp 0x4716b8
push 0x64
cmp ecx, 1
jne 0x4716b1
mov eax, dword [eax + 4]
push eax
jmp 0x4716b4
mov ecx, dword [eax]
push ecx
push 0x32
call ebx
sub esp, 0x10
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], esp
mov eax, esp
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], esi
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp]
mov edx, dword [eax + 0x4c]
mov ecx, ebp
call edx
push 0xc8
mov dword [ebp + 0xc8], 3
call fcn.005851c0
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x30], 4
cmp eax, edi
je 0x471716
mov esi, eax
call fcn.005489c0
mov esi, eax
jmp 0x471718
xor esi, esi
mov byte [esp + 0x30], 2
mov dword [esi + 0x7c], 1
mov ecx, dword [esp + 0x44]
call fcn.00548ef0
mov eax, esi
mov ecx, ebp
call fcn.005510c0
mov eax, dword [0x622074]
mov ecx, dword [eax + 8]
cmp ecx, edi
jne 0x471749
mov esi, 0x32
jmp 0x471764
push 0x64
cmp ecx, 1
jne 0x471756
mov eax, dword [eax + 4]
push eax
jmp 0x471759
mov ecx, dword [eax]
push ecx
push 0x32
call ebx
mov esi, eax
mov eax, dword [0x622074]
mov ecx, dword [eax + 8]
cmp ecx, edi
jne 0x471772
mov eax, 0x32
jmp 0x471786
push 0x64
cmp ecx, 1
jne 0x47177f
mov edx, dword [eax + 4]
push edx
jmp 0x471782
mov eax, dword [eax]
push eax
push 0x32
call ebx
mov ecx, dword [esp + 0x38]
mov dword [ebp + 0x204], esi
mov dword [ebp + 0x1dc], 6
mov dword [ebp + 0x1f0], edi
mov dword [ebp + 0x1f4], edi
mov dword [ebp + 0x1f8], edi
mov dword [ebp + 0x1fc], edi
mov dword [ebp + 0x200], eax
mov edi, dword [ecx + 0x1e8]
mov esi, ebp
call fcn.0054fde0
mov ecx, dword [0x622074]
mov eax, dword [ecx + 8]
xor edi, edi
cmp eax, edi
jne 0x4717d9
lea eax, [edi + 0x14]
jmp 0x4717ed
push 0x64
cmp eax, 1
jne 0x4717e6
mov edx, dword [ecx + 4]
push edx
jmp 0x4717e9
mov eax, dword [ecx]
push eax
push 0x14
call ebx
mov ecx, dword [ebp + 0x17c]
cmp ecx, edi
je 0x471804
mov ecx, dword [ecx + 0x64]
cmp ecx, edi
je 0x471804
mov dword [ecx + 0x5c], eax
mov dword [ecx + 0x54], edi
mov eax, dword [esp + 0x3c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov esi, esp
call fcn.00406580
add eax, 0x10
mov dword [esi], eax
mov esi, ebp
call fcn.00550930
mov eax, dword [0x622074]
mov dword [ebp + 0x1d8], edi
mov ecx, dword [eax + 8]
cmp ecx, edi
jne 0x47183c
mov esi, 1
jmp 0x471857
push 0x64
cmp ecx, 1
jne 0x471849
mov ecx, dword [eax + 4]
push ecx
jmp 0x47184c
mov edx, dword [eax]
push edx
push 1
call ebx
mov esi, eax
mov eax, dword [0x622074]
mov ecx, dword [eax + 8]
cmp ecx, edi
jne 0x471865
mov eax, 0x37
jmp 0x471879
push 0x64
cmp ecx, 1
jne 0x471872
mov eax, dword [eax + 4]
push eax
jmp 0x471875
mov ecx, dword [eax]
push ecx
push 0x37
call ebx
mov dword [ebp + 0x1e0], eax
mov eax, 0xffffff
mov dword [ebp + 0x1e4], esi
mov dword [ebp + 0x1b0], eax
mov dword [ebp + 0x1b4], eax
mov dword [ebp + 0x1b8], eax
mov dword [ebp + 0x1bc], eax
mov eax, dword [esp + 0x40]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov esi, esp
call fcn.00406580
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.005560d0
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4718e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47190b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x471933
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x10