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

Disassembly:
push 0xffffffffffffffff
push 0x4fc0f2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
lea eax, [esp + 1]
push ebp
lea ecx, [esp + 6]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.004d57d0
lea edx, [esp + 7]
xor ebp, ebp
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], ebp
call fcn.004d59d0
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x2c]
push eax
mov dword [esp + 0x58], 1
call fcn.004d4790
test al, al
je 0x4d4e51
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x30]
call fcn.004d59f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
mov dword [esp + 0x5c], eax
je 0x4d4dd7
push ebx
mov ebx, dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
push esi
push edi
mov dl, byte [eax + 0xc]
lea esi, [eax + 0xc]
push ebp
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], 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 eax, 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 [eax]
push ecx
push ebp
push esi
lea ecx, [esp + 0x24]
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 edx, dword [esp + 0x68]
push ebp
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 2
mov al, byte [edx + 0x1c]
lea esi, [edx + 0x1c]
mov byte [esp + 0x2c], 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 ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
push edx
push ebp
push esi
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_]
lea eax, [esp + 0x18]
push str.vname
push eax
mov byte [esp + 0x68], 3
call ebx
add esp, 8
test al, al
je 0x4d4c78
mov edx, dword [esp + 0x2c]
cmp edx, ebp
jne 0x4d4c5b
mov edx, 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 edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x70]
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_char_const___unsigned_int_]
jmp 0x4d4d74
lea ecx, [esp + 0x18]
push 0x535a1c
push ecx
call ebx
add esp, 8
test al, al
je 0x4d4cb6
mov edx, dword [esp + 0x2c]
cmp edx, ebp
jne 0x4d4c99
mov edx, 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 edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x74]
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_char_const___unsigned_int_]
jmp 0x4d4d74
lea edx, [esp + 0x18]
push str.wname
push edx
call ebx
add esp, 8
test al, al
je 0x4d4d12
mov esi, dword [esp + 0x2c]
cmp esi, ebp
jne 0x4d4cd7
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]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x78]
not ecx
dec ecx
mov ebp, ecx
mov ecx, edi
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 0x4d4d72
mov edi, dword [edi + 4]
mov ecx, ebp
mov eax, ecx
push ebp
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 + 0x78]
jmp 0x4d4d6c
lea ecx, [esp + 0x18]
push 0x535a28
push ecx
call ebx
add esp, 8
test al, al
je 0x4d4d74
mov esi, dword [esp + 0x2c]
cmp esi, ebp
jne 0x4d4d33
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]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x7c]
not ecx
dec ecx
mov ebp, ecx
mov ecx, edi
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 0x4d4d72
mov edi, dword [edi + 4]
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]
mov ecx, dword [esp + 0x7c]
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_]
xor ebp, ebp
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 2
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 [esp + 0x1c]
mov byte [esp + 0x60], 1
cmp eax, ebp
je 0x4d4daf
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d4da6
cmp al, 0xff
je 0x4d4da6
dec al
mov byte [ecx], al
jmp 0x4d4daf
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x68]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
call fcn.004d6400
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jne 0x4d4bd9
pop edi
pop esi
pop ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 5
call fcn.004d5ae0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.004d5b80
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push edx
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x5c], 4
call fcn.00424110
mov ecx, dword [esp + 0x40]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x54], 0xffffffff
call fcn.004d5880
mov al, 1
pop ebp
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret 0x14
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 7
call fcn.004d5ae0
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push edx
push eax
lea ecx, [esp + 0x44]
call fcn.004d5b80
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x5c], 6
call fcn.00424110
mov eax, dword [esp + 0x40]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x54], 0xffffffff
call fcn.004d5880
mov ecx, dword [esp + 0x4c]
xor al, al
pop ebp
mov dword fs:[0], ecx
add esp, 0x54
ret 0x14