Function at 0x1000d510
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x28]
push ebx
xor edx, edx
push ebp
push esi
mov esi, dword [edi + 8]
mov dword [eax + 4], esi
mov dword [eax + 0xc], edx
mov ebp, dword [edi + 0xc]
xor ecx, ecx
or ebx, 0xffffffff
add ebp, dword [edi + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], edx
movsx esi, byte [ebp]
mov dword [esp + 0x1c], ebp
cmp esi, edx
jne 0x1000d601
mov eax, ebp
sub eax, dword [edi + 0xc]
mov dword [edi + 8], eax
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x1000dbd5
mov ecx, dword [eax + 0xd4]
push eax
mov dword [esp + 0x30], ecx
call fcn.1000cf60
test al, al
je 0x1000d5e4
mov esi, dword [esp + 0x34]
mov ecx, dword [edi + 0x1c]
mov eax, dword [esi + 4]
mov edx, dword [edi + 8]
mov ecx, dword [ecx + 0xd4]
sub edx, eax
test ecx, ecx
je 0x1000d5bd
sub eax, ecx
cmp dword [esp + 0x18], 0
mov dword [esi + 4], eax
je 0x1000d5ae
sub dword [esp + 0x18], ecx
jmp 0x1000d5ba
cmp dword [esp + 0x28], 0
je 0x1000d5ba
sub dword [edi], ecx
sub dword [edi + 4], ecx
sub dword [edi + 8], ecx
mov eax, dword [esi + 4]
add eax, edx
mov edx, dword [edi + 0x1c]
mov ecx, dword [edx + 0x58]
cmp dword [ecx + 0x18], 0x10
jb 0x1000d5d3
mov ecx, dword [ecx + 4]
jmp 0x1000d5d6
add ecx, 4
lea ebp, [ecx + eax]
mov dword [edi + 0xc], ecx
movsx esi, byte [ebp]
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1000d5f5
mov ecx, dword [edi + 0x1c]
mov dword [ecx + 0xd4], eax
mov ecx, dword [esp + 0xc]
test esi, esi
je 0x1000dbd5
mov edx, dword [esp + 0x18]
test edx, edx
je 0x1000d648
lea eax, [esi - 9]
cmp eax, 0x35
ja 0x1000d8d5
movsx eax, byte [esi + 0x100ee01b]
test eax, eax
je 0x1000d8d5
mov eax, ebp
sub eax, dword [edi + 0xc]
mov dword [edi], edx
sub eax, edx
lea edx, [eax + edx - 1]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [edi + 4], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
jmp 0x1000d64c
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x10], 0
je 0x1000d88c
cmp esi, 0x3e
jne 0x1000d718
test cl, 0xc0
jne 0x1000d72f
sub ebp, dword [edi + 0xc]
mov edx, dword [esp + 0x14]
lea eax, [ebp + 1]
mov dword [edi + 8], eax
cmp edx, 1
jne 0x1000d6c2
mov dword [esp + 0x10], 0
cmp ebx, edx
jne 0x1000d6f5
cmp dword [esp + 0x24], 0x2f
jne 0x1000d6f5
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1000d6b5
test ecx, 0x200
je 0x1000d6b5
add eax, 0xfffffff7
cmp eax, 0x1e
ja 0x1000d6f5
mov eax, dword [esp + 0x20]
movsx eax, byte [eax + 0x100ee053]
test eax, eax
je 0x1000d6f5
mov eax, dword [esp + 0x34]
or dword [eax + 0xc], 0x10000
jmp 0x1000d6f5
dec eax
cmp eax, edx
jle 0x1000d6f5
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
sub eax, ebp
inc eax
sub esi, eax
sub ebp, 1
je 0x1000d6ed
mov cl, byte [eax]
mov dl, byte [esi + eax]
inc eax
cmp cl, dl
mov ecx, dword [esp + 0xc]
je 0x1000d6d8
jmp 0x1000d6f5
mov dword [esp + 0x10], 0
and ecx, 0xfffffdff
cmp dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
jne 0x1000d8d1
test cl, 0x20
je 0x1000db7c
jmp 0x1000d8d1
cmp esi, 0x3c
jne 0x1000d72f
cmp ebx, 2
je 0x1000dc87
cmp ebx, 0xffffffff
je 0x1000dc87
test bl, 1
je 0x1000d85f
test ecx, 0x2c0
je 0x1000d7bc
cmp esi, 0x22
jne 0x1000d760
test cl, cl
jns 0x1000d77e
xor ecx, 0x80
mov dword [esp + 0xc], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
jmp 0x1000d8d1
cmp esi, 0x27
jne 0x1000d77e
test cl, 0x40
je 0x1000d77e
xor ecx, 0x40
mov dword [esp + 0xc], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
jmp 0x1000d8d1
test ecx, 0x200
je 0x1000d855
lea edx, [esi - 9]
cmp edx, 0x17
ja 0x1000d855
movsx edx, byte [esi + 0x100eddef]
test edx, edx
je 0x1000d855
xor ecx, 0x200
mov dword [esp + 0xc], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
jmp 0x1000d8d1
cmp esi, 0x22
jne 0x1000d7e4
test ecx, 0x100
je 0x1000d855
xor ecx, 0x180
mov dword [esp + 0xc], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
jmp 0x1000d8d1
cmp esi, 0x27
jne 0x1000d808
test ecx, 0x100
je 0x1000d855
xor ecx, 0x140
mov dword [esp + 0xc], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
jmp 0x1000d8d1
cmp esi, 0x3d
jne 0x1000d830
cmp eax, esi
je 0x1000d830
test ecx, 0x100
jne 0x1000d838
xor ecx, 0x100
mov dword [esp + 0xc], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
jmp 0x1000d8d1
test ecx, 0x100
je 0x1000d855
lea edx, [esi - 9]
cmp edx, 0x17
ja 0x1000d84b
movsx edx, byte [esi + 0x100eddef]
test edx, edx
jne 0x1000d855
xor ecx, 0x300
mov dword [esp + 0xc], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
jmp 0x1000d8d1
test bl, 0x40
je 0x1000d8d1
cmp esi, 0x22
jne 0x1000d87a
test cl, 0x40
jne 0x1000d8d1
xor ecx, 0x80
mov dword [esp + 0xc], ecx
jmp 0x1000d8d1
cmp esi, 0x27
jne 0x1000d8d1
test cl, cl
js 0x1000d8d1
xor ecx, 0x40
mov dword [esp + 0xc], ecx
jmp 0x1000d8d1
test ecx, ecx
je 0x1000db96
test cl, 0x10
je 0x1000d8eb
cmp esi, 0x3c
je 0x1000dc8f
lea eax, [esi - 9]
cmp eax, 0x17
ja 0x1000d8b5
movsx eax, byte [esi + 0x100eddef]
test eax, eax
jne 0x1000d8d1
xor ecx, 0x10
mov dword [esp + 0xc], ecx
mov ebx, 2
mov dword [esp + 0x10], 0x100ee07c
mov dword [esp + 0x14], 1
mov ebp, dword [esp + 0x1c]
push ebp
call fcn.100b44c1
mov ecx, dword [esp + 0x10]
add esp, 4
add ebp, eax
xor edx, edx
jmp 0x1000d54c
test cl, 1
je 0x1000d9ab
mov eax, 1
xor ecx, eax
mov dword [esp + 0xc], ecx
cmp esi, 0x60
ja 0x1000d991
cmp esi, 0x40
jbe 0x1000d912
cmp esi, 0x5b
jb 0x1000d991
cmp esi, 0x5f
je 0x1000d991
cmp esi, 0x3a
je 0x1000d991
cmp esi, 0x2f
jne 0x1000d93a
sub ebp, dword [edi + 0xc]
xor ebx, ebx
add ebp, eax
mov dword [esp + 0x10], 0x100ee080
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
jmp 0x1000d8d1
cmp esi, 0x21
jne 0x1000d948
or ecx, 2
mov dword [esp + 0xc], ecx
jmp 0x1000d8d1
cmp esi, 0x3f
jne 0x1000d96e
sub ebp, dword [edi + 0xc]
mov dword [esp + 0x10], 0x100ee084
add ebp, eax
mov dword [esp + 0x14], 2
lea ebx, [esi - 0x2f]
mov dword [esp + 0x18], ebp
jmp 0x1000d8d1
mov ecx, dword [edi + 8]
push 0xffffffffffffffff
push ecx
push 0
push ecx
mov dword [esp + 0x24], eax
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], str.first_tag_syntax
jmp 0x1000db2f
sub ebp, dword [edi + 0xc]
mov dword [esp + 0x10], 0x100ee080
mov dword [esp + 0x14], eax
mov ebx, eax
mov dword [esp + 0x18], ebp
jmp 0x1000d8d1
test cl, 2
je 0x1000da79
xor ecx, 2
mov dword [esp + 0xc], ecx
cmp esi, 0x2d
jne 0x1000d9cc
or ecx, 4
mov dword [esp + 0xc], ecx
jmp 0x1000d8d1
test cl, 0x20
je 0x1000da15
lea eax, [esi - 0x41]
cmp eax, 0xd
ja 0x1000d9f6
movsx eax, byte [esi + 0x100ee05b]
test eax, eax
je 0x1000d9f6
mov dword [esp + 0x10], 0x100ee080
mov ebx, 0x40
jmp 0x1000d8c9
mov ecx, dword [edi + 8]
push 0xffffffffffffffff
push ecx
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], str.doctype_tag_syntax
jmp 0x1000db27
cmp esi, 0x5b
jne 0x1000da26
or ecx, 8
mov dword [esp + 0xc], ecx
jmp 0x1000d8d1
cmp esi, 0x44
jne 0x1000da37
or ecx, 0x20
mov dword [esp + 0xc], ecx
jmp 0x1000d8d1
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 dword [esp + 0x28], 0x100ee080
mov dword [esp + 0x2c], 1
mov dword [eax], str.exclamation_tag_syntax
call fcn.1000a780
add esp, 0x18
or ebx, 0xffffffff
jmp 0x1000d8d1
test cl, 4
je 0x1000dae4
xor ecx, 4
mov dword [esp + 0xc], ecx
cmp esi, 0x2d
jne 0x1000daa2
mov dword [esp + 0x10], 0x100ee0d8
mov dword [esp + 0x14], 3
lea ebx, [esi - 0xd]
jmp 0x1000d8d1
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.comment_tag_syntax
mov eax, dword [esp + 0x48]
add eax, 0x10
push eax
mov dword [esp + 0x28], 0x100ee080
mov dword [esp + 0x2c], 1
call fcn.1000a780
add esp, 0x18
or ebx, 0xffffffff
jmp 0x1000d8d1
test cl, 8
je 0x1000db4f
xor ecx, 8
mov dword [esp + 0xc], ecx
cmp esi, 0x43
jne 0x1000db0d
mov dword [esp + 0x10], 0x100ee0f0
mov dword [esp + 0x14], 3
lea ebx, [esi - 0x3b]
jmp 0x1000d8d1
mov ecx, dword [edi + 8]
push 0xffffffffffffffff
push ecx
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 + 0x28], 1
mov edx, dword [esp + 0x48]
add edx, 0x10
push edx
mov dword [esp + 0x28], 0x100ee080
call fcn.1000a780
add esp, 0x18
or ebx, 0xffffffff
jmp 0x1000d8d1
test cl, 0x20
je 0x1000d8d1
cmp esi, 0x3c
jne 0x1000db69
or ecx, 1
mov dword [esp + 0xc], ecx
jmp 0x1000d8d1
cmp esi, 0x3e
jne 0x1000d8d1
sub ebp, dword [edi + 0xc]
lea ebx, [esi + 2]
inc ebp
mov dword [edi + 8], ebp
mov eax, dword [esp + 0x34]
mov edx, dword [edi + 8]
sub edx, dword [eax + 4]
mov dword [eax], ebx
mov dword [eax + 8], edx
mov eax, ebx
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
cmp esi, 0x3c
jne 0x1000dba8
mov dword [esp + 0xc], 1
jmp 0x1000d8d1
lea eax, [esi - 9]
mov ebx, 4
cmp eax, 0x17
ja 0x1000d8bc
movsx eax, byte [esi + 0x100eddef]
test eax, eax
je 0x1000d8bc
mov dword [esp + 0xc], 0x10
jmp 0x1000d8d1
mov eax, dword [esp + 0x34]
mov esi, dword [eax + 4]
cmp dword [edi + 8], esi
jne 0x1000dbfc
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 0x1000db7c
cmp ebx, 2
je 0x1000db7c
mov edx, 0x100edfb4
test cl, 0x20
jne 0x1000dc58
cmp ebx, 0x40
je 0x1000dc58
cmp ebx, 1
jne 0x1000dc29
mov edx, str.start_tag
jmp 0x1000dc5d
test ebx, ebx
jne 0x1000dc34
mov edx, str.end_tag
jmp 0x1000dc5d
cmp ebx, 8
jne 0x1000dc40
mov edx, 0x100edfdc
jmp 0x1000dc5d
cmp ebx, 0x10
jne 0x1000dc4c
mov edx, str.processing_instruction
jmp 0x1000dc5d
cmp ebx, 0x20
jne 0x1000dc5d
mov edx, 0x100ee004
jmp 0x1000dc5d
mov edx, str.document_type
or ebx, 0xffffffff
push ebx
push esi
push 2
push ecx
mov eax, esp
push ecx
mov ecx, dword [esp + 0x48]
mov dword [eax], edx
mov eax, esp
add ecx, 0x10
push ecx
mov dword [eax], str.unterminated_tag_syntax
call fcn.1000a780
add esp, 0x18
jmp 0x1000db7c
sub ebp, dword [edi + 0xc]
jmp 0x1000db79
sub ebp, dword [edi + 0xc]
mov ebx, 4
jmp 0x1000db79