Function at 0x40a880
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4441eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov al, byte [esp + 0x5c]
push ebx
push ebp
push esi
xor ebp, ebp
push edi
push ebp
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], ebp
mov byte [esp + 0x38], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov cl, byte [esp + 0x6c]
mov dword [esp + 0x5c], 1
mov byte [esp + 0x24], cl
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dl, byte [esp + 0x6c]
push ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 2
mov byte [esp + 0x18], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x5c], 3
xor esi, esi
mov dword [esp + 0x68], ebp
mov eax, dword [ebx + 4]
cmp eax, ebp
je 0x40a9f7
mov edx, dword [ebx + 8]
sub edx, eax
sar edx, 4
cmp esi, edx
jae 0x40a9f7
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x68]
push edx
add ecx, eax
push ebp
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov ecx, dword [ebx + 4]
cmp ecx, ebp
jne 0x40a93d
xor eax, eax
jmp 0x40a945
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 4
lea ebp, [esi + 1]
cmp ebp, eax
je 0x40a9df
mov edx, esi
and edx, 0x7f
cmp dl, 0x64
jne 0x40a9c5
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.00427be0
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
lea ecx, [esp + 0x14]
mov esi, dword [edx]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Split_void_]
mov ecx, dword [esp + 0x1c]
cmp ecx, esi
jae 0x40a989
mov esi, ecx
test esi, esi
jbe 0x40a9e3
mov eax, dword [esp + 0x18]
sub ecx, esi
push ecx
lea ecx, [eax + esi*2]
push ecx
push eax
call fcn.0040ab40
mov edi, dword [esp + 0x28]
add esp, 0xc
sub edi, esi
lea ecx, [esp + 0x14]
push 0
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x40a9df
push edi
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Eos_unsigned_int_]
jmp 0x40a9df
mov esi, dword [esp + 0x6c]
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [esp + 0x14]
push eax
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov esi, ebp
add eax, 0x10
xor ebp, ebp
mov dword [esp + 0x68], eax
jmp 0x40a8fc
cmp ecx, ebp
je 0x40aa0e
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.00427be0
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
je 0x40aa7e
mov eax, dword [esp + 0x2c]
sub eax, ecx
sar eax, 4
cmp eax, 1
jbe 0x40aa68
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x48]
push edx
push eax
call fcn.0040a880
add esp, 0xc
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov byte [esp + 0x5c], 4
mov edx, dword [ecx]
lea ecx, [esp + 0x34]
push edx
push ebp
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x60], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
jmp 0x40aa7e
jne 0x40aa7e
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov edx, dword [eax]
push edx
push ebp
push ecx
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov edi, dword [esp + 0x64]
mov al, byte [esp + 0x34]
push ebp
mov ecx, edi
mov byte [edi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
lea eax, [esp + 0x34]
mov edx, dword [ecx]
mov ecx, edi
push edx
push ebp
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov dword [esp + 0x10], 1
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
cmp esi, eax
mov byte [esp + 0x5c], 1
mov ebp, eax
je 0x40aae9
push 1
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
add esi, 0x10
cmp esi, ebp
jne 0x40aad4
mov esi, dword [esp + 0x28]
push esi
call sub.MFC42u.DLL_operatordelete
mov ecx, dword [esp + 0x3c]
xor eax, eax
add esp, 4
cmp ecx, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
je 0x40ab26
mov al, byte [ecx - 1]
test al, al
je 0x40ab1a
cmp al, 0xff
je 0x40ab1a
dec al
mov byte [ecx - 1], al
jmp 0x40ab26
add ecx, 0xfffffffe
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x54]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret