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

Disassembly:
push 0xffffffffffffffff
push 0x588842
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.0054ea40
lea edx, [esp + 7]
xor ebp, ebp
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], ebp
call fcn.0054ec40
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x2c]
push eax
mov dword [esp + 0x58], 1
call fcn.0054c510
test al, al
je 0x54cd24
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x30]
call fcn.0055ea70
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
mov dword [esp + 0x5c], eax
je 0x54ccaa
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 0x54ca7c
mov edx, dword [esp + 0x1c]
cmp edx, ebp
jne 0x54ca5f
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 0x54cc27
lea ecx, [esp + 0x28]
push 0x5d962c
push ecx
call esi
add esp, 8
test al, al
je 0x54caba
mov edx, dword [esp + 0x1c]
cmp edx, ebp
jne 0x54ca9d
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 0x54cc27
lea edx, [esp + 0x28]
push str.wname
push edx
call esi
add esp, 8
test al, al
je 0x54caf8
mov edx, dword [esp + 0x1c]
cmp edx, ebp
jne 0x54cadb
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 0x54cc27
lea eax, [esp + 0x28]
push 0x5d9630
push eax
call esi
add esp, 8
test al, al
je 0x54cb61
mov esi, dword [esp + 0x1c]
cmp esi, ebp
jne 0x54cb19
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 0x54cc25
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 0x54cc25
lea eax, [esp + 0x28]
push 0x5d9640
push eax
call esi
add esp, 8
test al, al
je 0x54cbc9
mov esi, dword [esp + 0x1c]
cmp esi, ebp
jne 0x54cb82
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 0x54cc25
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 0x54cc25
lea eax, [esp + 0x28]
push str.adlink
push eax
call esi
add esp, 8
test al, al
je 0x54cc27
mov esi, dword [esp + 0x1c]
cmp esi, ebp
jne 0x54cbea
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 0x54cc25
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 0x54cc4c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x54cc43
cmp al, 0xff
je 0x54cc43
dec al
mov byte [ecx], al
jmp 0x54cc4c
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 0x54cc82
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x54cc79
cmp al, 0xff
je 0x54cc79
dec al
mov byte [ecx], al
jmp 0x54cc82
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.0054f870
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jne 0x54c9d7
pop edi
pop esi
pop ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 5
call fcn.0054edc0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.0054eff0
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.00414600
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.0054eaf0
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.0054edc0
lea ecx, [esp + 0x3c]
call fcn.0054ec60
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.00414600
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.0054eaf0
mov ecx, dword [esp + 0x4c]
xor al, al
pop ebp
mov dword fs:[0], ecx
add esp, 0x54
ret 0x1c