Function at 0x10014dc0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0xc]
push edi
xor edi, edi
add eax, dword [esi + 8]
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x10], eax
lea ecx, [ecx]
movsx ebx, byte [eax]
cmp ebx, edx
jne 0x10014e8b
sub eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x1c]
mov dword [esi + 8], eax
cmp ecx, edx
je 0x100153ea
mov edx, dword [ecx + 0xac]
mov dword [ebp - 0x24], edx
call fcn.10014c80
test al, al
je 0x100153ea
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 0x1c]
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 8]
mov eax, dword [eax + 0xac]
sub edx, ecx
sub eax, dword [ebp - 0x24]
je 0x10014e69
sub ecx, eax
cmp dword [ebp - 0x14], 0
mov dword [ebx + 4], ecx
je 0x10014e5b
sub dword [ebp - 0x14], eax
jmp 0x10014e66
cmp dword [ebp - 0x20], 0
je 0x10014e66
sub dword [esi], eax
sub dword [esi + 4], eax
sub dword [esi + 8], eax
mov ecx, ebx
mov eax, dword [ecx + 4]
add eax, edx
mov edx, dword [esi + 0x1c]
mov ecx, dword [edx + 0x30]
mov ecx, dword [ecx]
add eax, ecx
mov dword [esi + 0xc], ecx
movsx ebx, byte [eax]
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x100153ea
cmp dword [ebp - 0x14], 0
je 0x10014ecd
movsx eax, bl
push eax
push str.__t_n_r__
call dword [sym.imp.MSVCR100.dll_strchr]
add esp, 8
test eax, eax
je 0x10015107
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
sub eax, dword [esi + 0xc]
mov dword [esi], ecx
sub eax, ecx
lea ecx, [eax + ecx - 1]
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [esi + 4], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
xor edx, edx
cmp dword [ebp - 0xc], edx
je 0x100150c2
cmp ebx, 0x3e
jne 0x10014f78
mov ecx, dword [ebp - 4]
test cl, 0xc0
jne 0x10014f95
mov eax, dword [ebp - 0x10]
sub eax, dword [esi + 0xc]
inc eax
mov dword [esi + 8], eax
cmp edi, 1
jne 0x10014f35
mov dword [ebp - 0xc], edx
cmp dword [ebp - 8], edi
jne 0x10014f6a
cmp dword [ebp - 0x18], 0x2f
jne 0x10014f6a
cmp dword [ebp - 0x1c], edx
je 0x10014f29
movsx edx, byte [ebp - 0x1c]
push edx
push str.__t_n_r_
call dword [sym.imp.MSVCR100.dll_strchr]
mov ecx, dword [ebp - 4]
add esp, 8
test eax, eax
je 0x10014f6a
mov eax, dword [ebp + 8]
or dword [eax + 0xc], 0x10000
jmp 0x10014f6a
dec eax
cmp eax, edi
jle 0x10015107
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
sub eax, edi
inc eax
mov dword [ebp - 0x24], edi
sub ecx, eax
dec dword [ebp - 0x24]
je 0x10014f60
mov dl, byte [eax]
mov bl, byte [ecx + eax]
inc eax
cmp dl, bl
je 0x10014f4c
jmp 0x10015107
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], 0
test cl, 0x20
je 0x10015392
jmp 0x10015107
mov eax, dword [ebp - 8]
cmp ebx, 0x3c
jne 0x10014f9a
cmp eax, 2
je 0x10014f8a
cmp eax, 0xffffffff
jne 0x10014f9a
mov eax, dword [ebp - 0x10]
sub eax, dword [esi + 0xc]
jmp 0x1001538f
mov eax, dword [ebp - 8]
jmp 0x10014f9d
mov ecx, dword [ebp - 4]
test al, 1
je 0x10015099
test cl, 0xc0
je 0x10014ff4
cmp ebx, 0x22
jne 0x10014fce
test cl, cl
jns 0x1001508e
xor ecx, 0x80
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ebx
jmp 0x10015107
cmp ebx, 0x27
jne 0x1001508e
test cl, 0x40
je 0x1001508e
xor ecx, 0x40
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ebx
jmp 0x10015107
cmp ebx, 0x22
jne 0x1001501c
test ecx, 0x100
je 0x1001508e
xor ecx, 0x180
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ebx
jmp 0x10015107
cmp ebx, 0x27
jne 0x10015040
test ecx, 0x100
je 0x1001508e
xor ecx, 0x140
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ebx
jmp 0x10015107
cmp ebx, 0x3d
jne 0x10015069
cmp dword [ebp - 0x18], ebx
je 0x10015069
test ecx, 0x100
jne 0x10015071
xor ecx, 0x100
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ebx
jmp 0x10015107
test ecx, 0x100
je 0x1001508e
movsx eax, bl
push eax
push str.__t_n_r
call dword [sym.imp.MSVCR100.dll_strchr]
add esp, 8
test eax, eax
jne 0x1001508e
xor dword [ebp - 4], 0x100
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ebx
jmp 0x10015107
test al, 0x40
je 0x10015107
cmp ebx, 0x22
jne 0x100150b1
test byte [ebp - 4], 0x40
jne 0x10015107
xor dword [ebp - 4], 0x80
jmp 0x10015107
cmp ebx, 0x27
jne 0x10015107
test byte [ebp - 4], 0x80
jne 0x10015107
xor dword [ebp - 4], 0x40
jmp 0x10015107
mov eax, dword [ebp - 4]
cmp eax, edx
je 0x100153ac
test al, 0x10
je 0x10015122
cmp ebx, 0x3c
je 0x100154a5
movsx edx, bl
push edx
push str.__t_n_r
call dword [sym.imp.MSVCR100.dll_strchr]
add esp, 8
test eax, eax
jne 0x10015107
xor dword [ebp - 4], 0x10
mov dword [ebp - 8], 2
mov dword [ebp - 0xc], 0x1001b7f0
mov edi, 1
mov ebx, dword [ebp - 0x10]
push ebx
call dword [sym.imp.MSVCR100.dll__mbclen]
add ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
mov eax, ebx
xor edx, edx
jmp 0x10014e00
test al, 1
je 0x100151ce
xor eax, 1
mov dword [ebp - 4], eax
cmp ebx, 0x60
ja 0x100151b1
cmp ebx, 0x40
jbe 0x1001513f
cmp ebx, 0x5b
jb 0x100151b1
cmp ebx, 0x5f
je 0x100151b1
cmp ebx, 0x3a
je 0x100151b1
cmp ebx, 0x2f
jne 0x10015164
mov eax, dword [ebp - 0x10]
sub eax, dword [esi + 0xc]
mov dword [ebp - 0xc], 0x1001b7e4
inc eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], eax
jmp 0x10015102
cmp ebx, 0x21
jne 0x10015171
or eax, 2
mov dword [ebp - 4], eax
jmp 0x10015107
cmp ebx, 0x3f
jne 0x10015196
mov eax, dword [ebp - 0x10]
sub eax, dword [esi + 0xc]
mov dword [ebp - 0xc], 0x1001b7f8
inc eax
lea edi, [ebx - 0x3d]
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], eax
jmp 0x10015107
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
push 0
push ecx
mov eax, esp
mov dword [eax], edx
push ecx
mov eax, esp
mov dword [eax], str.first_tag_syntax
jmp 0x1001533b
mov eax, dword [ebp - 0x10]
sub eax, dword [esi + 0xc]
mov edi, 1
mov dword [ebp - 0xc], 0x1001b7e4
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], eax
jmp 0x10015107
test al, 2
je 0x1001529e
xor eax, 2
mov dword [ebp - 4], eax
cmp ebx, 0x2d
jne 0x100151ec
or eax, 4
mov dword [ebp - 4], eax
jmp 0x10015107
test al, 0x20
je 0x1001523d
movsx edx, bl
push edx
push 0x1001ba3c
call dword [sym.imp.MSVCR100.dll_strchr]
add esp, 8
mov dword [ebp - 0xc], 0x1001b7e4
mov edi, 1
test eax, eax
je 0x1001521e
mov dword [ebp - 8], 0x40
jmp 0x10015107
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], str.doctype_tag_syntax
jmp 0x10015347
cmp ebx, 0x5b
jne 0x1001524d
or eax, 8
mov dword [ebp - 4], eax
jmp 0x10015107
cmp ebx, 0x44
jne 0x1001525d
or eax, 0x20
mov dword [ebp - 4], eax
jmp 0x10015107
mov edx, dword [esi + 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.exclamation_tag_syntax
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
mov dword [ebp - 0xc], 0x1001b7e4
mov edi, 1
call fcn.10013ee0
add esp, 0x18
mov dword [ebp - 8], 0xffffffff
jmp 0x10015107
test al, 4
je 0x10015300
xor eax, 4
mov dword [ebp - 4], eax
cmp ebx, 0x2d
jne 0x100152c3
mov dword [ebp - 0xc], 0x1001b7f4
lea edi, [ebx - 0x2a]
mov dword [ebp - 8], 0x20
jmp 0x10015107
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
push ecx
push 0
push ecx
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp + 8]
push ecx
mov eax, esp
add edx, 0x10
push edx
mov dword [ebp - 0xc], 0x1001b7e4
mov edi, 1
mov dword [eax], str.comment_tag_syntax
call fcn.10013ee0
add esp, 0x18
mov dword [ebp - 8], 0xffffffff
jmp 0x10015107
test al, 8
je 0x10015362
xor eax, 8
mov dword [ebp - 4], eax
cmp ebx, 0x43
jne 0x10015325
mov dword [ebp - 0xc], 0x1001b7e0
lea edi, [ebx - 0x40]
mov dword [ebp - 8], 8
jmp 0x10015107
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
push 0
push ecx
mov eax, esp
mov dword [eax], edx
push ecx
mov eax, esp
mov dword [eax], str.cdata_section_syntax
mov edi, 1
mov dword [ebp - 0xc], 0x1001b7e4
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ecx
call fcn.10013ee0
add esp, 0x18
mov dword [ebp - 8], 0xffffffff
jmp 0x10015107
test al, 0x20
je 0x10015107
cmp ebx, 0x3c
jne 0x10015378
or dword [ebp - 4], 1
jmp 0x10015107
cmp ebx, 0x3e
jne 0x10015107
mov eax, dword [ebp - 0x10]
sub eax, dword [esi + 0xc]
mov dword [ebp - 8], 0x40
inc eax
mov dword [esi + 8], eax
mov edx, dword [esi + 8]
mov ecx, dword [ebp + 8]
sub edx, dword [ecx + 4]
mov eax, dword [ebp - 8]
mov dword [ecx + 8], edx
mov dword [ecx], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ebx, 0x3c
jne 0x100153bd
mov dword [ebp - 4], 1
jmp 0x10015107
movsx edx, bl
push edx
push str.__t_n_r
mov dword [ebp - 8], 4
call dword [sym.imp.MSVCR100.dll_strchr]
add esp, 8
test eax, eax
je 0x100150f4
mov dword [ebp - 4], 0x10
jmp 0x10015107
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
cmp dword [esi + 8], edx
jne 0x10015410
pop edi
pop esi
mov dword [eax + 8], 0
mov dword [eax], 0
mov eax, 0xfffffffe
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 8], 4
je 0x10015392
cmp dword [ebp - 8], 2
je 0x10015392
test byte [ebp - 4], 0x20
mov ecx, 0x1001b9e0
jne 0x10015472
mov eax, dword [ebp - 8]
cmp eax, 0x40
je 0x10015472
cmp eax, 1
jne 0x10015443
mov ecx, str.start_tag
jmp 0x10015477
test eax, eax
jne 0x1001544e
mov ecx, str.end_tag
jmp 0x10015477
cmp eax, 8
jne 0x1001545a
mov ecx, str.cdata_section
jmp 0x10015477
cmp eax, 0x10
jne 0x10015466
mov ecx, str.processing_instruction
jmp 0x10015477
cmp eax, 0x20
jne 0x10015477
mov ecx, str.comment
jmp 0x10015477
mov ecx, str.document_type
push 0xffffffffffffffff
push edx
push 2
push ecx
mov eax, esp
mov dword [eax], ecx
push ecx
mov eax, esp
mov dword [eax], str.unterminated_tag_syntax
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
mov dword [ebp - 8], 0xffffffff
call fcn.10013ee0
add esp, 0x18
jmp 0x10015392
mov eax, dword [ebp - 0x10]
sub eax, dword [esi + 0xc]
mov dword [ebp - 8], 4
jmp 0x1001538f