Function at 0x1000c830
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
xor edx, edx
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebx + 8]
mov dword [ecx + 4], esi
mov dword [ecx + 0xc], edx
mov ecx, dword [ebx + 0xc]
xor eax, eax
add ecx, dword [ebx + 8]
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], ecx
lea esp, [esp]
movsx esi, byte [ecx]
cmp esi, edx
jne 0x1000c924
sub ecx, dword [ebx + 0xc]
mov edi, dword [ebx + 0x1c]
mov dword [ebx + 8], ecx
cmp edi, edx
je 0x1000cf58
mov eax, dword [edi + 0xd4]
mov dword [esp + 0x34], eax
call fcn.1000c2a0
test al, al
je 0x1000c907
mov esi, dword [ebp + 8]
mov ecx, dword [ebx + 0x1c]
mov eax, dword [esi + 4]
mov edx, dword [ebx + 8]
mov ecx, dword [ecx + 0xd4]
sub edx, eax
test ecx, ecx
je 0x1000c8e8
sub eax, ecx
cmp dword [esp + 0x24], 0
mov dword [esi + 4], eax
je 0x1000c8d9
sub dword [esp + 0x24], ecx
jmp 0x1000c8e5
cmp dword [esp + 0x30], 0
je 0x1000c8e5
sub dword [ebx], ecx
sub dword [ebx + 4], ecx
sub dword [ebx + 8], ecx
mov eax, dword [esi + 4]
add eax, edx
mov edx, dword [ebx + 0x1c]
mov ecx, dword [edx + 0x58]
cmp dword [ecx + 0x14], 0x10
jb 0x1000c8fb
mov ecx, dword [ecx]
add eax, ecx
mov dword [ebx + 0xc], ecx
movsx esi, byte [eax]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1000c918
mov ecx, dword [ebx + 0x1c]
mov dword [ecx + 0xd4], eax
mov eax, dword [esp + 0x10]
test esi, esi
je 0x1000cf58
mov edx, dword [esp + 0x24]
test edx, edx
je 0x1000c96d
lea ecx, [esi - 9]
cmp ecx, 0x35
ja 0x1000cc07
movsx ecx, byte [esi + 0x1002adef]
test ecx, ecx
je 0x1000cc07
mov ecx, dword [esp + 0x20]
sub ecx, dword [ebx + 0xc]
mov dword [ebx], edx
sub ecx, edx
xor edi, edi
lea edx, [ecx + edx - 1]
mov dword [esp + 0x30], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
jmp 0x1000c971
mov edi, dword [esp + 0x2c]
cmp dword [esp + 0x18], 0
mov edx, dword [esp + 0x20]
je 0x1000cbc0
cmp esi, 0x3e
jne 0x1000ca31
test al, 0xc0
jne 0x1000ca4c
sub edx, dword [ebx + 0xc]
mov ecx, dword [esp + 0x1c]
inc edx
mov dword [ebx + 8], edx
cmp ecx, 1
jne 0x1000c9e0
mov dword [esp + 0x18], 0
cmp dword [esp + 0x14], ecx
jne 0x1000ca10
cmp dword [esp + 0x28], 0x2f
jne 0x1000ca10
test edi, edi
je 0x1000c9d4
test eax, 0x200
je 0x1000c9d4
lea ecx, [edi - 9]
cmp ecx, 0x1e
ja 0x1000ca10
movsx ecx, byte [edi + 0x1002ae27]
test ecx, ecx
je 0x1000ca10
mov ecx, dword [ebp + 8]
or dword [ecx + 0xc], 0x10000
jmp 0x1000ca10
dec edx
cmp edx, ecx
jle 0x1000ca10
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
sub esi, ecx
inc esi
mov dword [esp + 0x10], ecx
sub edi, esi
dec dword [esp + 0x10]
je 0x1000ca08
mov dl, byte [esi]
mov cl, byte [edi + esi]
inc esi
cmp dl, cl
je 0x1000c9f6
jmp 0x1000ca10
mov dword [esp + 0x18], 0
and eax, 0xfffffdff
cmp dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
jne 0x1000cc07
test al, 0x20
je 0x1000cef9
jmp 0x1000cc07
cmp esi, 0x3c
jne 0x1000ca4c
cmp dword [esp + 0x14], 2
je 0x1000d012
cmp dword [esp + 0x14], 0xffffffff
je 0x1000d012
mov cl, byte [esp + 0x14]
test cl, 1
je 0x1000cb95
test eax, 0x2c0
je 0x1000cae8
cmp esi, 0x22
jne 0x1000ca87
test al, al
jns 0x1000caa8
mov edx, dword [esp + 0x28]
xor eax, 0x80
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], esi
jmp 0x1000cc07
cmp esi, 0x27
jne 0x1000caa8
test al, 0x40
je 0x1000caa8
mov edx, dword [esp + 0x28]
xor eax, 0x40
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], esi
jmp 0x1000cc07
test eax, 0x200
je 0x1000cb87
lea edx, [esi - 9]
cmp edx, 0x17
ja 0x1000cb87
movsx ecx, byte [esi + 0x1002abb7]
test ecx, ecx
je 0x1000cb87
mov edx, dword [esp + 0x28]
xor eax, 0x200
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], esi
jmp 0x1000cc07
cmp esi, 0x22
jne 0x1000cb12
test eax, 0x100
je 0x1000cb87
mov edx, dword [esp + 0x28]
xor eax, 0x180
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], esi
jmp 0x1000cc07
cmp esi, 0x27
jne 0x1000cb38
test eax, 0x100
je 0x1000cb87
mov edx, dword [esp + 0x28]
xor eax, 0x140
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], esi
jmp 0x1000cc07
cmp esi, 0x3d
jne 0x1000cb64
cmp dword [esp + 0x28], esi
je 0x1000cb64
test eax, 0x100
jne 0x1000cb6b
mov edx, dword [esp + 0x28]
xor eax, 0x100
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], esi
jmp 0x1000cc07
test eax, 0x100
je 0x1000cb87
lea ecx, [esi - 9]
cmp ecx, 0x17
ja 0x1000cb7e
movsx ecx, byte [esi + 0x1002abb7]
test ecx, ecx
jne 0x1000cb87
xor eax, 0x300
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x28]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], esi
jmp 0x1000cc07
test cl, 0x40
je 0x1000cc07
cmp esi, 0x22
jne 0x1000cbae
test al, 0x40
jne 0x1000cc07
xor eax, 0x80
mov dword [esp + 0x10], eax
jmp 0x1000cc07
cmp esi, 0x27
jne 0x1000cc07
test al, al
js 0x1000cc07
xor eax, 0x40
mov dword [esp + 0x10], eax
jmp 0x1000cc07
test eax, eax
je 0x1000cf16
test al, 0x10
je 0x1000cc27
cmp esi, 0x3c
je 0x1000d01d
lea ecx, [esi - 9]
cmp ecx, 0x17
ja 0x1000cbe8
movsx ecx, byte [esi + 0x1002abb7]
test ecx, ecx
jne 0x1000cc07
xor eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 0x1002ae50
mov dword [esp + 0x1c], 1
mov esi, dword [esp + 0x20]
push esi
call fcn.10014d51
add esi, eax
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x20], esi
xor edx, edx
mov ecx, esi
jmp 0x1000c880
test al, 1
je 0x1000cd0b
mov ecx, 1
xor eax, ecx
mov dword [esp + 0x10], eax
cmp esi, 0x60
ja 0x1000cced
cmp esi, 0x40
jbe 0x1000cc51
cmp esi, 0x5b
jb 0x1000cced
cmp esi, 0x5f
je 0x1000cced
cmp esi, 0x3a
je 0x1000cced
cmp esi, 0x2f
jne 0x1000cc8c
mov eax, edx
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x18], 0x1002ae54
add eax, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], eax
jmp 0x1000cc07
cmp esi, 0x21
jne 0x1000cc9d
or eax, 2
mov dword [esp + 0x10], eax
jmp 0x1000cc07
cmp esi, 0x3f
jne 0x1000ccca
mov eax, edx
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x18], 0x1002ae58
add eax, ecx
mov dword [esp + 0x1c], 2
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x24], eax
jmp 0x1000cc07
mov edx, dword [ebx + 8]
push 0xffffffffffffffff
push edx
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [esp + 0x30], ecx
mov dword [eax], str.first_tag_syntax
jmp 0x1000cea0
mov eax, edx
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x18], 0x1002ae54
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
jmp 0x1000cc07
test al, 2
je 0x1000cdde
xor eax, 2
mov dword [esp + 0x10], eax
cmp esi, 0x2d
jne 0x1000cd2b
or eax, 4
mov dword [esp + 0x10], eax
jmp 0x1000cc07
test al, 0x20
je 0x1000cd76
lea ecx, [esi - 0x41]
cmp ecx, 0xd
ja 0x1000cd57
movsx eax, byte [esi + 0x1002ae2f]
test eax, eax
je 0x1000cd57
mov dword [esp + 0x18], 0x1002ae54
mov dword [esp + 0x14], 0x40
jmp 0x1000cbff
mov edx, dword [ebx + 8]
push 0xffffffffffffffff
push edx
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], str.doctype_tag_syntax
jmp 0x1000ce98
cmp esi, 0x5b
jne 0x1000cd87
or eax, 8
mov dword [esp + 0x10], eax
jmp 0x1000cc07
cmp esi, 0x44
jne 0x1000cd98
or eax, 0x20
mov dword [esp + 0x10], eax
jmp 0x1000cc07
mov ecx, dword [ebx + 8]
mov edx, dword [ebp + 8]
push 0xffffffffffffffff
push ecx
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
add edx, 0x10
push edx
mov dword [esp + 0x30], 0x1002ae54
mov dword [esp + 0x34], 1
mov dword [eax], str.exclamation_tag_syntax
call fcn.100097c0
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
jmp 0x1000cc07
test al, 4
je 0x1000ce51
xor eax, 4
mov dword [esp + 0x10], eax
cmp esi, 0x2d
jne 0x1000ce0b
mov dword [esp + 0x18], 0x1002aeac
mov dword [esp + 0x1c], 3
mov dword [esp + 0x14], 0x20
jmp 0x1000cc07
mov eax, dword [ebx + 8]
push 0xffffffffffffffff
push eax
push 0
push ecx
mov eax, esp
push ecx
mov ecx, dword [ebp + 8]
mov dword [eax], 0
mov eax, esp
add ecx, 0x10
push ecx
mov dword [esp + 0x30], 0x1002ae54
mov dword [esp + 0x34], 1
mov dword [eax], str.comment_tag_syntax
call fcn.100097c0
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
jmp 0x1000cc07
test al, 8
je 0x1000cec4
xor eax, 8
mov dword [esp + 0x10], eax
cmp esi, 0x43
jne 0x1000ce7e
mov dword [esp + 0x18], 0x1002aec4
mov dword [esp + 0x1c], 3
mov dword [esp + 0x14], 8
jmp 0x1000cc07
mov edx, dword [ebx + 8]
push 0xffffffffffffffff
push edx
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], str.cdata_section_syntax
mov dword [esp + 0x30], 1
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
mov dword [esp + 0x30], 0x1002ae54
call fcn.100097c0
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
jmp 0x1000cc07
test al, 0x20
je 0x1000cc07
cmp esi, 0x3c
jne 0x1000cedd
or eax, 1
mov dword [esp + 0x10], eax
jmp 0x1000cc07
cmp esi, 0x3e
jne 0x1000cc07
mov eax, dword [esp + 0x20]
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x14], 0x40
inc eax
mov dword [ebx + 8], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 8]
sub edx, dword [eax + 4]
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], edx
mov dword [eax], ecx
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp esi, 0x3c
jne 0x1000cf28
mov dword [esp + 0x10], 1
jmp 0x1000cc07
lea ecx, [esi - 9]
mov dword [esp + 0x14], 4
cmp ecx, 0x17
ja 0x1000cbef
movsx eax, byte [esi + 0x1002abb7]
test eax, eax
je 0x1000cbef
mov dword [esp + 0x10], 0x10
jmp 0x1000cc07
mov edx, dword [ebp + 8]
mov esi, dword [edx + 4]
cmp dword [ebx + 8], esi
jne 0x1000cf7e
pop edi
pop esi
mov dword [edx + 8], 0
mov dword [edx], 0
mov eax, 0xfffffffe
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esp + 0x14], 4
je 0x1000cef9
cmp dword [esp + 0x14], 2
je 0x1000cef9
mov ecx, 0x1002ad88
test al, 0x20
jne 0x1000cfe1
mov eax, dword [esp + 0x14]
cmp eax, 0x40
je 0x1000cfe1
cmp eax, 1
jne 0x1000cfb2
mov ecx, str.start_tag
jmp 0x1000cfe6
test eax, eax
jne 0x1000cfbd
mov ecx, str.end_tag
jmp 0x1000cfe6
cmp eax, 8
jne 0x1000cfc9
mov ecx, str.cdata_section
jmp 0x1000cfe6
cmp eax, 0x10
jne 0x1000cfd5
mov ecx, str.processing_instruction
jmp 0x1000cfe6
cmp eax, 0x20
jne 0x1000cfe6
mov ecx, str.comment
jmp 0x1000cfe6
mov ecx, str.document_type
push 0xffffffffffffffff
push esi
push 2
push ecx
mov eax, esp
push ecx
mov dword [eax], ecx
mov eax, esp
add edx, 0x10
push edx
mov dword [esp + 0x2c], 0xffffffff
mov dword [eax], str.unterminated_tag_syntax
call fcn.100097c0
add esp, 0x18
jmp 0x1000cef9
sub edx, dword [ebx + 0xc]
mov dword [ebx + 8], edx
jmp 0x1000cef9
sub edx, dword [ebx + 0xc]
mov dword [esp + 0x14], 4
mov dword [ebx + 8], edx
jmp 0x1000cef9