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

Disassembly:
push 0xffffffffffffffff
push 0x571642
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.0053bee0
lea edx, [esp + 7]
xor ebp, ebp
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], ebp
call fcn.0053c0e0
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x2c]
push eax
mov dword [esp + 0x58], 1
call fcn.00539be0
test al, al
je 0x53a3f4
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x30]
call fcn.00549630
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
mov dword [esp + 0x5c], eax
je 0x53a37a
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 0x53a14c
mov edx, dword [esp + 0x1c]
cmp edx, ebp
jne 0x53a12f
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 0x53a2f7
lea ecx, [esp + 0x28]
push 0x5bef14
push ecx
call esi
add esp, 8
test al, al
je 0x53a18a
mov edx, dword [esp + 0x1c]
cmp edx, ebp
jne 0x53a16d
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 0x53a2f7
lea edx, [esp + 0x28]
push str.wname
push edx
call esi
add esp, 8
test al, al
je 0x53a1c8
mov edx, dword [esp + 0x1c]
cmp edx, ebp
jne 0x53a1ab
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 0x53a2f7
lea eax, [esp + 0x28]
push 0x5bef18
push eax
call esi
add esp, 8
test al, al
je 0x53a231
mov esi, dword [esp + 0x1c]
cmp esi, ebp
jne 0x53a1e9
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 0x53a2f5
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 0x53a2f5
lea eax, [esp + 0x28]
push 0x5bef28
push eax
call esi
add esp, 8
test al, al
je 0x53a299
mov esi, dword [esp + 0x1c]
cmp esi, ebp
jne 0x53a252
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 0x53a2f5
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 0x53a2f5
lea eax, [esp + 0x28]
push str.adlink
push eax
call esi
add esp, 8
test al, al
je 0x53a2f7
mov esi, dword [esp + 0x1c]
cmp esi, ebp
jne 0x53a2ba
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 0x53a2f5
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 0x53a31c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x53a313
cmp al, 0xff
je 0x53a313
dec al
mov byte [ecx], al
jmp 0x53a31c
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 0x53a352
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x53a349
cmp al, 0xff
je 0x53a349
dec al
mov byte [ecx], al
jmp 0x53a352
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.0053cd10
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jne 0x53a0a7
pop edi
pop esi
pop ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 5
call fcn.0053c260
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.0053c490
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.00414100
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.0053bf90
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.0053c260
lea ecx, [esp + 0x3c]
call fcn.0053c100
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.00414100
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.0053bf90
mov ecx, dword [esp + 0x4c]
xor al, al
pop ebp
mov dword fs:[0], ecx
add esp, 0x54
ret 0x1c