Function at 0x40c770
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x40cacf
push ebx
push edi
cmp eax, 0x7c
je 0x40cacd
cmp eax, 0x29
jne 0x40c7ad
cmp dword [esi + 0x10], 0
jne 0x40cacd
test dword [esi + 0x50], 0x10000000
je 0x40cadc
jmp 0x40ca63
cmp eax, 0x2e
jne 0x40c7c1
push 5
lea ecx, [esi + 0x24]
call fcn.0040f690
jmp 0x40ca70
cmp eax, 0x5c
jne 0x40c893
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40c80b
cmp byte [eax], 0x5c
jne 0x40c808
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40c806
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40c7f5
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40c808
cmp bl, 0x29
je 0x40c808
test dl, 0x10
jne 0x40c806
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40c808
cmp cl, 0x7d
je 0x40c808
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040fa70
test byte [esi + 0x50], 0x80
je 0x40c887
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x40c870
push 4
lea ecx, [esi + 0x24]
call fcn.0040f690
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40ca0d
cmp byte [eax], 0x5c
jne 0x40ca0a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40ca08
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x40c868
mov dl, byte [ecx]
cmp dl, 0x28
je 0x40ca0a
cmp dl, 0x29
je 0x40ca0a
test bl, 0x10
jmp 0x40c9fa
cmp al, 0x42
jne 0x40c887
push 4
lea ecx, [esi + 0x24]
call fcn.0040f690
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x40c829
mov ecx, esi
call fcn.0040cb00
jmp 0x40cab8
cmp eax, 0x5b
jne 0x40c940
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40c8dd
cmp byte [eax], 0x5c
jne 0x40c8da
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40c8d8
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40c8c7
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40c8da
cmp bl, 0x29
je 0x40c8da
test dl, 0x10
jne 0x40c8d8
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40c8da
cmp cl, 0x7d
je 0x40c8da
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040fa70
lea ecx, [esi + 0x24]
call fcn.0040bf00
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x40c905
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0040f700
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x40c923
cmp eax, 0x5d
jne 0x40c923
push eax
lea ecx, [esi + 0x24]
call fcn.0040be90
mov ecx, esi
call fcn.0040f700
mov ecx, esi
call fcn.0040d350
cmp dword [esi + 0x4c], 0x5d
jne 0x40caee
mov ecx, esi
call fcn.0040f700
jmp 0x40cab8
cmp eax, 0x28
jne 0x40c9b4
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40c986
cmp byte [eax], 0x5c
jne 0x40c983
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40c981
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40c970
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40c983
cmp bl, 0x29
je 0x40c983
test dl, 0x10
jne 0x40c981
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40c983
cmp cl, 0x7d
je 0x40c983
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040fa70
mov ecx, esi
call fcn.0040fd20
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x40cadc
mov ecx, esi
call fcn.0040f700
test bl, bl
je 0x40cabf
jmp 0x40cab8
cmp eax, 0x5e
jne 0x40c9bd
push 2
jmp 0x40c9c4
cmp eax, 0x24
jne 0x40ca19
push 3
lea ecx, [esi + 0x24]
call fcn.0040f690
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x40ca0d
cmp byte [eax], 0x5c
jne 0x40ca0a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40ca08
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40c9f7
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40ca0a
cmp bl, 0x29
je 0x40ca0a
test dl, 0x10
jne 0x40ca08
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40ca0a
cmp cl, 0x7d
je 0x40ca0a
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040fa70
jmp 0x40cabf
cmp eax, 0x2a
je 0x40cad3
cmp eax, 0x2b
je 0x40cad3
cmp eax, 0x3f
je 0x40cad3
cmp eax, 0x7b
je 0x40cad3
cmp eax, 0x7d
jne 0x40ca51
test dword [esi + 0x50], 0x10000000
je 0x40cae5
jmp 0x40ca63
cmp eax, 0x5d
jne 0x40ca63
test dword [esi + 0x50], 0x10000000
je 0x40caee
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0040bce0
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x40cab1
cmp byte [eax], 0x5c
jne 0x40caae
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x40caac
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40ca9b
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40caae
cmp bl, 0x29
je 0x40caae
test dl, 0x10
jne 0x40caac
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x40caae
cmp cl, 0x7d
je 0x40caae
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040fa70
mov ecx, esi
call fcn.0040f7e0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x40c783
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.0040e450
push 5
mov ecx, esi
call fcn.0040e450
push 6
mov ecx, esi
call fcn.0040e450
push 4
mov ecx, esi
call fcn.0040e450
int3