Function at 0x4065e0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], ecx
xor ebx, ebx
mov dword [esp + 0x28], ecx
or edx, 0xffffffff
mov eax, dword [edi + 8]
xor esi, esi
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x30], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], ebx
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov dword [esp + 0x1c], esi
lea ecx, [eax + ecx*2]
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov eax, dword [esp + 0x20]
nop dword [eax + eax]
movzx esi, word [eax]
test esi, esi
jne 0x4066ee
sub eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x1c]
sar eax, 1
mov dword [edi + 8], eax
test ecx, ecx
je 0x406dd6
mov eax, dword [ecx + 0xa4]
mov dword [esp + 0x34], eax
call fcn.00405c70
test al, al
je 0x4066cd
mov eax, dword [ebp + 8]
mov edx, dword [edi + 0x1c]
mov esi, dword [edi + 8]
mov ecx, dword [eax + 4]
sub esi, ecx
mov eax, dword [edx + 0xa4]
test eax, eax
je 0x4066b3
mov edx, dword [ebp + 8]
sub ecx, eax
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4066a1
sub ecx, eax
mov dword [esp + 0x18], ecx
jmp 0x4066ad
cmp dword [esp + 0x28], 0
je 0x4066ad
sub dword [edi], eax
sub dword [edi + 4], eax
sub dword [edi + 8], eax
mov edx, dword [edi + 0x1c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov eax, dword [edx + 0x28]
add ecx, esi
mov eax, dword [eax]
mov dword [edi + 0xc], eax
lea eax, [eax + ecx*2]
movzx esi, word [eax]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4066de
mov eax, dword [edi + 0x1c]
mov dword [eax + 0xa4], ecx
mov edx, dword [esp + 0x10]
test esi, esi
je 0x406dd6
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x406732
lea eax, [esi - 9]
cmp eax, 0x35
ja 0x406806
cmp byte [esi + 0x455183], 0
je 0x406806
mov eax, dword [esp + 0x20]
sub eax, dword [edi + 0xc]
sar eax, 1
mov dword [esp + 0x28], eax
dec eax
sub dword [esp + 0x28], ecx
mov dword [edi], ecx
xor ecx, ecx
mov dword [edi + 4], eax
xor eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
cmp dword [esp + 0x14], 0
je 0x4069f5
cmp esi, 0x3e
jne 0x406816
test bl, 0xc0
jne 0x40682d
mov esi, dword [esp + 0x20]
mov ecx, esi
sub ecx, dword [edi + 0xc]
sar ecx, 1
lea eax, [ecx + 1]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
cmp eax, 1
jne 0x4067af
mov dword [esp + 0x14], 0
cmp edx, eax
jne 0x4067a7
cmp dword [esp + 0x24], 0x2f
jne 0x4067a7
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x40679d
test ebx, 0x200
je 0x40679d
lea eax, [ecx - 9]
cmp eax, 0x1e
ja 0x4067a7
cmp byte [ecx + 0x4551bb], 0
je 0x4067a7
mov eax, dword [ebp + 8]
or dword [eax + 0xc], 0x10000
and ebx, 0xfffffdff
jmp 0x4067f9
cmp ecx, eax
jle 0x4067e8
mov edi, dword [esp + 0x14]
add eax, eax
mov edx, esi
mov esi, dword [esp + 0x1c]
sub edx, eax
add edx, 2
sub edi, edx
sub esi, 1
je 0x4067dc
movzx ecx, word [edx]
mov ax, word [edi + edx]
add edx, 2
cmp cx, ax
je 0x4067c6
jmp 0x4067e4
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
and ebx, 0xfffffdff
cmp dword [esp + 0x14], 0
jne 0x406802
test bl, 0x20
je 0x406e8f
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
add eax, 2
mov dword [esp + 0x20], eax
jmp 0x406640
cmp esi, 0x3c
jne 0x40682d
cmp edx, 2
je 0x406e83
cmp edx, 0xffffffff
je 0x406e83
test dl, 1
je 0x4069a4
test ebx, 0x2c0
je 0x4068dd
cmp esi, 0x22
jne 0x40686d
test bl, bl
jns 0x406896
mov eax, dword [esp + 0x24]
xor ebx, 0x80
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
add eax, 2
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
jmp 0x406640
cmp esi, 0x27
jne 0x406896
test bl, 0x40
je 0x406896
mov eax, dword [esp + 0x24]
xor ebx, 0x40
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
add eax, 2
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
jmp 0x406640
test ebx, 0x200
je 0x406988
lea eax, [esi - 9]
cmp eax, 0x17
ja 0x406988
cmp byte [esi + 0x454e37], 0
je 0x406988
mov eax, dword [esp + 0x24]
xor ebx, 0x200
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
add eax, 2
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
jmp 0x406640
mov eax, ebx
and eax, 0x100
cmp esi, 0x22
jne 0x40690f
test eax, eax
je 0x40690f
mov eax, dword [esp + 0x24]
xor ebx, 0x180
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
add eax, 2
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
jmp 0x406640
cmp esi, 0x27
jne 0x40693a
test eax, eax
je 0x406988
mov eax, dword [esp + 0x24]
xor ebx, 0x140
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
add eax, 2
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
jmp 0x406640
cmp esi, 0x3d
jne 0x40696b
cmp dword [esp + 0x24], esi
je 0x40696b
test eax, eax
jne 0x406982
mov eax, dword [esp + 0x24]
xor ebx, 0x100
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
add eax, 2
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
jmp 0x406640
test eax, eax
je 0x406988
cmp esi, 9
jb 0x406982
cmp esi, 0x20
ja 0x406982
cmp byte [esi + 0x454e37], 0
jne 0x406988
xor ebx, 0x300
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
add eax, 2
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
jmp 0x406640
test dl, 0x40
je 0x406806
cmp esi, 0x22
jne 0x4069d1
test bl, 0x40
jne 0x406806
mov eax, dword [esp + 0x20]
xor ebx, 0x80
add eax, 2
mov dword [esp + 0x20], eax
jmp 0x406640
cmp esi, 0x27
jne 0x406806
test bl, bl
js 0x406806
mov eax, dword [esp + 0x20]
xor ebx, 0x40
add eax, 2
mov dword [esp + 0x20], eax
jmp 0x406640
test ebx, ebx
je 0x406d69
test bl, 0x10
je 0x406a5b
cmp esi, 0x3c
je 0x406eac
lea eax, [esi - 9]
cmp eax, 0x17
ja 0x406a20
movsx ecx, byte [esi + 0x454e37]
test ecx, ecx
jne 0x406a3b
jmp 0x406a22
xor ecx, ecx
mov edx, 2
mov dword [esp + 0x14], 0x4551e4
mov dword [esp + 0x1c], 1
mov dword [esp + 0x10], edx
mov eax, ebx
xor eax, 0x10
test ecx, ecx
mov ecx, dword [esp + 0x18]
cmovne eax, ebx
mov ebx, eax
mov eax, dword [esp + 0x20]
add eax, 2
mov dword [esp + 0x20], eax
jmp 0x406640
test bl, 1
je 0x406ba5
xor ebx, 1
cmp esi, 0x60
ja 0x406b6f
cmp esi, 0x40
jbe 0x406a7e
cmp esi, 0x5b
jb 0x406b6f
cmp esi, 0x5f
je 0x406b6f
cmp esi, 0x3a
je 0x406b6f
cmp esi, 0x2f
jne 0x406ac9
mov ecx, dword [esp + 0x20]
xor edx, edx
sub ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x20]
sar ecx, 1
inc ecx
mov dword [esp + 0x14], 0x4551e8
add eax, 2
mov dword [esp + 0x1c], 1
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
jmp 0x406640
cmp esi, 0x21
jne 0x406ae1
mov eax, dword [esp + 0x20]
or ebx, 2
add eax, 2
mov dword [esp + 0x20], eax
jmp 0x406640
cmp esi, 0x3f
jne 0x406b1d
mov ecx, dword [esp + 0x20]
mov edx, 0x10
sub ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x20]
sar ecx, 1
inc ecx
mov dword [esp + 0x14], 0x4551ec
add eax, 2
mov dword [esp + 0x1c], 2
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
jmp 0x406640
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 + 0x24], 0x4551e8
lea ecx, [ecx + 0x10]
call fcn.004035d0
mov eax, dword [esp + 0x30]
or edx, 0xffffffff
mov ecx, dword [esp + 0x28]
add esp, 0x10
add eax, 2
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
jmp 0x406640
mov ecx, dword [esp + 0x20]
mov edx, 1
sub ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x20]
sar ecx, 1
add eax, 2
mov dword [esp + 0x14], 0x4551e8
mov dword [esp + 0x1c], 1
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
jmp 0x406640
test bl, 2
je 0x406c84
xor ebx, 2
cmp esi, 0x2d
jne 0x406bc9
mov eax, dword [esp + 0x20]
or ebx, 4
add eax, 2
mov dword [esp + 0x20], eax
jmp 0x406640
test bl, 0x20
je 0x406c38
lea eax, [esi - 0x41]
cmp eax, 0xd
ja 0x406be6
cmp byte [esi + 0x4551d7], 0
je 0x406be6
mov edx, 0x40
jmp 0x406c10
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.004035d0
add esp, 0x10
or edx, 0xffffffff
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
add eax, 2
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0x4551e8
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], eax
jmp 0x406640
cmp esi, 0x5b
jne 0x406c50
mov eax, dword [esp + 0x20]
or ebx, 8
add eax, 2
mov dword [esp + 0x20], eax
jmp 0x406640
cmp esi, 0x44
jne 0x406c68
mov eax, dword [esp + 0x20]
or ebx, 0x20
add eax, 2
mov dword [esp + 0x20], eax
jmp 0x406640
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 0x406b34
test bl, 4
je 0x406cd6
xor ebx, 4
cmp esi, 0x2d
jne 0x406cba
mov eax, dword [esp + 0x20]
mov edx, 0x20
add eax, 2
mov dword [esp + 0x14], 0x455280
mov dword [esp + 0x1c], 3
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
jmp 0x406640
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 0x406b34
test bl, 8
je 0x406d28
xor ebx, 8
cmp esi, 0x43
jne 0x406d0c
mov eax, dword [esp + 0x20]
mov edx, 8
add eax, 2
mov dword [esp + 0x14], 0x4552b0
mov dword [esp + 0x1c], 3
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
jmp 0x406640
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 0x406b34
test bl, 0x20
je 0x406806
cmp esi, 0x3c
jne 0x406d49
mov eax, dword [esp + 0x20]
or ebx, 1
add eax, 2
mov dword [esp + 0x20], eax
jmp 0x406640
cmp esi, 0x3e
jne 0x406806
mov eax, dword [esp + 0x20]
mov esi, 0x40
sub eax, dword [edi + 0xc]
sar eax, 1
inc eax
mov dword [edi + 8], eax
jmp 0x406e93
cmp esi, 0x3c
jne 0x406d81
mov eax, dword [esp + 0x20]
lea ebx, [esi - 0x3b]
add eax, 2
mov dword [esp + 0x20], eax
jmp 0x406640
lea eax, [esi - 9]
mov edx, 4
mov dword [esp + 0x10], edx
cmp eax, 0x17
ja 0x406dae
cmp byte [esi + 0x454e37], 0
je 0x406dae
mov eax, dword [esp + 0x20]
lea ebx, [edx + 0xc]
add eax, 2
mov dword [esp + 0x20], eax
jmp 0x406640
mov eax, dword [esp + 0x20]
mov edx, 2
add eax, edx
mov dword [esp + 0x14], 0x4551e4
mov dword [esp + 0x1c], 1
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
jmp 0x406640
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
cmp dword [edi + 8], eax
jne 0x406dfc
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 0x406e8f
cmp edx, 2
je 0x406e8f
mov ecx, 0x4550b8
test bl, 0x20
jne 0x406e58
cmp edx, 0x40
je 0x406e58
cmp edx, 1
jne 0x406e29
mov ecx, str.start_tag
jmp 0x406e5d
test edx, edx
jne 0x406e34
mov ecx, str.end_tag
jmp 0x406e5d
cmp edx, 8
jne 0x406e40
mov ecx, 0x455100
jmp 0x406e5d
cmp edx, 0x10
jne 0x406e4c
mov ecx, str.processing_instruction
jmp 0x406e5d
cmp edx, 0x20
jne 0x406e5d
mov ecx, str.comment
jmp 0x406e5d
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.004035d0
add esp, 0x10
jmp 0x406e93
mov eax, dword [esp + 0x20]
sub eax, dword [edi + 0xc]
sar eax, 1
mov dword [edi + 8], eax
mov esi, dword [esp + 0x10]
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 + 0x20]
mov esi, 4
sub eax, dword [edi + 0xc]
sar eax, 1
mov dword [edi + 8], eax
jmp 0x406e93