Function at 0x471a50
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x471eee
push edi
lea edi, [esi + 8]
push ebx
cmp eax, 0x7c
je 0x471eec
cmp eax, 0x29
jne 0x471a90
cmp dword [esi + 0x10], 0
jne 0x471eec
test dword [esi + 0x50], 0x10000000
je 0x471efb
jmp 0x471e86
cmp eax, 0x2e
jne 0x471afa
push 5
lea ecx, [esi + 0x24]
call fcn.00474150
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x471ecd
cmp byte [eax], 0x5c
jne 0x471af2
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x471af0
test byte [esi + 0x50], 8
jne 0x471acf
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x471ae5
cmp cl, 0x29
je 0x471ae5
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x471af0
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x471ae5
mov edx, ecx
cmp bl, 0x7d
jne 0x471af0
lea eax, [edx + 1]
inc eax
mov dword [esi], eax
jmp 0x471ecd
mov eax, ecx
inc eax
mov dword [esi], eax
jmp 0x471ecd
cmp eax, 0x5c
jne 0x471c49
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x471b4f
cmp byte [eax], 0x5c
jne 0x471b4c
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x471b4a
test byte [esi + 0x50], 8
jne 0x471b2f
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x471b45
cmp cl, 0x29
je 0x471b45
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x471b4a
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x471b45
mov edx, ecx
cmp bl, 0x7d
jne 0x471b4a
lea eax, [edx + 1]
jmp 0x471b4c
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004746f0
test byte [esi + 0x50], 0x80
je 0x471c3d
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x471bd6
push 4
lea ecx, [esi + 0x24]
call fcn.00474150
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x471bca
cmp byte [eax], 0x5c
jne 0x471bc7
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x471bc5
test byte [esi + 0x50], 8
jne 0x471b9d
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x471bb3
cmp cl, 0x29
je 0x471bb3
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x471bc5
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x471bb3
mov edx, ecx
cmp bl, 0x7d
jne 0x471bc5
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.004746f0
jmp 0x471ede
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004746f0
jmp 0x471ede
cmp al, 0x42
jne 0x471c3d
push 4
lea ecx, [esi + 0x24]
call fcn.00474150
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x471c31
cmp byte [eax], 0x5c
jne 0x471c2e
lea ebx, [eax + 1]
cmp ebx, ecx
je 0x471c2e
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x471c18
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x28
je 0x471c2b
cmp dl, 0x29
je 0x471c2b
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x471c2e
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x7b
je 0x471c2b
cmp dl, 0x7d
jne 0x471c2e
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004746f0
jmp 0x471ede
mov ecx, esi
call fcn.00471f20
jmp 0x471ed4
cmp eax, 0x5b
jne 0x471cfb
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x471c98
cmp byte [eax], 0x5c
jne 0x471c95
lea edx, [eax + 1]
cmp edx, ecx
je 0x471c95
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x471c7f
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x471c92
cmp bl, 0x29
je 0x471c92
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x471c95
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x471c92
cmp dl, 0x7d
jne 0x471c95
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004746f0
lea ecx, [esi + 0x24]
call fcn.00471300
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x471cc0
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.004741c0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x471cde
cmp eax, 0x5d
jne 0x471cde
push eax
lea ecx, [esi + 0x24]
call fcn.00471290
mov ecx, esi
call fcn.004741c0
mov ecx, esi
call fcn.004729b0
cmp dword [esi + 0x4c], 0x5d
jne 0x471f0d
mov ecx, esi
call fcn.004741c0
jmp 0x471ed4
cmp eax, 0x28
jne 0x471d74
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x471d46
cmp byte [eax], 0x5c
jne 0x471d43
lea edx, [eax + 1]
cmp edx, ecx
je 0x471d43
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x471d2d
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x471d40
cmp bl, 0x29
je 0x471d40
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x471d43
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x471d40
cmp dl, 0x7d
jne 0x471d43
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004746f0
mov ecx, esi
call fcn.004748f0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x471efb
mov ecx, esi
call fcn.004741c0
test bl, bl
je 0x471ede
jmp 0x471ed4
cmp eax, 0x5e
jne 0x471dd8
push 2
lea ecx, [esi + 0x24]
call fcn.00474150
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x471dcc
cmp byte [eax], 0x5c
jne 0x471dc9
lea edx, [eax + 1]
cmp edx, ecx
je 0x471dc9
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x471db3
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x471dc6
cmp bl, 0x29
je 0x471dc6
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x471dc9
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x471dc6
cmp dl, 0x7d
jne 0x471dc9
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004746f0
jmp 0x471ede
cmp eax, 0x24
jne 0x471e3c
push 3
lea ecx, [esi + 0x24]
call fcn.00474150
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x471e30
cmp byte [eax], 0x5c
jne 0x471e2d
lea edx, [eax + 1]
cmp edx, ecx
je 0x471e2d
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x471e17
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x471e2a
cmp bl, 0x29
je 0x471e2a
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x471e2d
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x471e2a
cmp dl, 0x7d
jne 0x471e2d
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004746f0
jmp 0x471ede
cmp eax, 0x2a
je 0x471ef2
cmp eax, 0x2b
je 0x471ef2
cmp eax, 0x3f
je 0x471ef2
cmp eax, 0x7b
je 0x471ef2
cmp eax, 0x7d
jne 0x471e74
test dword [esi + 0x50], 0x10000000
je 0x471f04
jmp 0x471e86
cmp eax, 0x5d
jne 0x471e86
test dword [esi + 0x50], 0x10000000
je 0x471f0d
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004710e0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x471ecd
cmp byte [eax], 0x5c
jne 0x471ecb
inc eax
cmp eax, ecx
je 0x471ecb
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x471eba
mov dl, byte [eax]
cmp dl, 0x28
je 0x471ec9
cmp dl, 0x29
je 0x471ec9
test cl, 0x10
jne 0x471ecb
mov al, byte [eax]
cmp al, 0x7b
je 0x471ec9
cmp al, 0x7d
jne 0x471ecb
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.004746f0
mov ecx, esi
call fcn.00474220
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x471a66
pop ebx
pop edi
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.00473820
push 5
mov ecx, esi
call fcn.00473820
push 6
mov ecx, esi
call fcn.00473820
push 4
mov ecx, esi
call fcn.00473820
int3