Function at 0x458220
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a105b
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4cacfc]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x4cacfc]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov edx, dword [ebx]
mov edx, dword [edx + 0x28]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x3c]
push eax
call edx
mov dword [esp + 0xd8], 0
mov edi, dword [ebx + 0x44]
mov eax, dword [ebx + 0x560]
mov ecx, dword [ebx + 0x564]
mov esi, dword [ebx + 0x568]
mov edx, dword [ebx + 0x56c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edx
test edi, edi
je 0x4582c3
call fcn.00408240
lea edi, [esp + 0x2c]
mov esi, eax
call fcn.004184d0
mov esi, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
cmp byte [ebx + 0x571], al
je 0x4582dc
mov eax, 0x270f
jmp 0x458323
mov eax, dword [ebx + 0x180]
mov edx, dword [ebx]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x1c]
mov ecx, ebx
call eax
mov edi, eax
call fcn.00408240
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x458303
mov eax, dword [esp + 0x14]
jmp 0x458323
push 0x64
cmp ecx, 1
jne 0x458315
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x18]
push ecx
push edx
jmp 0x45831d
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x55c]
add dword [esp + 0x1c], edx
sub eax, esi
or ecx, 0x400
cmp byte [ebx + 0x570], 0
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x28], 0x270f
push ecx
je 0x45838d
mov edx, dword [ebx + 0x558]
push edx
mov edx, dword [ebx + 0x550]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x48]
push 0
push 0
push edx
push ecx
lea edx, [esp + 0x38]
push edx
push eax
mov eax, dword [eax + 0xb8]
push eax
mov dword [esp + 0x3c], 0
call fcn.004354c0
add esp, 0x28
jmp 0x4583b3
mov edx, dword [ebx + 0x550]
mov ecx, dword [esp + 0x40]
push edx
push ecx
mov ecx, dword [ebx + 0x558]
lea edx, [esp + 0x28]
push edx
mov edx, dword [eax + 0xb8]
push eax
call fcn.00434e80
add esp, 0x14
sub esi, dword [esp + 0x1c]
add esi, dword [esp + 0x2c]
add esi, dword [esp + 0x24]
cmp byte [ebx + 0x571], 0
je 0x458400
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
mov ecx, ebx
call edx
mov edi, eax
call fcn.00408240
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4583e4
lea eax, [ecx + 0x64]
jmp 0x4583f0
cmp ecx, 1
jne 0x4583ee
mov eax, dword [eax + 4]
jmp 0x4583f0
mov eax, dword [eax]
push eax
push 0x64
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebx + 0x180], eax
mov edi, dword [ebx + 0x44]
test edi, edi
je 0x458427
mov eax, dword [ebx + 0x184]
mov ecx, dword [ebx + 0x180]
push eax
push ecx
call fcn.00408240
mov esi, dword [esp + 0x20]
mov edi, eax
call fcn.00418660
jmp 0x45843c
mov edx, dword [ebx + 0x180]
mov esi, dword [esp + 0x18]
mov dword [esi], edx
mov eax, dword [ebx + 0x184]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
cmp eax, ecx
je 0x458451
push eax
call fcn.0048836e
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.00486dc0
mov esp, ebp
pop ebp
ret 0xc