Function at 0x40d3d0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor eax, eax
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 8]
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], ebx
mov esi, dword [edi + 0xc]
or edx, 0xffffffff
add esi, dword [edi + 8]
mov dword [ebp - 0x24], edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], edx
movsx ecx, byte [esi]
mov dword [ebp - 0x18], esi
test ecx, ecx
jne 0x40d4a7
sub esi, dword [edi + 0xc]
mov ecx, dword [edi + 0x1c]
mov dword [edi + 8], esi
test ecx, ecx
je 0x40da18
mov esi, dword [ecx + 0xcc]
call fcn.0040b650
test al, al
je 0x40da15
mov eax, dword [ebp + 8]
mov edx, dword [edi + 8]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x1c]
sub edx, ecx
mov eax, dword [eax + 0xcc]
sub eax, esi
je 0x40d47a
mov esi, dword [ebp + 8]
sub ecx, eax
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x40d46c
sub ecx, eax
mov dword [ebp - 0x10], ecx
jmp 0x40d477
cmp dword [ebp - 0x1c], 0
je 0x40d477
sub dword [edi], eax
sub dword [edi + 4], eax
sub dword [edi + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x1c]
add ecx, edx
mov eax, dword [eax + 0x50]
cmp dword [eax + 0x14], 0x10
jb 0x40d490
mov eax, dword [eax]
mov edx, dword [ebp - 4]
lea esi, [eax + ecx]
mov dword [edi + 0xc], eax
movsx ecx, byte [esi]
mov dword [ebp - 0x18], esi
test ecx, ecx
je 0x40da18
cmp dword [ebp - 0x10], 0
je 0x40d4f1
lea eax, [ecx - 9]
cmp eax, 0x35
ja 0x40d4eb
movsx eax, byte [ecx + 0x421a8b]
test eax, eax
je 0x40d4eb
mov eax, esi
sub eax, dword [edi + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
sub edx, eax
mov dword [edi], eax
dec eax
add eax, edx
mov dword [edi + 4], eax
xor eax, eax
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
jmp 0x40d4f4
inc esi
jmp 0x40d40c
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 8], 0
je 0x40d70f
cmp ecx, 0x3e
jne 0x40d5c1
test bl, 0xc0
jne 0x40d5d8
mov ecx, dword [ebp - 0xc]
mov eax, esi
sub eax, dword [edi + 0xc]
inc eax
mov dword [edi + 8], eax
cmp ecx, 1
jne 0x40d558
mov dword [ebp - 8], 0
cmp edx, ecx
jne 0x40d59c
cmp dword [ebp - 0x14], 0x2f
jne 0x40d59c
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x40d54c
lea eax, [ecx - 9]
cmp eax, 0x1e
ja 0x40d59c
movsx eax, byte [ecx + 0x421ac3]
test eax, eax
je 0x40d59c
mov eax, dword [ebp + 8]
or dword [eax + 0xc], 0x10000
jmp 0x40d59c
dec eax
cmp eax, ecx
jle 0x40d751
mov edi, dword [ebp - 8]
mov edx, esi
sub edx, ecx
inc edx
mov esi, ecx
sub edi, edx
lea ecx, [ecx]
dec esi
je 0x40d58c
mov cl, byte [edx]
mov al, byte [edi + edx]
inc edx
cmp cl, al
je 0x40d570
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 0x24]
inc esi
jmp 0x40d40c
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 8], 0
test bl, 0x20
jne 0x40d751
mov esi, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 8]
sub ecx, dword [eax + 4]
mov dword [eax], esi
mov dword [eax + 8], ecx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ecx, 0x3c
jne 0x40d5d8
cmp edx, 2
je 0x40dac8
cmp edx, 0xffffffff
je 0x40dac8
test dl, 1
je 0x40d6dc
test bl, 0xc0
je 0x40d632
cmp ecx, 0x22
jne 0x40d60b
test bl, bl
jns 0x40d6ca
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x24]
xor ebx, 0x80
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], ecx
inc esi
jmp 0x40d40c
cmp ecx, 0x27
jne 0x40d6ca
test bl, 0x40
je 0x40d6ca
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x24]
xor ebx, 0x40
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], ecx
inc esi
jmp 0x40d40c
cmp ecx, 0x22
jne 0x40d65b
test ebx, 0x100
je 0x40d6ca
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x24]
xor ebx, 0x180
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], ecx
inc esi
jmp 0x40d40c
cmp ecx, 0x27
jne 0x40d680
test ebx, 0x100
je 0x40d6ca
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x24]
xor ebx, 0x140
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], ecx
inc esi
jmp 0x40d40c
cmp ecx, 0x3d
jne 0x40d6a9
cmp eax, ecx
je 0x40d6a9
test ebx, 0x100
jne 0x40d6b1
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x24]
xor ebx, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], ecx
inc esi
jmp 0x40d40c
test ebx, 0x100
je 0x40d6ca
lea eax, [ecx - 9]
cmp eax, 0x17
ja 0x40d6c4
movsx eax, byte [ecx + 0x42184f]
test eax, eax
jne 0x40d6ca
xor ebx, 0x100
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], ecx
inc esi
jmp 0x40d40c
test dl, 0x40
je 0x40d751
cmp ecx, 0x22
jne 0x40d6fa
test bl, 0x40
jne 0x40d751
mov edi, dword [ebp - 0x24]
xor ebx, 0x80
inc esi
jmp 0x40d40c
cmp ecx, 0x27
jne 0x40d751
test bl, bl
js 0x40d751
mov edi, dword [ebp - 0x24]
xor ebx, 0x40
inc esi
jmp 0x40d40c
test ebx, ebx
je 0x40d9d5
test bl, 0x10
je 0x40d75a
cmp ecx, 0x3c
je 0x40dad3
lea eax, [ecx - 9]
cmp eax, 0x17
ja 0x40d738
movsx eax, byte [ecx + 0x42184f]
test eax, eax
jne 0x40d751
xor ebx, 0x10
mov edx, 2
mov dword [ebp - 8], 0x421aec
mov dword [ebp - 0xc], 1
mov dword [ebp - 4], edx
mov edi, dword [ebp - 0x24]
inc esi
jmp 0x40d40c
test bl, 1
je 0x40d85d
xor ebx, 1
cmp ecx, 0x60
ja 0x40d83a
cmp ecx, 0x40
jbe 0x40d77d
cmp ecx, 0x5b
jb 0x40d83a
cmp ecx, 0x5f
je 0x40d83a
cmp ecx, 0x3a
je 0x40d83a
cmp ecx, 0x2f
jne 0x40d7b9
mov eax, esi
sub eax, dword [edi + 0xc]
mov edi, dword [ebp - 0x24]
xor edx, edx
inc eax
mov dword [ebp - 8], 0x421af0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 4], edx
inc esi
jmp 0x40d40c
cmp ecx, 0x21
jne 0x40d7ca
mov edi, dword [ebp - 0x24]
or ebx, 2
inc esi
jmp 0x40d40c
cmp ecx, 0x3f
jne 0x40d7f5
mov eax, esi
sub eax, dword [edi + 0xc]
mov edi, dword [ebp - 0x24]
inc eax
lea edx, [ecx - 0x2f]
mov dword [ebp - 8], 0x421af4
mov dword [ebp - 0xc], 2
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edx
inc esi
jmp 0x40d40c
push 0xffffffffffffffff
push dword [edi + 8]
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], str.first_tag_syntax
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
mov dword [ebp - 8], 0x421af0
mov dword [ebp - 0xc], 1
call fcn.0040ee90
mov edi, dword [ebp - 0x24]
or edx, 0xffffffff
add esp, 0x18
mov dword [ebp - 4], edx
inc esi
jmp 0x40d40c
mov eax, esi
sub eax, dword [edi + 0xc]
mov edi, dword [ebp - 0x24]
mov edx, 1
mov dword [ebp - 8], 0x421af0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], edx
inc esi
jmp 0x40d40c
test bl, 2
je 0x40d90f
xor ebx, 2
cmp ecx, 0x2d
jne 0x40d87a
mov edi, dword [ebp - 0x24]
or ebx, 4
inc esi
jmp 0x40d40c
test bl, 0x20
je 0x40d8cf
lea eax, [ecx - 0x41]
cmp eax, 0xd
ja 0x40d8b1
movsx eax, byte [ecx + 0x421acb]
test eax, eax
je 0x40d8b1
mov edi, dword [ebp - 0x24]
mov edx, 0x40
mov dword [ebp - 8], 0x421af0
mov dword [ebp - 0xc], 1
mov dword [ebp - 4], edx
inc esi
jmp 0x40d40c
push 0xffffffffffffffff
push dword [edi + 8]
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], str.doctype_tag_syntax
jmp 0x40d80e
cmp ecx, 0x5b
jne 0x40d8e0
mov edi, dword [ebp - 0x24]
or ebx, 8
inc esi
jmp 0x40d40c
cmp ecx, 0x44
jne 0x40d8f1
mov edi, dword [ebp - 0x24]
or ebx, 0x20
inc esi
jmp 0x40d40c
push 0xffffffffffffffff
push dword [edi + 8]
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], str.exclamation_tag_syntax
jmp 0x40d80e
test bl, 4
je 0x40d959
xor ebx, 4
cmp ecx, 0x2d
jne 0x40d93b
mov edi, dword [ebp - 0x24]
mov edx, 0x20
mov dword [ebp - 8], 0x421b48
mov dword [ebp - 0xc], 3
mov dword [ebp - 4], edx
inc esi
jmp 0x40d40c
push 0xffffffffffffffff
push dword [edi + 8]
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], str.comment_tag_syntax
jmp 0x40d80e
test bl, 8
je 0x40d9a3
xor ebx, 8
cmp ecx, 0x43
jne 0x40d985
mov edi, dword [ebp - 0x24]
mov edx, 8
mov dword [ebp - 8], 0x421b60
mov dword [ebp - 0xc], 3
mov dword [ebp - 4], edx
inc esi
jmp 0x40d40c
push 0xffffffffffffffff
push dword [edi + 8]
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], str.cdata_section_syntax
jmp 0x40d80e
test bl, 0x20
je 0x40d751
cmp ecx, 0x3c
jne 0x40d9bd
mov edi, dword [ebp - 0x24]
or ebx, 1
inc esi
jmp 0x40d40c
cmp ecx, 0x3e
jne 0x40d751
sub esi, dword [edi + 0xc]
inc esi
mov dword [edi + 8], esi
lea esi, [ecx + 2]
jmp 0x40d5a8
cmp ecx, 0x3c
jne 0x40d9e6
mov edi, dword [ebp - 0x24]
lea ebx, [ecx - 0x3b]
inc esi
jmp 0x40d40c
lea eax, [ecx - 9]
mov edx, 4
mov dword [ebp - 4], edx
cmp eax, 0x17
ja 0x40d73b
movsx eax, byte [ecx + 0x42184f]
test eax, eax
je 0x40d73b
mov edi, dword [ebp - 0x24]
lea ebx, [edx + 0xc]
inc esi
jmp 0x40d40c
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
cmp dword [edi + 8], eax
jne 0x40da3e
pop edi
pop esi
mov dword [ecx + 8], 0
mov dword [ecx], 0
mov eax, 0xfffffffe
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp edx, 4
je 0x40d5a5
cmp edx, 2
je 0x40d5a5
mov ecx, 0x421a24
test bl, 0x20
jne 0x40da9a
cmp edx, 0x40
je 0x40da9a
cmp edx, 1
jne 0x40da6b
mov ecx, str.start_tag
jmp 0x40da9f
test edx, edx
jne 0x40da76
mov ecx, str.end_tag
jmp 0x40da9f
cmp edx, 8
jne 0x40da82
mov ecx, str.cdata_section
jmp 0x40da9f
cmp edx, 0x10
jne 0x40da8e
mov ecx, str.processing_instruction
jmp 0x40da9f
cmp edx, 0x20
jne 0x40da9f
mov ecx, str.comment
jmp 0x40da9f
mov ecx, str.document_type
or esi, 0xffffffff
push esi
push eax
push 2
push ecx
mov eax, esp
push ecx
mov dword [eax], ecx
mov eax, esp
mov dword [eax], str.unterminated_tag_syntax
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
call fcn.0040ee90
add esp, 0x18
jmp 0x40d5a8
sub esi, dword [edi + 0xc]
mov dword [edi + 8], esi
jmp 0x40d5a5
sub esi, dword [edi + 0xc]
mov dword [edi + 8], esi
mov esi, 4
jmp 0x40d5a8