Function at 0x471430
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a6fe0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d7590]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
mov edi, 0x64
push eax
mov esi, 0x473850
mov ebx, 0x473200
mov ebp, edi
call fcn.004738c0
add esp, 4
mov eax, dword [eax]
mov dword [esp + 0x38], 0
test eax, eax
je 0x471487
mov eax, dword [eax]
jmp 0x471489
xor eax, eax
push 8
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x48]
push 8
lea edx, [esp + 0x2c]
push edx
push 0x47edc0
push 0x47e100
push eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
call fcn.0046d3b0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x471505
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x471505
test esi, esi
je 0x471505
mov eax, dword [esi]
test eax, eax
je 0x4714ec
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4714fc
push eax
call fcn.00418636
add esp, 4
push esi
call fcn.00418636
add esp, 4
lea eax, [esp + 0x14]
mov edi, 0x64
push eax
mov esi, 0x462c80
mov ebx, 0x473220
mov ebp, edi
call fcn.004738e0
add esp, 4
mov eax, dword [eax]
mov dword [esp + 0x38], 1
test eax, eax
je 0x471535
mov eax, dword [eax]
jmp 0x471537
xor eax, eax
push 8
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x48]
push 8
lea edx, [esp + 0x24]
push edx
push 0x47edc0
push 0x47e100
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebp
call fcn.0046d3b0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x4715b3
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4715b3
test esi, esi
je 0x4715b3
mov eax, dword [esi]
test eax, eax
je 0x47159a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4715aa
push eax
call fcn.00418636
add esp, 4
push esi
call fcn.00418636
add esp, 4
lea eax, [esp + 0x14]
mov edi, 0x64
push eax
mov esi, 0x4616d0
mov ebx, 0x4619b0
mov ebp, edi
call fcn.00473900
add esp, 4
mov eax, dword [eax]
mov dword [esp + 0x38], 2
test eax, eax
je 0x4715e3
mov eax, dword [eax]
jmp 0x4715e5
xor eax, eax
push 8
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x48]
push 8
lea edx, [esp + 0x24]
push edx
push 0x47edc0
push 0x47e100
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebp
call fcn.0046d3b0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x471661
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x471661
test esi, esi
je 0x471661
mov eax, dword [esi]
test eax, eax
je 0x471648
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x471658
push eax
call fcn.00418636
add esp, 4
push esi
call fcn.00418636
add esp, 4
lea eax, [esp + 0x18]
mov edi, 0x64
push eax
mov esi, 0x461700
mov ebx, 0x461030
mov ebp, edi
call fcn.00473920
add esp, 4
mov eax, dword [eax]
mov dword [esp + 0x38], 3
test eax, eax
je 0x471691
mov eax, dword [eax]
jmp 0x471693
xor eax, eax
push 8
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x48]
push 8
lea edx, [esp + 0x34]
push edx
push 0x47edc0
push 0x47e100
push eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebp
call fcn.0046d3b0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x471707
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x471707
test esi, esi
je 0x471707
mov eax, dword [esi]
test eax, eax
je 0x4716ee
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4716fe
push eax
call fcn.00418636
add esp, 4
push esi
call fcn.00418636
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret