Function at 0x100294f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100406f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
push edi
mov dword [esp + 0x10], ecx
mov al, byte [esp + 0x7c]
push 0
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], 0
mov byte [esp + 0x40], 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 edi, 0x100535a8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x100535a8
lea ecx, [esp + 0x44]
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_char_const___unsigned_int_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 1
push ecx
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.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__]
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x78], 3
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 [esp + 0x80]
cmp dword [edx + 0xc], 1
je 0x100295b3
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 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_]
lea ecx, [esp + 0x84]
mov dword [esp + 0x74], 0xffffffff
call fcn.1001ae10
pop edi
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0xc
push ebx
lea eax, [esp + 0x84]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.1002c9c0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 4
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x1c]
mov ebp, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov byte [esp + 0x7c], 5
mov ebx, ebp
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x100295f2
mov ebx, eax
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x100295fb
mov ebp, eax
lea edx, [esp + 0x64]
push edx
call fcn.1002fea0
add esp, 4
mov edi, dword [eax + 4]
mov byte [esp + 0x7c], 6
test edi, edi
jne 0x1002961a
mov edi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea eax, [esp + 0x24]
push eax
call fcn.100300a0
add esp, 4
mov esi, dword [eax + 4]
mov byte [esp + 0x7c], 7
test esi, esi
jne 0x10029639
mov esi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push edi
mov ecx, ebx
call fcn.1002a290
mov ecx, dword [esp + 0x90]
and eax, 0xffff
push eax
push ecx
push esi
lea edx, [esp + 0x2c]
push str.A_sB_dC_dD_sE_sF_s
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x20
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 6
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x80], 5
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 al, byte [esp + 0x84]
mov esi, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], 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 edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x28]
push ebp
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 0x100296e6
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x54]
push eax
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], 8
call fcn.1001bce0
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 0xa
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x58]
mov esi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
xor edi, edi
mov byte [esp + 0x7c], 0xb
cmp eax, edi
je 0x10029735
mov esi, eax
push 0x80
mov ecx, 0x10056110
call fcn.1000b570
mov eax, dword [eax + 4]
cmp eax, edi
jne 0x10029750
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push esi
push eax
lea edx, [esp + 0x18]
push str._s__s
push edx
call sub.MFC42.DLL_CString::Format
push 8
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 0x14
mov dword [esp + 0x84], esi
cmp esi, edi
je 0x1002979b
mov dword [esi], 0x10046f50
lea eax, [esp + 0x10]
lea ecx, [esi + 4]
push eax
mov byte [esp + 0x80], 0xd
call sub.MFC42.DLL_CString::CString_3
mov dword [esi], 0x100473ac
jmp 0x1002979d
xor esi, esi
mov eax, dword [ebx + 0x60]
push esi
push edi
push edi
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c], 0xa
call sub.MFC42.DLL_CString::CString
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 5
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x20]
pop ebp
cmp eax, edi
mov byte [esp + 0x78], 3
pop ebx
je 0x1002980a
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
mov edx, ecx
test edx, edx
jne 0x1002980a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, esi
call fcn.100298a0
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x1002982f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x10029826
cmp al, 0xff
je 0x10029826
dec al
mov byte [ecx], al
jmp 0x1002982f
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov esi, dword [esp + 0x84]
mov dword [esp + 0x30], edi
cmp esi, edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x74], 0xffffffff
je 0x1002987e
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
mov eax, edx
test eax, eax
jne 0x1002987e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
mov edx, ecx
test edx, edx
jne 0x1002987e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0xc