Function at 0x4066c0
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x406bce
push edi
lea edi, [esi + 8]
push ebx
cmp eax, 0x7c
je 0x406bcc
cmp eax, 0x29
jne 0x406700
cmp dword [esi + 0x10], 0
jne 0x406bcc
test dword [esi + 0x50], 0x10000000
je 0x406bdb
jmp 0x406b5d
cmp eax, 0x2e
jne 0x406772
push 5
lea ecx, [esi + 0x24]
call fcn.00409380
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x406bad
cmp word [eax], 0x5c
jne 0x406768
lea edi, [eax + 2]
mov ecx, eax
cmp edi, edx
je 0x406766
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x406743
movzx ecx, word [edi]
mov edx, eax
cmp ecx, 0x28
je 0x406759
cmp ecx, 0x29
je 0x406759
mov ecx, eax
test bl, 0x10
jne 0x406766
movzx edi, word [edi]
mov edx, eax
cmp edi, 0x7b
je 0x406759
mov edx, ecx
cmp edi, 0x7d
jne 0x406766
lea eax, [edx + 2]
add eax, 2
mov dword [esi], eax
jmp 0x406bad
mov eax, ecx
add eax, 2
mov dword [esi], eax
jmp 0x406bad
cmp eax, 0x5c
jne 0x4068d7
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x4067cc
cmp word [eax], 0x5c
jne 0x4067c7
lea ebx, [eax + 2]
mov ecx, eax
cmp ebx, edx
je 0x4067c5
test byte [esi + 0x50], 8
jne 0x4067a9
movzx ecx, word [ebx]
mov edx, eax
cmp ecx, 0x28
je 0x4067c0
cmp ecx, 0x29
je 0x4067c0
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x4067c5
movzx ebx, word [ebx]
mov edx, eax
cmp ebx, 0x7b
je 0x4067c0
mov edx, ecx
cmp ebx, 0x7d
jne 0x4067c5
lea eax, [edx + 2]
jmp 0x4067c7
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00409a80
test byte [esi + 0x50], 0x80
je 0x4068cb
movzx eax, word [esi + 0x48]
mov ecx, eax
cmp eax, 0x62
jne 0x40685e
push 4
lea ecx, [esi + 0x24]
call fcn.00409380
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x406852
cmp word [eax], 0x5c
jne 0x40684d
lea ebx, [eax + 2]
mov ecx, eax
cmp ebx, edx
je 0x40684b
test byte [esi + 0x50], 8
jne 0x406820
movzx ecx, word [ebx]
mov edx, eax
cmp ecx, 0x28
je 0x406837
cmp ecx, 0x29
je 0x406837
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x40684b
movzx ebx, word [ebx]
mov edx, eax
cmp ebx, 0x7b
je 0x406837
mov edx, ecx
cmp ebx, 0x7d
jne 0x40684b
lea eax, [edx + 2]
mov ecx, esi
add eax, 2
mov dword [esi], eax
call fcn.00409a80
jmp 0x406bbe
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00409a80
jmp 0x406bbe
cmp ecx, 0x42
jne 0x4068cb
push 4
lea ecx, [esi + 0x24]
call fcn.00409380
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4068bf
cmp word [eax], 0x5c
jne 0x4068ba
lea ebx, [eax + 2]
cmp ebx, ecx
je 0x4068ba
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4068a3
movzx edx, word [ebx]
mov ecx, eax
cmp edx, 0x28
je 0x4068b7
cmp edx, 0x29
je 0x4068b7
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x4068ba
movzx edx, word [ebx]
mov ecx, eax
cmp edx, 0x7b
je 0x4068b7
cmp edx, 0x7d
jne 0x4068ba
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00409a80
jmp 0x406bbe
mov ecx, esi
call fcn.00406c00
jmp 0x406bb4
cmp eax, 0x5b
jne 0x4069d2
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x406928
cmp word [eax], 0x5c
jne 0x406923
lea edx, [eax + 2]
cmp edx, ecx
je 0x406923
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x40690c
movzx edi, word [edx]
mov ecx, eax
cmp edi, 0x28
je 0x406920
cmp edi, 0x29
je 0x406920
test bl, 0x10
jne 0x406923
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x406920
cmp edx, 0x7d
jne 0x406923
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00409a80
lea edi, [esi + 0x24]
mov ecx, edi
call fcn.00405f00
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x40699e
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x406994
cmp word [eax], 0x5c
jne 0x40698c
lea edx, [eax + 2]
cmp edx, ecx
je 0x40698c
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x406975
movzx edi, word [edx]
mov ecx, eax
cmp edi, 0x28
je 0x406989
cmp edi, 0x29
je 0x406989
test bl, 0x10
jne 0x40698c
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x406989
cmp edx, 0x7d
jne 0x40698c
lea eax, [ecx + 2]
add eax, 2
lea edi, [esi + 0x24]
mov dword [esi], eax
mov ecx, esi
call fcn.00409a80
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x4069bb
cmp eax, 0x5d
jne 0x4069bb
push eax
mov ecx, edi
call fcn.00405e80
mov ecx, esi
call fcn.004093f0
mov ecx, esi
call fcn.00407670
push 4
push 0x5d
mov ecx, esi
call fcn.00408830
jmp 0x406bb4
cmp eax, 0x28
jne 0x406a4a
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x406a22
cmp word [eax], 0x5c
jne 0x406a1d
lea edx, [eax + 2]
cmp edx, ecx
je 0x406a1d
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x406a06
movzx ebx, word [edx]
mov ecx, eax
cmp ebx, 0x28
je 0x406a1a
cmp ebx, 0x29
je 0x406a1a
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x406a1d
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x406a1a
cmp edx, 0x7d
jne 0x406a1d
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00409a80
mov ecx, esi
call fcn.00409c90
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.00408830
test bl, bl
je 0x406bbe
jmp 0x406bb4
cmp eax, 0x5e
jne 0x406ab3
push 2
lea ecx, [esi + 0x24]
call fcn.00409380
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x406aa7
cmp word [eax], 0x5c
jne 0x406aa2
lea edx, [eax + 2]
cmp edx, ecx
je 0x406aa2
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x406a8b
movzx ebx, word [edx]
mov ecx, eax
cmp ebx, 0x28
je 0x406a9f
cmp ebx, 0x29
je 0x406a9f
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x406aa2
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x406a9f
cmp edx, 0x7d
jne 0x406aa2
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00409a80
jmp 0x406bbe
cmp eax, 0x24
jne 0x406b13
push 3
lea ecx, [esi + 0x24]
call fcn.00409380
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x406b07
cmp word [eax], 0x5c
jne 0x406b04
add eax, 2
cmp eax, ecx
je 0x406b04
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x406aef
movzx edx, word [eax]
cmp edx, 0x28
je 0x406b01
cmp edx, 0x29
je 0x406b01
test cl, 0x10
jne 0x406b04
movzx eax, word [eax]
cmp eax, 0x7b
je 0x406b01
cmp eax, 0x7d
jne 0x406b04
add dword [esi], 2
add dword [esi], 2
mov ecx, esi
call fcn.00409a80
jmp 0x406bbe
cmp eax, 0x2a
je 0x406bd2
cmp eax, 0x2b
je 0x406bd2
cmp eax, 0x3f
je 0x406bd2
cmp eax, 0x7b
je 0x406bd2
cmp eax, 0x7d
jne 0x406b4b
test dword [esi + 0x50], 0x10000000
je 0x406be4
jmp 0x406b5d
cmp eax, 0x5d
jne 0x406b5d
test dword [esi + 0x50], 0x10000000
je 0x406bed
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00405cb0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x406bad
cmp word [eax], 0x5c
jne 0x406baa
add eax, 2
cmp eax, ecx
je 0x406baa
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x406b95
movzx edx, word [eax]
cmp edx, 0x28
je 0x406ba7
cmp edx, 0x29
je 0x406ba7
test cl, 0x10
jne 0x406baa
movzx eax, word [eax]
cmp eax, 0x7b
je 0x406ba7
cmp eax, 0x7d
jne 0x406baa
add dword [esi], 2
add dword [esi], 2
mov ecx, esi
call fcn.00409a80
mov ecx, esi
call fcn.00409520
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x4066d6
pop ebx
pop edi
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.00408820
push 5
mov ecx, esi
call fcn.00408820
push 6
mov ecx, esi
call fcn.00408820
push 4
mov ecx, esi
call fcn.00408820
int3