Function at 0x406010
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x40decc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov al, byte [esp + 3]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push 0
lea ecx, [esp + 0x40]
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_]
push 7
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0
call fcn.0040a260
push eax
mov ecx, ebp
mov byte [esp + 0x78], 1
call fcn.00407b50
mov ecx, eax
call fcn.0040a900
lea ecx, [esp + 0x5c]
mov byte [esp + 0x74], 0
call fcn.0040a780
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.00405980
test al, al
je 0x40637f
mov ecx, dword [esp + 0x18]
mov al, 1
cmp ecx, 0xc
jne 0x4060bb
test al, al
je 0x40637f
lea edx, [esp + 0x18]
mov ecx, ebp
push edx
call fcn.00405980
mov ecx, dword [esp + 0x18]
cmp ecx, 0xc
je 0x406096
test al, al
je 0x40637f
cmp ecx, 2
je 0x4061ef
cmp ecx, 5
jne 0x40637f
mov edi, 0x413a44
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x40]
push ebx
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 0x406113
mov edi, dword [esp + 0x40]
mov ecx, ebx
mov eax, ecx
mov esi, 0x413a44
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x40]
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 ecx, [esp + 0x3c]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.00406d90
test al, al
je 0x406216
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
call fcn.00405980
test al, al
je 0x4062f2
cmp dword [esp + 0x30], 0xb
jne 0x4062f2
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebp
call fcn.00407b50
mov ecx, eax
call fcn.0040aff0
lea edx, [esp + 0x14]
mov ecx, ebp
push edx
mov dword [esp + 0x18], eax
call fcn.00408520
mov ecx, ebp
call fcn.00405690
mov ecx, ebp
mov bl, al
call fcn.00408820
test bl, bl
je 0x406216
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
call fcn.00405980
test al, al
je 0x40626a
mov ecx, dword [esp + 0x24]
cmp ecx, 2
je 0x4061b1
cmp ecx, 0xa
je 0x4061b1
cmp ecx, 0xc
jne 0x40626a
cmp ecx, 0xc
mov al, 1
jne 0x4061d1
test al, al
je 0x4061d1
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call fcn.00405980
mov ecx, dword [esp + 0x24]
cmp ecx, 0xc
je 0x4061b8
cmp ecx, 2
je 0x40623a
lea edx, [esp + 0x18]
mov ecx, ebp
push edx
call fcn.00405980
test al, al
je 0x40637f
jmp 0x40608b
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x40637f
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], 0xffffffff
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, 1
jmp 0x40642e
push 2
mov ecx, ebp
call fcn.00407aa0
mov bl, al
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], 0xffffffff
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x40642c
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x406263
mov al, byte [ecx - 1]
test al, al
je 0x406259
cmp al, 0xff
je 0x406259
dec al
mov byte [ecx - 1], al
mov al, 1
jmp 0x40642e
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov al, 1
jmp 0x40642e
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x50]
mov byte [esp + 0x50], 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, str.Missing___or__in_object_declaration
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x50]
push ebx
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 0x4062c5
mov edi, dword [esp + 0x50]
mov ecx, ebx
mov edx, ecx
mov esi, str.Missing___or__in_object_declaration
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x54], ebx
mov byte [eax + ebx], 0
lea ecx, [esp + 0x24]
push 2
lea edx, [esp + 0x50]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x80], 3
call fcn.00407b20
mov bl, al
mov byte [esp + 0x74], 0
push 1
lea ecx, [esp + 0x50]
jmp 0x406402
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x60]
mov byte [esp + 0x60], 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, str.Missing_:_after_object_member_name
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x60]
push ebx
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 0x40634c
mov edi, dword [esp + 0x60]
mov ecx, ebx
mov edx, ecx
mov esi, str.Missing_:_after_object_member_name
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x60]
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 + 0x30]
push 2
lea ecx, [esp + 0x60]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x80], 2
call fcn.00407b20
push 1
lea ecx, [esp + 0x60]
mov bl, al
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_]
jmp 0x406221
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x50]
mov byte [esp + 0x50], dl
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, str.Missing__or_object_member_name
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x50]
push ebx
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 0x4063da
mov edi, dword [esp + 0x50]
mov ecx, ebx
mov eax, ecx
mov esi, str.Missing__or_object_member_name
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x54], ebx
mov byte [ecx + ebx], 0
lea edx, [esp + 0x18]
push 2
lea eax, [esp + 0x50]
push edx
push eax
mov ecx, ebp
mov byte [esp + 0x80], 4
call fcn.00407b20
mov bl, al
mov byte [esp + 0x74], 0
push 1
lea ecx, [esp + 0x50]
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 ecx, dword [esp + 0x40]
test ecx, ecx
je 0x40642c
mov al, byte [ecx - 1]
test al, al
je 0x406422
cmp al, 0xff
je 0x406422
dec al
mov byte [ecx - 1], al
jmp 0x40642c
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 4