Function at 0x10013660
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x24
mov ecx, dword [esp + 0x28]
mov edx, dword [edi + 8]
xor eax, eax
mov dword [ecx + 4], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
push ebx
push ebp
lea ecx, [edx + ecx*2]
xor ebp, ebp
push esi
mov dword [esp + 0x10], eax
or ebx, 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ecx
nop
mov edx, dword [esp + 0x14]
movzx esi, word [edx]
cmp esi, eax
jne 0x10013746
mov ecx, dword [edi + 0x1c]
mov eax, edx
sub eax, dword [edi + 0xc]
sar eax, 1
mov dword [edi + 8], eax
test ecx, ecx
je 0x10013e02
mov edx, dword [ecx + 0xa4]
mov dword [esp + 0x2c], edx
call fcn.10013010
test al, al
je 0x1001372d
mov esi, dword [esp + 0x34]
mov ecx, dword [edi + 0x1c]
mov eax, dword [esi + 4]
mov edx, dword [edi + 8]
mov ecx, dword [ecx + 0xa4]
sub edx, eax
test ecx, ecx
je 0x10013711
sub eax, ecx
cmp dword [esp + 0x1c], 0
mov dword [esi + 4], eax
je 0x10013702
sub dword [esp + 0x1c], ecx
jmp 0x1001370e
cmp dword [esp + 0x28], 0
je 0x1001370e
sub dword [edi], ecx
sub dword [edi + 4], ecx
sub dword [edi + 8], ecx
mov ecx, dword [edi + 0x1c]
mov ecx, dword [ecx + 0x28]
mov ecx, dword [ecx]
mov eax, esi
mov eax, dword [eax + 4]
add eax, edx
lea eax, [ecx + eax*2]
mov dword [edi + 0xc], ecx
movzx esi, word [eax]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1001373e
mov edx, dword [edi + 0x1c]
mov dword [edx + 0xa4], eax
test esi, esi
je 0x10013e02
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x10013791
lea eax, [esi - 9]
cmp eax, 0x35
ja 0x10013a8d
movsx eax, byte [esi + 0x10063973]
test eax, eax
je 0x10013a8d
mov eax, dword [esp + 0x14]
sub eax, dword [edi + 0xc]
mov dword [edi], ecx
sar eax, 1
sub eax, ecx
xor edx, edx
lea ecx, [eax + ecx - 1]
mov dword [esp + 0x28], eax
mov dword [edi + 4], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], edx
jmp 0x10013795
mov edx, dword [esp + 0x24]
test ebp, ebp
je 0x10013a44
cmp esi, 0x3e
jne 0x1001385e
mov ecx, dword [esp + 0x10]
test cl, 0xc0
jne 0x10013879
mov eax, dword [esp + 0x14]
sub eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x18]
sar eax, 1
inc eax
mov dword [edi + 8], eax
cmp ecx, 1
jne 0x10013804
xor ebp, ebp
cmp ebx, ecx
jne 0x10013837
cmp dword [esp + 0x20], 0x2f
jne 0x10013837
test edx, edx
je 0x100137f7
test dword [esp + 0x10], 0x200
je 0x100137f7
lea eax, [edx - 9]
cmp eax, 0x1e
ja 0x10013837
movsx eax, byte [edx + 0x100639ab]
test eax, eax
je 0x10013837
mov eax, dword [esp + 0x34]
or dword [eax + 0xc], 0x10000
jmp 0x10013837
dec eax
cmp eax, ecx
jle 0x10013837
mov eax, dword [esp + 0x14]
lea edx, [ecx + ecx]
sub eax, edx
mov dword [esp + 0x2c], ecx
add eax, 2
mov ecx, ebp
sub ecx, eax
sub dword [esp + 0x2c], 1
je 0x10013835
mov dx, word [eax]
mov si, word [ecx + eax]
add eax, 2
cmp dx, si
je 0x1001381d
jmp 0x10013837
xor ebp, ebp
and dword [esp + 0x10], 0xfffffdff
test ebp, ebp
jne 0x10013a8d
test byte [esp + 0x10], 0x20
je 0x10013d9b
add dword [esp + 0x14], 2
xor eax, eax
jmp 0x100136a0
cmp esi, 0x3c
jne 0x10013875
cmp ebx, 2
je 0x10013eb6
cmp ebx, 0xffffffff
je 0x10013eb6
mov ecx, dword [esp + 0x10]
test bl, 1
je 0x100139ff
test ecx, 0x2c0
je 0x1001392b
cmp esi, 0x22
jne 0x100138b9
test cl, cl
jns 0x100138e2
mov eax, dword [esp + 0x20]
add dword [esp + 0x14], 2
xor ecx, 0x80
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], esi
xor eax, eax
jmp 0x100136a0
cmp esi, 0x27
jne 0x100138e2
test cl, 0x40
je 0x100138e2
mov eax, dword [esp + 0x20]
add dword [esp + 0x14], 2
xor ecx, 0x40
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], esi
xor eax, eax
jmp 0x100136a0
test ecx, 0x200
je 0x100139e7
lea eax, [esi - 9]
cmp eax, 0x17
ja 0x100139e7
movsx eax, byte [esi + 0x10063647]
test eax, eax
je 0x100139e7
mov eax, dword [esp + 0x20]
add dword [esp + 0x14], 2
xor ecx, 0x200
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], esi
xor eax, eax
jmp 0x100136a0
cmp esi, 0x22
jne 0x1001395e
test ecx, 0x100
je 0x100139e7
mov eax, dword [esp + 0x20]
add dword [esp + 0x14], 2
xor ecx, 0x180
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], esi
xor eax, eax
jmp 0x100136a0
cmp esi, 0x27
jne 0x1001398d
test ecx, 0x100
je 0x100139e7
mov eax, dword [esp + 0x20]
add dword [esp + 0x14], 2
xor ecx, 0x140
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], esi
xor eax, eax
jmp 0x100136a0
cmp esi, 0x3d
jne 0x100139c2
cmp dword [esp + 0x20], esi
je 0x100139c2
test ecx, 0x100
jne 0x100139ca
mov eax, dword [esp + 0x20]
add dword [esp + 0x14], 2
xor ecx, 0x100
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], esi
xor eax, eax
jmp 0x100136a0
test ecx, 0x100
je 0x100139e7
lea edx, [esi - 9]
cmp edx, 0x17
ja 0x100139dd
movsx eax, byte [esi + 0x10063647]
test eax, eax
jne 0x100139e7
xor ecx, 0x300
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x20]
add dword [esp + 0x14], 2
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
xor eax, eax
jmp 0x100136a0
test bl, 0x40
je 0x10013a8d
cmp esi, 0x22
jne 0x10013a28
test cl, 0x40
jne 0x10013a8d
add dword [esp + 0x14], 2
xor ecx, 0x80
mov dword [esp + 0x10], ecx
xor eax, eax
jmp 0x100136a0
cmp esi, 0x27
jne 0x10013a8d
test cl, cl
js 0x10013a8d
add dword [esp + 0x14], 2
xor ecx, 0x40
mov dword [esp + 0x10], ecx
xor eax, eax
jmp 0x100136a0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10013db5
test al, 0x10
je 0x10013a99
cmp esi, 0x3c
je 0x10013ec4
lea ecx, [esi - 9]
cmp ecx, 0x17
ja 0x10013a74
movsx eax, byte [esi + 0x10063647]
test eax, eax
jne 0x10013a8d
mov eax, dword [esp + 0x10]
xor eax, 0x10
mov dword [esp + 0x10], eax
mov ebx, 2
mov ebp, 0x100639d4
mov dword [esp + 0x18], 1
add dword [esp + 0x14], 2
xor eax, eax
jmp 0x100136a0
test al, 1
je 0x10013b8f
mov ecx, 1
xor eax, ecx
mov dword [esp + 0x10], eax
cmp esi, 0x60
ja 0x10013b6b
cmp esi, 0x40
jbe 0x10013ac3
cmp esi, 0x5b
jb 0x10013b6b
cmp esi, 0x5f
je 0x10013b6b
cmp esi, 0x3a
je 0x10013b6b
cmp esi, 0x2f
jne 0x10013b00
mov eax, dword [esp + 0x14]
sub eax, dword [edi + 0xc]
add dword [esp + 0x14], 2
sar eax, 1
add eax, ecx
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov ebp, 0x100639d8
mov dword [esp + 0x18], ecx
xor eax, eax
jmp 0x100136a0
cmp esi, 0x21
jne 0x10013b18
add dword [esp + 0x14], 2
or eax, 2
mov dword [esp + 0x10], eax
xor eax, eax
jmp 0x100136a0
cmp esi, 0x3f
jne 0x10013b48
mov eax, dword [esp + 0x14]
sub eax, dword [edi + 0xc]
add dword [esp + 0x14], 2
sar eax, 1
add eax, ecx
mov dword [esp + 0x1c], eax
mov ebp, 0x100639dc
mov dword [esp + 0x18], 2
lea ebx, [esi - 0x2f]
xor eax, eax
jmp 0x100136a0
mov edx, dword [edi + 8]
push 0xffffffffffffffff
push edx
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [esp + 0x2c], ecx
mov dword [eax], str.first_tag_syntax
jmp 0x10013d40
mov eax, dword [esp + 0x14]
sub eax, dword [edi + 0xc]
add dword [esp + 0x14], 2
sar eax, 1
mov dword [esp + 0x1c], eax
mov ebp, 0x100639d8
mov dword [esp + 0x18], ecx
mov ebx, ecx
xor eax, eax
jmp 0x100136a0
test al, 2
je 0x10013c80
xor eax, 2
mov dword [esp + 0x10], eax
cmp esi, 0x2d
jne 0x10013bb6
add dword [esp + 0x14], 2
or eax, 4
mov dword [esp + 0x10], eax
xor eax, eax
jmp 0x100136a0
test al, 0x20
je 0x10013c0a
lea ecx, [esi - 0x41]
cmp ecx, 0xd
ja 0x10013beb
movsx eax, byte [esi + 0x100639c7]
test eax, eax
je 0x10013beb
add dword [esp + 0x14], 2
mov ebp, 0x100639d8
mov ebx, 0x40
mov dword [esp + 0x18], 1
xor eax, eax
jmp 0x100136a0
mov edx, dword [edi + 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 0x10013d38
cmp esi, 0x5b
jne 0x10013c22
add dword [esp + 0x14], 2
or eax, 8
mov dword [esp + 0x10], eax
xor eax, eax
jmp 0x100136a0
cmp esi, 0x44
jne 0x10013c3a
add dword [esp + 0x14], 2
or eax, 0x20
mov dword [esp + 0x10], eax
xor eax, eax
jmp 0x100136a0
mov ecx, dword [edi + 8]
mov edx, dword [esp + 0x34]
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 ebp, 0x100639d8
mov dword [esp + 0x30], 1
mov dword [eax], str.exclamation_tag_syntax
call fcn.100108b0
add dword [esp + 0x2c], 2
add esp, 0x18
or ebx, 0xffffffff
xor eax, eax
jmp 0x100136a0
test al, 4
je 0x10013cf2
xor eax, 4
mov dword [esp + 0x10], eax
cmp esi, 0x2d
jne 0x10013cac
add dword [esp + 0x14], 2
mov ebp, 0x10063a70
mov dword [esp + 0x18], 3
lea ebx, [esi - 0xd]
xor eax, eax
jmp 0x100136a0
mov eax, dword [edi + 8]
push 0xffffffffffffffff
push eax
push 0
push ecx
mov eax, esp
push ecx
mov ecx, dword [esp + 0x48]
mov dword [eax], 0
mov eax, esp
add ecx, 0x10
push ecx
mov ebp, 0x100639d8
mov dword [esp + 0x30], 1
mov dword [eax], str.comment_tag_syntax
call fcn.100108b0
add dword [esp + 0x2c], 2
add esp, 0x18
or ebx, 0xffffffff
xor eax, eax
jmp 0x100136a0
test al, 8
je 0x10013d64
xor eax, 8
mov dword [esp + 0x10], eax
cmp esi, 0x43
jne 0x10013d1e
add dword [esp + 0x14], 2
mov ebp, 0x10063aa0
mov dword [esp + 0x18], 3
lea ebx, [esi - 0x3b]
xor eax, eax
jmp 0x100136a0
mov edx, dword [edi + 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 + 0x2c], 1
mov eax, dword [esp + 0x48]
add eax, 0x10
push eax
mov ebp, 0x100639d8
call fcn.100108b0
add dword [esp + 0x2c], 2
add esp, 0x18
or ebx, 0xffffffff
xor eax, eax
jmp 0x100136a0
test al, 0x20
je 0x10013a8d
cmp esi, 0x3c
jne 0x10013d82
or dword [esp + 0x10], 1
add dword [esp + 0x14], 2
xor eax, eax
jmp 0x100136a0
cmp esi, 0x3e
jne 0x10013a8d
mov eax, dword [esp + 0x14]
sub eax, dword [edi + 0xc]
lea ebx, [esi + 2]
sar eax, 1
inc eax
mov dword [edi + 8], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [edi + 8]
sub ecx, dword [eax + 4]
mov dword [eax], ebx
mov dword [eax + 8], ecx
mov eax, ebx
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
cmp esi, 0x3c
jne 0x10013dce
add dword [esp + 0x14], 2
mov dword [esp + 0x10], 1
xor eax, eax
jmp 0x100136a0
lea ecx, [esi - 9]
mov ebx, 4
cmp ecx, 0x17
ja 0x10013a7b
movsx eax, byte [esi + 0x10063647]
test eax, eax
je 0x10013a7b
add dword [esp + 0x14], 2
mov dword [esp + 0x10], 0x10
xor eax, eax
jmp 0x100136a0
mov eax, dword [esp + 0x34]
mov esi, dword [eax + 4]
cmp dword [edi + 8], esi
jne 0x10013e29
pop esi
pop ebp
mov dword [eax + 8], 0
mov dword [eax], 0
mov eax, 0xfffffffe
pop ebx
add esp, 0x24
ret 4
cmp ebx, 4
je 0x10013d9b
cmp ebx, 2
je 0x10013d9b
test byte [esp + 0x10], 0x20
mov ecx, 0x100638a8
jne 0x10013e87
cmp ebx, 0x40
je 0x10013e87
cmp ebx, 1
jne 0x10013e58
mov ecx, str.start_tag
jmp 0x10013e8c
test ebx, ebx
jne 0x10013e63
mov ecx, str.end_tag
jmp 0x10013e8c
cmp ebx, 8
jne 0x10013e6f
mov ecx, str.cdata_section
jmp 0x10013e8c
cmp ebx, 0x10
jne 0x10013e7b
mov ecx, str.processing_instruction
jmp 0x10013e8c
cmp ebx, 0x20
jne 0x10013e8c
mov ecx, str.comment
jmp 0x10013e8c
mov ecx, str.document_type
mov edx, dword [esp + 0x34]
or ebx, 0xffffffff
push ebx
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 [eax], str.unterminated_tag_syntax
call fcn.100108b0
add esp, 0x18
jmp 0x10013d9b
mov eax, dword [esp + 0x14]
sub eax, dword [edi + 0xc]
sar eax, 1
jmp 0x10013d98
mov eax, dword [esp + 0x14]
sub eax, dword [edi + 0xc]
mov ebx, 4
sar eax, 1
jmp 0x10013d98