Function at 0x40c710
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x40ca6f
push ebx
push edi
cmp eax, 0x7c
je 0x40ca6d
cmp eax, 0x29
jne 0x40c74d
cmp dword [esi + 0x10], 0
jne 0x40ca6d
test dword [esi + 0x50], 0x10000000
je 0x40ca7c
jmp 0x40ca03
cmp eax, 0x2e
jne 0x40c761
push 5
lea ecx, [esi + 0x24]
call fcn.0040f4e0
jmp 0x40ca10
cmp eax, 0x5c
jne 0x40c833
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40c7ab
cmp byte [eax], 0x5c
jne 0x40c7a8
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40c7a6
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40c795
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40c7a8
cmp bl, 0x29
je 0x40c7a8
test dl, 0x10
jne 0x40c7a6
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40c7a8
cmp cl, 0x7d
je 0x40c7a8
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040f8c0
test byte [esi + 0x50], 0x80
je 0x40c827
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x40c810
push 4
lea ecx, [esi + 0x24]
call fcn.0040f4e0
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40c9ad
cmp byte [eax], 0x5c
jne 0x40c9aa
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40c9a8
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x40c808
mov dl, byte [ecx]
cmp dl, 0x28
je 0x40c9aa
cmp dl, 0x29
je 0x40c9aa
test bl, 0x10
jmp 0x40c99a
cmp al, 0x42
jne 0x40c827
push 4
lea ecx, [esi + 0x24]
call fcn.0040f4e0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x40c7c9
mov ecx, esi
call fcn.0040caa0
jmp 0x40ca58
cmp eax, 0x5b
jne 0x40c8e0
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40c87d
cmp byte [eax], 0x5c
jne 0x40c87a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40c878
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40c867
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40c87a
cmp bl, 0x29
je 0x40c87a
test dl, 0x10
jne 0x40c878
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40c87a
cmp cl, 0x7d
je 0x40c87a
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040f8c0
lea ecx, [esi + 0x24]
call fcn.0040bf40
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x40c8a5
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0040f550
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x40c8c3
cmp eax, 0x5d
jne 0x40c8c3
push eax
lea ecx, [esi + 0x24]
call fcn.0040bed0
mov ecx, esi
call fcn.0040f550
mov ecx, esi
call fcn.0040d320
cmp dword [esi + 0x4c], 0x5d
jne 0x40ca8e
mov ecx, esi
call fcn.0040f550
jmp 0x40ca58
cmp eax, 0x28
jne 0x40c954
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40c926
cmp byte [eax], 0x5c
jne 0x40c923
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40c921
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40c910
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40c923
cmp bl, 0x29
je 0x40c923
test dl, 0x10
jne 0x40c921
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40c923
cmp cl, 0x7d
je 0x40c923
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040f8c0
mov ecx, esi
call fcn.0040fbe0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x40ca7c
mov ecx, esi
call fcn.0040f550
test bl, bl
je 0x40ca5f
jmp 0x40ca58
cmp eax, 0x5e
jne 0x40c95d
push 2
jmp 0x40c964
cmp eax, 0x24
jne 0x40c9b9
push 3
lea ecx, [esi + 0x24]
call fcn.0040f4e0
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x40c9ad
cmp byte [eax], 0x5c
jne 0x40c9aa
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40c9a8
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40c997
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40c9aa
cmp bl, 0x29
je 0x40c9aa
test dl, 0x10
jne 0x40c9a8
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40c9aa
cmp cl, 0x7d
je 0x40c9aa
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040f8c0
jmp 0x40ca5f
cmp eax, 0x2a
je 0x40ca73
cmp eax, 0x2b
je 0x40ca73
cmp eax, 0x3f
je 0x40ca73
cmp eax, 0x7b
je 0x40ca73
cmp eax, 0x7d
jne 0x40c9f1
test dword [esi + 0x50], 0x10000000
je 0x40ca85
jmp 0x40ca03
cmp eax, 0x5d
jne 0x40ca03
test dword [esi + 0x50], 0x10000000
je 0x40ca8e
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0040bd30
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x40ca51
cmp byte [eax], 0x5c
jne 0x40ca4e
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40ca4c
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40ca3b
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40ca4e
cmp bl, 0x29
je 0x40ca4e
test dl, 0x10
jne 0x40ca4c
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40ca4e
cmp cl, 0x7d
je 0x40ca4e
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040f8c0
mov ecx, esi
call fcn.0040f630
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x40c723
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.0040e350
push 5
mov ecx, esi
call fcn.0040e350
push 6
mov ecx, esi
call fcn.0040e350
push 4
mov ecx, esi
call fcn.0040e350
int3