Function at 0x457d60
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x487264
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4c33d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 8]
cmp byte [eax], 0x7b
je 0x457dc2
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0x1c]
mov dword [ebx + 0x20], 3
inc eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc dword [ebx + 0x14]
lea esi, [ebx + 0x14]
mov dword [esp + 0x18], esi
mov dword [esp + 0x38], 0
cmp dword [esi], 0x64
jl 0x457e07
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0x1c]
mov dword [ebx + 0x20], 5
inc eax
mov dword [ebx + 0x28], eax
xor eax, eax
dec dword [esi]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x38], 1
test eax, eax
je 0x457e2f
mov ecx, eax
mov dword [eax + 8], 0
call fcn.0044e690
jmp 0x457e31
xor eax, eax
mov edi, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edi
inc dword [ebx + 0x10]
inc dword [ebx + 8]
mov ecx, ebx
call fcn.00457a80
cmp eax, 1
je 0x457f6d
cmp eax, 4
jne 0x458008
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
mov byte [esp + 0x3c], 3
call fcn.00458360
test al, al
je 0x457fc9
inc dword [ebx + 0x10]
inc dword [ebx + 8]
mov ecx, ebx
call fcn.00457a80
cmp eax, 0xa
jne 0x457fb2
inc dword [ebx + 0x10]
inc dword [ebx + 8]
mov ecx, ebx
call fcn.00457a80
push eax
mov ecx, ebx
call fcn.00457cd0
mov dword [esp + 0x14], eax
test eax, eax
je 0x457fc9
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x457ed7
lea ecx, [esp + 0x20]
call fcn.004579e0
mov eax, dword [esp + 0x28]
push dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
push eax
call fcn.0044ebd0
inc dword [ebx + 0x10]
inc dword [ebx + 8]
mov ecx, ebx
call fcn.00457a80
mov ecx, eax
mov dword [esp + 0x14], ecx
cmp ecx, 9
jne 0x457f23
inc dword [ebx + 0x10]
inc dword [ebx + 8]
mov ecx, ebx
call fcn.00457a80
mov dword [esp + 0x14], eax
cmp eax, 1
jne 0x457f28
test byte [ebx], al
jne 0x457f28
mov dword [ebx + 0x20], 4
jmp 0x457fb9
cmp ecx, 1
jne 0x457f9d
mov eax, dword [esp + 0x28]
test eax, eax
je 0x457f60
cmp dword [eax + 0x14], 0x10
jb 0x457f45
push dword [eax]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov eax, dword [esp + 0x2c]
add esp, 4
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
push eax
mov byte [eax], 0
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x457e51
mov eax, dword [esp + 0x10]
xor edi, edi
mov byte [esp + 0x38], 0
test edi, edi
je 0x457f88
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov eax, dword [esp + 0x10]
dec dword [esi]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0x1c]
mov dword [ebx + 0x20], 2
jmp 0x457fc6
mov dword [ebx + 0x20], 2
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0x1c]
inc eax
mov dword [ebx + 0x28], eax
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x457ffd
cmp dword [ebx + 0x14], 0x10
jb 0x457fe2
push dword [ebx]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
push ebx
mov byte [ebx], 0
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x457f73
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0x1c]
mov dword [ebx + 0x20], 8
inc eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x457f73