Function at 0x416ae0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x43a846
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
mov eax, dword [esp + 0x100]
push ebx
mov ebx, ecx
mov dword [esp + 0x10], eax
mov ecx, eax
mov dword [esp + 0x28], eax
mov edx, dword [ebx + 0x48]
and eax, 0xffff
sar ecx, 0x10
shl eax, 5
mov ecx, dword [edx + ecx*4]
mov edx, dword [esp + 0x108]
push ebp
xor ebp, ebp
mov eax, dword [ecx + eax + 0xc]
push esi
and eax, 0xffff
mov dword [edx + 8], ebp
mov dword [esp + 0x34], eax
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea esi, [ebx + 0x10]
push edi
mov edi, dword [eax]
mov ecx, esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Split_void_]
mov eax, dword [esi + 8]
cmp eax, edi
jae 0x416b5f
mov edi, eax
cmp edi, ebp
jbe 0x416b96
mov ecx, dword [esi + 4]
sub eax, edi
push eax
lea edx, [ecx + edi]
push edx
push ecx
call dword [sym.imp.MSVCRT.dll_memmove]
mov ebp, dword [esi + 8]
add esp, 0xc
sub ebp, edi
mov ecx, esi
push 0
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 0x416b94
push ebp
mov ecx, esi
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_]
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
push 6
lea ecx, [esp + 0x14]
mov dword [esp + 0x10c], ebp
mov dword [esp + 0x1c], ebp
call fcn.00417710
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
shl eax, 5
add eax, ecx
mov ecx, dword [esp + 0x114]
push eax
push ecx
call fcn.00417d20
add esp, 8
xor ebp, ebp
cmp eax, 1
mov dword [esp + 0x2c], eax
jne 0x416d84
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x2c]
cmp ecx, eax
jne 0x416bfb
push ebp
mov ecx, ebx
call fcn.004165c0
mov esi, dword [ebx + 0x2c]
mov eax, dword [esp + 0x30]
test eax, eax
lea edx, [esi + 1]
mov dword [esp + 0x1c], esi
mov dword [ebx + 0x2c], edx
jne 0x416c14
mov dword [esp + 0x30], esi
mov ecx, dword [ebx + 0x48]
mov ebp, dword [esp + 0x110]
mov eax, esi
mov edx, esi
sar eax, 0x10
and edx, 0xffff
mov eax, dword [ecx + eax*4]
mov ecx, ebp
shl edx, 5
add eax, edx
mov edx, ebp
sar ecx, 0x10
mov dword [eax + 0x10], ebp
mov dword [eax + 0x18], 0
mov edi, dword [ebx + 0x48]
and edx, 0xffff
shl edx, 5
mov ecx, dword [edi + ecx*4]
lea edx, [ecx + edx + 0x14]
mov ecx, dword [edx]
test ecx, ecx
je 0x416cb7
mov edx, ecx
and ecx, 0xffff
sar edx, 0x10
shl edx, 2
shl ecx, 5
mov ebp, dword [edx + edi]
mov dword [esp + 0x24], ecx
mov ecx, dword [ecx + ebp + 0x1c]
mov ebp, ecx
mov dword [esp + 0x2c], ecx
sar ebp, 0x10
and ecx, 0xffff
mov edi, dword [edi + ebp*4]
mov ebp, dword [esp + 0x110]
shl ecx, 5
mov dword [edi + ecx + 0x18], esi
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x48]
mov edx, dword [ecx + edx]
mov ecx, dword [esp + 0x24]
mov dword [edx + ecx + 0x1c], esi
mov dword [eax + 0xc], 0
jmp 0x416cc3
mov dword [edx], esi
mov dword [eax + 0x1c], esi
mov dword [eax + 0xc], 0x80000
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
add ecx, edx
mov edx, dword [eax + 0xc]
and edx, 0xffff0000
mov dword [eax + 0x14], 0
or ecx, edx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
shl ecx, 5
mov ecx, dword [ecx + edx + 4]
mov dword [eax], ecx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
shl edx, 5
mov edi, dword [edx + ecx + 8]
mov edx, dword [eax + 8]
mov ecx, edx
xor ecx, edi
and ecx, 0x3fffff
xor ecx, edx
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
shl edx, 5
test byte [edx + edi + 0xe], 1
je 0x416d4c
and ecx, 0x3fffff
mov esi, ebp
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], esi
shl ecx, 5
mov ecx, dword [ecx + edx + 8]
mov dword [eax + 4], ecx
jmp 0x416bbc
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc ebp
inc ecx
mov dword [esp + 0x110], esi
cmp ecx, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ecx
jne 0x416bbc
lea edx, [eax + eax + 6]
lea ecx, [esp + 0x10]
push edx
call fcn.00417710
jmp 0x416bbc
test eax, eax
jne 0x416f86
mov ebp, dword [esp + 0x20]
mov edi, esi
test ebp, ebp
je 0x416df9
lea eax, [ebp - 1]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x28], eax
call fcn.00417700
add eax, 0x10
push ecx
mov dword [esp + 0x2c], esp
mov ecx, esp
mov eax, dword [eax + 4]
test eax, eax
jne 0x416dbd
mov eax, 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 dword [ecx], eax
mov ecx, dword [esp + 0x118]
call fcn.00416200
test al, al
jne 0x416df1
mov ecx, dword [ebx + 0x48]
mov ebp, dword [esp + 0x24]
mov eax, edi
and edi, 0xffff
sar eax, 0x10
shl edi, 5
mov edx, dword [ecx + eax*4]
test ebp, ebp
mov edi, dword [edx + edi + 0x10]
jne 0x416d96
jmp 0x416df9
test ebp, ebp
jne 0x416f2f
mov eax, dword [esp + 0x34]
mov edx, dword [ebx + 0x48]
mov ecx, eax
and eax, 0xffff
sar ecx, 0x10
shl eax, 5
mov ecx, dword [edx + ecx*4]
mov edx, esi
sar edx, 0x10
lea eax, [ecx + eax + 0xc]
mov ecx, dword [eax]
or ecx, 0x800000
mov dword [eax], ecx
mov eax, dword [ebx + 0x48]
mov ecx, esi
mov edx, dword [eax + edx*4]
and ecx, 0xffff
shl ecx, 5
lea eax, [edx + ecx + 0xc]
mov ecx, dword [edx + ecx + 0xc]
or ecx, 0x200000
mov dword [eax], ecx
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x416bbc
mov edi, str.No_start_tag_for_end_tag_
or ecx, 0xffffffff
xor eax, eax
lea ebp, [ebx + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.No_start_tag_for_end_tag_
mov ecx, ebp
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_]
mov eax, dword [esp + 0x114]
lea ecx, [esp + 0xa0]
push eax
push ecx
call fcn.00417b00
add esp, 8
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x108], 1
mov ecx, dword [edx]
push ecx
push 0
push eax
mov ecx, ebp
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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0x10c], 0
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 edi, 0x449de4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x449de4
mov ecx, ebp
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__::append_char_const___unsigned_int_]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
shl edx, 5
mov ecx, dword [edx + eax + 4]
lea edx, [esp + 0xc0]
push ecx
push edx
call fcn.00417910
add esp, 8
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 byte [esp + 0x108], 2
mov edx, dword [ecx]
mov ecx, ebp
push edx
push 0
push eax
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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0xc4]
mov byte [esp + 0x10c], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x416bbc
mov ecx, dword [ebx + 0x48]
mov edx, dword [esp + 0x18]
mov eax, edi
and edi, 0xffff
sar eax, 0x10
shl edx, 5
mov eax, dword [ecx + eax*4]
mov ecx, dword [esp + 0x10]
shl edi, 5
add ecx, edx
add eax, edi
mov edx, dword [ecx + 8]
mov edi, dword [ecx + 4]
add edx, edi
mov edi, dword [eax]
sub edx, edi
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
shl ecx, 5
mov ecx, dword [ecx + edx + 8]
mov edx, dword [eax + 8]
and edx, 0x3fffff
shl ecx, 0x16
or edx, ecx
mov dword [eax + 8], edx
jmp 0x417013
cmp eax, 0xffffffff
jne 0x41700a
mov eax, dword [esp + 0x34]
mov edx, dword [ebx + 0x48]
mov ecx, eax
and eax, 0xffff
sar ecx, 0x10
shl eax, 5
mov ecx, dword [edx + ecx*4]
mov edx, esi
sar edx, 0x10
lea eax, [ecx + eax + 0xc]
mov ecx, dword [eax]
or ecx, 0x800000
mov dword [eax], ecx
mov eax, dword [ebx + 0x48]
mov ecx, esi
mov edx, dword [eax + edx*4]
and ecx, 0xffff
shl ecx, 5
lea eax, [edx + ecx + 0xc]
mov ecx, dword [edx + ecx + 0xc]
or ecx, 0x200000
mov dword [eax], ecx
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x416bbc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
shl eax, 5
lea eax, [eax + ecx + 0x10]
mov ecx, dword [edx]
push ecx
push 0
push eax
lea ecx, [ebx + 0x10]
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_]
jmp 0x416bbc
cmp eax, 0xfffffffe
jne 0x416bbc
mov ecx, dword [esp + 0x20]
cmp ecx, ebp
jle 0x417635
mov eax, dword [esp + 0x34]
mov edi, dword [ebx + 0x48]
mov edx, eax
and eax, 0xffff
sar edx, 0x10
shl eax, 5
mov edx, dword [edi + edx*4]
lea eax, [edx + eax + 0xc]
mov edx, dword [eax]
or edx, 0x800000
mov dword [eax], edx
mov eax, ecx
sub eax, ebp
sub ecx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0x48]
mov eax, esi
mov edx, esi
sar eax, 0x10
and edx, 0xffff
mov esi, dword [ecx + eax*4]
shl edx, 5
add esi, edx
mov edi, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov ebp, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
and edi, 0x3fffff
or ecx, 0x100000
mov eax, edi
mov dword [esp + 0x110], ebp
and eax, 0x3fffff
mov dword [esi + 8], edi
test ecx, 0x200000
mov dword [esi + 0xc], ecx
mov dword [esi + 0x14], 0
mov dword [esi + 4], eax
je 0x4170d7
xor ecx, 0x200000
mov eax, ebp
mov dword [esi + 0xc], ecx
mov ecx, dword [ebx + 0x48]
mov edi, ebp
sar eax, 0x10
and edi, 0xffff
mov eax, dword [ecx + eax*4]
shl edi, 5
mov ecx, dword [eax + edi + 0xc]
lea eax, [eax + edi + 0xc]
or ecx, 0x200000
mov dword [eax], ecx
test edx, edx
je 0x41713b
mov edi, dword [ebx + 0x48]
mov eax, edx
mov ecx, edx
sar eax, 0x10
shl eax, 2
and ecx, 0xffff
mov edi, dword [eax + edi]
shl ecx, 5
mov dword [edi + ecx + 0x10], ebp
mov edi, dword [ebx + 0x48]
mov ebp, dword [edi + eax]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
mov dword [ecx + ebp + 0x1c], edi
mov ebx, dword [ebx + 0x48]
mov ebp, edi
and edi, 0xffff
sar ebp, 0x10
shl edi, 5
mov ebx, dword [ebx + ebp*4]
mov ebp, dword [esp + 0x110]
mov dword [ebx + edi + 0x18], edx
mov ebx, dword [esp + 0x3c]
mov edi, dword [ebx + 0x48]
mov edx, dword [eax + edi]
mov edx, dword [edx + ecx + 0x18]
test edx, edx
jne 0x4170de
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0x18]
dec eax
mov dword [esp + 0x1c], ebp
test ecx, ecx
mov dword [esp + 0x18], eax
jne 0x417622
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x41740b
mov edi, dword [esp + 0x114]
lea eax, [esp + 0xb0]
push edi
push eax
call fcn.00417b00
push eax
lea ecx, [esp + 0xec]
push str.End_tag_
push ecx
mov byte [esp + 0x11c], 3
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0x14
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ebp, [ebx + 0x10]
mov byte [esp + 0x108], 4
mov ecx, dword [edx]
push ecx
push 0
push eax
mov ecx, ebp
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_]
push 1
lea ecx, [esp + 0xe4]
mov byte [esp + 0x10c], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0x10c], 0
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 edx, dword [edi]
lea eax, [esp + 0xf0]
dec edx
push edx
push eax
call fcn.00417910
push eax
lea ecx, [esp + 0xdc]
push 0x449de4
push ecx
mov byte [esp + 0x11c], 5
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0x14
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor edi, edi
mov byte [esp + 0x108], 6
mov ecx, dword [edx]
push ecx
push edi
push eax
mov ecx, ebp
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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0x10c], 5
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xf4]
mov byte [esp + 0x10c], 0
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 edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
shl edx, 5
lea ecx, [edx + eax + 0x10]
lea edx, [esp + 0x40]
push ecx
push str._does_not_match_start_tag_
push edx
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0xc
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 byte [esp + 0x108], 7
mov edx, dword [ecx]
mov ecx, ebp
push edx
push edi
push eax
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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [esp + 0x44]
mov byte [esp + 0x108], 0
cmp eax, edi
je 0x4172c2
mov cl, byte [eax - 1]
dec eax
test cl, cl
je 0x4172b9
cmp cl, 0xff
je 0x4172b9
dec cl
mov byte [eax], cl
jmp 0x4172c2
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esi]
lea ecx, [esp + 0x80]
push eax
push ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
call fcn.00417910
push eax
lea edx, [esp + 0x6c]
push 0x449de4
push edx
mov byte [esp + 0x11c], 8
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0x14
mov edi, eax
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 [edi + 8]
mov byte [esp + 0x108], 9
mov eax, dword [eax]
mov esi, eax
cmp ecx, esi
jae 0x417315
mov esi, ecx
sub eax, dword [ebp + 8]
cmp eax, esi
ja 0x417322
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
xor edx, edx
cmp esi, edx
jbe 0x417374
mov eax, dword [ebp + 8]
push edx
add eax, esi
mov ecx, ebp
push eax
mov dword [esp + 0x30], eax
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 0x417372
mov eax, dword [edi + 4]
test eax, eax
jne 0x41734b
mov eax, 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, dword [ebp + 4]
mov ecx, dword [ebp + 8]
add edi, ecx
mov ecx, esi
mov edx, ecx
mov esi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x28]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
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_]
xor edx, edx
mov eax, dword [esp + 0x64]
cmp eax, edx
je 0x41739b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x417390
cmp al, 0xff
je 0x417390
dec al
mov byte [ecx], al
jmp 0x41739b
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
xor edx, edx
mov eax, dword [esp + 0x84]
mov dword [esp + 0x64], edx
cmp eax, edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
mov byte [esp + 0x108], 0
je 0x4173f1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4173e6
cmp al, 0xff
je 0x4173e6
dec al
mov byte [ecx], al
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], edx
jmp 0x417622
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
xor edx, edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], edx
jmp 0x417622
mov ecx, dword [esp + 0x10]
shl eax, 5
lea edx, [eax + ecx + 0x10]
lea eax, [esp + 0x50]
push edx
push str.Element_
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0xc
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ebp, [ebx + 0x10]
mov byte [esp + 0x108], 0xa
mov edx, dword [ecx]
mov ecx, ebp
push edx
push 0
push eax
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 eax, dword [esp + 0x54]
xor esi, esi
cmp eax, esi
mov byte [esp + 0x108], 0
je 0x417477
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41746e
cmp al, 0xff
je 0x41746e
dec al
mov byte [ecx], al
jmp 0x417477
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
shl eax, 5
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov edx, dword [eax + ecx + 4]
lea eax, [esp + 0x90]
push edx
push eax
mov dword [esp + 0x64], esi
call fcn.00417910
push eax
lea ecx, [esp + 0x7c]
push 0x449de4
push ecx
mov byte [esp + 0x11c], 0xb
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0x14
mov edi, eax
mov edx, 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 [edi + 8]
mov byte [esp + 0x108], 0xc
mov eax, dword [edx]
mov esi, eax
cmp ecx, esi
jae 0x4174d8
mov esi, ecx
sub eax, dword [ebp + 8]
cmp eax, esi
ja 0x4174e5
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test esi, esi
jbe 0x417536
mov eax, dword [ebp + 8]
push 0
add eax, esi
mov ecx, ebp
push eax
mov dword [esp + 0x30], eax
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 0x417536
mov eax, dword [edi + 4]
test eax, eax
jne 0x41750d
mov eax, 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, dword [ebp + 8]
mov ecx, dword [ebp + 4]
add edi, ecx
mov ecx, esi
mov esi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 4]
add eax, ecx
mov dword [ebp + 8], ecx
mov byte [eax], 0
mov eax, dword [esp + 0x74]
test eax, eax
je 0x41755b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x417552
cmp al, 0xff
je 0x417552
dec al
mov byte [ecx], al
jmp 0x41755b
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x94]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov byte [esp + 0x108], cl
je 0x417598
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41758f
cmp al, 0xff
je 0x41758f
dec al
mov byte [ecx], al
jmp 0x417598
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edi, str._not_ended
or ecx, 0xffffffff
xor eax, eax
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
mov edi, dword [ebp + 8]
dec ecx
mov esi, ecx
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 dword [esp + 0x94], edx
mov dword [esp + 0x98], edx
mov eax, dword [ecx]
mov dword [esp + 0x9c], edx
sub eax, edi
cmp eax, esi
ja 0x4175d9
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
xor edx, edx
cmp esi, edx
jbe 0x417622
mov ecx, dword [ebp + 8]
mov eax, esi
add eax, ecx
push edx
push eax
mov ecx, ebp
mov dword [esp + 0x30], eax
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 0x417622
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 4]
add edi, ecx
mov ecx, esi
mov edx, ecx
mov esi, str._not_ended
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x28]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 4]
mov dword [ebp + 8], eax
add eax, ecx
mov byte [eax], 0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x24], eax
jne 0x417052
cmp dword [esp + 0x2c], 0xfffffffe
je 0x417676
mov ecx, dword [ebx + 0x48]
mov eax, esi
sar eax, 0x10
and esi, 0xffff
mov edx, dword [ecx + eax*4]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
shl esi, 5
dec ecx
dec eax
mov esi, dword [edx + esi + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x110], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
jmp 0x416bbc
mov eax, dword [esp + 0x10]
mov dword [esp + 0x108], 0xffffffff
test eax, eax
je 0x4176a6
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push 0x407d40
push ecx
push 0x20
push eax
call fcn.0041bc64
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x100]
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xfc
ret 8