Function at 0x406960
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x406bc0
push ebx
push edi
cmp eax, 0x7c
je 0x406bbe
cmp eax, 0x29
jne 0x4069a1
cmp dword [esi + 0x10], 0
jne 0x406bbe
cmp eax, eax
jne 0x4069a1
test dword [esi + 0x50], 0x10000000
je 0x406bcd
jmp 0x406b77
cmp eax, 0x2e
jne 0x406a00
push 5
lea ecx, [esi + 0x24]
call fcn.00409900
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x4069f4
cmp word [eax], 0x5c
jne 0x4069ef
lea ecx, [eax + 2]
cmp ecx, edx
je 0x4069ef
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x4069db
movzx edi, word [ecx]
cmp edi, 0x28
je 0x4069ed
cmp edi, 0x29
je 0x4069ed
test dl, 0x10
jne 0x4069ef
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x4069ed
cmp edx, 0x7d
jne 0x4069ef
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00409ff0
jmp 0x406ba9
cmp eax, 0x5c
jne 0x406a5f
mov ecx, esi
call fcn.00409970
test byte [esi + 0x50], 0x80
je 0x406a53
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x406a31
push 4
lea ecx, [esi + 0x24]
call fcn.00409900
mov ecx, esi
call fcn.00409970
jmp 0x406bb0
cmp eax, 0x42
jne 0x406a53
push 4
lea ecx, [esi + 0x24]
call fcn.00409900
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00409970
jmp 0x406bb0
mov ecx, esi
call fcn.00406bf0
jmp 0x406ba9
cmp eax, 0x5b
jne 0x406b09
mov ecx, esi
call fcn.00409970
lea ecx, [esi + 0x24]
call fcn.00405f10
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x406ad4
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x406aca
cmp word [eax], 0x5c
jne 0x406ac5
lea ecx, [eax + 2]
cmp ecx, edx
je 0x406ac5
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x406ab1
movzx edi, word [ecx]
cmp edi, 0x28
je 0x406ac3
cmp edi, 0x29
je 0x406ac3
test dl, 0x10
jne 0x406ac5
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x406ac3
cmp edx, 0x7d
jne 0x406ac5
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00409ff0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x406af2
cmp eax, 0x5d
jne 0x406af2
push eax
lea ecx, [esi + 0x24]
call fcn.00405e90
mov ecx, esi
call fcn.00409970
mov ecx, esi
call fcn.00407710
push 4
push 0x5d
mov ecx, esi
call fcn.00408f10
jmp 0x406ba9
cmp eax, 0x28
jne 0x406b33
mov ecx, esi
call fcn.00409970
mov ecx, esi
call fcn.0040a200
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.00408f10
test bl, bl
je 0x406bb0
jmp 0x406ba9
cmp eax, 0x5e
jne 0x406b4b
push 2
lea ecx, [esi + 0x24]
call fcn.00409900
mov ecx, esi
call fcn.00409970
jmp 0x406bb0
cmp eax, 0x24
jne 0x406b63
push 3
lea ecx, [esi + 0x24]
call fcn.00409900
mov ecx, esi
call fcn.00409970
jmp 0x406bb0
cmp eax, 0x2a
je 0x406bc4
cmp eax, 0x2b
je 0x406bc4
cmp eax, 0x3f
je 0x406bc4
cmp eax, 0x7b
je 0x406bc4
cmp eax, 0x7d
jne 0x406b87
test dword [esi + 0x50], 0x10000000
je 0x406bd6
jmp 0x406b95
cmp eax, 0x5d
jne 0x406b95
test dword [esi + 0x50], 0x10000000
je 0x406bdf
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00405ce0
mov ecx, esi
call fcn.00409970
mov ecx, esi
call fcn.00409a40
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x406973
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.00408f00
push 5
mov ecx, esi
call fcn.00408f00
push 6
mov ecx, esi
call fcn.00408f00
push 4
mov ecx, esi
call fcn.00408f00
int3