Function at 0x421080
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x28]
push ebx
xor edx, edx
push ebp
mov ebp, ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
lea eax, [ecx + eax*2]
push edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
or ebx, 0xffffffff
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
movzx esi, word [eax]
cmp esi, edx
jne 0x421175
sub eax, dword [ebp + 0xc]
sar eax, 1
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x1c]
cmp eax, edx
je 0x421862
mov ecx, dword [eax + 0xd4]
mov edi, eax
mov dword [esp + 0x30], ecx
call fcn.00420c80
test al, al
je 0x42115c
mov esi, dword [esp + 0x38]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [esi + 4]
mov edx, dword [ebp + 8]
mov ecx, dword [ecx + 0xd4]
sub edx, eax
test ecx, ecx
je 0x421136
sub eax, ecx
cmp dword [esp + 0x20], 0
mov dword [esi + 4], eax
je 0x421126
sub dword [esp + 0x20], ecx
jmp 0x421133
cmp dword [esp + 0x2c], 0
je 0x421133
sub dword [ebp], ecx
sub dword [ebp + 4], ecx
sub dword [ebp + 8], ecx
mov eax, dword [esi + 4]
add eax, edx
mov edx, dword [ebp + 0x1c]
mov ecx, dword [edx + 0x58]
cmp dword [ecx + 0x18], 8
jb 0x42114c
mov ecx, dword [ecx + 4]
jmp 0x42114f
add ecx, 4
lea eax, [ecx + eax*2]
mov dword [ebp + 0xc], ecx
movzx esi, word [eax]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x42116d
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0xd4], eax
test esi, esi
je 0x421862
mov ecx, dword [esp + 0x20]
xor edx, edx
cmp ecx, edx
je 0x4211c3
lea eax, [esi - 9]
cmp eax, 0x35
ja 0x4211b9
movsx eax, byte [esi + 0x58ec2b]
cmp eax, edx
je 0x4211b9
mov eax, dword [esp + 0x18]
sub eax, dword [ebp + 0xc]
mov dword [ebp], ecx
sar eax, 1
sub eax, ecx
lea ecx, [eax + ecx - 1]
mov dword [esp + 0x2c], eax
mov dword [ebp + 4], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edx
jmp 0x4211c7
add dword [esp + 0x18], 2
jmp 0x4210c4
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
test edi, edi
je 0x421480
cmp esi, 0x3e
jne 0x42129a
mov ecx, dword [esp + 0x10]
test cl, 0xc0
jne 0x4212b5
mov eax, dword [esp + 0x18]
sub eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x1c]
sar eax, 1
inc eax
mov dword [ebp + 8], eax
cmp ecx, 1
jne 0x42123e
xor edi, edi
mov dword [esp + 0x14], edi
cmp ebx, ecx
jne 0x421273
cmp dword [esp + 0x24], 0x2f
jne 0x421273
test edx, edx
je 0x421231
test dword [esp + 0x10], 0x200
je 0x421231
lea eax, [edx - 9]
cmp eax, 0x1e
ja 0x421273
movsx eax, byte [edx + 0x58ec63]
test eax, eax
je 0x421273
mov eax, dword [esp + 0x38]
or dword [eax + 0xc], 0x10000
jmp 0x421273
dec eax
cmp eax, ecx
jle 0x421273
mov eax, dword [esp + 0x18]
lea edx, [ecx + ecx]
sub eax, edx
add eax, 2
mov esi, edi
sub esi, eax
sub ecx, 1
je 0x42126d
mov dx, word [eax]
mov di, word [esi + eax]
add eax, 2
cmp dx, di
je 0x421253
mov edi, dword [esp + 0x14]
jmp 0x421273
xor edi, edi
mov dword [esp + 0x14], edi
and dword [esp + 0x10], 0xfffffdff
test edi, edi
jne 0x4214c9
test byte [esp + 0x10], 0x20
je 0x4217fa
add dword [esp + 0x18], 2
xor edx, edx
jmp 0x4210c4
cmp esi, 0x3c
jne 0x4212b1
cmp ebx, 2
je 0x421913
cmp ebx, 0xffffffff
je 0x421913
mov ecx, dword [esp + 0x10]
test bl, 1
je 0x42143b
test ecx, 0x2c0
je 0x421367
cmp esi, 0x22
jne 0x4212f5
test cl, cl
jns 0x42131e
mov eax, dword [esp + 0x24]
add dword [esp + 0x18], 2
xor ecx, 0x80
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
xor edx, edx
jmp 0x4210c4
cmp esi, 0x27
jne 0x42131e
test cl, 0x40
je 0x42131e
mov eax, dword [esp + 0x24]
add dword [esp + 0x18], 2
xor ecx, 0x40
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
xor edx, edx
jmp 0x4210c4
test ecx, 0x200
je 0x421423
lea eax, [esi - 9]
cmp eax, 0x17
ja 0x421423
movsx eax, byte [esi + 0x58e913]
test eax, eax
je 0x421423
mov eax, dword [esp + 0x24]
add dword [esp + 0x18], 2
xor ecx, 0x200
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
xor edx, edx
jmp 0x4210c4
cmp esi, 0x22
jne 0x42139a
test ecx, 0x100
je 0x421423
mov eax, dword [esp + 0x24]
add dword [esp + 0x18], 2
xor ecx, 0x180
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
xor edx, edx
jmp 0x4210c4
cmp esi, 0x27
jne 0x4213c9
test ecx, 0x100
je 0x421423
mov eax, dword [esp + 0x24]
add dword [esp + 0x18], 2
xor ecx, 0x140
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
xor edx, edx
jmp 0x4210c4
cmp esi, 0x3d
jne 0x4213fe
cmp dword [esp + 0x24], esi
je 0x4213fe
test ecx, 0x100
jne 0x421406
mov eax, dword [esp + 0x24]
add dword [esp + 0x18], 2
xor ecx, 0x100
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
xor edx, edx
jmp 0x4210c4
test ecx, 0x100
je 0x421423
lea edx, [esi - 9]
cmp edx, 0x17
ja 0x421419
movsx eax, byte [esi + 0x58e913]
test eax, eax
jne 0x421423
xor ecx, 0x300
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x24]
add dword [esp + 0x18], 2
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
xor edx, edx
jmp 0x4210c4
test bl, 0x40
je 0x4214c9
cmp esi, 0x22
jne 0x421464
test cl, 0x40
jne 0x4214c9
add dword [esp + 0x18], 2
xor ecx, 0x80
mov dword [esp + 0x10], ecx
xor edx, edx
jmp 0x4210c4
cmp esi, 0x27
jne 0x4214c9
test cl, cl
js 0x4214c9
add dword [esp + 0x18], 2
xor ecx, 0x40
mov dword [esp + 0x10], ecx
xor edx, edx
jmp 0x4210c4
mov edx, dword [esp + 0x10]
test edx, edx
je 0x421815
test dl, 0x10
je 0x4214d5
cmp esi, 0x3c
je 0x421921
lea ecx, [esi - 9]
cmp ecx, 0x17
ja 0x4214ad
movsx eax, byte [esi + 0x58e913]
test eax, eax
jne 0x4214c9
xor edx, 0x10
mov dword [esp + 0x10], edx
mov ebx, 2
mov dword [esp + 0x14], 0x58ec8c
mov dword [esp + 0x1c], 1
add dword [esp + 0x18], 2
xor edx, edx
jmp 0x4210c4
test dl, 1
je 0x4215d5
mov ecx, 1
xor edx, ecx
mov dword [esp + 0x10], edx
cmp esi, 0x60
ja 0x4215ae
cmp esi, 0x40
jbe 0x421500
cmp esi, 0x5b
jb 0x4215ae
cmp esi, 0x5f
je 0x4215ae
cmp esi, 0x3a
je 0x4215ae
cmp esi, 0x2f
jne 0x421540
mov eax, dword [esp + 0x18]
sub eax, dword [ebp + 0xc]
add dword [esp + 0x18], 2
sar eax, 1
add eax, ecx
xor ebx, ebx
mov dword [esp + 0x14], 0x58ec90
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
xor edx, edx
jmp 0x4210c4
cmp esi, 0x21
jne 0x421558
add dword [esp + 0x18], 2
or edx, 2
mov dword [esp + 0x10], edx
xor edx, edx
jmp 0x4210c4
cmp esi, 0x3f
jne 0x42158b
mov eax, dword [esp + 0x18]
sub eax, dword [ebp + 0xc]
add dword [esp + 0x18], 2
sar eax, 1
add eax, ecx
mov dword [esp + 0x14], 0x58ec94
mov dword [esp + 0x1c], 2
lea ebx, [esi - 0x2f]
mov dword [esp + 0x20], eax
xor edx, edx
jmp 0x4210c4
mov edx, dword [ebp + 8]
push 0xffffffffffffffff
push edx
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [esp + 0x30], ecx
mov dword [eax], str.first_tag_syntax
jmp 0x421799
mov eax, dword [esp + 0x18]
sub eax, dword [ebp + 0xc]
add dword [esp + 0x18], 2
sar eax, 1
mov dword [esp + 0x14], 0x58ec90
mov dword [esp + 0x1c], ecx
mov ebx, ecx
mov dword [esp + 0x20], eax
xor edx, edx
jmp 0x4210c4
test dl, 2
je 0x4216ce
xor edx, 2
mov dword [esp + 0x10], edx
cmp esi, 0x2d
jne 0x4215fd
add dword [esp + 0x18], 2
or edx, 4
mov dword [esp + 0x10], edx
xor edx, edx
jmp 0x4210c4
test dl, 0x20
je 0x421655
lea ecx, [esi - 0x41]
cmp ecx, 0xd
ja 0x421636
movsx eax, byte [esi + 0x58ec7f]
test eax, eax
je 0x421636
add dword [esp + 0x18], 2
mov dword [esp + 0x14], 0x58ec90
mov ebx, 0x40
mov dword [esp + 0x1c], 1
xor edx, edx
jmp 0x4210c4
mov edx, dword [ebp + 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 0x421791
cmp esi, 0x5b
jne 0x42166d
add dword [esp + 0x18], 2
or edx, 8
mov dword [esp + 0x10], edx
xor edx, edx
jmp 0x4210c4
cmp esi, 0x44
jne 0x421685
add dword [esp + 0x18], 2
or edx, 0x20
mov dword [esp + 0x10], edx
xor edx, edx
jmp 0x4210c4
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x38]
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 dword [esp + 0x2c], 0x58ec90
mov dword [esp + 0x34], 1
mov dword [eax], str.exclamation_tag_syntax
call fcn.0041eb70
add dword [esp + 0x30], 2
add esp, 0x18
or ebx, 0xffffffff
xor edx, edx
jmp 0x4210c4
test dl, 4
je 0x421747
xor edx, 4
mov dword [esp + 0x10], edx
cmp esi, 0x2d
jne 0x4216fe
add dword [esp + 0x18], 2
mov dword [esp + 0x14], 0x58ed28
mov dword [esp + 0x1c], 3
lea ebx, [esi - 0xd]
xor edx, edx
jmp 0x4210c4
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
push eax
push 0
push ecx
mov eax, esp
push ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax], 0
mov eax, esp
add ecx, 0x10
push ecx
mov dword [esp + 0x2c], 0x58ec90
mov dword [esp + 0x34], 1
mov dword [eax], str.comment_tag_syntax
call fcn.0041eb70
add dword [esp + 0x30], 2
add esp, 0x18
or ebx, 0xffffffff
xor edx, edx
jmp 0x4210c4
test dl, 8
je 0x4217c0
xor edx, 8
mov dword [esp + 0x10], edx
cmp esi, 0x43
jne 0x421777
add dword [esp + 0x18], 2
mov dword [esp + 0x14], 0x58ed58
mov dword [esp + 0x1c], 3
lea ebx, [esi - 0x3b]
xor edx, edx
jmp 0x4210c4
mov edx, dword [ebp + 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 + 0x30], 1
mov eax, dword [esp + 0x4c]
add eax, 0x10
push eax
mov dword [esp + 0x2c], 0x58ec90
call fcn.0041eb70
add dword [esp + 0x30], 2
add esp, 0x18
or ebx, 0xffffffff
xor edx, edx
jmp 0x4210c4
test dl, 0x20
je 0x4214c9
cmp esi, 0x3c
jne 0x4217e1
add dword [esp + 0x18], 2
or edx, 1
mov dword [esp + 0x10], edx
xor edx, edx
jmp 0x4210c4
cmp esi, 0x3e
jne 0x4214c9
mov eax, dword [esp + 0x18]
sub eax, dword [ebp + 0xc]
lea ebx, [esi + 2]
sar eax, 1
inc eax
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x38]
mov edx, dword [ebp + 8]
sub edx, dword [eax + 4]
mov dword [eax], ebx
mov dword [eax + 8], edx
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
cmp esi, 0x3c
jne 0x42182e
add dword [esp + 0x18], 2
mov dword [esp + 0x10], 1
xor edx, edx
jmp 0x4210c4
lea ecx, [esi - 9]
mov ebx, 4
cmp ecx, 0x17
ja 0x4214b4
movsx eax, byte [esi + 0x58e913]
test eax, eax
je 0x4214b4
add dword [esp + 0x18], 2
mov dword [esp + 0x10], 0x10
xor edx, edx
jmp 0x4210c4
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 4]
cmp dword [ebp + 8], eax
jne 0x42188a
pop edi
pop esi
pop ebp
mov dword [edx + 8], 0
mov dword [edx], 0
mov eax, 0xfffffffe
pop ebx
add esp, 0x24
ret 4
cmp ebx, 4
je 0x4217fa
cmp ebx, 2
je 0x4217fa
test byte [esp + 0x10], 0x20
mov ecx, 0x58eb60
jne 0x4218e8
cmp ebx, 0x40
je 0x4218e8
cmp ebx, 1
jne 0x4218b9
mov ecx, str.start_tag
jmp 0x4218ed
test ebx, ebx
jne 0x4218c4
mov ecx, str.end_tag
jmp 0x4218ed
cmp ebx, 8
jne 0x4218d0
mov ecx, str.cdata_section
jmp 0x4218ed
cmp ebx, 0x10
jne 0x4218dc
mov ecx, str.processing_instruction
jmp 0x4218ed
cmp ebx, 0x20
jne 0x4218ed
mov ecx, str.comment
jmp 0x4218ed
mov ecx, str.document_type
or ebx, 0xffffffff
push ebx
push eax
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.0041eb70
add esp, 0x18
jmp 0x4217fa
mov eax, dword [esp + 0x18]
sub eax, dword [ebp + 0xc]
sar eax, 1
jmp 0x4217f7
mov eax, dword [esp + 0x18]
sub eax, dword [ebp + 0xc]
mov ebx, 4
sar eax, 1
jmp 0x4217f7