Function at 0x4068a0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
xor eax, eax
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], eax
mov ecx, dword [ebp + 8]
or edx, 0xffffffff
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov eax, dword [edi + 8]
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], ebx
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edx
lea ecx, [eax + ecx*2]
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov eax, dword [esp + 0x18]
movzx esi, word [eax]
test esi, esi
jne 0x40699e
sub eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x1c]
sar eax, 1
mov dword [edi + 8], eax
test ecx, ecx
je 0x407072
mov eax, dword [ecx + 0xa4]
mov dword [esp + 0x2c], eax
call fcn.00406000
test al, al
je 0x40697d
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x1c]
mov esi, dword [edi + 8]
mov edx, dword [edx + 4]
sub esi, edx
mov ecx, dword [eax + 0xa4]
test ecx, ecx
je 0x406960
mov eax, dword [ebp + 8]
sub edx, ecx
mov dword [eax + 4], edx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x406951
sub eax, ecx
mov dword [esp + 0x14], eax
jmp 0x40695d
cmp dword [esp + 0x24], 0
je 0x40695d
sub dword [edi], ecx
sub dword [edi + 4], ecx
sub dword [edi + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x1c]
add ecx, esi
mov eax, dword [eax + 0x28]
mov eax, dword [eax]
mov dword [edi + 0xc], eax
lea eax, [eax + ecx*2]
movzx esi, word [eax]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x40698e
mov eax, dword [edi + 0x1c]
mov dword [eax + 0xa4], ecx
mov edx, dword [esp + 0xc]
test esi, esi
je 0x407072
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4069e6
lea eax, [esi - 9]
cmp eax, 0x35
ja 0x406ab7
movsx eax, byte [esi + 0x452cf3]
test eax, eax
je 0x406ab7
mov eax, dword [esp + 0x18]
sub eax, dword [edi + 0xc]
sar eax, 1
mov dword [esp + 0x24], eax
dec eax
sub dword [esp + 0x24], ecx
mov dword [edi], ecx
xor ecx, ecx
mov dword [edi + 4], eax
xor eax, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
jmp 0x4069ea
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x10], 0
je 0x406cbb
cmp esi, 0x3e
jne 0x406acf
test bl, 0xc0
jne 0x406ae6
mov ecx, dword [esp + 0x18]
mov eax, ecx
sub eax, dword [edi + 0xc]
mov esi, dword [esp + 0x1c]
sar eax, 1
inc eax
mov dword [edi + 8], eax
cmp esi, 1
jne 0x406a67
mov dword [esp + 0x10], 0
cmp edx, esi
jne 0x406a5f
cmp dword [esp + 0x20], 0x2f
jne 0x406a5f
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x406a55
test ebx, 0x200
je 0x406a55
lea eax, [ecx - 9]
cmp eax, 0x1e
ja 0x406a5f
movsx eax, byte [ecx + 0x452d2b]
test eax, eax
je 0x406a5f
mov eax, dword [ebp + 8]
or dword [eax + 0xc], 0x10000
and ebx, 0xfffffdff
jmp 0x406aaa
dec eax
cmp eax, esi
jle 0x406a98
lea eax, [esi + esi]
sub ecx, eax
mov eax, dword [esp + 0x10]
lea edx, [ecx + 2]
sub eax, edx
mov dword [esp + 0x2c], eax
nop
sub esi, 1
je 0x406ac7
mov ax, word [eax + edx]
mov cx, word [edx]
add edx, 2
cmp cx, ax
mov eax, dword [esp + 0x2c]
je 0x406a80
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
and ebx, 0xfffffdff
test eax, eax
jne 0x406ab3
test bl, 0x20
je 0x40712b
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add eax, 2
mov dword [esp + 0x18], eax
jmp 0x4068f0
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x406a9c
cmp esi, 0x3c
jne 0x406ae6
cmp edx, 2
je 0x40711f
cmp edx, 0xffffffff
je 0x40711f
test dl, 1
je 0x406c6a
test ebx, 0x2c0
je 0x406b98
cmp esi, 0x22
jne 0x406b26
test bl, bl
jns 0x406b4f
mov eax, dword [esp + 0x20]
xor ebx, 0x80
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
add eax, 2
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], eax
jmp 0x4068f0
cmp esi, 0x27
jne 0x406b4f
test bl, 0x40
je 0x406b4f
mov eax, dword [esp + 0x20]
xor ebx, 0x40
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
add eax, 2
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], eax
jmp 0x4068f0
test ebx, 0x200
je 0x406c4e
lea eax, [esi - 9]
cmp eax, 0x17
ja 0x406c4e
movsx eax, byte [esi + 0x4529a7]
test eax, eax
je 0x406c4e
mov eax, dword [esp + 0x20]
xor ebx, 0x200
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
add eax, 2
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], eax
jmp 0x4068f0
cmp esi, 0x22
jne 0x406bcb
test ebx, 0x100
je 0x406c4e
mov eax, dword [esp + 0x20]
xor ebx, 0x180
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
add eax, 2
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], eax
jmp 0x4068f0
cmp esi, 0x27
jne 0x406bfa
test ebx, 0x100
je 0x406c4e
mov eax, dword [esp + 0x20]
xor ebx, 0x140
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
add eax, 2
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], eax
jmp 0x4068f0
cmp esi, 0x3d
jne 0x406c2d
cmp eax, esi
je 0x406c2d
test ebx, 0x100
jne 0x406c35
mov eax, dword [esp + 0x20]
xor ebx, 0x100
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
add eax, 2
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], eax
jmp 0x4068f0
test ebx, 0x100
je 0x406c4e
lea eax, [esi - 9]
cmp eax, 0x17
ja 0x406c48
movsx eax, byte [esi + 0x4529a7]
test eax, eax
jne 0x406c4e
xor ebx, 0x300
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
add eax, 2
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], eax
jmp 0x4068f0
test dl, 0x40
je 0x406ab7
cmp esi, 0x22
jne 0x406c97
test bl, 0x40
jne 0x406ab7
mov eax, dword [esp + 0x18]
xor ebx, 0x80
add eax, 2
mov dword [esp + 0x18], eax
jmp 0x4068f0
cmp esi, 0x27
jne 0x406ab7
test bl, bl
js 0x406ab7
mov eax, dword [esp + 0x18]
xor ebx, 0x40
add eax, 2
mov dword [esp + 0x18], eax
jmp 0x4068f0
test ebx, ebx
je 0x407023
test bl, 0x10
je 0x406d13
cmp esi, 0x3c
je 0x407148
lea eax, [esi - 9]
cmp eax, 0x17
ja 0x406ce8
movsx eax, byte [esi + 0x4529a7]
test eax, eax
jne 0x406ab7
xor ebx, 0x10
mov eax, dword [esp + 0x18]
mov edx, 2
add eax, edx
mov dword [esp + 0x10], 0x452d54
mov dword [esp + 0x1c], 1
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], eax
jmp 0x4068f0
test bl, 1
je 0x406e5d
xor ebx, 1
cmp esi, 0x60
ja 0x406e27
cmp esi, 0x40
jbe 0x406d36
cmp esi, 0x5b
jb 0x406e27
cmp esi, 0x5f
je 0x406e27
cmp esi, 0x3a
je 0x406e27
cmp esi, 0x2f
jne 0x406d81
mov ecx, dword [esp + 0x18]
xor edx, edx
sub ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x18]
sar ecx, 1
inc ecx
mov dword [esp + 0x10], 0x452d58
add eax, 2
mov dword [esp + 0x1c], 1
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jmp 0x4068f0
cmp esi, 0x21
jne 0x406d99
mov eax, dword [esp + 0x18]
or ebx, 2
add eax, 2
mov dword [esp + 0x18], eax
jmp 0x4068f0
cmp esi, 0x3f
jne 0x406dd5
mov ecx, dword [esp + 0x18]
mov edx, 0x10
sub ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x18]
sar ecx, 1
inc ecx
mov dword [esp + 0x10], 0x452d5c
add eax, 2
mov dword [esp + 0x1c], 2
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jmp 0x4068f0
push 0xffffffffffffffff
push dword [edi + 8]
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], str.first_tag_syntax
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x20], 0x452d58
lea ecx, [ecx + 0x10]
call fcn.004038c0
mov eax, dword [esp + 0x28]
or edx, 0xffffffff
mov ecx, dword [esp + 0x24]
add esp, 0x10
add eax, 2
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], eax
jmp 0x4068f0
mov ecx, dword [esp + 0x18]
mov edx, 1
sub ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x18]
sar ecx, 1
add eax, 2
mov dword [esp + 0x10], 0x452d58
mov dword [esp + 0x1c], 1
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jmp 0x4068f0
test bl, 2
je 0x406f3e
xor ebx, 2
cmp esi, 0x2d
jne 0x406e81
mov eax, dword [esp + 0x18]
or ebx, 4
add eax, 2
mov dword [esp + 0x18], eax
jmp 0x4068f0
test bl, 0x20
je 0x406ef2
lea eax, [esi - 0x41]
cmp eax, 0xd
ja 0x406ea0
movsx eax, byte [esi + 0x452d47]
test eax, eax
je 0x406ea0
mov edx, 0x40
jmp 0x406eca
push 0xffffffffffffffff
push dword [edi + 8]
xor edx, edx
push ecx
mov eax, esp
push ecx
mov ecx, dword [ebp + 8]
mov dword [eax], 0
mov eax, esp
lea ecx, [ecx + 0x10]
mov dword [eax], str.doctype_tag_syntax
call fcn.004038c0
add esp, 0x10
or edx, 0xffffffff
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add eax, 2
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0x452d58
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], eax
jmp 0x4068f0
cmp esi, 0x5b
jne 0x406f0a
mov eax, dword [esp + 0x18]
or ebx, 8
add eax, 2
mov dword [esp + 0x18], eax
jmp 0x4068f0
cmp esi, 0x44
jne 0x406f22
mov eax, dword [esp + 0x18]
or ebx, 0x20
add eax, 2
mov dword [esp + 0x18], eax
jmp 0x4068f0
push 0xffffffffffffffff
push dword [edi + 8]
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], str.exclamation_tag_syntax
jmp 0x406dec
test bl, 4
je 0x406f90
xor ebx, 4
cmp esi, 0x2d
jne 0x406f74
mov eax, dword [esp + 0x18]
mov edx, 0x20
add eax, 2
mov dword [esp + 0x10], 0x452df0
mov dword [esp + 0x1c], 3
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], eax
jmp 0x4068f0
push 0xffffffffffffffff
push dword [edi + 8]
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], str.comment_tag_syntax
jmp 0x406dec
test bl, 8
je 0x406fe2
xor ebx, 8
cmp esi, 0x43
jne 0x406fc6
mov eax, dword [esp + 0x18]
mov edx, 8
add eax, 2
mov dword [esp + 0x10], 0x452e20
mov dword [esp + 0x1c], 3
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], eax
jmp 0x4068f0
push 0xffffffffffffffff
push dword [edi + 8]
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], str.cdata_section_syntax
jmp 0x406dec
test bl, 0x20
je 0x406ab7
cmp esi, 0x3c
jne 0x407003
mov eax, dword [esp + 0x18]
or ebx, 1
add eax, 2
mov dword [esp + 0x18], eax
jmp 0x4068f0
cmp esi, 0x3e
jne 0x406ab7
mov eax, dword [esp + 0x18]
mov esi, 0x40
sub eax, dword [edi + 0xc]
sar eax, 1
inc eax
mov dword [edi + 8], eax
jmp 0x40712f
cmp esi, 0x3c
jne 0x40703b
mov eax, dword [esp + 0x18]
lea ebx, [esi - 0x3b]
add eax, 2
mov dword [esp + 0x18], eax
jmp 0x4068f0
lea eax, [esi - 9]
mov edx, 4
mov dword [esp + 0xc], edx
cmp eax, 0x17
ja 0x406ceb
movsx eax, byte [esi + 0x4529a7]
test eax, eax
je 0x406ceb
mov eax, dword [esp + 0x18]
lea ebx, [edx + 0xc]
add eax, 2
mov dword [esp + 0x18], eax
jmp 0x4068f0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
cmp dword [edi + 8], eax
jne 0x407098
mov dword [ecx + 8], 0
mov eax, 0xfffffffe
mov dword [ecx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp edx, 4
je 0x40712b
cmp edx, 2
je 0x40712b
mov ecx, 0x452c28
test bl, 0x20
jne 0x4070f4
cmp edx, 0x40
je 0x4070f4
cmp edx, 1
jne 0x4070c5
mov ecx, str.start_tag
jmp 0x4070f9
test edx, edx
jne 0x4070d0
mov ecx, str.end_tag
jmp 0x4070f9
cmp edx, 8
jne 0x4070dc
mov ecx, 0x452c70
jmp 0x4070f9
cmp edx, 0x10
jne 0x4070e8
mov ecx, str.processing_instruction
jmp 0x4070f9
cmp edx, 0x20
jne 0x4070f9
mov ecx, str.comment
jmp 0x4070f9
mov ecx, str.document_type
or esi, 0xffffffff
push esi
push eax
push ecx
mov eax, esp
lea edx, [esi + 3]
push ecx
mov dword [eax], ecx
mov eax, esp
mov ecx, dword [ebp + 8]
mov dword [eax], str.unterminated_tag_syntax
lea ecx, [ecx + 0x10]
call fcn.004038c0
add esp, 0x10
jmp 0x40712f
mov eax, dword [esp + 0x18]
sub eax, dword [edi + 0xc]
sar eax, 1
mov dword [edi + 8], eax
mov esi, dword [esp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 8]
pop edi
sub ecx, dword [eax + 4]
mov dword [eax], esi
mov dword [eax + 8], ecx
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x18]
mov esi, 4
sub eax, dword [edi + 0xc]
sar eax, 1
mov dword [edi + 8], eax
jmp 0x40712f