Function at 0x40c6f0
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x40ca4f
push ebx
push edi
cmp eax, 0x7c
je 0x40ca4d
cmp eax, 0x29
jne 0x40c72d
cmp dword [esi + 0x10], 0
jne 0x40ca4d
test dword [esi + 0x50], 0x10000000
je 0x40ca5c
jmp 0x40c9e3
cmp eax, 0x2e
jne 0x40c741
push 5
lea ecx, [esi + 0x24]
call fcn.0040f4c0
jmp 0x40c9f0
cmp eax, 0x5c
jne 0x40c813
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40c78b
cmp byte [eax], 0x5c
jne 0x40c788
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40c786
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40c775
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40c788
cmp bl, 0x29
je 0x40c788
test dl, 0x10
jne 0x40c786
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40c788
cmp cl, 0x7d
je 0x40c788
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040f8a0
test byte [esi + 0x50], 0x80
je 0x40c807
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x40c7f0
push 4
lea ecx, [esi + 0x24]
call fcn.0040f4c0
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40c98d
cmp byte [eax], 0x5c
jne 0x40c98a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40c988
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x40c7e8
mov dl, byte [ecx]
cmp dl, 0x28
je 0x40c98a
cmp dl, 0x29
je 0x40c98a
test bl, 0x10
jmp 0x40c97a
cmp al, 0x42
jne 0x40c807
push 4
lea ecx, [esi + 0x24]
call fcn.0040f4c0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x40c7a9
mov ecx, esi
call fcn.0040ca80
jmp 0x40ca38
cmp eax, 0x5b
jne 0x40c8c0
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40c85d
cmp byte [eax], 0x5c
jne 0x40c85a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40c858
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40c847
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40c85a
cmp bl, 0x29
je 0x40c85a
test dl, 0x10
jne 0x40c858
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40c85a
cmp cl, 0x7d
je 0x40c85a
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040f8a0
lea ecx, [esi + 0x24]
call fcn.0040bf20
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x40c885
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0040f530
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x40c8a3
cmp eax, 0x5d
jne 0x40c8a3
push eax
lea ecx, [esi + 0x24]
call fcn.0040beb0
mov ecx, esi
call fcn.0040f530
mov ecx, esi
call fcn.0040d300
cmp dword [esi + 0x4c], 0x5d
jne 0x40ca6e
mov ecx, esi
call fcn.0040f530
jmp 0x40ca38
cmp eax, 0x28
jne 0x40c934
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40c906
cmp byte [eax], 0x5c
jne 0x40c903
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40c901
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40c8f0
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40c903
cmp bl, 0x29
je 0x40c903
test dl, 0x10
jne 0x40c901
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40c903
cmp cl, 0x7d
je 0x40c903
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040f8a0
mov ecx, esi
call fcn.0040fbc0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x40ca5c
mov ecx, esi
call fcn.0040f530
test bl, bl
je 0x40ca3f
jmp 0x40ca38
cmp eax, 0x5e
jne 0x40c93d
push 2
jmp 0x40c944
cmp eax, 0x24
jne 0x40c999
push 3
lea ecx, [esi + 0x24]
call fcn.0040f4c0
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x40c98d
cmp byte [eax], 0x5c
jne 0x40c98a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40c988
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40c977
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40c98a
cmp bl, 0x29
je 0x40c98a
test dl, 0x10
jne 0x40c988
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40c98a
cmp cl, 0x7d
je 0x40c98a
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040f8a0
jmp 0x40ca3f
cmp eax, 0x2a
je 0x40ca53
cmp eax, 0x2b
je 0x40ca53
cmp eax, 0x3f
je 0x40ca53
cmp eax, 0x7b
je 0x40ca53
cmp eax, 0x7d
jne 0x40c9d1
test dword [esi + 0x50], 0x10000000
je 0x40ca65
jmp 0x40c9e3
cmp eax, 0x5d
jne 0x40c9e3
test dword [esi + 0x50], 0x10000000
je 0x40ca6e
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0040bd10
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x40ca31
cmp byte [eax], 0x5c
jne 0x40ca2e
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40ca2c
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40ca1b
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40ca2e
cmp bl, 0x29
je 0x40ca2e
test dl, 0x10
jne 0x40ca2c
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40ca2e
cmp cl, 0x7d
je 0x40ca2e
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040f8a0
mov ecx, esi
call fcn.0040f610
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x40c703
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.0040e330
push 5
mov ecx, esi
call fcn.0040e330
push 6
mov ecx, esi
call fcn.0040e330
push 4
mov ecx, esi
call fcn.0040e330
int3