Function at 0x10013bef
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esp + 0x20], esi
or edx, 0xffffffff
mov dword [esp + 0x14], 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 [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
lea edi, [eax + ecx*2]
mov dword [esp + 0x10], edx
movzx esi, word [edi]
test esi, esi
jne 0x10013ced
mov ecx, dword [esp + 0x20]
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 0x1001420d
mov eax, dword [ecx + 0xcc]
mov dword [esp + 0x30], eax
call fcn.100136f0
test al, al
je 0x10013ccc
mov esi, dword [esp + 0x20]
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 8]
mov ecx, dword [edi + 4]
sub edx, ecx
mov eax, dword [eax + 0xcc]
test eax, eax
je 0x10013cb0
sub ecx, eax
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x10013ca1
sub ecx, eax
mov dword [esp + 0x1c], ecx
jmp 0x10013cad
cmp dword [esp + 0x28], 0
je 0x10013cad
sub dword [esi], eax
sub dword [esi + 4], eax
sub dword [esi + 8], eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [edi + 4]
add ecx, edx
mov eax, dword [eax + 0x50]
cmp dword [eax + 0x14], 8
jb 0x10013cc3
mov eax, dword [eax]
lea edi, [eax + ecx*2]
mov dword [esi + 0xc], eax
movzx esi, word [edi]
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x10013ce1
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x1c]
mov dword [eax + 0xcc], ecx
mov edx, dword [esp + 0x10]
test esi, esi
je 0x1001420d
cmp dword [esp + 0x1c], 0
je 0x10013d41
lea eax, [esi - 9]
cmp eax, 0x35
ja 0x10013d05
movsx eax, byte [esi + 0x100f0c07]
jmp 0x10013d07
xor eax, eax
test eax, eax
je 0x10013f29
mov ecx, dword [esp + 0x20]
mov eax, edi
mov edx, dword [esp + 0x1c]
and dword [esp + 0x1c], 0
sub eax, dword [ecx + 0xc]
sar eax, 1
mov dword [esp + 0x28], eax
sub dword [esp + 0x28], edx
dec eax
mov dword [ecx + 4], eax
xor eax, eax
mov dword [ecx], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
jmp 0x10013d49
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x14], 0
je 0x10013f56
cmp esi, 0x3e
jne 0x10013e3f
test bl, 0xc0
jne 0x10013e56
mov eax, edi
sub eax, dword [ecx + 0xc]
sar eax, 1
inc eax
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x18]
cmp ecx, 1
jne 0x10013dbe
xor esi, esi
mov dword [esp + 0x14], esi
cmp edx, ecx
jne 0x10013dff
cmp dword [esp + 0x24], 0x2f
jne 0x10013dff
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x10013db2
test ebx, 0x200
je 0x10013db2
lea eax, [ecx - 9]
cmp eax, 0x1e
ja 0x10013dac
movsx eax, byte [ecx + 0x100f0c47]
jmp 0x10013dae
xor eax, eax
test eax, eax
je 0x10013dff
mov eax, dword [ebp + 8]
or dword [eax + 0xc], 0x10000
jmp 0x10013dff
dec eax
cmp eax, ecx
jle 0x10013dfb
lea eax, [ecx + ecx]
mov esi, edi
mov ecx, dword [esp + 0x18]
sub esi, eax
mov eax, dword [esp + 0x14]
add esi, 2
sub eax, esi
mov dword [esp + 0x30], eax
sub ecx, 1
mov dword [esp + 0x34], ecx
je 0x10013e37
movzx ecx, word [esi]
mov ax, word [eax + esi]
add esi, 2
cmp cx, ax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
je 0x10013ddb
mov esi, dword [esp + 0x14]
and ebx, 0xfffffdff
test esi, esi
jne 0x10013f29
test bl, 0x20
jne 0x10013f29
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 8]
sub ecx, dword [eax + 4]
mov dword [eax + 8], ecx
mov dword [eax], esi
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor esi, esi
mov dword [esp + 0x14], esi
jmp 0x10013dff
cmp esi, 0x3c
jne 0x10013e56
cmp edx, 2
je 0x100142b2
cmp edx, 0xffffffff
je 0x100142b2
test dl, 1
je 0x10013f31
test ebx, 0x2c0
je 0x10013eb5
cmp esi, 0x22
jne 0x10013e7b
test bl, bl
jns 0x10013e8d
xor ebx, 0x80
jmp 0x10013f1d
cmp esi, 0x27
jne 0x10013e8d
test bl, 0x40
je 0x10013e8d
xor ebx, 0x40
jmp 0x10013f1d
mov ecx, 0x200
test ecx, ebx
je 0x10013f1d
lea eax, [esi - 9]
cmp eax, 0x17
ja 0x10013eab
movsx eax, byte [esi + 0x100f0887]
jmp 0x10013ead
xor eax, eax
test eax, eax
je 0x10013f1d
xor ebx, ecx
jmp 0x10013f1d
cmp esi, 0x22
jne 0x10013eca
test ebx, 0x100
je 0x10013f1d
xor ebx, 0x180
jmp 0x10013f1d
cmp esi, 0x27
jne 0x10013edf
test ebx, 0x100
je 0x10013f1d
xor ebx, 0x140
jmp 0x10013f1d
cmp esi, 0x3d
jne 0x10013ef8
cmp eax, esi
je 0x10013ef8
test ebx, 0x100
jne 0x10013f00
xor ebx, 0x100
jmp 0x10013f1d
test ebx, 0x100
je 0x10013f1d
lea eax, [esi - 9]
cmp eax, 0x17
ja 0x10013f11
movsx eax, byte [esi + 0x100f0887]
jmp 0x10013f13
xor eax, eax
test eax, eax
jne 0x10013f1d
xor ebx, 0x300
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], esi
add edi, 2
jmp 0x10013c39
test dl, 0x40
je 0x10013f29
cmp esi, 0x22
jne 0x10013f48
test bl, 0x40
jne 0x10013f29
xor ebx, 0x80
jmp 0x10013f29
cmp esi, 0x27
jne 0x10013f29
test bl, bl
js 0x10013f29
xor ebx, 0x40
jmp 0x10013f29
test ebx, ebx
je 0x100141ce
test bl, 0x10
je 0x10013f9e
cmp esi, 0x3c
je 0x100142bf
lea eax, [esi - 9]
cmp eax, 0x17
ja 0x10013f7d
movsx eax, byte [esi + 0x100f0887]
jmp 0x10013f7f
xor eax, eax
test eax, eax
jne 0x10013f29
xor ebx, 0x10
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 0x100f0c70
push 2
pop edx
jmp 0x10014199
test bl, 1
je 0x10014048
xor eax, eax
inc eax
xor ebx, eax
cmp esi, 0x60
ja 0x10014026
cmp esi, 0x40
jbe 0x10013fbb
cmp esi, 0x5b
jb 0x10014026
cmp esi, 0x5f
je 0x10014026
cmp esi, 0x3a
je 0x10014026
cmp esi, 0x2f
jne 0x10013fda
mov dword [esp + 0x18], eax
xor edx, edx
mov eax, edi
sub eax, dword [ecx + 0xc]
sar eax, 1
inc eax
jmp 0x10014033
cmp esi, 0x21
jne 0x10013fe7
or ebx, 2
jmp 0x10013f29
cmp esi, 0x3f
jne 0x10014009
mov eax, edi
mov dword [esp + 0x14], 0x100f0c78
sub eax, dword [ecx + 0xc]
push 0x10
sar eax, 1
mov dword [esp + 0x1c], 2
inc eax
pop edx
jmp 0x1001403b
push 0xffffffffffffffff
push dword [ecx + 8]
mov dword [esp + 0x20], eax
push ecx
mov eax, esp
push ecx
and dword [eax], 0
mov eax, esp
mov dword [eax], str.first_tag_syntax
jmp 0x1001417e
mov dword [esp + 0x18], eax
mov edx, eax
mov eax, edi
sub eax, dword [ecx + 0xc]
sar eax, 1
mov dword [esp + 0x14], 0x100f0c74
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], eax
jmp 0x10013f29
test bl, 2
je 0x100140fd
xor ebx, 2
cmp esi, 0x2d
jne 0x10014061
or ebx, 4
jmp 0x10013f29
test bl, 0x20
je 0x100140c2
lea eax, [esi - 0x41]
cmp eax, 0xd
ja 0x10014077
movsx eax, byte [esi + 0x100f0c63]
jmp 0x10014079
xor eax, eax
test eax, eax
je 0x10014082
push 0x40
pop edx
jmp 0x100140a9
push 0xffffffffffffffff
push dword [ecx + 8]
xor edx, edx
push ecx
mov eax, esp
push ecx
mov ecx, dword [ebp + 8]
and dword [eax], 0
mov eax, esp
lea ecx, [ecx + 0x10]
mov dword [eax], str.doctype_tag_syntax
call fcn.10011699
add esp, 0x10
or edx, 0xffffffff
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0x100f0c74
mov dword [esp + 0x18], 1
jmp 0x10013f29
cmp esi, 0x5b
jne 0x100140cf
or ebx, 8
jmp 0x10013f29
cmp esi, 0x44
jne 0x100140dc
or ebx, 0x20
jmp 0x10013f29
push 0xffffffffffffffff
push dword [ecx + 8]
mov dword [esp + 0x20], 1
push ecx
mov eax, esp
push ecx
and dword [eax], 0
mov eax, esp
mov dword [eax], str.exclamation_tag_syntax
jmp 0x1001417e
test bl, 4
je 0x1001413f
xor ebx, 4
cmp esi, 0x2d
jne 0x10014121
mov dword [esp + 0x14], 0x100f0d0c
mov dword [esp + 0x18], 3
push 0x20
jmp 0x10013f98
push 0xffffffffffffffff
push dword [ecx + 8]
mov dword [esp + 0x20], 1
push ecx
mov eax, esp
push ecx
and dword [eax], 0
mov eax, esp
mov dword [eax], str.comment_tag_syntax
jmp 0x1001417e
test bl, 8
je 0x100141a2
xor ebx, 8
cmp esi, 0x43
jne 0x10014163
mov dword [esp + 0x14], 0x100f0d3c
mov dword [esp + 0x18], 3
push 8
jmp 0x10013f98
push 0xffffffffffffffff
push dword [ecx + 8]
xor eax, eax
inc eax
push ecx
mov dword [esp + 0x24], eax
mov eax, esp
push ecx
and dword [eax], 0
mov eax, esp
mov dword [eax], str.cdata_section_syntax
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [esp + 0x24], 0x100f0c74
lea ecx, [ecx + 0x10]
call fcn.10011699
add esp, 0x10
or edx, 0xffffffff
mov dword [esp + 0x10], edx
jmp 0x10013f29
test bl, 0x20
je 0x10013f29
cmp esi, 0x3c
jne 0x100141b8
or ebx, 1
jmp 0x10013f29
cmp esi, 0x3e
jne 0x10013f29
sub edi, dword [ecx + 0xc]
sar edi, 1
inc edi
push 0x40
jmp 0x100142c6
cmp esi, 0x3c
jne 0x100141db
xor ebx, ebx
inc ebx
jmp 0x10013f29
push 4
lea eax, [esi - 9]
pop edx
mov dword [esp + 0x10], edx
cmp eax, 0x17
ja 0x100141f3
movsx eax, byte [esi + 0x100f0887]
jmp 0x100141f5
xor eax, eax
test eax, eax
je 0x10014201
push 0x10
pop ebx
jmp 0x10013f29
xor eax, eax
inc eax
mov dword [esp + 0x18], eax
jmp 0x10013f8e
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 4]
cmp dword [ecx + 8], eax
jne 0x1001422b
and dword [edi + 8], 0
and dword [edi], 0
push 0xfffffffffffffffe
pop eax
jmp 0x10013e2e
cmp edx, 4
je 0x10013e16
cmp edx, 2
je 0x10013e16
mov ecx, 0x100f0b38
test bl, 0x20
jne 0x10014287
cmp edx, 0x40
je 0x10014287
cmp edx, 1
jne 0x10014258
mov ecx, str.start_tag
jmp 0x1001428c
test edx, edx
jne 0x10014263
mov ecx, str.end_tag
jmp 0x1001428c
cmp edx, 8
jne 0x1001426f
mov ecx, str.cdata_section
jmp 0x1001428c
cmp edx, 0x10
jne 0x1001427b
mov ecx, str.processing_instruction
jmp 0x1001428c
cmp edx, 0x20
jne 0x1001428c
mov ecx, str.comment
jmp 0x1001428c
mov ecx, str.document_type
or esi, 0xffffffff
push esi
push eax
push ecx
mov eax, esp
push ecx
mov dword [eax], ecx
mov eax, esp
push 2
lea ecx, [edi + 0x10]
pop edx
mov dword [eax], str.unterminated_tag_syntax
call fcn.10011699
add esp, 0x10
jmp 0x10013e1a
sub edi, dword [ecx + 0xc]
sar edi, 1
mov dword [ecx + 8], edi
jmp 0x10013e16
sub edi, dword [ecx + 0xc]
sar edi, 1
push 4
mov dword [ecx + 8], edi
pop esi
jmp 0x10013e1a