Function at 0x4055ac
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x425913
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x4342ac]
xor eax, esp
mov dword [esp + 0x1d0], eax
push ebx
push esi
push edi
mov eax, dword [0x4342ac]
xor eax, esp
push eax
lea eax, [esp + 0x1e8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
push 0x42bcb6
lea ecx, [esp + 0xa4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0x42bfac
lea ecx, [esp + 0xa4]
mov dword [esp + 0x1f4], ebx
call dword [0x4271e0]
lea ecx, [esp + 0x134]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x1d8], 0x2c
mov byte [esp + 0x1d9], 0x2d
mov byte [esp + 0x1da], 0x2e
mov byte [esp + 0x1db], 0x20
mov byte [esp + 0x1dc], 0x2f
mov byte [esp + 0x1dd], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [esp + 0x1d8]
push eax
lea ecx, [esp + 0x154]
mov byte [esp + 0x1f4], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x16c], bl
mov byte [esp + 0x16d], bl
mov dword [esp + 0x170], ebx
mov byte [esp + 0x174], bl
lea eax, [esp + 0x17c]
push eax
mov ecx, esi
mov byte [esp + 0x1f4], 3
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_const_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void_]
lea eax, [esp + 0x184]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_const_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
lea eax, [esp + 0x18c]
push eax
lea edi, [esp + 0x138]
call fcn.00405b11
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x180]
push eax
mov byte [esp + 0x1f8], 4
call fcn.00405bdf
mov byte [esp + 0x1f0], 5
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x180]
push eax
call fcn.00405c43
or dword [esp + 0x18], 1
mov esi, eax
mov al, byte [esi + 0x54]
cmp al, bl
je 0x40575d
cmp byte [esp + 0x110], bl
je 0x40575d
lea eax, [esp + 0x100]
push eax
lea ecx, [esi + 0x44]
call fcn.004026ec
test al, al
je 0x40576d
lea eax, [esp + 0x108]
push eax
lea ecx, [esi + 0x4c]
call fcn.004026ec
test al, al
jmp 0x40576b
xor ecx, ecx
cmp al, byte [esp + 0x110]
sete cl
cmp cl, bl
jne 0x40577f
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0xb4]
mov byte [esp + 0x13], 1
jb 0x405783
mov byte [esp + 0x13], bl
test byte [esp + 0x18], 1
je 0x405799
and dword [esp + 0x18], 0xfffffffe
lea eax, [esp + 0x2c]
push eax
call fcn.00405a93
cmp byte [esp + 0x13], bl
je 0x40584e
push dword [esp + 0x14]
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP80.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::at_unsigned_int_]
mov al, byte [eax]
cmp al, 0x64
je 0x405800
cmp al, 0x6d
je 0x4057d8
cmp al, 0x79
jne 0x405815
lea eax, [esp + 0x114]
push eax
call fcn.00405ee8
movzx eax, ax
mov dword [esp + 0x2c], eax
jmp 0x405814
sub esp, 0x1c
lea eax, [esp + 0x130]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
call fcn.00405fc8
movzx eax, ax
add esp, 0x1c
mov dword [esp + 0x1c], eax
jmp 0x405815
lea eax, [esp + 0x114]
push eax
call fcn.00405ee8
movzx eax, ax
mov dword [esp + 0x24], eax
pop ecx
push dword [esp + 0x10c]
lea eax, [esp + 0x118]
push dword [esp + 0x10c]
lea esi, [esp + 0x108]
push eax
lea edi, [esp + 0xc8]
call fcn.00406205
inc dword [esp + 0x14]
mov byte [esp + 0x110], al
jmp 0x40570c
lea eax, [esp + 0xbc]
push eax
mov byte [esp + 0x1f4], 4
call fcn.00405a93
push ecx
mov ecx, dword [esp + 0x24]
mov eax, esp
mov dword [esp + 0x18], esp
call fcn.00402d16
push ecx
mov dword [esp + 0x28], esp
mov ecx, esp
push dword [esp + 0x24]
call fcn.00404d1b
push ecx
mov ecx, dword [esp + 0x34]
mov eax, esp
mov dword [esp + 0x28], esp
call fcn.00402d30
push dword [esp + 0x30]
call fcn.00402db6
lea eax, [esp + 0x18c]
push eax
mov byte [esp + 0x1f4], 3
call fcn.00401b6b
lea eax, [esp + 0x134]
push eax
mov byte [esp + 0x1f4], bl
call fcn.00401b6b
or dword [esp + 0x1f0], 0xffffffff
lea ecx, [esp + 0xa0]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d0]
xor ecx, esp
call fcn.00411db3
mov esp, ebp
pop ebp
ret