Function at 0x421d70
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x422255
lea edi, [esi + 8]
nop word [eax + eax]
cmp eax, 0x7c
je 0x422255
cmp eax, 0x29
jne 0x421dba
cmp dword [esi + 0x10], 0
jne 0x422255
test dword [esi + 0x50], 0x10000000
je 0x422265
jmp 0x4221ef
cmp eax, 0x2e
jne 0x421e29
push 5
lea ecx, [esi + 0x24]
call fcn.00422280
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x422236
cmp byte [eax], 0x5c
jne 0x42202b
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x421e1f
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x421dff
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x421e14
cmp cl, 0x29
je 0x421e14
mov ecx, eax
test bl, 0x10
jne 0x421e1f
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x421e14
mov edx, ecx
cmp bl, 0x7d
jne 0x421e1f
lea eax, [edx + 1]
inc eax
mov dword [esi], eax
jmp 0x422236
mov eax, ecx
inc eax
mov dword [esi], eax
jmp 0x422236
cmp eax, 0x5c
jne 0x421f78
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x421e7e
cmp byte [eax], 0x5c
jne 0x421e7b
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x421e79
test byte [esi + 0x50], 8
jne 0x421e5e
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x421e74
cmp cl, 0x29
je 0x421e74
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x421e79
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x421e74
mov edx, ecx
cmp bl, 0x7d
jne 0x421e79
lea eax, [edx + 1]
jmp 0x421e7b
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0041feb0
test byte [esi + 0x50], 0x80
je 0x421f6c
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x421f05
push 4
lea ecx, [esi + 0x24]
call fcn.00422280
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x421ef9
cmp byte [eax], 0x5c
jne 0x421ef6
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x421ef4
test byte [esi + 0x50], 8
jne 0x421ecc
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x421ee2
cmp cl, 0x29
je 0x421ee2
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x421ef4
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x421ee2
mov edx, ecx
cmp bl, 0x7d
jne 0x421ef4
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.0041feb0
jmp 0x422247
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0041feb0
jmp 0x422247
cmp al, 0x42
jne 0x421f6c
push 4
lea ecx, [esi + 0x24]
call fcn.00422280
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x421f60
cmp byte [eax], 0x5c
jne 0x421f5d
lea ebx, [eax + 1]
cmp ebx, ecx
je 0x421f5d
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x421f47
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x28
je 0x421f5a
cmp dl, 0x29
je 0x421f5a
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x421f5d
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x7b
je 0x421f5a
cmp dl, 0x7d
jne 0x421f5d
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0041feb0
jmp 0x422247
mov ecx, esi
call fcn.00423a10
jmp 0x42223d
cmp eax, 0x5b
jne 0x422033
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x421fc9
cmp byte [eax], 0x5c
jne 0x421fc6
lea edx, [eax + 1]
cmp edx, ecx
je 0x421fc6
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x421fb0
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x421fc3
cmp byte [ebp - 1], 0x29
je 0x421fc3
test bl, 0x10
jne 0x421fc6
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x421fc3
cmp dl, 0x7d
jne 0x421fc6
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0041feb0
mov ecx, esi
call fcn.004238d0
cmp dword [esi + 0x4c], 0x5d
jne 0x422273
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x422236
cmp byte [eax], 0x5c
jne 0x42202b
lea edx, [eax + 1]
cmp edx, ecx
je 0x42202b
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x422015
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x422028
cmp byte [ebp - 1], 0x29
je 0x422028
test bl, 0x10
jne 0x42202b
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x422028
cmp dl, 0x7d
jne 0x42202b
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
jmp 0x422236
cmp eax, 0x28
jne 0x4220f7
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x422082
cmp byte [eax], 0x5c
jne 0x42207f
lea edx, [eax + 1]
cmp edx, ecx
je 0x42207f
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x422069
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x42207c
cmp bl, 0x29
je 0x42207c
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x42207f
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x42207c
cmp dl, 0x7d
jne 0x42207f
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0041feb0
mov ecx, esi
call fcn.00423b60
cmp dword [esi + 0x4c], 0x29
mov bh, al
jne 0x422265
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x4220e3
cmp byte [eax], 0x5c
jne 0x4220e0
lea edx, [eax + 1]
cmp edx, ecx
je 0x4220e0
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4220ca
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x4220dd
cmp bl, 0x29
je 0x4220dd
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x4220e0
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x4220dd
cmp dl, 0x7d
jne 0x4220e0
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0041feb0
test bh, bh
je 0x422247
jmp 0x42223d
cmp eax, 0x5e
jne 0x42214e
push 2
lea ecx, [esi + 0x24]
call fcn.00422280
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x422142
cmp byte [eax], 0x5c
jne 0x422140
inc eax
cmp eax, ecx
je 0x422140
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x42212f
mov dl, byte [eax]
cmp dl, 0x28
je 0x42213e
cmp dl, 0x29
je 0x42213e
test cl, 0x10
jne 0x422140
mov al, byte [eax]
cmp al, 0x7b
je 0x42213e
cmp al, 0x7d
jne 0x422140
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.0041feb0
jmp 0x422247
cmp eax, 0x24
jne 0x4221a5
push 3
lea ecx, [esi + 0x24]
call fcn.00422280
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x422199
cmp byte [eax], 0x5c
jne 0x422197
inc eax
cmp eax, ecx
je 0x422197
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x422186
mov dl, byte [eax]
cmp dl, 0x28
je 0x422195
cmp dl, 0x29
je 0x422195
test cl, 0x10
jne 0x422197
mov al, byte [eax]
cmp al, 0x7b
je 0x422195
cmp al, 0x7d
jne 0x422197
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.0041feb0
jmp 0x422247
cmp eax, 0x2a
je 0x42225e
cmp eax, 0x2b
je 0x42225e
cmp eax, 0x3f
je 0x42225e
cmp eax, 0x7b
je 0x42225e
cmp eax, 0x7d
jne 0x4221dd
test dword [esi + 0x50], 0x10000000
je 0x42226c
jmp 0x4221ef
cmp eax, 0x5d
jne 0x4221ef
test dword [esi + 0x50], 0x10000000
je 0x422273
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00423f20
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x422236
cmp byte [eax], 0x5c
jne 0x422234
inc eax
cmp eax, ecx
je 0x422234
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x422223
mov dl, byte [eax]
cmp dl, 0x28
je 0x422232
cmp dl, 0x29
je 0x422232
test cl, 0x10
jne 0x422234
mov al, byte [eax]
cmp al, 0x7b
je 0x422232
cmp al, 0x7d
jne 0x422234
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.0041feb0
mov ecx, esi
call fcn.00423cf0
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x421d90
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.0041fea0
push 5
call fcn.0041fea0
push 6
call fcn.0041fea0
push 4
call fcn.0041fea0
int3