Function at 0x412470
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x42ba19
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov al, byte [esp + 0x40]
push 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0
mov byte [esp + 0x24], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [ebp + 0x8d4]
lea ebx, [ebp + 0x8d0]
test eax, eax
mov byte [esp + 0x38], 1
je 0x4124cc
mov ecx, dword [ebx + 8]
sub ecx, eax
sar ecx, 4
cmp ecx, 3
jae 0x4124ed
mov esi, dword [ebx + 8]
lea edx, [esp + 0x20]
push edx
mov ecx, ebx
call fcn.00413620
mov ecx, 3
sub ecx, eax
push ecx
push esi
mov ecx, ebx
call fcn.00413640
jmp 0x41250b
mov ecx, ebx
call fcn.00413620
cmp eax, 3
jbe 0x41250b
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
add ecx, 0x30
push eax
push ecx
mov ecx, ebx
call fcn.00413900
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [ebp + 0x8d4]
mov eax, dword [edx]
lea edx, [ecx + 0x10]
push eax
push 0
push edx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [ebp + 0x8d4]
mov edx, dword [ecx]
lea ecx, [eax + 0x20]
push edx
push 0
push ecx
lea ecx, [eax + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov esi, dword [ebp + 0x8d4]
mov edi, dword [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], edi
add esi, 0x20
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov edi, ecx
mov ecx, esi
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x4125b3
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x10]
mov ecx, edi
mov edi, eax
mov edx, ecx
mov eax, dword [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
mov dword [eax + 8], ecx
mov eax, dword [eax + 4]
add eax, ecx
mov byte [eax], 0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4373e8
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x40], 2
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4373e8
call sub.MFC42.DLL_CString::CString_1
push 0
push 0x64
push ecx
mov byte [esp + 0x4c], 3
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4373e8
call sub.MFC42.DLL_CString::CString_1
push 0
mov ecx, ebx
mov byte [esp + 0x50], 4
call fcn.00413610
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp + 0x244]
mov byte [esp + 0x50], 0
call fcn.00417c70
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4373e8
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x40], 5
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4373e8
call sub.MFC42.DLL_CString::CString_1
push 0
push 0x3c
push ecx
mov byte [esp + 0x4c], 6
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4373e8
call sub.MFC42.DLL_CString::CString_1
push 1
mov ecx, ebx
mov byte [esp + 0x50], 7
call fcn.00413610
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp + 0x1bc]
mov byte [esp + 0x50], 0
call fcn.00417c70
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4373e8
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x40], 8
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4373e8
call sub.MFC42.DLL_CString::CString_1
push 0
push 0x1e
push ecx
mov byte [esp + 0x4c], 9
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4373e8
call sub.MFC42.DLL_CString::CString_1
push 2
mov ecx, ebx
mov byte [esp + 0x50], 0xa
call fcn.00413610
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp + 0x134]
mov byte [esp + 0x50], 0
call fcn.00417c70
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 4