Function at 0x407907
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42cec1
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x43d2ac]
xor eax, esp
mov dword [esp + 0x1d0], eax
push ebx
push esi
push edi
mov eax, dword [0x43d2ac]
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 0x432d6e
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 0x432fe0
lea ecx, [esp + 0xa4]
mov dword [esp + 0x1f4], ebx
call dword [0x42e22c]
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.00407fcb
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x180]
push eax
mov byte [esp + 0x1f8], 4
call fcn.00408099
mov byte [esp + 0x1f0], 5
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x180]
push eax
call fcn.004080fd
or dword [esp + 0x18], 1
mov esi, eax
mov al, byte [esi + 0x54]
cmp al, bl
je 0x407ab8
cmp byte [esp + 0x110], bl
je 0x407ab8
lea eax, [esp + 0x100]
push eax
lea ecx, [esi + 0x44]
call fcn.00403707
test al, al
je 0x407ac8
lea eax, [esp + 0x108]
push eax
lea ecx, [esi + 0x4c]
call fcn.00403707
test al, al
jmp 0x407ac6
xor ecx, ecx
cmp al, byte [esp + 0x110]
sete cl
cmp cl, bl
jne 0x407ada
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0xb4]
mov byte [esp + 0x13], 1
jb 0x407ade
mov byte [esp + 0x13], bl
test byte [esp + 0x18], 1
je 0x407af4
and dword [esp + 0x18], 0xfffffffe
lea eax, [esp + 0x2c]
push eax
call fcn.00407f4d
cmp byte [esp + 0x13], bl
je 0x407ba9
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 0x407b5b
cmp al, 0x6d
je 0x407b33
cmp al, 0x79
jne 0x407b70
lea eax, [esp + 0x114]
push eax
call fcn.004083a2
movzx eax, ax
mov dword [esp + 0x2c], eax
jmp 0x407b6f
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.00408482
movzx eax, ax
add esp, 0x1c
mov dword [esp + 0x1c], eax
jmp 0x407b70
lea eax, [esp + 0x114]
push eax
call fcn.004083a2
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.004086bf
inc dword [esp + 0x14]
mov byte [esp + 0x110], al
jmp 0x407a67
lea eax, [esp + 0xbc]
push eax
mov byte [esp + 0x1f4], 4
call fcn.00407f4d
push ecx
mov ecx, dword [esp + 0x24]
mov eax, esp
mov dword [esp + 0x18], esp
call fcn.00405695
push ecx
mov dword [esp + 0x28], esp
mov ecx, esp
push dword [esp + 0x24]
call fcn.004071a1
push ecx
mov ecx, dword [esp + 0x34]
mov eax, esp
mov dword [esp + 0x28], esp
call fcn.004056af
push dword [esp + 0x30]
call fcn.0040576f
lea eax, [esp + 0x18c]
push eax
mov byte [esp + 0x1f4], 3
call fcn.00407f13
lea eax, [esp + 0x134]
push eax
mov byte [esp + 0x1f4], bl
call fcn.00407f13
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.00418c9a
mov esp, ebp
pop ebp
ret