Function at 0x40c7a5
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5cdfb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, edx
mov dword [ebp - 0x30], eax
mov edx, ecx
mov dword [ebp - 8], esi
push edi
test edx, edx
je 0x40ca83
test esi, esi
je 0x40ca83
cmp edx, esi
je 0x40ca83
xor edi, edi
mov dword [ebp - 0x2c], esi
and dword [ebp - 0x24], edi
lea ebx, [esi + 0x1000]
and dword [ebp - 0x14], edi
xor eax, eax
mov dword [ebp - 0x28], ebx
xor ecx, ecx
mov bl, byte [edx]
inc eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ecx
test bl, bl
je 0x40ca55
and dword [ebp - 0x10], 0
inc edx
cmp edi, 0x1000
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], edx
cmove eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
cmp bl, 0x3a
jne 0x40c894
test cl, cl
mov ecx, dword [ebp - 0x14]
jns 0x40c901
test ecx, ecx
jne 0x40c901
test eax, eax
je 0x40c88c
mov byte [esi], cl
mov ecx, esi
sub ecx, edi
cmp ecx, dword [ebp - 0x2c]
jb 0x40ca83
mov eax, dword [ebp - 0x28]
cmp ecx, eax
ja 0x40ca83
sub eax, ecx
inc eax
push eax
push ecx
call fcn.005310dd
push eax
call fcn.0040506e
add esp, 0xc
cmp edi, 4
jne 0x40c88c
push edi
lea eax, [esi - 4]
push eax
push str.file
call fcn.00530ef0
mov ecx, dword [ebp - 0x24]
add esp, 0xc
test eax, eax
push 1
pop eax
cmove ecx, eax
mov dword [ebp - 0x24], ecx
lea ecx, [edi + 1]
mov dword [ebp - 0x14], ecx
jmp 0x40c901
cmp bl, 0x25
jne 0x40c8e9
test cl, 4
je 0x40c8fe
mov cl, byte [edx]
test cl, cl
je 0x40ca49
inc edx
mov dword [ebp - 0x18], edx
call fcn.0040c697
movzx ebx, ax
test bx, bx
js 0x40ca42
mov eax, dword [ebp - 0x18]
mov cl, byte [eax]
test cl, cl
je 0x40ca46
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], eax
call fcn.0040c697
movzx eax, ax
test ax, ax
js 0x40ca3e
shl bl, 4
add bl, al
jmp 0x40c8fe
cmp bl, 0x3f
je 0x40c8f3
cmp bl, 0x23
jne 0x40c8fe
test cl, 0x20
je 0x40c8fe
or ecx, 2
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
test al, al
jns 0x40c968
test al, 2
jne 0x40c968
cmp bl, 0x5c
jne 0x40c932
test ecx, ecx
jne 0x40c91c
test eax, 0x100
je 0x40c968
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x40c96b
cmp dword [ebp - 0x24], 0
je 0x40c92e
cmp edi, 7
jae 0x40c96b
mov bl, 0x2f
jmp 0x40c96b
cmp bl, 0x2e
jne 0x40c968
test edi, edi
je 0x40c968
test al, 8
jne 0x40c968
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
lea edx, [esi - 1]
lea ecx, [ebp - 8]
call fcn.0040c6c5
mov edi, dword [ebp - 0x1c]
add esp, 0x14
mov esi, dword [ebp - 8]
test eax, eax
jne 0x40c993
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x10]
movzx ecx, bl
cmp ecx, 0x40
jg 0x40c99b
cmp ecx, 0x3b
jge 0x40c9b9
cmp ecx, 0x20
je 0x40c9b9
cmp ecx, 0x21
jle 0x40c9b2
cmp ecx, 0x26
jle 0x40c9b9
cmp ecx, 0x2a
jle 0x40c9b2
cmp ecx, 0x2c
jle 0x40c9b9
jmp 0x40c9b2
mov edx, dword [ebp - 0xc]
jmp 0x40ca2d
cmp ecx, 0x5b
jl 0x40c9b2
cmp ecx, 0x5e
jle 0x40c9b9
cmp ecx, 0x60
je 0x40c9b9
lea eax, [ecx - 0x7b]
cmp eax, 2
jbe 0x40c9b9
lea eax, [ebx - 0x20]
cmp al, 0x5e
jbe 0x40ca1c
mov eax, dword [ebp - 0x20]
test al, 2
jne 0x40ca1c
test al, 0x10
je 0x40c9c9
cmp bl, 0x20
jne 0x40ca1c
test al, 8
je 0x40c9d2
cmp bl, 0x2e
je 0x40ca1c
test al, 0x40
jne 0x40c9db
cmp bl, 0x25
je 0x40ca1c
cmp edi, 0xffd
sbb eax, eax
and edx, eax
mov dword [ebp - 0x10], edx
je 0x40ca17
mov byte [esi], 0x25
lea edx, [esi + 1]
cmp bl, 0x10
jae 0x40c9f9
mov byte [edx], 0x30
inc edx
mov eax, dword [ebp - 0x28]
push 0x10
sub eax, edx
push eax
push edx
push ecx
call fcn.00530df8
push eax
call fcn.0040506e
add esp, 0x14
add esi, 3
mov dword [ebp - 8], esi
add edi, 2
jmp 0x40ca26
test edx, edx
je 0x40ca26
mov byte [esi], bl
inc esi
mov dword [ebp - 8], esi
mov edx, dword [ebp - 0x18]
inc edi
mov dword [ebp - 0x1c], edi
mov bl, byte [edx]
mov eax, dword [ebp - 0x10]
test bl, bl
je 0x40ca49
mov ecx, dword [ebp - 0x20]
jmp 0x40c806
xor eax, eax
jmp 0x40ca49
xor eax, eax
jmp 0x40ca58
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40ca58
cmp edi, 0x1000
jae 0x40ca58
mov byte [esi], 0
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x40ca64
lea ecx, [edi + 1]
mov dword [edx], ecx
lea ecx, [edi + 1]
xor edx, edx
cmp ecx, 0x1000
mov ecx, dword [ebp - 4]
pop edi
cmova eax, edx
xor ecx, ebp
pop esi
pop ebx
call fcn.0052f025
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040ab87
int3