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

Disassembly:
push 0xffffffffffffffff
push 0x463580
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 0x4383ce
mov dword [edx + 8], ecx
mov dword [edx], ecx
mov eax, 0xfffffffe
jmp 0x4392f1
push ebx
movsx ebx, byte [edi]
cmp ebx, ecx
je 0x4390de
cmp esi, ecx
je 0x43849f
movsx ecx, bl
push ecx
push str.__t_n_r__
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
je 0x438488
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 0x43841f
lea eax, [esi + ebp - 1]
mov dword [ecx], esi
mov dword [ecx + 4], eax
jmp 0x43846f
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 0x43846b
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 0x43846f
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 0x4384a3
push edi
call dword [sym.imp.MSVCRT.dll__mbclen]
add edi, eax
add esp, 4
mov dword [esp + 0x28], edi
xor ecx, ecx
jmp 0x4383cf
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x18], ecx
je 0x4386d6
cmp ebx, 0x3e
jne 0x438569
mov ecx, dword [esp + 0x14]
test cl, 0xc0
jne 0x438584
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 0x43851c
cmp edx, ebx
mov dword [esp + 0x18], 0
jne 0x43855b
cmp dword [esp + 0x2c], 0x2f
jne 0x43855b
mov eax, dword [esp + 0x30]
test eax, eax
je 0x43850c
movsx eax, al
push eax
push 0x477cc8
call dword [sym.imp.MSVCRT.dll_strchr]
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x43855b
mov eax, dword [esp + 0xc8]
or dword [eax + 0xc], 0x10000
jmp 0x43855b
cmp eax, ebx
jle 0x438be0
mov ebp, dword [esp + 0x1c]
sub edi, ebp
dec ebp
test ebp, ebp
lea eax, [edi + 1]
je 0x43854f
mov edi, dword [esp + 0x18]
sub edi, eax
mov cl, byte [eax]
mov dl, byte [edi + eax]
inc eax
cmp cl, dl
jne 0x438547
dec ebp
jne 0x438538
jmp 0x43854f
test ebp, ebp
jne 0x438bdc
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], 0
test cl, 0x20
je 0x4392cc
jmp 0x438bd8
cmp ebx, 0x3c
jne 0x438580
cmp edx, 2
je 0x439298
cmp edx, 0xffffffff
je 0x439298
mov ecx, dword [esp + 0x14]
test dl, 1
je 0x438692
test cl, 0xc0
je 0x4385e5
cmp ebx, 0x22
jne 0x4385bb
test cl, 0x80
je 0x438681
xor ecx, 0x80
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], ebx
jmp 0x438be0
cmp ebx, 0x27
jne 0x438681
test cl, 0x40
je 0x438681
xor ecx, 0x40
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], ebx
jmp 0x438be0
cmp ebx, 0x22
jne 0x43860e
test ch, 1
je 0x438681
xor ecx, 0x180
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], ebx
jmp 0x438be0
cmp ebx, 0x27
jne 0x438633
test ch, 1
je 0x438681
xor ecx, 0x140
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], ebx
jmp 0x438be0
cmp ebx, 0x3d
jne 0x43865e
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x43865e
test ch, 1
jne 0x438663
xor ecx, 0x100
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], ecx
mov ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x438be0
test ch, 1
je 0x438681
movsx eax, bl
push eax
push str.__t_n_r
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
jne 0x438681
xor dword [esp + 0x14], 0x100
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ecx
jmp 0x438be0
test dl, 0x40
je 0x438be0
cmp ebx, 0x22
jne 0x4386b8
test byte [esp + 0x14], 0x40
jne 0x438be0
xor dword [esp + 0x14], 0x80
jmp 0x438be0
cmp ebx, 0x27
jne 0x438be0
test byte [esp + 0x14], 0x80
jne 0x438be0
xor dword [esp + 0x14], 0x40
jmp 0x438be0
mov eax, dword [esp + 0x14]
cmp eax, ecx
je 0x43909d
test al, 0x10
je 0x43872b
cmp ebx, 0x3c
je 0x4392a2
movsx edx, bl
push edx
push str.__t_n_r
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
jne 0x438be0
xor dword [esp + 0x14], 0x10
mov dword [esp + 0x18], 0x477cc4
mov dword [esp + 0x1c], 1
mov dword [esp + 0x10], 2
jmp 0x438be0
test al, 1
je 0x438986
mov edx, 1
xor eax, edx
cmp ebx, 0x60
mov dword [esp + 0x14], eax
ja 0x438966
cmp ebx, 0x40
jbe 0x438755
cmp ebx, 0x5b
jb 0x438966
cmp ebx, 0x5f
je 0x438966
cmp ebx, 0x3a
je 0x438966
cmp ebx, 0x2f
jne 0x43878d
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0xc]
mov esi, edi
mov dword [esp + 0x18], 0x477cc0
sub esi, ecx
mov dword [esp + 0x1c], edx
inc esi
mov dword [esp + 0x24], esi
jmp 0x438be0
cmp ebx, 0x21
jne 0x43879d
or al, 2
mov dword [esp + 0x14], eax
jmp 0x438be0
cmp ebx, 0x3f
jne 0x4387cb
mov ecx, dword [ebp + 0xc]
mov esi, edi
sub esi, ecx
mov dword [esp + 0x18], 0x477cbc
inc esi
mov dword [esp + 0x1c], 2
mov dword [esp + 0x10], 0x10
mov dword [esp + 0x24], esi
jmp 0x438be0
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], 0x477cc0
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 0x438828
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 0x43884f
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test esi, esi
jbe 0x438892
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 0x438894
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.00437f40
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 0x438907
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4388fe
cmp al, 0xff
je 0x4388fe
dec al
mov byte [ecx], al
jmp 0x438907
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 0x438948
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x43893f
cmp al, 0xff
je 0x43893f
dec al
mov byte [ecx], al
jmp 0x438948
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 0x438bd8
mov eax, dword [ebp + 0xc]
mov esi, edi
sub esi, eax
mov dword [esp + 0x18], 0x477cc0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], esi
jmp 0x438be0
test al, 2
je 0x438bfe
xor eax, 2
cmp ebx, 0x2d
mov dword [esp + 0x14], eax
jne 0x4389a5
or al, 4
mov dword [esp + 0x14], eax
jmp 0x438be0
cmp ebx, 0x5b
jne 0x4389b9
test al, 0x20
jne 0x4389cd
or al, 8
mov dword [esp + 0x14], eax
jmp 0x438be0
cmp ebx, 0x44
jne 0x4389cd
test al, 0x20
jne 0x4389cd
or al, 0x20
mov dword [esp + 0x14], eax
jmp 0x438be0
movsx eax, bl
push eax
push 0x477c8c
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
mov dword [esp + 0x18], 0x477cc0
test eax, eax
mov dword [esp + 0x1c], 1
je 0x438a00
mov dword [esp + 0x10], 0x40
jmp 0x438be0
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 0x438a4d
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 0x438a78
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
xor esi, esi
cmp edi, esi
jbe 0x438abd
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 0x438abd
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.00437f40
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 0x438b0a
mov edi, ecx
sub eax, dword [ebp + 8]
cmp eax, edi
ja 0x438b17
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
cmp edi, esi
jbe 0x438b68
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 0x438b68
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 0x438b43
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 0x438b8d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x438b84
cmp al, 0xff
je 0x438b84
dec al
mov byte [ecx], al
jmp 0x438b8d
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 0x438bc8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x438bbf
cmp al, 0xff
je 0x438bbf
dec al
mov byte [ecx], al
jmp 0x438bc8
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 0x4383cf
test al, 4
je 0x438e24
xor eax, 4
cmp ebx, 0x2d
mov dword [esp + 0x14], eax
jne 0x438c2c
mov dword [esp + 0x18], 0x477c80
mov dword [esp + 0x1c], 3
mov dword [esp + 0x10], 0x20
jmp 0x438be0
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], 0x477cc0
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 0x438c89
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 0x438cb4
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
xor esi, esi
cmp edi, esi
jbe 0x438cf9
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 0x438cf9
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.00437f40
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 0x438d46
mov edi, ecx
sub eax, dword [ebp + 8]
cmp eax, edi
ja 0x438d53
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
cmp edi, esi
jbe 0x438da4
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 0x438da4
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 0x438d7f
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 0x438dc9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x438dc0
cmp al, 0xff
je 0x438dc0
dec al
mov byte [ecx], al
jmp 0x438dc9
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 0x438e13
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x438e0a
cmp al, 0xff
je 0x438e0a
dec al
mov byte [ecx], al
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
jmp 0x438bd4
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 0x438bd4
test al, 8
je 0x439073
xor eax, 8
cmp ebx, 0x43
mov dword [esp + 0x14], eax
jne 0x438e55
mov dword [esp + 0x18], 0x477c70
mov dword [esp + 0x1c], 3
mov dword [esp + 0x10], 8
jmp 0x438be0
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], 0x477cc0
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 0x438eb2
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, 0x477c6c
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 0x438ed9
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
xor esi, esi
cmp edi, esi
jbe 0x438f20
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 0x438f20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
add eax, ecx
mov ecx, edi
mov edx, ecx
mov esi, 0x477c6c
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.00437f40
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 0x438f72
mov edi, eax
sub ecx, dword [ebp + 8]
cmp ecx, edi
ja 0x438f7f
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
cmp edi, esi
jbe 0x438fd2
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 0x438fd2
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 0x438fab
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 0x438ffa
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x438ff1
cmp al, 0xff
je 0x438ff1
dec al
mov byte [ecx], al
jmp 0x438ffa
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 0x439059
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x439050
cmp al, 0xff
je 0x439050
dec al
mov byte [ecx], al
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
jmp 0x438bd4
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 0x438bd4
test al, 0x20
je 0x438be0
cmp ebx, 0x3c
jne 0x43908f
mov eax, dword [esp + 0x14]
or al, 1
mov dword [esp + 0x14], eax
jmp 0x438be0
cmp ebx, 0x3e
je 0x4392b6
jmp 0x438be0
cmp ebx, 0x3c
jne 0x4390af
mov dword [esp + 0x14], 1
jmp 0x438be0
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 0x43870e
mov dword [esp + 0x14], 0x10
jmp 0x438be0
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x10]
sub edi, edx
dec edi
cmp eax, 4
mov dword [esp + 0x20], edi
je 0x4392cc
cmp eax, 2
je 0x4392cc
mov al, byte [esp + 0x14]
mov esi, 0x477c6c
test al, 0x20
jne 0x43914f
mov eax, dword [esp + 0x10]
cmp eax, 0x40
je 0x43914f
cmp eax, 1
jne 0x439120
mov esi, str.Element_tag
jmp 0x439154
test eax, eax
jne 0x43912b
mov esi, str.Element_end_tag
jmp 0x439154
cmp eax, 8
jne 0x439137
mov esi, str.CDATA_Section
jmp 0x439154
cmp eax, 0x10
jne 0x439143
mov esi, str.Processing_instruction
jmp 0x439154
cmp eax, 0x20
jne 0x439154
mov esi, str.Comment
jmp 0x439154
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 0x43919d
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.00437f40
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 0x439230
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x439227
cmp al, 0xff
je 0x439227
dec al
mov byte [ecx], al
jmp 0x439230
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 0x439258
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
test esi, esi
jbe 0x4392cc
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 0x4392cc
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 0x4392cc
sub edi, dword [ebp + 0xc]
dec edi
mov dword [esp + 0x20], edi
jmp 0x4392cc
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x10], 4
sub edi, ecx
dec edi
mov dword [esp + 0x20], edi
jmp 0x4392cc
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