Function at 0x40cee0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x40d3e2
cmp eax, 0x7c
je 0x40d3e2
lea edi, [esi + 8]
cmp eax, 0x29
jne 0x40cf24
cmp dword [esi + 0x10], 0
jne 0x40d3e2
test dword [esi + 0x50], 0x10000000
je 0x40d3f2
jmp 0x40d377
cmp eax, 0x2e
jne 0x40cf94
push 5
lea ecx, [esi + 0x24]
call fcn.0040d410
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x40d3be
cmp byte [eax], 0x5c
jne 0x40d1a4
lea edx, [eax + 1]
cmp edx, ecx
je 0x40d1a4
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x40cf6e
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x40cf89
cmp byte [ebp - 1], 0x29
je 0x40cf89
test bl, 0x10
jne 0x40d1a4
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x40cf89
cmp dl, 0x7d
jne 0x40d1a4
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
jmp 0x40d3be
cmp eax, 0x5c
jne 0x40d0df
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x40cfe5
cmp byte [eax], 0x5c
jne 0x40cfe2
lea edx, [eax + 1]
cmp edx, ecx
je 0x40cfe2
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x40cfcc
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x40cfdf
cmp byte [ebp - 1], 0x29
je 0x40cfdf
test bl, 0x10
jne 0x40cfe2
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x40cfdf
cmp dl, 0x7d
jne 0x40cfe2
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040c130
test byte [esi + 0x50], 0x80
je 0x40d0d3
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x40d059
push 4
lea ecx, [esi + 0x24]
call fcn.0040d410
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x40d04d
cmp byte [eax], 0x5c
jne 0x40d04a
lea edx, [eax + 1]
cmp edx, ecx
je 0x40d04a
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x40d034
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x40d047
cmp bl, 0x29
je 0x40d047
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x40d04a
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x40d047
cmp dl, 0x7d
jne 0x40d04a
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040c130
jmp 0x40d3cf
cmp al, 0x42
jne 0x40d0d3
push 4
lea ecx, [esi + 0x24]
call fcn.0040d410
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x40d0c7
cmp byte [eax], 0x5c
jne 0x40d0c4
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x40d0c2
test byte [esi + 0x50], 8
jne 0x40d09a
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x40d0b0
cmp cl, 0x29
je 0x40d0b0
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x40d0c2
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x40d0b0
mov edx, ecx
cmp bl, 0x7d
jne 0x40d0c2
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.0040c130
jmp 0x40d3cf
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040c130
jmp 0x40d3cf
mov ecx, esi
call fcn.0040dea0
jmp 0x40d3c5
cmp eax, 0x5b
jne 0x40d1ac
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x40d138
cmp byte [eax], 0x5c
jne 0x40d132
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x40d130
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x40d116
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x40d12b
cmp cl, 0x29
je 0x40d12b
mov ecx, eax
test bl, 0x10
jne 0x40d130
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x40d12b
mov edx, ecx
cmp bl, 0x7d
jne 0x40d130
lea eax, [edx + 1]
jmp 0x40d132
mov eax, ecx
inc eax
lea edi, [esi + 8]
mov dword [esi], eax
mov ecx, esi
call fcn.0040c130
mov ecx, esi
call fcn.0040dd60
cmp dword [esi + 0x4c], 0x5d
jne 0x40d400
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x40d3be
cmp byte [eax], 0x5c
jne 0x40d1a4
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x40d1a2
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x40d182
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x40d197
cmp cl, 0x29
je 0x40d197
mov ecx, eax
test bl, 0x10
jne 0x40d1a2
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x40d197
mov edx, ecx
cmp bl, 0x7d
jne 0x40d1a2
lea eax, [edx + 1]
inc eax
mov dword [esi], eax
jmp 0x40d3be
mov eax, ecx
inc eax
mov dword [esi], eax
jmp 0x40d3be
cmp eax, 0x28
jne 0x40d282
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x40d201
cmp byte [eax], 0x5c
jne 0x40d1fe
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x40d1fc
test byte [esi + 0x50], 8
jne 0x40d1e1
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x40d1f7
cmp cl, 0x29
je 0x40d1f7
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x40d1fc
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x40d1f7
mov edx, ecx
cmp bl, 0x7d
jne 0x40d1fc
lea eax, [edx + 1]
jmp 0x40d1fe
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040c130
mov ecx, esi
call fcn.0040dff0
cmp dword [esi + 0x4c], 0x29
mov bl, al
mov byte [ebp - 1], bl
jne 0x40d3f2
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40d26e
cmp byte [eax], 0x5c
jne 0x40d26b
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x40d266
test byte [esi + 0x50], 8
jne 0x40d24b
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x40d261
cmp cl, 0x29
je 0x40d261
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x40d266
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x40d261
mov edx, ecx
cmp bl, 0x7d
jne 0x40d266
lea eax, [edx + 1]
jmp 0x40d268
mov eax, ecx
mov bl, byte [ebp - 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040c130
test bl, bl
je 0x40d3cf
jmp 0x40d3c5
cmp eax, 0x5e
jne 0x40d2d6
push 2
lea ecx, [esi + 0x24]
call fcn.0040d410
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x40d2ca
cmp byte [eax], 0x5c
jne 0x40d2c8
inc eax
cmp eax, ecx
je 0x40d2c8
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x40d2b7
mov dl, byte [eax]
cmp dl, 0x28
je 0x40d2c6
cmp dl, 0x29
je 0x40d2c6
test cl, 0x10
jne 0x40d2c8
mov al, byte [eax]
cmp al, 0x7b
je 0x40d2c6
cmp al, 0x7d
jne 0x40d2c8
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.0040c130
jmp 0x40d3cf
cmp eax, 0x24
jne 0x40d32d
push 3
lea ecx, [esi + 0x24]
call fcn.0040d410
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x40d321
cmp byte [eax], 0x5c
jne 0x40d31f
inc eax
cmp eax, ecx
je 0x40d31f
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x40d30e
mov dl, byte [eax]
cmp dl, 0x28
je 0x40d31d
cmp dl, 0x29
je 0x40d31d
test cl, 0x10
jne 0x40d31f
mov al, byte [eax]
cmp al, 0x7b
je 0x40d31d
cmp al, 0x7d
jne 0x40d31f
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.0040c130
jmp 0x40d3cf
cmp eax, 0x2a
je 0x40d3eb
cmp eax, 0x2b
je 0x40d3eb
cmp eax, 0x3f
je 0x40d3eb
cmp eax, 0x7b
je 0x40d3eb
cmp eax, 0x7d
jne 0x40d365
test dword [esi + 0x50], 0x10000000
je 0x40d3f9
jmp 0x40d377
cmp eax, 0x5d
jne 0x40d377
test dword [esi + 0x50], 0x10000000
je 0x40d400
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0040e490
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x40d3be
cmp byte [eax], 0x5c
jne 0x40d3bc
inc eax
cmp eax, ecx
je 0x40d3bc
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x40d3ab
mov dl, byte [eax]
cmp dl, 0x28
je 0x40d3ba
cmp dl, 0x29
je 0x40d3ba
test cl, 0x10
jne 0x40d3bc
mov al, byte [eax]
cmp al, 0x7b
je 0x40d3ba
cmp al, 0x7d
jne 0x40d3bc
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.0040c130
mov ecx, esi
call fcn.0040e270
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
je 0x40d3e2
cmp eax, 0x7c
jne 0x40cf03
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.0040c120
push 5
call fcn.0040c120
push 6
call fcn.0040c120
push 4
call fcn.0040c120
int3