Function at 0x418f70
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x42fc60]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x419009
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 8], 0
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
mov eax, 0xfffffffe
jmp 0x41989b
mov eax, 1
test eax, eax
je 0x419872
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
jne 0x41910a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
sub ecx, dword [eax + 0xc]
sub ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x24], 4
je 0x419105
cmp dword [ebp - 0x24], 2
je 0x419105
mov dword [ebp - 0x9c], 0x427f1c
mov edx, dword [ebp - 0x28]
and edx, 0x20
jne 0x419064
cmp dword [ebp - 0x24], 0x40
jne 0x419070
mov dword [ebp - 0x9c], str.Doctype
jmp 0x4190c8
cmp dword [ebp - 0x24], 1
jne 0x419082
mov dword [ebp - 0x9c], str.Element_tag
jmp 0x4190c8
cmp dword [ebp - 0x24], 0
jne 0x419094
mov dword [ebp - 0x9c], str.Element_end_tag
jmp 0x4190c8
cmp dword [ebp - 0x24], 8
jne 0x4190a6
mov dword [ebp - 0x9c], str.CDATA_Section
jmp 0x4190c8
cmp dword [ebp - 0x24], 0x10
jne 0x4190b8
mov dword [ebp - 0x9c], str.Processing_instruction
jmp 0x4190c8
cmp dword [ebp - 0x24], 0x20
jne 0x4190c8
mov dword [ebp - 0x9c], str.Comment
mov dword [ebp - 0x24], 0xffffffff
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x9c]
push edx
push str._s_at_offset__d_unterminated
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x10
lea ecx, [ebp - 0x98]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call dword [sym.imp.MSVCP71.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__::operator_char_const__]
jmp 0x419872
cmp dword [ebp - 0x20], 0
je 0x4191aa
movsx edx, byte [ebp - 0x1c]
push edx
push str.__t_n_r__
call fcn.0041d860
add esp, 8
test eax, eax
je 0x419193
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
sub ecx, dword [eax + 0xc]
sub ecx, dword [ebp - 0x20]
mov dword [ebp - 0xa0], ecx
cmp dword [ebp - 0x24], 0
jne 0x41915f
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x20]
lea eax, [edx + ecx - 1]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
jmp 0x41917c
mov edx, dword [ebp - 0xa0]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call dword [sym.imp.MSVCP71.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 dword [ebp - 0x20], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
jmp 0x4191aa
mov edx, dword [ebp - 4]
push edx
call fcn.0041d8e0
add esp, 4
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
jmp 0x419009
cmp dword [ebp - 0x14], 0
je 0x419411
cmp dword [ebp - 0x1c], 0x3e
jne 0x4192bc
mov eax, dword [ebp - 0x28]
and eax, 0xc0
jne 0x4192bc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub edx, dword [ecx + 0xc]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0xc], 1
jne 0x419224
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x24], 1
jne 0x41921f
cmp dword [ebp - 0x18], 0x2f
jne 0x41921f
cmp dword [ebp - 8], 0
je 0x41920d
movsx eax, byte [ebp - 8]
push eax
push 0x427f9c
call fcn.0041d860
add esp, 8
test eax, eax
je 0x41921f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
or edx, 0x10000
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc], edx
jmp 0x4192a4
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0xc]
jle 0x4192a4
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xac]
sub edx, 1
mov dword [ebp - 0xac], edx
je 0x419294
mov eax, dword [ebp - 0xa4]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0xa8]
movsx eax, byte [edx]
mov edx, dword [ebp - 0xa4]
add edx, 1
mov dword [ebp - 0xa4], edx
mov edx, dword [ebp - 0xa8]
add edx, 1
mov dword [ebp - 0xa8], edx
cmp eax, ecx
jne 0x419294
jmp 0x41924d
cmp dword [ebp - 0xac], 0
jne 0x4192a4
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
jne 0x4192b7
mov eax, dword [ebp - 0x28]
and eax, 0x20
jne 0x4192b7
jmp 0x419872
jmp 0x41940c
cmp dword [ebp - 0x1c], 0x3c
jne 0x4192e2
cmp dword [ebp - 0x24], 2
je 0x4192ce
cmp dword [ebp - 0x24], 0xffffffff
jne 0x4192e2
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub edx, dword [ecx + 0xc]
sub edx, 1
mov dword [ebp - 0x10], edx
jmp 0x419872
mov eax, dword [ebp - 0x24]
and eax, 1
je 0x4193ce
mov ecx, dword [ebp - 0x28]
and ecx, 0xc0
je 0x419333
cmp dword [ebp - 0x1c], 0x22
jne 0x419317
mov edx, dword [ebp - 0x28]
and edx, 0x80
je 0x419317
mov eax, dword [ebp - 0x28]
xor eax, 0x80
mov dword [ebp - 0x28], eax
jmp 0x41932e
cmp dword [ebp - 0x1c], 0x27
jne 0x41932e
mov ecx, dword [ebp - 0x28]
and ecx, 0x40
je 0x41932e
mov edx, dword [ebp - 0x28]
xor edx, 0x40
mov dword [ebp - 0x28], edx
jmp 0x4193c0
cmp dword [ebp - 0x1c], 0x22
jne 0x419351
mov eax, dword [ebp - 0x28]
and eax, 0x100
je 0x419351
mov ecx, dword [ebp - 0x28]
xor ecx, 0x180
mov dword [ebp - 0x28], ecx
jmp 0x4193c0
cmp dword [ebp - 0x1c], 0x27
jne 0x41936f
mov edx, dword [ebp - 0x28]
and edx, 0x100
je 0x41936f
mov eax, dword [ebp - 0x28]
xor eax, 0x140
mov dword [ebp - 0x28], eax
jmp 0x4193c0
cmp dword [ebp - 0x1c], 0x3d
jne 0x419394
cmp dword [ebp - 0x18], 0x3d
je 0x419394
mov ecx, dword [ebp - 0x28]
and ecx, 0x100
jne 0x419394
mov edx, dword [ebp - 0x28]
xor edx, 0x100
mov dword [ebp - 0x28], edx
jmp 0x4193c0
mov eax, dword [ebp - 0x28]
and eax, 0x100
je 0x4193c0
movsx ecx, byte [ebp - 0x1c]
push ecx
push 0x427fa4
call fcn.0041d860
add esp, 8
test eax, eax
jne 0x4193c0
mov edx, dword [ebp - 0x28]
xor edx, 0x100
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
jmp 0x41940c
mov edx, dword [ebp - 0x24]
and edx, 0x40
je 0x41940c
cmp dword [ebp - 0x1c], 0x22
jne 0x4193f2
mov eax, dword [ebp - 0x28]
and eax, 0x40
jne 0x4193f2
mov ecx, dword [ebp - 0x28]
xor ecx, 0x80
mov dword [ebp - 0x28], ecx
jmp 0x41940c
cmp dword [ebp - 0x1c], 0x27
jne 0x41940c
mov edx, dword [ebp - 0x28]
and edx, 0x80
jne 0x41940c
mov eax, dword [ebp - 0x28]
xor eax, 0x40
mov dword [ebp - 0x28], eax
jmp 0x41985b
cmp dword [ebp - 0x28], 0
je 0x4197fa
mov ecx, dword [ebp - 0x28]
and ecx, 0x10
je 0x419490
cmp dword [ebp - 0x1c], 0x3c
jne 0x419444
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
sub eax, dword [edx + 0xc]
sub eax, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], 4
jmp 0x419872
movsx ecx, byte [ebp - 0x1c]
push ecx
push 0x427fac
call fcn.0041d860
add esp, 8
test eax, eax
jne 0x41948b
mov edx, dword [ebp - 0x28]
xor edx, 0x10
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x14], 0x427fb4
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x24], 2
xor eax, eax
je 0x41948b
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub edx, dword [ecx + 0xc]
sub edx, 1
mov dword [ebp - 0x20], edx
jmp 0x4197f8
mov eax, dword [ebp - 0x28]
and eax, 1
je 0x4195bb
mov ecx, dword [ebp - 0x28]
xor ecx, 1
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x1c], 0x60
ja 0x4194c3
cmp dword [ebp - 0x1c], 0x40
jbe 0x4194b7
cmp dword [ebp - 0x1c], 0x5b
jb 0x4194c3
cmp dword [ebp - 0x1c], 0x5f
je 0x4194c3
cmp dword [ebp - 0x1c], 0x3a
jne 0x4194f2
mov dword [ebp - 0x14], 0x427fb8
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x24], 1
mov edx, 1
test edx, edx
je 0x4194ed
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
sub ecx, dword [eax + 0xc]
mov dword [ebp - 0x20], ecx
jmp 0x4195b6
cmp dword [ebp - 0x1c], 0x2f
jne 0x41952a
mov dword [ebp - 0x14], 0x427fbc
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x24], 0
mov edx, 2
test edx, edx
je 0x419525
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
sub ecx, dword [eax + 0xc]
add ecx, 1
mov dword [ebp - 0x20], ecx
jmp 0x4195b6
cmp dword [ebp - 0x1c], 0x21
jne 0x41953b
mov edx, dword [ebp - 0x28]
or edx, 2
mov dword [ebp - 0x28], edx
jmp 0x4195b6
cmp dword [ebp - 0x1c], 0x3f
jne 0x419570
mov dword [ebp - 0x14], 0x427fc0
mov dword [ebp - 0xc], 2
mov dword [ebp - 0x24], 0x10
mov eax, 2
test eax, eax
je 0x41956e
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub edx, dword [ecx + 0xc]
add edx, 1
mov dword [ebp - 0x20], edx
jmp 0x4195b6
mov dword [ebp - 0x14], 0x427fc4
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x10]
push eax
push 0x427fc8
push 0x427fdc
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x10
lea edx, [ebp - 0x118]
push edx
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call dword [sym.imp.MSVCP71.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__::operator_char_const__]
mov dword [ebp - 0x24], 0xffffffff
jmp 0x4197f8
mov eax, dword [ebp - 0x28]
and eax, 2
je 0x4196a7
mov ecx, dword [ebp - 0x28]
xor ecx, 2
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x1c], 0x2d
jne 0x4195e4
mov edx, dword [ebp - 0x28]
or edx, 4
mov dword [ebp - 0x28], edx
jmp 0x4196a2
cmp dword [ebp - 0x1c], 0x5b
jne 0x419600
mov eax, dword [ebp - 0x28]
and eax, 0x20
jne 0x419600
mov ecx, dword [ebp - 0x28]
or ecx, 8
mov dword [ebp - 0x28], ecx
jmp 0x4196a2
cmp dword [ebp - 0x1c], 0x44
jne 0x41961c
mov edx, dword [ebp - 0x28]
and edx, 0x20
jne 0x41961c
mov eax, dword [ebp - 0x28]
or eax, 0x20
mov dword [ebp - 0x28], eax
jmp 0x4196a2
movsx ecx, byte [ebp - 0x1c]
push ecx
push 0x427ff8
call fcn.0041d860
add esp, 8
test eax, eax
je 0x41965c
mov dword [ebp - 0x14], 0x427ffc
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x24], 0x40
xor edx, edx
je 0x41965a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
sub ecx, dword [eax + 0xc]
sub ecx, 1
mov dword [ebp - 0x20], ecx
jmp 0x4196a2
mov dword [ebp - 0x14], 0x428000
mov dword [ebp - 0xc], 1
mov edx, dword [ebp - 0x10]
push edx
push str.__tag
push 0x42800c
lea eax, [ebp - 0x180]
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x10
lea ecx, [ebp - 0x180]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call dword [sym.imp.MSVCP71.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__::operator_char_const__]
mov dword [ebp - 0x24], 0xffffffff
jmp 0x4197f8
mov edx, dword [ebp - 0x28]
and edx, 4
je 0x419737
mov eax, dword [ebp - 0x28]
xor eax, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x1c], 0x2d
jne 0x4196ec
mov dword [ebp - 0x14], 0x428028
mov dword [ebp - 0xc], 3
mov dword [ebp - 0x24], 0x20
xor ecx, ecx
je 0x4196ea
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
sub eax, dword [edx + 0xc]
sub eax, 1
mov dword [ebp - 0x20], eax
jmp 0x419732
mov dword [ebp - 0x14], 0x42802c
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 0x10]
push ecx
push str.comment_tag
push 0x42803c
lea edx, [ebp - 0x1e8]
push edx
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x1e8]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call dword [sym.imp.MSVCP71.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__::operator_char_const__]
mov dword [ebp - 0x24], 0xffffffff
jmp 0x4197f8
mov ecx, dword [ebp - 0x28]
and ecx, 8
je 0x4197c4
mov edx, dword [ebp - 0x28]
xor edx, 8
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x1c], 0x43
jne 0x41977c
mov dword [ebp - 0x14], 0x428058
mov dword [ebp - 0xc], 3
mov dword [ebp - 0x24], 8
xor eax, eax
je 0x41977a
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub edx, dword [ecx + 0xc]
sub edx, 1
mov dword [ebp - 0x20], edx
jmp 0x4197c2
mov dword [ebp - 0x14], 0x42805c
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x10]
push eax
push 0x428060
push str.Incorrect__s_at_offset__d
lea ecx, [ebp - 0x250]
push ecx
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x10
lea edx, [ebp - 0x250]
push edx
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call dword [sym.imp.MSVCP71.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__::operator_char_const__]
mov dword [ebp - 0x24], 0xffffffff
jmp 0x4197f8
mov eax, dword [ebp - 0x28]
and eax, 0x20
je 0x4197f8
cmp dword [ebp - 0x1c], 0x3c
jne 0x4197dd
mov ecx, dword [ebp - 0x28]
or ecx, 1
mov dword [ebp - 0x28], ecx
jmp 0x4197f8
cmp dword [ebp - 0x1c], 0x3e
jne 0x4197f8
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
sub eax, dword [edx + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], 0x40
jmp 0x419872
jmp 0x41985b
cmp dword [ebp - 0x1c], 0x3c
jne 0x41980b
mov ecx, dword [ebp - 0x28]
or ecx, 1
mov dword [ebp - 0x28], ecx
jmp 0x41985b
mov dword [ebp - 0x24], 4
movsx edx, byte [ebp - 0x1c]
push edx
push str.__t_n_r
call fcn.0041d860
add esp, 8
test eax, eax
je 0x419833
mov eax, dword [ebp - 0x28]
or eax, 0x10
mov dword [ebp - 0x28], eax
jmp 0x41985b
mov dword [ebp - 0x14], 0x428088
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x24], 2
xor ecx, ecx
je 0x41985b
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
sub eax, dword [edx + 0xc]
sub eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0041d8e0
add esp, 4
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
jmp 0x419009
mov edx, dword [ebp - 0x10]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
sub eax, dword [edx + 4]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x24]
mov dword [edx], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
call fcn.00423fdd
mov esp, ebp
pop ebp
ret