Function at 0x406dd2
Capabilities:
Parse credit card information

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x34c
mov eax, dword [0x501f8c]
xor eax, ebp
mov dword [ebp + 0x6c], eax
mov ecx, dword [ebp + 0x7c]
or dword [ebp - 0x2bc], 0xffffffff
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0x78]
mov eax, dword [edi + 8]
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], esi
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
lea edx, [edx + eax*2]
mov dword [ebp - 0x2cc], eax
movzx eax, word [edx]
mov dword [ebp - 0x2d0], ecx
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x2c0], esi
mov dword [ebp - 0x2c8], esi
mov dword [ebp - 0x2d4], esi
mov dword [ebp - 0x2d8], esi
mov dword [ebp - 0x2c4], edx
cmp ax, si
jne 0x406e4f
push 0xfffffffffffffffe
mov dword [ecx + 8], esi
mov dword [ecx], esi
pop eax
jmp 0x4074bf
push ebx
movzx ebx, ax
test ebx, ebx
je 0x407159
test esi, esi
je 0x406eb8
push ebx
push str.__t_n_r__
call fcn.0045009a
pop ecx
pop ecx
test eax, eax
je 0x40713f
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp - 0x2c4]
sub eax, ecx
sar eax, 1
sub eax, esi
cmp dword [ebp - 0x2bc], 0
jne 0x406e97
lea eax, [eax + esi - 1]
mov dword [edi], esi
mov dword [edi + 4], eax
jmp 0x406eaa
push eax
lea eax, [ecx + esi*2]
mov ecx, dword [ebp - 0x2d0]
push eax
add ecx, 0x10
call fcn.004069c9
xor esi, esi
mov dword [ebp - 0x2d8], esi
mov dword [ebp - 0x2d4], esi
mov edx, dword [ebp - 0x2c0]
test edx, edx
je 0x4070e6
cmp ebx, 0x3e
jne 0x406f96
test byte [ebp - 0x2b8], 0xc0
jne 0x406fb5
mov eax, dword [ebp - 0x2c4]
sub eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x2c8]
sar eax, 1
mov dword [ebp - 0x2cc], eax
cmp ecx, 1
jne 0x406f3e
and dword [ebp - 0x2c0], 0
cmp dword [ebp - 0x2bc], ecx
jne 0x406f84
cmp dword [ebp - 0x2d4], 0x2f
jne 0x406f84
cmp dword [ebp - 0x2d8], 0
je 0x406f2f
push dword [ebp - 0x2d8]
push 0x47799c
call fcn.0045009a
pop ecx
pop ecx
test eax, eax
je 0x406f84
mov eax, dword [ebp - 0x2d0]
or dword [eax + 0xc], 0x10000
jmp 0x406f84
cmp eax, ecx
jle 0x406f77
mov ebx, dword [ebp - 0x2c4]
lea eax, [ecx + ecx]
sub ebx, eax
lea eax, [ebx + 2]
mov dword [ebp - 0x2dc], ecx
sub edx, eax
dec dword [ebp - 0x2dc]
je 0x406f70
mov cx, word [eax]
mov bx, word [edx + eax]
inc eax
inc eax
cmp cx, bx
je 0x406f58
jmp 0x406f77
and dword [ebp - 0x2c0], 0
cmp dword [ebp - 0x2c0], 0
jne 0x40713f
test byte [ebp - 0x2b8], 0x20
je 0x4074a0
jmp 0x40713f
cmp ebx, 0x3c
jne 0x406fb5
cmp dword [ebp - 0x2bc], 2
je 0x407579
cmp dword [ebp - 0x2bc], 0xffffffff
je 0x407579
test byte [ebp - 0x2bc], 1
je 0x4070a8
test byte [ebp - 0x2b8], 0xc0
je 0x40700e
cmp ebx, 0x22
jne 0x406fec
test byte [ebp - 0x2b8], 0x80
je 0x407091
xor dword [ebp - 0x2b8], 0x80
jmp 0x407091
cmp ebx, 0x27
jne 0x407091
test byte [ebp - 0x2b8], 0x40
je 0x407091
xor dword [ebp - 0x2b8], 0x40
jmp 0x407091
cmp ebx, 0x22
jne 0x40702b
test dword [ebp - 0x2b8], 0x100
je 0x407091
xor dword [ebp - 0x2b8], 0x180
jmp 0x407091
cmp ebx, 0x27
jne 0x407048
test dword [ebp - 0x2b8], 0x100
je 0x407091
xor dword [ebp - 0x2b8], 0x140
jmp 0x407091
cmp ebx, 0x3d
jne 0x40706a
cmp dword [ebp - 0x2d4], ebx
je 0x40706a
mov eax, 0x100
test dword [ebp - 0x2b8], eax
jne 0x40706a
xor dword [ebp - 0x2b8], eax
jmp 0x407091
test dword [ebp - 0x2b8], 0x100
je 0x407091
push ebx
push 0x477784
call fcn.0045009a
pop ecx
pop ecx
test eax, eax
jne 0x407091
xor dword [ebp - 0x2b8], 0x100
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x2d8], eax
mov dword [ebp - 0x2d4], ebx
jmp 0x40713f
test byte [ebp - 0x2bc], 0x40
je 0x40713f
cmp ebx, 0x22
jne 0x4070cf
test byte [ebp - 0x2b8], 0x40
jne 0x40713f
xor dword [ebp - 0x2b8], 0x80
jmp 0x40713f
cmp ebx, 0x27
jne 0x40713f
test byte [ebp - 0x2b8], 0x80
jne 0x40713f
xor dword [ebp - 0x2b8], 0x40
jmp 0x40713f
cmp dword [ebp - 0x2b8], 0
je 0x4074d0
test byte [ebp - 0x2b8], 0x10
je 0x4071b3
cmp ebx, 0x3c
je 0x40758a
push ebx
push 0x477784
call fcn.0045009a
pop ecx
pop ecx
test eax, eax
jne 0x40713f
xor dword [ebp - 0x2b8], 0x10
mov dword [ebp - 0x2bc], 2
mov dword [ebp - 0x2c8], 1
mov dword [ebp - 0x2c0], 0x477998
add dword [ebp - 0x2c4], 2
mov eax, dword [ebp - 0x2c4]
movzx ebx, word [eax]
test ebx, ebx
jne 0x406e5b
mov edx, eax
sub edx, dword [edi + 0xc]
sar edx, 1
dec edx
cmp dword [ebp - 0x2bc], 4
mov dword [ebp - 0x2cc], edx
je 0x4074a0
cmp dword [ebp - 0x2bc], 2
je 0x4074a0
test byte [ebp - 0x2b8], 0x20
mov ecx, 0x477990
jne 0x407541
mov eax, dword [ebp - 0x2bc]
cmp eax, 0x40
je 0x407541
cmp eax, 1
jne 0x407512
mov ecx, 0x477978
jmp 0x407546
test byte [ebp - 0x2b8], 1
je 0x4072b6
xor eax, eax
inc eax
xor dword [ebp - 0x2b8], eax
cmp ebx, 0x60
ja 0x407290
cmp ebx, 0x40
jbe 0x4071e0
cmp ebx, 0x5b
jb 0x407290
cmp ebx, 0x5f
je 0x407290
cmp ebx, 0x3a
je 0x407290
cmp ebx, 0x2f
jne 0x407210
and dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2c0], 0x477974
mov dword [ebp - 0x2c8], eax
jmp 0x407244
cmp ebx, 0x21
jne 0x407221
or dword [ebp - 0x2b8], 2
jmp 0x40713f
cmp ebx, 0x3f
jne 0x407255
mov dword [ebp - 0x2c0], 0x47796c
mov dword [ebp - 0x2c8], 2
mov dword [ebp - 0x2bc], 0x10
mov esi, dword [ebp - 0x2c4]
sub esi, dword [edi + 0xc]
sar esi, 1
inc esi
jmp 0x40713f
push dword [ebp - 0x2cc]
lea eax, [ebp - 0x2b4]
push str.tag_name_character
push str.Incorrect__s_at_offset__d
push eax
mov dword [ebp - 0x2c0], 0x477974
mov dword [ebp - 0x2c8], 1
call fcn.00450ad6
lea eax, [ebp - 0x2b4]
jmp 0x407440
mov esi, dword [ebp - 0x2c4]
sub esi, dword [edi + 0xc]
mov dword [ebp - 0x2c0], 0x477974
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2bc], eax
sar esi, 1
jmp 0x40713f
test byte [ebp - 0x2b8], 2
je 0x40736a
xor dword [ebp - 0x2b8], 2
cmp ebx, 0x2d
jne 0x4072db
or dword [ebp - 0x2b8], 4
jmp 0x40713f
cmp ebx, 0x5b
jne 0x4072f5
test byte [ebp - 0x2b8], 0x20
jne 0x40730f
or dword [ebp - 0x2b8], 8
jmp 0x40713f
cmp ebx, 0x44
jne 0x40730f
test byte [ebp - 0x2b8], 0x20
jne 0x40730f
or dword [ebp - 0x2b8], 0x20
jmp 0x40713f
push ebx
push 0x477908
call fcn.0045009a
pop ecx
pop ecx
mov dword [ebp - 0x2c0], 0x477974
mov dword [ebp - 0x2c8], 1
test eax, eax
je 0x407343
mov dword [ebp - 0x2bc], 0x40
jmp 0x40713f
push dword [ebp - 0x2cc]
lea eax, [ebp - 0x1ec]
push str.__tag
push str.Incorrect__s_at_offset__d
push eax
call fcn.00450ad6
lea eax, [ebp - 0x1ec]
jmp 0x407440
test byte [ebp - 0x2b8], 4
je 0x4073da
xor dword [ebp - 0x2b8], 4
cmp ebx, 0x2d
jne 0x4073a2
mov dword [ebp - 0x2c0], 0x4778f4
mov dword [ebp - 0x2c8], 3
mov dword [ebp - 0x2bc], 0x20
jmp 0x40713f
push dword [ebp - 0x2cc]
lea eax, [ebp - 0x124]
push str.comment_tag
push str.Incorrect__s_at_offset__d
push eax
mov dword [ebp - 0x2c0], 0x477974
mov dword [ebp - 0x2c8], 1
call fcn.00450ad6
lea eax, [ebp - 0x124]
jmp 0x407440
test byte [ebp - 0x2b8], 8
je 0x40745e
push 8
pop eax
xor dword [ebp - 0x2b8], eax
cmp ebx, 0x43
jne 0x407410
mov dword [ebp - 0x2c0], 0x4778d4
mov dword [ebp - 0x2c8], 3
mov dword [ebp - 0x2bc], eax
jmp 0x40713f
push dword [ebp - 0x2cc]
lea eax, [ebp - 0x5c]
push 0x477990
push str.Incorrect__s_at_offset__d
push eax
mov dword [ebp - 0x2c0], 0x477974
mov dword [ebp - 0x2c8], 1
call fcn.00450ad6
lea eax, [ebp - 0x5c]
mov ecx, dword [ebp - 0x2d0]
add esp, 0x10
push eax
add ecx, 0x10
call fcn.00406a67
or dword [ebp - 0x2bc], 0xffffffff
jmp 0x40713f
test byte [ebp - 0x2b8], 0x20
je 0x40713f
cmp ebx, 0x3c
jne 0x40747c
or dword [ebp - 0x2b8], 1
jmp 0x40713f
cmp ebx, 0x3e
jne 0x40713f
mov eax, dword [ebp - 0x2c4]
sub eax, dword [edi + 0xc]
mov dword [ebp - 0x2bc], 0x40
sar eax, 1
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2cc]
mov ecx, dword [ebp - 0x2d0]
inc eax
mov dword [edi + 8], eax
sub eax, dword [ecx + 4]
pop ebx
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x2bc]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x6c]
pop edi
xor ecx, ebp
pop esi
call fcn.0044fa41
add ebp, 0x70
leave
ret
cmp ebx, 0x3c
jne 0x4074e4
mov dword [ebp - 0x2b8], 1
jmp 0x40713f
push ebx
push 0x477784
mov dword [ebp - 0x2bc], 4
call fcn.0045009a
pop ecx
pop ecx
test eax, eax
je 0x407121
mov dword [ebp - 0x2b8], 0x10
jmp 0x40713f
test eax, eax
jne 0x40751d
mov ecx, str.Element_end_tag
jmp 0x407546
cmp eax, 8
jne 0x407529
mov ecx, str.CDATA_Section
jmp 0x407546
cmp eax, 0x10
jne 0x407535
mov ecx, str.Processing_instruction
jmp 0x407546
cmp eax, 0x20
jne 0x407546
mov ecx, str.Comment
jmp 0x407546
mov ecx, str.Doctype
mov esi, dword [ebp - 0x2d0]
push dword [esi + 4]
or dword [ebp - 0x2bc], 0xffffffff
push ecx
lea eax, [ebp - 0x5c]
push str._s_at_offset__d_unterminated
push eax
call fcn.00450ad6
add esp, 0x10
lea eax, [ebp - 0x5c]
push eax
lea ecx, [esi + 0x10]
call fcn.00406a67
jmp 0x4074a0
mov eax, dword [ebp - 0x2c4]
sub eax, dword [edi + 0xc]
sar eax, 1
dec eax
jmp 0x40749a
mov eax, dword [ebp - 0x2c4]
sub eax, dword [edi + 0xc]
mov dword [ebp - 0x2bc], 4
sar eax, 1
dec eax
jmp 0x40749a