Function at 0x408c1d
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x10], esi
or edx, 0xffffffff
mov dword [ebp - 8], edi
mov eax, dword [esi + 8]
mov ebx, edi
mov dword [ecx + 0xc], edi
mov dword [ecx + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], edi
lea edi, [eax + ecx*2]
mov dword [ebp - 4], edx
movzx esi, word [edi]
test esi, esi
jne 0x408d04
mov ecx, dword [ebp - 0x10]
mov eax, edi
sub eax, dword [ecx + 0xc]
sar eax, 1
mov dword [ecx + 8], eax
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
je 0x409201
mov eax, dword [ecx + 0xa4]
mov dword [ebp - 0x24], eax
call fcn.00409caf
mov edx, dword [ebp - 0x10]
test al, al
je 0x408ce9
mov eax, dword [ebp + 8]
mov esi, dword [edx + 0x1c]
mov edi, dword [edx + 8]
mov ecx, dword [eax + 4]
sub edi, ecx
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x408cd3
mov esi, dword [ebp + 8]
sub ecx, eax
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x408cc2
sub ecx, eax
mov dword [ebp - 0x14], ecx
jmp 0x408ccd
cmp dword [ebp - 0x1c], 0
je 0x408ccd
sub dword [edx], eax
sub dword [edx + 4], eax
sub dword [edx + 8], eax
mov esi, dword [edx + 0x1c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x28]
add ecx, edi
mov eax, dword [eax]
mov dword [edx + 0xc], eax
lea edi, [eax + ecx*2]
movzx esi, word [edi]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x408cf9
mov eax, dword [edx + 0x1c]
mov dword [eax + 0xa4], ecx
mov edx, dword [ebp - 4]
test esi, esi
je 0x409201
cmp dword [ebp - 0x14], 0
je 0x408d4f
lea eax, [esi - 9]
cmp eax, 0x35
ja 0x408d1b
movsx eax, byte [esi + 0x44a023]
jmp 0x408d1d
xor eax, eax
test eax, eax
je 0x408f13
mov ecx, dword [ebp - 0x10]
mov eax, edi
mov edx, dword [ebp - 0x14]
and dword [ebp - 0x14], 0
sub eax, dword [ecx + 0xc]
sar eax, 1
mov dword [ebp - 0x1c], eax
sub dword [ebp - 0x1c], edx
dec eax
mov dword [ecx + 4], eax
xor eax, eax
and dword [ebp - 0x18], eax
mov dword [ecx], edx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], eax
jmp 0x408d52
mov ecx, dword [ebp - 0x10]
cmp dword [ebp - 8], 0
je 0x408f40
cmp esi, 0x3e
jne 0x408e3a
test bl, 0xc0
jne 0x408e51
mov esi, dword [ebp - 0x10]
mov ecx, edi
sub ecx, dword [esi + 0xc]
sar ecx, 1
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0xc]
cmp eax, 1
jne 0x408dc7
xor esi, esi
mov dword [ebp - 8], esi
cmp edx, eax
jne 0x408dff
cmp dword [ebp - 0x18], 0x2f
jne 0x408dff
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x408dbb
test ebx, 0x200
je 0x408dbb
lea eax, [ecx - 9]
cmp eax, 0x1e
ja 0x408db5
movsx eax, byte [ecx + 0x44a05b]
jmp 0x408db7
xor eax, eax
test eax, eax
je 0x408dff
mov eax, dword [ebp + 8]
or dword [eax + 0xc], 0x10000
jmp 0x408dff
cmp ecx, eax
jle 0x408dfc
mov ecx, dword [ebp - 0xc]
add eax, eax
mov esi, edi
sub esi, eax
mov eax, dword [ebp - 8]
add esi, 2
sub eax, esi
mov dword [ebp - 0x24], eax
sub ecx, 1
mov dword [ebp - 0x28], ecx
je 0x408e33
movzx ecx, word [esi]
mov ax, word [eax + esi]
add esi, 2
cmp cx, ax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
je 0x408ddf
mov esi, dword [ebp - 8]
and ebx, 0xfffffdff
test esi, esi
jne 0x408f13
test bl, 0x20
jne 0x408f13
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [ecx + 8]
sub ecx, dword [eax + 4]
mov dword [eax + 8], ecx
mov dword [eax], esi
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
xor esi, esi
mov dword [ebp - 8], esi
jmp 0x408dff
cmp esi, 0x3c
jne 0x408e51
cmp edx, 2
je 0x4092a1
cmp edx, 0xffffffff
je 0x4092a1
test dl, 1
je 0x408f1b
test ebx, 0x2c0
je 0x408eaa
cmp esi, 0x22
jne 0x408e76
test bl, bl
jns 0x408e88
xor ebx, 0x80
jmp 0x408f0a
cmp esi, 0x27
jne 0x408e88
test bl, 0x40
je 0x408e88
xor ebx, 0x40
jmp 0x408f0a
mov ecx, 0x200
test ecx, ebx
je 0x408f0a
lea eax, [esi - 9]
cmp eax, 0x17
ja 0x408ea2
movsx eax, byte [esi + 0x449cf7]
jmp 0x408ea4
xor eax, eax
test eax, eax
je 0x408f0a
jmp 0x408ee3
mov eax, ebx
mov ecx, 0x100
and eax, ecx
cmp esi, 0x22
jne 0x408ec4
test eax, eax
je 0x408ec4
xor ebx, 0x180
jmp 0x408f0a
cmp esi, 0x27
jne 0x408ed5
test eax, eax
je 0x408f0a
xor ebx, 0x140
jmp 0x408f0a
cmp esi, 0x3d
jne 0x408ee7
cmp dword [ebp - 0x18], esi
je 0x408ee7
test eax, eax
jne 0x408efe
xor ebx, ecx
jmp 0x408f0a
test eax, eax
je 0x408f0a
cmp esi, 9
jb 0x408efe
cmp esi, 0x20
ja 0x408efe
movsx eax, byte [esi + 0x449cf7]
jmp 0x408f00
xor eax, eax
test eax, eax
jne 0x408f0a
xor ebx, 0x300
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], esi
add edi, 2
jmp 0x408c5c
test dl, 0x40
je 0x408f13
cmp esi, 0x22
jne 0x408f32
test bl, 0x40
jne 0x408f13
xor ebx, 0x80
jmp 0x408f13
cmp esi, 0x27
jne 0x408f13
test bl, bl
js 0x408f13
xor ebx, 0x40
jmp 0x408f13
test ebx, ebx
je 0x4091bb
test bl, 0x10
je 0x408f8e
cmp esi, 0x3c
je 0x4092b1
lea eax, [esi - 9]
cmp eax, 0x17
ja 0x408f67
movsx ecx, byte [esi + 0x449cf7]
jmp 0x408f69
xor ecx, ecx
test ecx, ecx
jne 0x408f80
xor eax, eax
mov dword [ebp - 8], 0x44a084
push 2
inc eax
pop edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov eax, ebx
xor eax, 0x10
test ecx, ecx
cmovne eax, ebx
mov ebx, eax
jmp 0x408f13
test bl, 1
je 0x40905a
xor eax, eax
inc eax
xor ebx, eax
cmp esi, 0x60
ja 0x409045
cmp esi, 0x40
jbe 0x408fb3
cmp esi, 0x5b
jb 0x409045
cmp esi, 0x5f
je 0x409045
cmp esi, 0x3a
je 0x409045
cmp esi, 0x2f
jne 0x408fe9
mov dword [ebp - 8], 0x44a088
xor edx, edx
mov dword [ebp - 0xc], eax
mov eax, edi
sub eax, dword [ecx + 0xc]
sar eax, 1
inc eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], eax
jmp 0x408f13
cmp esi, 0x21
jne 0x408ff6
or ebx, 2
jmp 0x408f13
cmp esi, 0x3f
jne 0x40900e
push 0x10
mov dword [ebp - 8], 0x44a08c
mov dword [ebp - 0xc], 2
pop edx
jmp 0x408fd6
push 0xffffffffffffffff
push dword [ecx + 8]
mov dword [ebp - 0xc], eax
push 0
push ecx
mov eax, esp
push ecx
and dword [eax], 0
mov eax, esp
mov dword [eax], str.first_tag_syntax
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 8], 0x44a088
push eax
call fcn.00407f63
add esp, 0x18
or edx, 0xffffffff
jmp 0x409166
mov dword [ebp - 0xc], eax
mov edx, eax
mov eax, edi
mov dword [ebp - 8], 0x44a088
sub eax, dword [ecx + 0xc]
sar eax, 1
jmp 0x408fde
test bl, 2
je 0x40910e
xor ebx, 2
cmp esi, 0x2d
jne 0x409073
or ebx, 4
jmp 0x408f13
test bl, 0x20
je 0x4090d2
lea eax, [esi - 0x41]
cmp eax, 0xd
ja 0x409089
movsx eax, byte [esi + 0x44a077]
jmp 0x40908b
xor eax, eax
test eax, eax
je 0x409094
push 0x40
pop edx
jmp 0x4090bc
push 0xffffffffffffffff
push dword [ecx + 8]
push 0
push ecx
mov eax, esp
push ecx
and dword [eax], 0
mov eax, esp
mov dword [eax], str.doctype_tag_syntax
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
call fcn.00407f63
add esp, 0x18
or edx, 0xffffffff
mov dword [ebp - 4], edx
mov dword [ebp - 8], 0x44a088
mov dword [ebp - 0xc], 1
jmp 0x408f13
cmp esi, 0x5b
jne 0x4090df
or ebx, 8
jmp 0x408f13
cmp esi, 0x44
jne 0x4090ec
or ebx, 0x20
jmp 0x408f13
push 0xffffffffffffffff
push dword [ecx + 8]
mov dword [ebp - 0xc], 1
push 0
push ecx
mov eax, esp
push ecx
and dword [eax], 0
mov eax, esp
mov dword [eax], str.exclamation_tag_syntax
jmp 0x409027
test bl, 4
je 0x409148
xor ebx, 4
cmp esi, 0x2d
jne 0x409126
mov dword [ebp - 8], 0x44a120
push 0x20
jmp 0x40915e
push 0xffffffffffffffff
push dword [ecx + 8]
mov dword [ebp - 0xc], 1
push 0
push ecx
mov eax, esp
push ecx
and dword [eax], 0
mov eax, esp
mov dword [eax], str.comment_tag_syntax
jmp 0x409027
test bl, 8
je 0x40918f
xor ebx, 8
cmp esi, 0x43
jne 0x40916e
mov dword [ebp - 8], 0x44a150
push 8
mov dword [ebp - 0xc], 3
pop edx
mov dword [ebp - 4], edx
jmp 0x408f13
push 0xffffffffffffffff
push dword [ecx + 8]
xor eax, eax
inc eax
push 0
push ecx
mov dword [ebp - 0xc], eax
mov eax, esp
push ecx
and dword [eax], 0
mov eax, esp
mov dword [eax], str.cdata_section_syntax
jmp 0x409027
test bl, 0x20
je 0x408f13
cmp esi, 0x3c
jne 0x4091a5
or ebx, 1
jmp 0x408f13
cmp esi, 0x3e
jne 0x408f13
sub edi, dword [ecx + 0xc]
sar edi, 1
inc edi
push 0x40
jmp 0x4092b8
cmp esi, 0x3c
jne 0x4091c8
xor ebx, ebx
inc ebx
jmp 0x408f13
push 4
lea eax, [esi - 9]
pop edx
mov dword [ebp - 4], edx
cmp eax, 0x17
ja 0x4091df
movsx eax, byte [esi + 0x449cf7]
jmp 0x4091e1
xor eax, eax
test eax, eax
je 0x4091ed
push 0x10
pop ebx
jmp 0x408f13
xor eax, eax
mov dword [ebp - 8], 0x44a084
inc eax
mov dword [ebp - 0xc], eax
push 2
jmp 0x409165
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edi + 4]
cmp dword [ecx + 8], eax
jne 0x40921e
and dword [edi + 8], 0
and dword [edi], 0
push 0xfffffffffffffffe
pop eax
jmp 0x408e2c
cmp edx, 4
je 0x4092a9
cmp edx, 2
je 0x4092a9
mov ecx, 0x449f58
test bl, 0x20
jne 0x409276
cmp edx, 0x40
je 0x409276
cmp edx, 1
jne 0x409247
mov ecx, str.start_tag
jmp 0x40927b
test edx, edx
jne 0x409252
mov ecx, str.end_tag
jmp 0x40927b
cmp edx, 8
jne 0x40925e
mov ecx, 0x449fa0
jmp 0x40927b
cmp edx, 0x10
jne 0x40926a
mov ecx, str.processing_instruction
jmp 0x40927b
cmp edx, 0x20
jne 0x40927b
mov ecx, str.comment
jmp 0x40927b
mov ecx, str.document_type
or esi, 0xffffffff
push esi
push eax
push 2
push ecx
mov eax, esp
push ecx
mov dword [eax], ecx
mov eax, esp
mov dword [eax], str.unterminated_tag_syntax
lea eax, [edi + 0x10]
push eax
call fcn.00407f63
add esp, 0x18
jmp 0x408e19
sub edi, dword [ecx + 0xc]
sar edi, 1
mov dword [ecx + 8], edi
mov esi, dword [ebp - 4]
jmp 0x408e1c
sub edi, dword [ecx + 0xc]
sar edi, 1
push 4
mov dword [ecx + 8], edi
pop esi
jmp 0x408e1c