Function at 0x417d20
Capabilities:
Parse credit card information
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x43a910
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
mov edx, dword [esp + 0xb8]
push ebp
mov ebp, dword [esp + 0xb8]
xor ecx, ecx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [edx + 0xc], ecx
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
add edi, eax
xor esi, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov al, byte [edi]
mov dword [esp + 0xc], 0xffffffff
test al, al
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], edi
jne 0x417d9e
mov dword [edx + 8], ecx
mov dword [edx], ecx
mov eax, 0xfffffffe
jmp 0x418cc1
push ebx
movsx ebx, byte [edi]
cmp ebx, ecx
je 0x418aae
cmp esi, ecx
je 0x417e6f
movsx ecx, bl
push ecx
push str.__t_n_r__
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
je 0x417e58
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0x10]
mov ebp, edi
mov eax, dword [ecx + 0xc]
sub ebp, eax
sub ebp, esi
test edx, edx
jne 0x417def
lea eax, [esi + ebp - 1]
mov dword [ecx], esi
mov dword [ecx + 4], eax
jmp 0x417e3f
mov ecx, dword [esp + 0xc8]
push 1
add ecx, 0x10
push ebp
add esi, 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 0x417e3b
mov edx, dword [esp + 0xc8]
mov ecx, ebp
mov edi, dword [edx + 0x14]
lea eax, [edx + 0x10]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x28]
mov dword [eax + 8], ebp
mov eax, dword [eax + 4]
mov byte [eax + ebp], 0
add eax, ebp
jmp 0x417e3f
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc4]
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
xor ecx, ecx
jmp 0x417e73
push edi
call dword [sym.imp.MSVCRT.dll__mbclen]
add edi, eax
add esp, 4
mov dword [esp + 0x28], edi
xor ecx, ecx
jmp 0x417d9f
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x18], ecx
je 0x4180a6
cmp ebx, 0x3e
jne 0x417f39
mov ecx, dword [esp + 0x14]
test cl, 0xc0
jne 0x417f54
mov ebx, dword [ebp + 0xc]
mov eax, edi
sub eax, ebx
mov ebx, dword [esp + 0x1c]
cmp ebx, 1
mov dword [esp + 0x20], eax
jne 0x417eec
cmp edx, ebx
mov dword [esp + 0x18], 0
jne 0x417f2b
cmp dword [esp + 0x2c], 0x2f
jne 0x417f2b
mov eax, dword [esp + 0x30]
test eax, eax
je 0x417edc
movsx eax, al
push eax
push 0x449ee8
call dword [sym.imp.MSVCRT.dll_strchr]
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x417f2b
mov eax, dword [esp + 0xc8]
or dword [eax + 0xc], 0x10000
jmp 0x417f2b
cmp eax, ebx
jle 0x4185b0
mov ebp, dword [esp + 0x1c]
sub edi, ebp
dec ebp
test ebp, ebp
lea eax, [edi + 1]
je 0x417f1f
mov edi, dword [esp + 0x18]
sub edi, eax
mov cl, byte [eax]
mov dl, byte [edi + eax]
inc eax
cmp cl, dl
jne 0x417f17
dec ebp
jne 0x417f08
jmp 0x417f1f
test ebp, ebp
jne 0x4185ac
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], 0
test cl, 0x20
je 0x418c9c
jmp 0x4185a8
cmp ebx, 0x3c
jne 0x417f50
cmp edx, 2
je 0x418c68
cmp edx, 0xffffffff
je 0x418c68
mov ecx, dword [esp + 0x14]
test dl, 1
je 0x418062
test cl, 0xc0
je 0x417fb5
cmp ebx, 0x22
jne 0x417f8b
test cl, 0x80
je 0x418051
xor ecx, 0x80
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], ebx
jmp 0x4185b0
cmp ebx, 0x27
jne 0x418051
test cl, 0x40
je 0x418051
xor ecx, 0x40
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], ebx
jmp 0x4185b0
cmp ebx, 0x22
jne 0x417fde
test ch, 1
je 0x418051
xor ecx, 0x180
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], ebx
jmp 0x4185b0
cmp ebx, 0x27
jne 0x418003
test ch, 1
je 0x418051
xor ecx, 0x140
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], ebx
jmp 0x4185b0
cmp ebx, 0x3d
jne 0x41802e
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x41802e
test ch, 1
jne 0x418033
xor ecx, 0x100
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], ecx
mov ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x4185b0
test ch, 1
je 0x418051
movsx eax, bl
push eax
push str.__t_n_r
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
jne 0x418051
xor dword [esp + 0x14], 0x100
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ecx
jmp 0x4185b0
test dl, 0x40
je 0x4185b0
cmp ebx, 0x22
jne 0x418088
test byte [esp + 0x14], 0x40
jne 0x4185b0
xor dword [esp + 0x14], 0x80
jmp 0x4185b0
cmp ebx, 0x27
jne 0x4185b0
test byte [esp + 0x14], 0x80
jne 0x4185b0
xor dword [esp + 0x14], 0x40
jmp 0x4185b0
mov eax, dword [esp + 0x14]
cmp eax, ecx
je 0x418a6d
test al, 0x10
je 0x4180fb
cmp ebx, 0x3c
je 0x418c72
movsx edx, bl
push edx
push str.__t_n_r
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
jne 0x4185b0
xor dword [esp + 0x14], 0x10
mov dword [esp + 0x18], 0x449ee4
mov dword [esp + 0x1c], 1
mov dword [esp + 0x10], 2
jmp 0x4185b0
test al, 1
je 0x418356
mov edx, 1
xor eax, edx
cmp ebx, 0x60
mov dword [esp + 0x14], eax
ja 0x418336
cmp ebx, 0x40
jbe 0x418125
cmp ebx, 0x5b
jb 0x418336
cmp ebx, 0x5f
je 0x418336
cmp ebx, 0x3a
je 0x418336
cmp ebx, 0x2f
jne 0x41815d
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0xc]
mov esi, edi
mov dword [esp + 0x18], 0x449ee0
sub esi, ecx
mov dword [esp + 0x1c], edx
inc esi
mov dword [esp + 0x24], esi
jmp 0x4185b0
cmp ebx, 0x21
jne 0x41816d
or al, 2
mov dword [esp + 0x14], eax
jmp 0x4185b0
cmp ebx, 0x3f
jne 0x41819b
mov ecx, dword [ebp + 0xc]
mov esi, edi
sub esi, ecx
mov dword [esp + 0x18], 0x449edc
inc esi
mov dword [esp + 0x1c], 2
mov dword [esp + 0x10], 0x10
mov dword [esp + 0x24], esi
jmp 0x4185b0
mov eax, dword [esp + 0xc8]
mov edi, str.Incorrect
or ecx, 0xffffffff
push 1
lea ebp, [eax + 0x10]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], 0x449ee0
mov ebx, ecx
mov ecx, ebp
push ebx
mov dword [esp + 0x24], 1
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 0x4181f8
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, str.Incorrect
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 [ebp + 4]
mov dword [ebp + 8], ebx
add eax, ebx
mov byte [eax], 0
mov edi, str.tag_name_character
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 8]
repne scasb al, byte es:[edi]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [eax]
sub ecx, edx
cmp ecx, esi
ja 0x41821f
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test esi, esi
jbe 0x418262
mov ecx, dword [ebp + 8]
mov ebx, esi
xor edi, edi
add ebx, ecx
push edi
push ebx
mov ecx, 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 0x418264
mov edi, dword [ebp + 4]
mov ecx, dword [ebp + 8]
add edi, ecx
mov ecx, esi
mov edx, ecx
mov esi, str.tag_name_character
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 [ebp + 4]
mov dword [ebp + 8], ebx
add eax, ebx
mov byte [eax], 0
xor edi, edi
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x94]
push eax
push ecx
call fcn.00417910
push eax
lea edx, [esp + 0x80]
push str._at_offset
push edx
mov dword [esp + 0xd0], 2
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 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 + 0xbc], 3
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 + 0x78]
cmp eax, edi
je 0x4182d7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4182ce
cmp al, 0xff
je 0x4182ce
dec al
mov byte [ecx], al
jmp 0x4182d7
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x98]
or esi, 0xffffffff
cmp eax, edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0xbc], esi
je 0x418318
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41830f
cmp al, 0xff
je 0x41830f
dec al
mov byte [ecx], al
jmp 0x418318
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0x10], esi
jmp 0x4185a8
mov eax, dword [ebp + 0xc]
mov esi, edi
sub esi, eax
mov dword [esp + 0x18], 0x449ee0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], esi
jmp 0x4185b0
test al, 2
je 0x4185ce
xor eax, 2
cmp ebx, 0x2d
mov dword [esp + 0x14], eax
jne 0x418375
or al, 4
mov dword [esp + 0x14], eax
jmp 0x4185b0
cmp ebx, 0x5b
jne 0x418389
test al, 0x20
jne 0x41839d
or al, 8
mov dword [esp + 0x14], eax
jmp 0x4185b0
cmp ebx, 0x44
jne 0x41839d
test al, 0x20
jne 0x41839d
or al, 0x20
mov dword [esp + 0x14], eax
jmp 0x4185b0
movsx eax, bl
push eax
push 0x449eac
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
mov dword [esp + 0x18], 0x449ee0
test eax, eax
mov dword [esp + 0x1c], 1
je 0x4183d0
mov dword [esp + 0x10], 0x40
jmp 0x4185b0
mov ecx, dword [esp + 0xc8]
mov edi, str.Incorrect
xor eax, eax
push 1
lea ebp, [ecx + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
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 0x41841d
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, str.Incorrect
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 [ebp + 4]
mov dword [ebp + 8], ebx
add ebx, eax
mov byte [ebx], 0
mov edi, str.__tag
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 8]
repne scasb al, byte es:[edi]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
not ecx
dec ecx
mov edi, ecx
mov ecx, dword [eax]
sub ecx, edx
mov dword [esp + 0x10], edi
cmp ecx, edi
ja 0x418448
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
xor esi, esi
cmp edi, esi
jbe 0x41848d
mov ebx, dword [ebp + 8]
push esi
add ebx, edi
mov ecx, ebp
push ebx
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 0x41848d
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 4]
add edi, ecx
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov esi, str.__tag
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 [ebp + 4]
mov dword [ebp + 8], ebx
add eax, ebx
xor esi, esi
mov byte [eax], 0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x54]
push eax
push ecx
call fcn.00417910
push eax
lea edx, [esp + 0x70]
push str._at_offset
push edx
mov dword [esp + 0xd0], 4
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__
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x10], ecx
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 [ecx + 8]
mov byte [esp + 0xbc], 5
mov eax, dword [eax]
mov edi, eax
cmp ecx, edi
jae 0x4184da
mov edi, ecx
sub eax, dword [ebp + 8]
cmp eax, edi
ja 0x4184e7
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
cmp edi, esi
jbe 0x418538
mov ecx, dword [ebp + 8]
mov ebx, edi
add ebx, ecx
push esi
push ebx
mov ecx, 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 0x418538
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
cmp eax, esi
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]
je 0x418513
mov esi, eax
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
add eax, ecx
mov ecx, edi
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
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 esi, esi
mov eax, dword [esp + 0x68]
cmp eax, esi
je 0x41855d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x418554
cmp al, 0xff
je 0x418554
dec al
mov byte [ecx], al
jmp 0x41855d
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x58]
or edi, 0xffffffff
cmp eax, esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0xbc], edi
je 0x418598
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41858f
cmp al, 0xff
je 0x41858f
dec al
mov byte [ecx], al
jmp 0x418598
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
push edi
call dword [sym.imp.MSVCRT.dll__mbclen]
mov ebp, dword [esp + 0xc8]
add edi, eax
add esp, 4
mov dword [esp + 0x28], edi
xor ecx, ecx
jmp 0x417d9f
test al, 4
je 0x4187f4
xor eax, 4
cmp ebx, 0x2d
mov dword [esp + 0x14], eax
jne 0x4185fc
mov dword [esp + 0x18], 0x449ea0
mov dword [esp + 0x1c], 3
mov dword [esp + 0x10], 0x20
jmp 0x4185b0
mov eax, dword [esp + 0xc8]
mov edi, str.Incorrect
or ecx, 0xffffffff
push 1
lea ebp, [eax + 0x10]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], 0x449ee0
mov ebx, ecx
mov ecx, ebp
push ebx
mov dword [esp + 0x24], 1
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 0x418659
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, str.Incorrect
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 [ebp + 4]
mov dword [ebp + 8], ebx
add ebx, eax
mov byte [ebx], 0
mov edi, str.comment_tag
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 8]
repne scasb al, byte es:[edi]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
not ecx
dec ecx
mov edi, ecx
mov ecx, dword [eax]
sub ecx, edx
mov dword [esp + 0x10], edi
cmp ecx, edi
ja 0x418684
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
xor esi, esi
cmp edi, esi
jbe 0x4186c9
mov ebx, dword [ebp + 8]
push esi
add ebx, edi
mov ecx, ebp
push ebx
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 0x4186c9
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 4]
add edi, ecx
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov esi, str.comment_tag
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 [ebp + 4]
mov dword [ebp + 8], ebx
add eax, ebx
xor esi, esi
mov byte [eax], 0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.00417910
push eax
lea edx, [esp + 0x50]
push str._at_offset
push edx
mov dword [esp + 0xd0], 6
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__
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x10], ecx
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 [ecx + 8]
mov byte [esp + 0xbc], 7
mov eax, dword [eax]
mov edi, eax
cmp ecx, edi
jae 0x418716
mov edi, ecx
sub eax, dword [ebp + 8]
cmp eax, edi
ja 0x418723
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
cmp edi, esi
jbe 0x418774
mov ecx, dword [ebp + 8]
mov ebx, edi
add ebx, ecx
push esi
push ebx
mov ecx, 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 0x418774
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
cmp eax, esi
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]
je 0x41874f
mov esi, eax
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
add eax, ecx
mov ecx, edi
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
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 esi, esi
mov eax, dword [esp + 0x48]
cmp eax, esi
je 0x418799
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x418790
cmp al, 0xff
je 0x418790
dec al
mov byte [ecx], al
jmp 0x418799
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x38]
or edi, 0xffffffff
cmp eax, esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0xbc], edi
je 0x4187e3
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4187da
cmp al, 0xff
je 0x4187da
dec al
mov byte [ecx], al
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
jmp 0x4185a4
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
jmp 0x4185a4
test al, 8
je 0x418a43
xor eax, 8
cmp ebx, 0x43
mov dword [esp + 0x14], eax
jne 0x418825
mov dword [esp + 0x18], 0x449e90
mov dword [esp + 0x1c], 3
mov dword [esp + 0x10], 8
jmp 0x4185b0
mov eax, dword [esp + 0xc8]
mov edi, str.Incorrect
or ecx, 0xffffffff
push 1
lea ebp, [eax + 0x10]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], 0x449ee0
mov ebx, ecx
mov ecx, ebp
push ebx
mov dword [esp + 0x24], 1
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 0x418882
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, str.Incorrect
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 [ebp + 4]
mov dword [ebp + 8], ebx
add ebx, eax
mov byte [ebx], 0
mov edi, 0x449e8c
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 8]
repne scasb al, byte es:[edi]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
not ecx
dec ecx
mov edi, ecx
mov ecx, dword [eax]
sub ecx, edx
cmp ecx, edi
ja 0x4188a9
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
xor esi, esi
cmp edi, esi
jbe 0x4188f0
mov ecx, dword [ebp + 8]
mov ebx, edi
add ebx, ecx
push esi
push ebx
mov ecx, 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 0x4188f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
add eax, ecx
mov ecx, edi
mov edx, ecx
mov esi, 0x449e8c
mov edi, eax
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 [ebp + 4]
mov dword [ebp + 8], ebx
add ebx, eax
xor esi, esi
mov byte [ebx], 0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0xa4]
push eax
push ecx
call fcn.00417910
push eax
lea edx, [esp + 0x90]
push str._at_offset
push edx
mov dword [esp + 0xd0], 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 dword [esp + 0x10], eax
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 eax, dword [eax + 8]
mov byte [esp + 0xbc], 9
mov ecx, dword [ecx]
mov edi, ecx
cmp eax, edi
jae 0x418942
mov edi, eax
sub ecx, dword [ebp + 8]
cmp ecx, edi
ja 0x41894f
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
cmp edi, esi
jbe 0x4189a2
mov ecx, dword [ebp + 8]
mov ebx, edi
add ebx, ecx
push esi
push ebx
mov ecx, 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 0x4189a2
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
cmp eax, esi
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]
je 0x41897b
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
add eax, ecx
mov ecx, edi
mov edi, 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 eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
add ebx, eax
xor esi, esi
mov byte [ebx], 0
mov eax, dword [esp + 0x88]
cmp eax, esi
je 0x4189ca
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4189c1
cmp al, 0xff
je 0x4189c1
dec al
mov byte [ecx], al
jmp 0x4189ca
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0xa8]
or edi, 0xffffffff
cmp eax, esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0xbc], edi
je 0x418a29
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x418a20
cmp al, 0xff
je 0x418a20
dec al
mov byte [ecx], al
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
jmp 0x4185a4
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
jmp 0x4185a4
test al, 0x20
je 0x4185b0
cmp ebx, 0x3c
jne 0x418a5f
mov eax, dword [esp + 0x14]
or al, 1
mov dword [esp + 0x14], eax
jmp 0x4185b0
cmp ebx, 0x3e
je 0x418c86
jmp 0x4185b0
cmp ebx, 0x3c
jne 0x418a7f
mov dword [esp + 0x14], 1
jmp 0x4185b0
movsx ecx, bl
push ecx
push str.__t_n_r
mov dword [esp + 0x18], 4
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
je 0x4180de
mov dword [esp + 0x14], 0x10
jmp 0x4185b0
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x10]
sub edi, edx
dec edi
cmp eax, 4
mov dword [esp + 0x20], edi
je 0x418c9c
cmp eax, 2
je 0x418c9c
mov al, byte [esp + 0x14]
mov esi, 0x449e8c
test al, 0x20
jne 0x418b1f
mov eax, dword [esp + 0x10]
cmp eax, 0x40
je 0x418b1f
cmp eax, 1
jne 0x418af0
mov esi, str.Element_tag
jmp 0x418b24
test eax, eax
jne 0x418afb
mov esi, str.Element_end_tag
jmp 0x418b24
cmp eax, 8
jne 0x418b07
mov esi, str.CDATA_Section
jmp 0x418b24
cmp eax, 0x10
jne 0x418b13
mov esi, str.Processing_instruction
jmp 0x418b24
cmp eax, 0x20
jne 0x418b24
mov esi, str.Comment
jmp 0x418b24
mov esi, str.Doctype
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
mov dword [esp + 0x10], ecx
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0xc8]
push 1
not ecx
dec ecx
lea ebx, [edx + 0x10]
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 0x418b6d
mov edi, dword [ebx + 4]
mov ecx, ebp
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 eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
add eax, ebp
mov byte [eax], 0
mov ecx, dword [esp + 0xc8]
lea eax, [esp + 0x44]
mov edx, dword [ecx + 4]
push edx
push eax
call fcn.00417910
push eax
lea ecx, [esp + 0x40]
push str._at_offset
push ecx
mov dword [esp + 0xd0], 0
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]
mov byte [esp + 0xbc], 1
mov ecx, dword [edx]
push ecx
push 0
push eax
mov ecx, ebx
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 + 0x38]
mov byte [esp + 0xc0], 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 eax, dword [esp + 0x48]
mov dword [esp + 0xbc], 0xffffffff
test eax, eax
je 0x418c00
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x418bf7
cmp al, 0xff
je 0x418bf7
dec al
mov byte [ecx], al
jmp 0x418c00
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edi, str._unterminated
or ecx, 0xffffffff
xor eax, 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]
repne scasb al, byte es:[edi]
mov eax, dword [edx]
mov edx, dword [ebx + 8]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x418c28
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test esi, esi
jbe 0x418c9c
mov ebp, dword [ebx + 8]
push 0
add ebp, esi
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 0x418c9c
mov edi, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ecx, esi
add edi, edx
mov edx, ecx
mov esi, str._unterminated
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
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 0x418c9c
sub edi, dword [ebp + 0xc]
dec edi
mov dword [esp + 0x20], edi
jmp 0x418c9c
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x10], 4
sub edi, ecx
dec edi
mov dword [esp + 0x20], edi
jmp 0x418c9c
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x10], 0x40
sub edi, dword [eax + 0xc]
mov dword [esp + 0x20], edi
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xc4]
pop ebx
lea eax, [ecx + 1]
mov ecx, dword [esp + 0xc4]
mov dword [edx + 8], eax
sub eax, dword [ecx + 4]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xc]
mov dword [ecx], eax
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0xb0
ret