Function at 0x41d860
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x20
push ebx
push ebp
xor eax, eax
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [edi + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
lea ecx, [edx + ecx*2]
xor ebp, ebp
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
mov edx, dword [esp + 0x14]
movzx esi, word [edx]
cmp esi, eax
jne 0x41d948
mov ecx, dword [edi + 0x1c]
mov eax, edx
sub eax, dword [edi + 0xc]
sar eax, 1
test ecx, ecx
mov dword [edi + 8], eax
je 0x41e00b
mov edx, dword [ecx + 0xa4]
mov dword [esp + 0x2c], edx
call fcn.0041d200
test al, al
je 0x41d92f
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 0x41d913
sub eax, ecx
cmp dword [esp + 0x1c], 0
mov dword [esi + 4], eax
je 0x41d904
sub dword [esp + 0x1c], ecx
jmp 0x41d910
cmp dword [esp + 0x28], 0
je 0x41d910
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 0x41d940
mov edx, dword [edi + 0x1c]
mov dword [edx + 0xa4], eax
test esi, esi
je 0x41e00b
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x41d993
lea eax, [esi - 9]
cmp eax, 0x35
ja 0x41dc93
movsx eax, byte [esi + 0x61007b]
test eax, eax
je 0x41dc93
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 0x41d997
mov edx, dword [esp + 0x24]
test ebp, ebp
je 0x41dc4a
cmp esi, 0x3e
jne 0x41da64
mov ecx, dword [esp + 0x10]
test cl, 0xc0
jne 0x41da7f
mov eax, dword [esp + 0x14]
sub eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x18]
sar eax, 1
add eax, 1
cmp ecx, 1
mov dword [edi + 8], eax
jne 0x41da08
xor ebp, ebp
cmp ebx, ecx
jne 0x41da3d
cmp dword [esp + 0x20], 0x2f
jne 0x41da3d
test edx, edx
je 0x41d9fb
test dword [esp + 0x10], 0x200
je 0x41d9fb
lea eax, [edx - 9]
cmp eax, 0x1e
ja 0x41da3d
movsx eax, byte [edx + 0x6100b3]
test eax, eax
je 0x41da3d
mov eax, dword [esp + 0x34]
or dword [eax + 0xc], 0x10000
jmp 0x41da3d
add eax, 0xffffffff
cmp eax, ecx
jle 0x41da3d
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 0x41da3b
mov dx, word [eax]
mov si, word [ecx + eax]
add eax, 2
cmp dx, si
je 0x41da23
jmp 0x41da3d
xor ebp, ebp
and dword [esp + 0x10], 0xfffffdff
test ebp, ebp
jne 0x41dc93
test byte [esp + 0x10], 0x20
je 0x41dfa3
add dword [esp + 0x14], 2
xor eax, eax
jmp 0x41d8a2
cmp esi, 0x3c
jne 0x41da7b
cmp ebx, 2
je 0x41e0c0
cmp ebx, 0xffffffff
je 0x41e0c0
mov ecx, dword [esp + 0x10]
test bl, 1
je 0x41dc05
test ecx, 0x2c0
je 0x41db31
cmp esi, 0x22
jne 0x41dabf
test cl, cl
jns 0x41dae8
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 0x41d8a2
cmp esi, 0x27
jne 0x41dae8
test cl, 0x40
je 0x41dae8
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 0x41d8a2
test ecx, 0x200
je 0x41dbed
lea eax, [esi - 9]
cmp eax, 0x17
ja 0x41dbed
movsx eax, byte [esi + 0x60fd4f]
test eax, eax
je 0x41dbed
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 0x41d8a2
cmp esi, 0x22
jne 0x41db64
test ecx, 0x100
je 0x41dbed
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 0x41d8a2
cmp esi, 0x27
jne 0x41db93
test ecx, 0x100
je 0x41dbed
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 0x41d8a2
cmp esi, 0x3d
jne 0x41dbc8
cmp dword [esp + 0x20], esi
je 0x41dbc8
test ecx, 0x100
jne 0x41dbd0
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 0x41d8a2
test ecx, 0x100
je 0x41dbed
lea edx, [esi - 9]
cmp edx, 0x17
ja 0x41dbe3
movsx eax, byte [esi + 0x60fd4f]
test eax, eax
jne 0x41dbed
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 0x41d8a2
test bl, 0x40
je 0x41dc93
cmp esi, 0x22
jne 0x41dc2e
test cl, 0x40
jne 0x41dc93
add dword [esp + 0x14], 2
xor ecx, 0x80
mov dword [esp + 0x10], ecx
xor eax, eax
jmp 0x41d8a2
cmp esi, 0x27
jne 0x41dc93
test cl, cl
js 0x41dc93
add dword [esp + 0x14], 2
xor ecx, 0x40
mov dword [esp + 0x10], ecx
xor eax, eax
jmp 0x41d8a2
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41dfbe
test al, 0x10
je 0x41dc9f
cmp esi, 0x3c
je 0x41e0ce
lea ecx, [esi - 9]
cmp ecx, 0x17
ja 0x41dc7a
movsx eax, byte [esi + 0x60fd4f]
test eax, eax
jne 0x41dc93
mov eax, dword [esp + 0x10]
xor eax, 0x10
mov dword [esp + 0x10], eax
mov ebx, 2
mov ebp, 0x6100dc
mov dword [esp + 0x18], 1
add dword [esp + 0x14], 2
xor eax, eax
jmp 0x41d8a2
test al, 1
je 0x41dd95
mov ecx, 1
xor eax, ecx
cmp esi, 0x60
mov dword [esp + 0x10], eax
ja 0x41dd71
cmp esi, 0x40
jbe 0x41dcc9
cmp esi, 0x5b
jb 0x41dd71
cmp esi, 0x5f
je 0x41dd71
cmp esi, 0x3a
je 0x41dd71
cmp esi, 0x2f
jne 0x41dd06
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, 0x6100e0
mov dword [esp + 0x18], ecx
xor eax, eax
jmp 0x41d8a2
cmp esi, 0x21
jne 0x41dd1e
add dword [esp + 0x14], 2
or eax, 2
mov dword [esp + 0x10], eax
xor eax, eax
jmp 0x41d8a2
cmp esi, 0x3f
jne 0x41dd4e
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, 0x6100e4
mov dword [esp + 0x18], 2
lea ebx, [esi - 0x2f]
xor eax, eax
jmp 0x41d8a2
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 0x41df46
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, 0x6100e0
mov dword [esp + 0x18], ecx
mov ebx, ecx
xor eax, eax
jmp 0x41d8a2
test al, 2
je 0x41de86
xor eax, 2
cmp esi, 0x2d
mov dword [esp + 0x10], eax
jne 0x41ddbc
add dword [esp + 0x14], 2
or eax, 4
mov dword [esp + 0x10], eax
xor eax, eax
jmp 0x41d8a2
test al, 0x20
je 0x41de10
lea ecx, [esi - 0x41]
cmp ecx, 0xd
ja 0x41ddf1
movsx eax, byte [esi + 0x6100cf]
test eax, eax
je 0x41ddf1
add dword [esp + 0x14], 2
mov ebp, 0x6100e0
mov ebx, 0x40
mov dword [esp + 0x18], 1
xor eax, eax
jmp 0x41d8a2
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 0x41df3e
cmp esi, 0x5b
jne 0x41de28
add dword [esp + 0x14], 2
or eax, 8
mov dword [esp + 0x10], eax
xor eax, eax
jmp 0x41d8a2
cmp esi, 0x44
jne 0x41de40
add dword [esp + 0x14], 2
or eax, 0x20
mov dword [esp + 0x10], eax
xor eax, eax
jmp 0x41d8a2
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, 0x6100e0
mov dword [esp + 0x30], 1
mov dword [eax], str.exclamation_tag_syntax
call fcn.0041aaf0
add dword [esp + 0x2c], 2
add esp, 0x18
or ebx, 0xffffffff
xor eax, eax
jmp 0x41d8a2
test al, 4
je 0x41def8
xor eax, 4
cmp esi, 0x2d
mov dword [esp + 0x10], eax
jne 0x41deb2
add dword [esp + 0x14], 2
mov ebp, 0x610178
mov dword [esp + 0x18], 3
lea ebx, [esi - 0xd]
xor eax, eax
jmp 0x41d8a2
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, 0x6100e0
mov dword [esp + 0x30], 1
mov dword [eax], str.comment_tag_syntax
call fcn.0041aaf0
add dword [esp + 0x2c], 2
add esp, 0x18
or ebx, 0xffffffff
xor eax, eax
jmp 0x41d8a2
test al, 8
je 0x41df6a
xor eax, 8
cmp esi, 0x43
mov dword [esp + 0x10], eax
jne 0x41df24
add dword [esp + 0x14], 2
mov ebp, 0x6101a8
mov dword [esp + 0x18], 3
lea ebx, [esi - 0x3b]
xor eax, eax
jmp 0x41d8a2
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, 0x6100e0
call fcn.0041aaf0
add dword [esp + 0x2c], 2
add esp, 0x18
or ebx, 0xffffffff
xor eax, eax
jmp 0x41d8a2
test al, 0x20
je 0x41dc93
cmp esi, 0x3c
jne 0x41df88
or dword [esp + 0x10], 1
add dword [esp + 0x14], 2
xor eax, eax
jmp 0x41d8a2
cmp esi, 0x3e
jne 0x41dc93
mov eax, dword [esp + 0x14]
sub eax, dword [edi + 0xc]
lea ebx, [esi + 2]
sar eax, 1
add eax, 1
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 edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
cmp esi, 0x3c
jne 0x41dfd7
add dword [esp + 0x14], 2
mov dword [esp + 0x10], 1
xor eax, eax
jmp 0x41d8a2
lea ecx, [esi - 9]
cmp ecx, 0x17
mov ebx, 4
ja 0x41dc81
movsx eax, byte [esi + 0x60fd4f]
test eax, eax
je 0x41dc81
add dword [esp + 0x14], 2
mov dword [esp + 0x10], 0x10
xor eax, eax
jmp 0x41d8a2
mov eax, dword [esp + 0x34]
mov esi, dword [eax + 4]
cmp dword [edi + 8], esi
jne 0x41e033
pop edi
pop esi
pop ebp
mov dword [eax + 8], 0
mov dword [eax], 0
mov eax, 0xfffffffe
pop ebx
add esp, 0x20
ret 4
cmp ebx, 4
je 0x41dfa3
cmp ebx, 2
je 0x41dfa3
test byte [esp + 0x10], 0x20
mov ecx, 0x60ffb0
jne 0x41e091
cmp ebx, 0x40
je 0x41e091
cmp ebx, 1
jne 0x41e062
mov ecx, str.start_tag
jmp 0x41e096
test ebx, ebx
jne 0x41e06d
mov ecx, str.end_tag
jmp 0x41e096
cmp ebx, 8
jne 0x41e079
mov ecx, str.cdata_section
jmp 0x41e096
cmp ebx, 0x10
jne 0x41e085
mov ecx, str.processing_instruction
jmp 0x41e096
cmp ebx, 0x20
jne 0x41e096
mov ecx, 0x610044
jmp 0x41e096
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.0041aaf0
add esp, 0x18
jmp 0x41dfa3
mov eax, dword [esp + 0x14]
sub eax, dword [edi + 0xc]
sar eax, 1
jmp 0x41dfa0
mov eax, dword [esp + 0x14]
sub eax, dword [edi + 0xc]
mov ebx, 4
sar eax, 1
jmp 0x41dfa0