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

Disassembly:
push 0xffffffffffffffff
push 0x42fac6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0xa0]
mov eax, dword [esi + 0x24]
xor ebx, ebx
cmp edi, eax
mov dword [esp + 0x14], ebx
jne 0x4247f3
mov eax, dword [esi + 0x3c]
cmp eax, ebx
je 0x4247f3
mov ecx, dword [esi + 0x34]
cmp ecx, 0x20
jne 0x42473b
mov edi, dword [esp + 0x9c]
add eax, 0xfffffff9
push eax
mov eax, dword [esi + 0x38]
add eax, 4
mov ecx, esi
push eax
push edi
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, edi
jmp 0x424e53
cmp ecx, 0x10
jne 0x424762
mov ecx, dword [esi + 0x38]
mov edi, dword [esp + 0x9c]
add eax, 0xfffffffc
add ecx, 2
push eax
push ecx
push edi
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 eax, edi
jmp 0x424e53
cmp ecx, 8
jne 0x424773
mov edx, dword [esi + 0x38]
add eax, 0xfffffff4
push eax
add edx, 9
jmp 0x4247db
cmp ecx, 2
jne 0x4247ad
mov ecx, dword [esi + 0x40]
push ecx
push eax
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
mov edx, dword [esi + 0x38]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
lea eax, [eax + edx*2]
push eax
call fcn.004263c0
mov esi, dword [esp + 0xa8]
push esi
call fcn.00421da0
add esp, 0x10
jmp 0x424e51
cmp ecx, 0x80
jne 0x4247d7
mov ecx, dword [esi + 0x38]
mov edi, dword [esp + 0x9c]
add eax, 0xfffffffd
add ecx, 2
push eax
push ecx
push edi
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 eax, edi
jmp 0x424e53
mov edx, dword [esi + 0x38]
push eax
mov edi, dword [esp + 0xa0]
push edx
push edi
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 eax, edi
jmp 0x424e53
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], 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_]
cmp edi, ebx
mov dword [esp + 0x94], ebx
je 0x424dfc
mov ecx, dword [esi + 0x4c]
mov edx, edi
sar edx, 0x10
mov eax, dword [ecx]
and edi, 0xffff
shl edi, 5
mov ecx, dword [eax + edx*4]
mov edx, dword [edi + ecx + 8]
mov eax, dword [edi + ecx + 4]
add edi, ecx
and edx, 0x3fffff
cmp edx, eax
je 0x424dfc
mov eax, dword [edi + 8]
mov edx, dword [edi]
mov ecx, eax
and ecx, 0x3fffff
mov ebp, ecx
add ebp, edx
mov edx, eax
and edx, 0xffc00000
cmp edx, 0x400000
jne 0x424b2d
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x40]
push eax
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push esi
call fcn.004263d0
lea ecx, [esp + 0x78]
call fcn.00422bf0
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], ebp
mov byte [esp + 0x60], dl
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 + 0x44]
mov ecx, dword [edi]
mov byte [esp + 0x94], 1
mov bl, 3
mov dword [eax + 0xb8], ecx
xor ebp, ebp
mov edx, dword [esi + 0x44]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x70]
mov dword [edx + 0xbc], ebp
call fcn.00420c60
mov ecx, dword [esi + 0x44]
cmp dword [ecx + 0xbc], ebp
je 0x4248d9
mov dword [edi], ebp
mov eax, dword [esp + 0x4c]
cmp eax, 2
jne 0x424946
mov edx, dword [esi + 0x40]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x54]
push eax
push ecx
lea eax, [ecx + edx*2]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004263c0
lea ecx, [esp + 0x48]
push ecx
call fcn.00421da0
add esp, 0x10
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 + 0x94], 2
mov ecx, dword [edx]
push ecx
push ebp
push eax
lea ecx, [esp + 0x28]
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 + 0x40]
mov byte [esp + 0x98], 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 0x4248b5
cmp eax, 8
jne 0x42499d
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
add edx, 0xfffffff4
add eax, 9
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
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 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 + 0x94], bl
mov ecx, dword [edx]
push ecx
push ebp
push eax
lea ecx, [esp + 0x28]
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 + 0x30]
mov byte [esp + 0x98], 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 0x4248b5
cmp eax, 1
je 0x4249ab
cmp eax, ebp
je 0x424a0e
jmp 0x4248b5
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, [esp + 0x1c]
mov edi, dword [edx]
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__::_Split_void_]
mov eax, dword [esp + 0x24]
cmp eax, edi
jae 0x4249c7
mov edi, eax
cmp edi, ebp
jbe 0x424b14
mov ecx, dword [esp + 0x20]
sub eax, edi
push eax
lea edx, [ecx + edi*2]
push edx
push ecx
call fcn.0041d940
mov esi, dword [esp + 0x30]
add esp, 0xc
sub esi, edi
lea ecx, [esp + 0x1c]
push ebp
push esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x424b14
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], esi
mov word [eax + esi*2], bp
jmp 0x424b14
mov ecx, dword [esi + 0x44]
add ecx, 0x44
call fcn.0041f390
mov eax, dword [eax + 4]
push ecx
cmp eax, ebp
mov dword [esp + 0x18], esp
mov ecx, esp
jne 0x424a2c
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]
mov dword [ecx], eax
lea ecx, [esp + 0x70]
call fcn.0041ef60
test al, al
je 0x424a93
mov eax, dword [esp + 0x54]
mov ecx, dword [edi + 8]
mov ebx, dword [edi]
mov edx, eax
and ecx, 0x3fffff
shl edx, 0x16
or ecx, edx
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x50]
sub ecx, ebx
add ecx, eax
mov dword [edi + 4], ecx
mov esi, dword [esi + 0x44]
add esi, 0x44
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp edx, eax
je 0x424a75
mov ecx, esi
call fcn.00424e70
mov eax, dword [esi]
mov ecx, dword [esi + 0xc]
lea eax, [eax + eax*2]
shl eax, 4
mov edx, dword [eax + ecx + 0x18]
mov eax, dword [esi + 4]
dec eax
mov dword [esi + 8], edx
mov dword [esi + 4], eax
jmp 0x424b14
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]
mov ecx, dword [esp + 0x20]
cmp ecx, ebp
mov edi, dword [eax]
je 0x424ad5
mov al, byte [ecx - 1]
test al, al
je 0x424ad5
cmp al, 0xff
je 0x424ad5
mov esi, ecx
push 1
lea ecx, [esp + 0x20]
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 esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [esp + 0x1c]
push eax
push 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_unsigned_short_int_const___unsigned_int_]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp eax, edi
jae 0x424adf
mov edi, eax
cmp edi, ebp
jbe 0x424b14
sub eax, edi
lea edx, [ecx + edi*2]
push eax
push edx
push ecx
call fcn.0041d940
mov esi, dword [esp + 0x30]
add esp, 0xc
sub esi, edi
lea ecx, [esp + 0x1c]
push ebp
push esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x424b14
push esi
lea ecx, [esp + 0x20]
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__::_Eos_unsigned_int_]
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0x98], 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 0x424dfc
mov edx, dword [edi + 0x14]
test edx, edx
jne 0x424dfc
mov edi, dword [edi + 4]
shr eax, 0x16
sub edi, eax
mov eax, dword [esi + 4]
sub edi, ecx
test eax, eax
jne 0x424b4e
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 ebx, [ebp + ebp]
push 0x3c
add eax, ebx
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.MSVCRT.dll_wcschr]
add esp, 8
test eax, eax
je 0x424d87
sub eax, dword [esp + 0x14]
sar eax, 1
cmp eax, edi
jge 0x424d87
mov ecx, dword [esi + 0x40]
push 0
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push esi
call fcn.004263d0
lea ecx, [esp + 0x78]
call fcn.00422bf0
mov dl, byte [esp + 0x13]
xor ebx, ebx
push ebx
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], ebp
mov byte [esp + 0x60], dl
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 + 0x74]
add edi, ebp
cmp eax, edi
mov byte [esp + 0x94], 4
mov dword [esp + 0x14], edi
jge 0x424d61
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x6c]
push eax
call fcn.00420c60
mov eax, dword [esp + 0x4c]
cmp eax, 2
jne 0x424c7d
mov ecx, dword [esi + 0x40]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x54]
push edx
push ecx
lea edx, [eax + ecx*2]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.004263c0
lea eax, [esp + 0x38]
push eax
call fcn.00421da0
add esp, 0x10
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 + 0x94], 5
mov edx, dword [ecx]
lea ecx, [esp + 0x1c]
push edx
push ebx
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_]
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x94], 4
cmp ecx, ebx
je 0x424c6c
mov al, byte [ecx - 1]
test al, al
je 0x424c60
cmp al, 0xff
je 0x424c60
dec al
mov byte [ecx - 1], al
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
jmp 0x424d57
add ecx, 0xfffffffe
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
jmp 0x424d57
cmp eax, 8
jne 0x424d57
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
add eax, 0xfffffff4
add ecx, 9
push eax
lea edx, [esp + 0x40]
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 ebp, eax
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]
mov ecx, dword [ebp + 8]
mov byte [esp + 0x94], 6
mov eax, dword [eax]
mov edi, eax
cmp ecx, edi
jae 0x424cbf
mov edi, ecx
sub eax, dword [esp + 0x24]
cmp eax, edi
ja 0x424ccd
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
cmp edi, ebx
jbe 0x424d19
mov ecx, dword [esp + 0x24]
push 0
lea ebx, [ecx + edi]
lea ecx, [esp + 0x20]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x424d17
mov ecx, dword [ebp + 4]
test ecx, ecx
jne 0x424cf6
mov ecx, 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]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push edi
push ecx
lea eax, [edx + eax*2]
push eax
call fcn.0041d990
add esp, 0xc
lea ecx, [esp + 0x1c]
push ebx
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__::_Eos_unsigned_int_]
xor ebx, ebx
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x94], 4
cmp ecx, ebx
je 0x424d47
mov al, byte [ecx - 1]
test al, al
je 0x424d3b
cmp al, 0xff
je 0x424d3b
dec al
mov byte [ecx - 1], al
jmp 0x424d47
add ecx, 0xfffffffe
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
cmp dword [esp + 0x74], edi
jl 0x424bc9
mov ecx, dword [esp + 0x60]
mov byte [esp + 0x94], 0
cmp ecx, ebx
je 0x424dfc
mov al, byte [ecx - 1]
test al, al
je 0x424df0
cmp al, 0xff
je 0x424df0
dec al
mov byte [ecx - 1], al
jmp 0x424dfc
mov ecx, dword [esi + 0x40]
push ecx
push edi
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push ecx
add eax, ebx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.004263c0
lea edx, [esp + 0x48]
push edx
call fcn.00421da0
add esp, 0x10
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 + 0x94], 7
mov edx, dword [ecx]
lea ecx, [esp + 0x1c]
push edx
push 0
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__::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 ecx, dword [esp + 0x40]
mov byte [esp + 0x94], 0
test ecx, ecx
je 0x424dfc
mov al, byte [ecx - 1]
test al, al
je 0x424df0
cmp al, 0xff
je 0x424df0
dec al
mov byte [ecx - 1], al
jmp 0x424dfc
add ecx, 0xfffffffe
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov esi, dword [esp + 0x9c]
mov al, byte [esp + 0x1c]
xor edi, edi
mov byte [esi], al
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
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]
lea eax, [esp + 0x1c]
mov edx, dword [ecx]
mov ecx, esi
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__::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 ecx, dword [esp + 0x20]
cmp ecx, edi
je 0x424e51
mov al, byte [ecx - 1]
test al, al
je 0x424e45
cmp al, 0xff
je 0x424e45
dec al
mov byte [ecx - 1], al
jmp 0x424e51
add ecx, 0xfffffffe
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x88
ret 8