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

Disassembly:
push 0xffffffffffffffff
push 0x4f7ca2
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.004d2010
lea edx, [esp + 7]
xor ebp, ebp
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], ebp
call fcn.004d2210
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x2c]
push eax
mov dword [esp + 0x58], 1
call fcn.004d0e20
test al, al
je 0x4d15b4
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x30]
call fcn.004dd290
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
mov dword [esp + 0x5c], eax
je 0x4d153a
push ebx
mov ebx, dword [esp + 0x78]
push esi
push edi
mov dl, byte [eax + 0xc]
lea esi, [eax + 0xc]
push ebp
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], 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 + 0x34]
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 + 0x1c]
mov byte [esp + 0x64], 2
mov al, byte [edx + 0x1c]
lea esi, [edx + 0x1c]
mov byte [esp + 0x1c], 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 + 0x18]
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_]
mov esi, 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__]
lea eax, [esp + 0x28]
push str.vname
push eax
mov byte [esp + 0x68], 3
call esi
add esp, 8
test al, al
je 0x4d130c
mov edx, dword [esp + 0x1c]
cmp edx, ebp
jne 0x4d12ef
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 0x4d14b7
lea ecx, [esp + 0x28]
push 0x52f554
push ecx
call esi
add esp, 8
test al, al
je 0x4d134a
mov edx, dword [esp + 0x1c]
cmp edx, ebp
jne 0x4d132d
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 0x4d14b7
lea edx, [esp + 0x28]
push str.wname
push edx
call esi
add esp, 8
test al, al
je 0x4d1388
mov edx, dword [esp + 0x1c]
cmp edx, ebp
jne 0x4d136b
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 + 0x78]
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 0x4d14b7
lea eax, [esp + 0x28]
push 0x52f560
push eax
call esi
add esp, 8
test al, al
je 0x4d13f1
mov esi, dword [esp + 0x1c]
cmp esi, ebp
jne 0x4d13a9
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 0x4d14b5
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_]
jmp 0x4d14b5
lea eax, [esp + 0x28]
push 0x52f578
push eax
call esi
add esp, 8
test al, al
je 0x4d1459
mov esi, dword [esp + 0x1c]
cmp esi, ebp
jne 0x4d1412
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 + 0x80]
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 0x4d14b5
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 + 0x80]
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_]
jmp 0x4d14b5
lea eax, [esp + 0x28]
push str.adlink
push eax
call esi
add esp, 8
test al, al
je 0x4d14b7
mov esi, dword [esp + 0x1c]
cmp esi, ebp
jne 0x4d147a
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]
not ecx
dec ecx
mov ebp, ecx
mov ecx, ebx
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 0x4d14b5
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
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 [ebx + 4]
mov dword [ebx + 8], ebp
add eax, ebp
mov byte [eax], 0
xor ebp, ebp
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x4d14dc
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d14d3
cmp al, 0xff
je 0x4d14d3
dec al
mov byte [ecx], al
jmp 0x4d14dc
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], ebp
cmp eax, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov byte [esp + 0x60], 1
je 0x4d1512
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d1509
cmp al, 0xff
je 0x4d1509
dec al
mov byte [ecx], al
jmp 0x4d1512
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x68]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
call fcn.004d2ef0
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jne 0x4d1267
pop edi
pop esi
pop ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 5
call fcn.004d23f0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.004d2620
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.004d27a0
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.004d20c0
mov al, 1
pop ebp
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret 0x1c
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 7
call fcn.004d23f0
lea ecx, [esp + 0x3c]
call fcn.004d2290
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push edx
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x5c], 6
call fcn.004d27a0
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.004d20c0
mov ecx, dword [esp + 0x4c]
xor al, al
pop ebp
mov dword fs:[0], ecx
add esp, 0x54
ret 0x1c