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

Disassembly:
push 0xffffffffffffffff
push 0x570805
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
mov al, byte [esp + 3]
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
or ebp, 0xffffffff
push edi
lea ecx, [esp + 0x10c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x90], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0xac], ebp
mov byte [esp + 0x10c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [esi + 8]
mov dword [esp + 0x170], edi
cmp eax, edi
jne 0x52f931
mov dword [esp + 0x30], edi
jmp 0x52f93d
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 3
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x180]
mov dword [esp + 0x44], edi
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
cmp ebx, eax
mov dword [esp + 0x2c], ebx
je 0x530436
jmp 0x52f960
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x17c]
mov eax, dword [ebx + 8]
mov edx, dword [ecx + 8]
mov ecx, ebx
sub eax, edx
lea edx, [esp + 0x48]
push eax
push edi
push edx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
lea eax, [esp + 0x48]
mov ecx, esi
push eax
mov byte [esp + 0x174], 1
call fcn.0052ef10
cmp ebp, edi
jl 0x52fce7
mov cl, byte [esp + 0x13]
push edi
mov byte [esp + 0x94], cl
lea ecx, [esp + 0x94]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov esi, dword [esp + 0x178]
push ebp
push edi
push esi
lea ecx, [esp + 0x9c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov ecx, dword [esp + 0x64]
add ecx, ebp
mov byte [esp + 0x170], 2
mov eax, dword [edx]
lea edx, [esp + 0x140]
push eax
push ecx
push edx
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov byte [esp + 0x170], 3
mov edx, dword [ecx]
lea ecx, [esp + 0x90]
push edx
push edi
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x144]
mov byte [esp + 0x174], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x98]
sub esi, ecx
cmp esi, edi
jle 0x52fbdb
mov al, byte [esp + 0x13]
push edi
lea ecx, [esp + 0xb4]
mov byte [esp + 0xb4], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push ebp
lea ecx, [esp + 0x4c]
push edi
push ecx
lea ecx, [esp + 0xbc]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov edx, dword [esp + 0x98]
lea eax, [esi + ebp]
sub edx, ebp
lea ecx, [esp + 0x158]
push edx
push eax
push ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0x17c], 4
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov byte [esp + 0x170], 5
mov ecx, dword [edx]
push ecx
push edi
push eax
lea ecx, [esp + 0xbc]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x15c]
mov byte [esp + 0x174], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea edx, [esp + 0xb0]
lea eax, [esp + 0x90]
push edx
push eax
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
add esp, 8
test al, al
jne 0x52fbc4
push esi
lea ecx, [esp + 0xfc]
push ebp
push ecx
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
mov eax, dword [esp + 0xfc]
mov byte [esp + 0x170], 6
cmp eax, edi
mov dword [esp + 0xac], edi
mov dword [esp + 0x58], edi
jne 0x52fb22
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x58]
push edx
lea edx, [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push esi
push eax
call fcn.0052f560
mov ecx, dword [esp + 0xac]
cmp ecx, edi
je 0x52fc9d
mov eax, dword [esp + 0x8c]
mov edx, ecx
xor edx, eax
test dl, dl
jne 0x52fc9d
and eax, 0xff00
and ecx, 0xff00
cmp eax, edi
je 0x52fb7f
cmp ecx, edi
je 0x52fb7f
cmp eax, ecx
jne 0x52fc9d
cmp ebp, edi
jne 0x52fc0b
cmp dword [esp + 0x98], edi
jne 0x52fc0b
lea eax, [esp + 0xf8]
lea ecx, [esp + 0x108]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00530490
test al, al
je 0x52fc0b
push 1
lea ecx, [esp + 0xfc]
mov byte [esp + 0x174], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0x174], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0x174], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x174], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
jmp 0x53041f
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x78]
cmp eax, ecx
jg 0x52fc2f
jne 0x52fc9d
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa0]
cmp eax, edx
jle 0x52fc9d
mov ecx, dword [esp + 0x184]
push ebx
mov eax, dword [ecx + 8]
push eax
call fcn.00530a60
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x64]
sub eax, ecx
xor ecx, ecx
cmp esi, edx
setne cl
mov edx, dword [esp + 0xa0]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xe0], ecx
inc ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0x44], ecx
lea eax, [esp + 0xe0]
lea ecx, [esp + 0x138]
push eax
push ecx
mov ecx, dword [esp + 0x190]
mov dword [esp + 0xf0], edx
call fcn.00530c20
push 1
lea ecx, [esp + 0xfc]
mov byte [esp + 0x174], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0x174], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0x174], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
jmp 0x5303e5
mov dl, byte [esp + 0x13]
mov dword [esp + 0x1c], edi
mov byte [esp + 0x18], dl
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
lea eax, [esp + 0x18]
lea ecx, [esp + 0x48]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x178], 7
call fcn.00530580
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
cmp edx, edi
jne 0x52fd26
xor eax, eax
jmp 0x52fd2d
mov eax, ebx
sub eax, edx
sar eax, 3
mov esi, dword [esp + 0x30]
cmp esi, eax
je 0x52fd52
push ebx
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x178], 1
call fcn.004cd100
mov edx, dword [esp + 0x1c]
push edx
jmp 0x52fe36
xor eax, eax
cmp esi, edi
jle 0x52fd82
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 8]
lea ecx, [edx + 4]
mov ebp, dword [ecx]
cmp ebp, dword [esi + eax*8 + 4]
jne 0x52fe67
mov ebp, dword [esp + 0x30]
inc eax
add ecx, 8
cmp eax, ebp
jl 0x52fd62
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov ebx, dword [edx]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
cmp ecx, ebx
jne 0x52fed5
cmp ecx, edi
jne 0x52fed5
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x178]
push edx
lea eax, [esp + 0x12c]
push edi
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x118]
mov byte [esp + 0x170], 8
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x48]
push edx
push edi
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
lea ecx, [esp + 0x118]
lea edx, [esp + 0x128]
push ecx
push edx
mov byte [esp + 0x178], 9
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
add esp, 8
mov byte [esp + 0x170], 8
test al, al
push 1
lea ecx, [esp + 0x11c]
je 0x52feb4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x12c]
mov byte [esp + 0x174], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [esp + 0x1c]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
push 1
mov dword [esp + 0x28], edi
mov byte [esp + 0x174], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ebx, dword [esp + 0x2c]
jmp 0x53041f
push ebx
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x178], 1
call fcn.004cd100
mov edx, dword [esp + 0x1c]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
push 1
mov dword [esp + 0x28], edi
mov byte [esp + 0x174], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
jmp 0x53041f
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x12c]
mov byte [esp + 0x174], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov edx, dword [esp + 0x1c]
cmp esi, edi
mov dword [esp + 0x40], edi
jle 0x5303cc
mov eax, dword [esp + 0x40]
test eax, eax
jle 0x52fefc
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 8]
mov ebp, dword [ecx + eax*8 - 4]
mov esi, dword [ecx + eax*8 - 8]
add ebp, esi
jmp 0x52fefe
xor ebp, ebp
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 8]
mov esi, dword [ecx + eax*8]
sub esi, ebp
test eax, eax
jle 0x52ff1a
mov ebx, dword [edx + eax*8 - 8]
mov ecx, dword [edx + eax*8 - 4]
add ebx, ecx
jmp 0x52ff1c
xor ebx, ebx
mov eax, dword [esp + 0x40]
mov edi, dword [edx + eax*8]
sub edi, ebx
test esi, esi
jle 0x5300fa
test edi, edi
jle 0x5300fa
push esi
lea ecx, [esp + 0x6c]
push ebp
push ecx
mov ecx, dword [esp + 0x184]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
push edi
lea edx, [esp + 0x80]
push ebx
push edx
lea ecx, [esp + 0x54]
mov byte [esp + 0x17c], 0xa
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x68]
push eax
push ecx
mov byte [esp + 0x178], 0xb
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
add esp, 8
test al, al
jne 0x53004b
mov eax, dword [esp + 0x6c]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x5c], ecx
jne 0x52ffb2
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
lea edx, [esp + 0x34]
lea ecx, [esp + 0x3c]
push edx
lea edx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push esi
push eax
call fcn.0052f560
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x52ffdc
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x38]
push ecx
lea ecx, [esp + 0xa8]
push edx
push ecx
mov ecx, dword [esp + 0x20]
push edi
push eax
call fcn.0052f560
mov eax, dword [esp + 0x60]
test eax, eax
je 0x530078
mov ecx, dword [esp + 0xa4]
test ecx, ecx
je 0x530078
mov edx, ecx
xor edx, eax
test dl, dl
jne 0x530078
and eax, 0xff00
and ecx, 0xff00
test eax, eax
je 0x53002b
test ecx, ecx
je 0x53002b
cmp eax, ecx
jne 0x530078
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jne 0x530114
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x5c]
cmp ecx, eax
jne 0x530114
push 1
lea ecx, [esp + 0x80]
mov byte [esp + 0x174], 0xa
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x174], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
jmp 0x5300f6
mov ecx, dword [esp + 0x80]
xor edx, edx
cmp ecx, edx
je 0x5300a5
mov al, byte [ecx - 1]
test al, al
je 0x530097
cmp al, 0xff
je 0x530097
dec al
mov byte [ecx - 1], al
jmp 0x5300a5
lea eax, [ecx - 2]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
xor edx, edx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x80], edx
cmp ecx, edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], edx
mov byte [esp + 0x170], 7
je 0x5300ea
mov al, byte [ecx - 1]
test al, al
je 0x5300dc
cmp al, 0xff
je 0x5300dc
dec al
mov byte [ecx - 1], al
jmp 0x5300ea
lea eax, [ecx - 2]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
xor edx, edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x40], eax
jl 0x52fee1
jmp 0x5303c6
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
lea ecx, [esi + ebp]
mov eax, dword [edx]
lea edx, [esp + 0xc0]
push eax
push ecx
mov ecx, dword [esp + 0x180]
push edx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
lea edx, [edi + ebx]
mov byte [esp + 0x170], 0xc
mov ecx, dword [eax]
lea eax, [esp + 0xd0]
push ecx
push edx
push eax
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
lea ecx, [esp + 0xd0]
lea edx, [esp + 0xc0]
push ecx
push edx
mov byte [esp + 0x178], 0xd
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
add esp, 8
test al, al
je 0x5302d4
xor ebx, ebx
cmp ebp, ebx
jne 0x530209
cmp dword [esp + 0xc8], ebx
jne 0x530209
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x68]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00530490
test al, al
je 0x530209
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0x174], 0xc
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xc4]
mov byte [esp + 0x174], 0xb
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x80]
mov byte [esp + 0x174], 0xa
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x174], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
jmp 0x5303c2
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x8c], edx
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
mov dword [esp + 0x78], eax
mov dword [esp + 0xa8], ecx
lea ecx, [esp + 0x68]
mov eax, dword [edx]
mov dword [esp + 0x28], ebp
push eax
push ebx
push ecx
lea ecx, [esp + 0x114]
mov dword [esp + 0x70], esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jg 0x530265
jne 0x5302d6
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x34]
cmp edx, eax
jle 0x5302d6
mov ecx, dword [esp + 0x184]
mov edx, dword [esp + 0x2c]
push edx
push 1
mov eax, dword [ecx + 8]
push eax
call fcn.0046d3b0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
xor ecx, ecx
cmp edi, esi
mov edx, dword [esp + 0x34]
setne cl
mov dword [esp + 0xf4], edx
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xec], ecx
inc ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0x44], ecx
lea eax, [esp + 0xec]
lea ecx, [esp + 0x150]
push eax
push ecx
mov ecx, dword [esp + 0x190]
call fcn.00530c20
jmp 0x5302d6
xor ebx, ebx
mov ecx, dword [esp + 0xd4]
cmp ecx, ebx
je 0x5302ff
mov al, byte [ecx - 1]
test al, al
je 0x5302f3
cmp al, 0xff
je 0x5302f3
dec al
mov byte [ecx - 1], al
jmp 0x5302ff
lea eax, [ecx - 2]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0xd4], ebx
cmp ecx, ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
je 0x53033d
mov al, byte [ecx - 1]
test al, al
je 0x530331
cmp al, 0xff
je 0x530331
dec al
mov byte [ecx - 1], al
jmp 0x53033d
lea eax, [ecx - 2]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xc4], ebx
cmp ecx, ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
je 0x53037b
mov al, byte [ecx - 1]
test al, al
je 0x53036f
cmp al, 0xff
je 0x53036f
dec al
mov byte [ecx - 1], al
jmp 0x53037b
lea eax, [ecx - 2]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x80], ebx
cmp ecx, ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
je 0x5303b6
mov al, byte [ecx - 1]
test al, al
je 0x5303aa
cmp al, 0xff
je 0x5303aa
dec al
mov byte [ecx - 1], al
jmp 0x5303b6
lea eax, [ecx - 2]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
xor edi, edi
push edx
call sub.MFC42.DLL_operatordelete
mov ebx, dword [esp + 0x30]
add esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x170], 0
cmp ecx, edi
je 0x530413
mov al, byte [ecx - 1]
test al, al
je 0x530407
cmp al, 0xff
je 0x530407
dec al
mov byte [ecx - 1], al
jmp 0x530413
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov edx, dword [esp + 0x180]
add ebx, 0x10
mov dword [esp + 0x2c], ebx
cmp ebx, dword [edx + 8]
jne 0x52f95c
mov ecx, dword [esp + 0x10c]
cmp ecx, edi
pop edi
pop esi
pop ebp
pop ebx
je 0x530478
mov al, byte [ecx - 1]
test al, al
je 0x53046c
cmp al, 0xff
je 0x53046c
dec al
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
add esp, 0x164
ret 0x14
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
add esp, 0x164
ret 0x14