Function at 0x457be0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b4bc0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e70ac]
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, 0x48bb50
mov ebx, 0x45e890
mov ebp, edi
call fcn.0045e8b0
add esp, 4
mov eax, dword [eax]
mov dword [esp + 0x38], 0
test eax, eax
je 0x457c37
mov eax, dword [eax]
jmp 0x457c39
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 0x4575a0
push 0x46ed70
push eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
call fcn.0046b320
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x457cb5
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x457cb5
test esi, esi
je 0x457cb5
mov eax, dword [esi]
test eax, eax
je 0x457c9c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x457cac
push eax
call fcn.00418b46
add esp, 4
push esi
call fcn.00418b46
add esp, 4
lea eax, [esp + 0x14]
mov edi, 0x64
push eax
mov esi, 0x48bb90
mov ebx, 0x48f2f0
mov ebp, edi
call fcn.0045e8d0
add esp, 4
mov eax, dword [eax]
mov dword [esp + 0x38], 1
test eax, eax
je 0x457ce5
mov eax, dword [eax]
jmp 0x457ce7
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 0x4575a0
push 0x46ed70
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebp
call fcn.0046b320
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x457d63
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x457d63
test esi, esi
je 0x457d63
mov eax, dword [esi]
test eax, eax
je 0x457d4a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x457d5a
push eax
call fcn.00418b46
add esp, 4
push esi
call fcn.00418b46
add esp, 4
lea eax, [esp + 0x14]
mov edi, 0x64
push eax
mov esi, 0x459f10
mov ebx, 0x47f000
mov ebp, edi
call fcn.0045e8f0
add esp, 4
mov eax, dword [eax]
mov dword [esp + 0x38], 2
test eax, eax
je 0x457d93
mov eax, dword [eax]
jmp 0x457d95
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 0x4575a0
push 0x46ed70
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebp
call fcn.0046b320
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x457e11
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x457e11
test esi, esi
je 0x457e11
mov eax, dword [esi]
test eax, eax
je 0x457df8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x457e08
push eax
call fcn.00418b46
add esp, 4
push esi
call fcn.00418b46
add esp, 4
lea eax, [esp + 0x18]
mov edi, 0x64
push eax
mov esi, 0x46a950
mov ebx, 0x48b4a0
mov ebp, edi
call fcn.0045e910
add esp, 4
mov eax, dword [eax]
mov dword [esp + 0x38], 3
test eax, eax
je 0x457e41
mov eax, dword [eax]
jmp 0x457e43
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 0x4575a0
push 0x46ed70
push eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebp
call fcn.0046b320
mov eax, dword [esp + 0x18]
test eax, eax
je 0x457eb7
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x457eb7
test esi, esi
je 0x457eb7
mov eax, dword [esi]
test eax, eax
je 0x457e9e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x457eae
push eax
call fcn.00418b46
add esp, 4
push esi
call fcn.00418b46
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