Function at 0x406b70
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x40700e
push edi
lea edi, [esi + 8]
push ebx
cmp eax, 0x7c
je 0x40700c
cmp eax, 0x29
jne 0x406bb0
cmp dword [esi + 0x10], 0
jne 0x40700c
test dword [esi + 0x50], 0x10000000
je 0x40701b
jmp 0x406fa6
cmp eax, 0x2e
jne 0x406c1a
push 5
lea ecx, [esi + 0x24]
call fcn.00409550
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x406fed
cmp byte [eax], 0x5c
jne 0x406c12
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x406c10
test byte [esi + 0x50], 8
jne 0x406bef
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x406c05
cmp cl, 0x29
je 0x406c05
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x406c10
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x406c05
mov edx, ecx
cmp bl, 0x7d
jne 0x406c10
lea eax, [edx + 1]
inc eax
mov dword [esi], eax
jmp 0x406fed
mov eax, ecx
inc eax
mov dword [esi], eax
jmp 0x406fed
cmp eax, 0x5c
jne 0x406d69
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x406c6f
cmp byte [eax], 0x5c
jne 0x406c6c
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x406c6a
test byte [esi + 0x50], 8
jne 0x406c4f
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x406c65
cmp cl, 0x29
je 0x406c65
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x406c6a
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x406c65
mov edx, ecx
cmp bl, 0x7d
jne 0x406c6a
lea eax, [edx + 1]
jmp 0x406c6c
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00409ce0
test byte [esi + 0x50], 0x80
je 0x406d5d
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x406cf6
push 4
lea ecx, [esi + 0x24]
call fcn.00409550
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x406cea
cmp byte [eax], 0x5c
jne 0x406ce7
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x406ce5
test byte [esi + 0x50], 8
jne 0x406cbd
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x406cd3
cmp cl, 0x29
je 0x406cd3
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x406ce5
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x406cd3
mov edx, ecx
cmp bl, 0x7d
jne 0x406ce5
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.00409ce0
jmp 0x406ffe
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00409ce0
jmp 0x406ffe
cmp al, 0x42
jne 0x406d5d
push 4
lea ecx, [esi + 0x24]
call fcn.00409550
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x406d51
cmp byte [eax], 0x5c
jne 0x406d4e
lea ebx, [eax + 1]
cmp ebx, ecx
je 0x406d4e
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x406d38
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x28
je 0x406d4b
cmp dl, 0x29
je 0x406d4b
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x406d4e
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x7b
je 0x406d4b
cmp dl, 0x7d
jne 0x406d4e
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00409ce0
jmp 0x406ffe
mov ecx, esi
call fcn.00407040
jmp 0x406ff4
cmp eax, 0x5b
jne 0x406e1b
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x406db8
cmp byte [eax], 0x5c
jne 0x406db5
lea edx, [eax + 1]
cmp edx, ecx
je 0x406db5
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x406d9f
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x406db2
cmp bl, 0x29
je 0x406db2
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x406db5
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x406db2
cmp dl, 0x7d
jne 0x406db5
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00409ce0
lea ecx, [esi + 0x24]
call fcn.004063d0
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x406de0
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.004095c0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x406dfe
cmp eax, 0x5d
jne 0x406dfe
push eax
lea ecx, [esi + 0x24]
call fcn.00406360
mov ecx, esi
call fcn.004095c0
mov ecx, esi
call fcn.00407a40
cmp dword [esi + 0x4c], 0x5d
jne 0x40702d
mov ecx, esi
call fcn.004095c0
jmp 0x406ff4
cmp eax, 0x28
jne 0x406e94
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x406e66
cmp byte [eax], 0x5c
jne 0x406e63
lea edx, [eax + 1]
cmp edx, ecx
je 0x406e63
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x406e4d
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x406e60
cmp bl, 0x29
je 0x406e60
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x406e63
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x406e60
cmp dl, 0x7d
jne 0x406e63
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00409ce0
mov ecx, esi
call fcn.00409ef0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x40701b
mov ecx, esi
call fcn.004095c0
test bl, bl
je 0x406ffe
jmp 0x406ff4
cmp eax, 0x5e
jne 0x406ef8
push 2
lea ecx, [esi + 0x24]
call fcn.00409550
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x406eec
cmp byte [eax], 0x5c
jne 0x406ee9
lea edx, [eax + 1]
cmp edx, ecx
je 0x406ee9
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x406ed3
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x406ee6
cmp bl, 0x29
je 0x406ee6
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x406ee9
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x406ee6
cmp dl, 0x7d
jne 0x406ee9
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00409ce0
jmp 0x406ffe
cmp eax, 0x24
jne 0x406f5c
push 3
lea ecx, [esi + 0x24]
call fcn.00409550
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x406f50
cmp byte [eax], 0x5c
jne 0x406f4d
lea edx, [eax + 1]
cmp edx, ecx
je 0x406f4d
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x406f37
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x406f4a
cmp bl, 0x29
je 0x406f4a
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x406f4d
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x406f4a
cmp dl, 0x7d
jne 0x406f4d
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.00409ce0
jmp 0x406ffe
cmp eax, 0x2a
je 0x407012
cmp eax, 0x2b
je 0x407012
cmp eax, 0x3f
je 0x407012
cmp eax, 0x7b
je 0x407012
cmp eax, 0x7d
jne 0x406f94
test dword [esi + 0x50], 0x10000000
je 0x407024
jmp 0x406fa6
cmp eax, 0x5d
jne 0x406fa6
test dword [esi + 0x50], 0x10000000
je 0x40702d
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004061b0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x406fed
cmp byte [eax], 0x5c
jne 0x406feb
inc eax
cmp eax, ecx
je 0x406feb
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x406fda
mov dl, byte [eax]
cmp dl, 0x28
je 0x406fe9
cmp dl, 0x29
je 0x406fe9
test cl, 0x10
jne 0x406feb
mov al, byte [eax]
cmp al, 0x7b
je 0x406fe9
cmp al, 0x7d
jne 0x406feb
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.00409ce0
mov ecx, esi
call fcn.00409720
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x406b86
pop ebx
pop edi
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.00408860
push 5
mov ecx, esi
call fcn.00408860
push 6
mov ecx, esi
call fcn.00408860
push 4
mov ecx, esi
call fcn.00408860
int3