Function at 0x1003c650
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 0x1003cb35
lea edi, [esi + 8]
nop word [eax + eax]
cmp eax, 0x7c
je 0x1003cb35
cmp eax, 0x29
jne 0x1003c69a
cmp dword [esi + 0x10], 0
jne 0x1003cb35
test dword [esi + 0x50], 0x10000000
je 0x1003cb45
jmp 0x1003cacf
cmp eax, 0x2e
jne 0x1003c709
push 5
lea ecx, [esi + 0x24]
call fcn.1003cb60
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1003cb16
cmp byte [eax], 0x5c
jne 0x1003c90b
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x1003c6ff
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x1003c6df
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x1003c6f4
cmp cl, 0x29
je 0x1003c6f4
mov ecx, eax
test bl, 0x10
jne 0x1003c6ff
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x1003c6f4
mov edx, ecx
cmp bl, 0x7d
jne 0x1003c6ff
lea eax, [edx + 1]
inc eax
mov dword [esi], eax
jmp 0x1003cb16
mov eax, ecx
inc eax
mov dword [esi], eax
jmp 0x1003cb16
cmp eax, 0x5c
jne 0x1003c858
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1003c75e
cmp byte [eax], 0x5c
jne 0x1003c75b
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x1003c759
test byte [esi + 0x50], 8
jne 0x1003c73e
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x1003c754
cmp cl, 0x29
je 0x1003c754
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x1003c759
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x1003c754
mov edx, ecx
cmp bl, 0x7d
jne 0x1003c759
lea eax, [edx + 1]
jmp 0x1003c75b
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.1003b430
test byte [esi + 0x50], 0x80
je 0x1003c84c
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x1003c7e5
push 4
lea ecx, [esi + 0x24]
call fcn.1003cb60
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x1003c7d9
cmp byte [eax], 0x5c
jne 0x1003c7d6
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x1003c7d4
test byte [esi + 0x50], 8
jne 0x1003c7ac
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x1003c7c2
cmp cl, 0x29
je 0x1003c7c2
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x1003c7d4
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x1003c7c2
mov edx, ecx
cmp bl, 0x7d
jne 0x1003c7d4
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.1003b430
jmp 0x1003cb27
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.1003b430
jmp 0x1003cb27
cmp al, 0x42
jne 0x1003c84c
push 4
lea ecx, [esi + 0x24]
call fcn.1003cb60
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1003c840
cmp byte [eax], 0x5c
jne 0x1003c83d
lea ebx, [eax + 1]
cmp ebx, ecx
je 0x1003c83d
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1003c827
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x28
je 0x1003c83a
cmp dl, 0x29
je 0x1003c83a
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x1003c83d
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x7b
je 0x1003c83a
cmp dl, 0x7d
jne 0x1003c83d
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.1003b430
jmp 0x1003cb27
mov ecx, esi
call fcn.1003da90
jmp 0x1003cb1d
cmp eax, 0x5b
jne 0x1003c913
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1003c8a9
cmp byte [eax], 0x5c
jne 0x1003c8a6
lea edx, [eax + 1]
cmp edx, ecx
je 0x1003c8a6
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x1003c890
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x1003c8a3
cmp byte [ebp - 1], 0x29
je 0x1003c8a3
test bl, 0x10
jne 0x1003c8a6
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x1003c8a3
cmp dl, 0x7d
jne 0x1003c8a6
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.1003b430
mov ecx, esi
call fcn.1003d950
cmp dword [esi + 0x4c], 0x5d
jne 0x1003cb53
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x1003cb16
cmp byte [eax], 0x5c
jne 0x1003c90b
lea edx, [eax + 1]
cmp edx, ecx
je 0x1003c90b
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x1003c8f5
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x1003c908
cmp byte [ebp - 1], 0x29
je 0x1003c908
test bl, 0x10
jne 0x1003c90b
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x1003c908
cmp dl, 0x7d
jne 0x1003c90b
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
jmp 0x1003cb16
cmp eax, 0x28
jne 0x1003c9d7
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1003c962
cmp byte [eax], 0x5c
jne 0x1003c95f
lea edx, [eax + 1]
cmp edx, ecx
je 0x1003c95f
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1003c949
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x1003c95c
cmp bl, 0x29
je 0x1003c95c
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x1003c95f
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x1003c95c
cmp dl, 0x7d
jne 0x1003c95f
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.1003b430
mov ecx, esi
call fcn.1003dbf0
cmp dword [esi + 0x4c], 0x29
mov bh, al
jne 0x1003cb45
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x1003c9c3
cmp byte [eax], 0x5c
jne 0x1003c9c0
lea edx, [eax + 1]
cmp edx, ecx
je 0x1003c9c0
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1003c9aa
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x1003c9bd
cmp bl, 0x29
je 0x1003c9bd
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x1003c9c0
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x1003c9bd
cmp dl, 0x7d
jne 0x1003c9c0
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.1003b430
test bh, bh
je 0x1003cb27
jmp 0x1003cb1d
cmp eax, 0x5e
jne 0x1003ca2e
push 2
lea ecx, [esi + 0x24]
call fcn.1003cb60
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1003ca22
cmp byte [eax], 0x5c
jne 0x1003ca20
inc eax
cmp eax, ecx
je 0x1003ca20
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1003ca0f
mov dl, byte [eax]
cmp dl, 0x28
je 0x1003ca1e
cmp dl, 0x29
je 0x1003ca1e
test cl, 0x10
jne 0x1003ca20
mov al, byte [eax]
cmp al, 0x7b
je 0x1003ca1e
cmp al, 0x7d
jne 0x1003ca20
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.1003b430
jmp 0x1003cb27
cmp eax, 0x24
jne 0x1003ca85
push 3
lea ecx, [esi + 0x24]
call fcn.1003cb60
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1003ca79
cmp byte [eax], 0x5c
jne 0x1003ca77
inc eax
cmp eax, ecx
je 0x1003ca77
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1003ca66
mov dl, byte [eax]
cmp dl, 0x28
je 0x1003ca75
cmp dl, 0x29
je 0x1003ca75
test cl, 0x10
jne 0x1003ca77
mov al, byte [eax]
cmp al, 0x7b
je 0x1003ca75
cmp al, 0x7d
jne 0x1003ca77
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.1003b430
jmp 0x1003cb27
cmp eax, 0x2a
je 0x1003cb3e
cmp eax, 0x2b
je 0x1003cb3e
cmp eax, 0x3f
je 0x1003cb3e
cmp eax, 0x7b
je 0x1003cb3e
cmp eax, 0x7d
jne 0x1003cabd
test dword [esi + 0x50], 0x10000000
je 0x1003cb4c
jmp 0x1003cacf
cmp eax, 0x5d
jne 0x1003cacf
test dword [esi + 0x50], 0x10000000
je 0x1003cb53
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1003dfb0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x1003cb16
cmp byte [eax], 0x5c
jne 0x1003cb14
inc eax
cmp eax, ecx
je 0x1003cb14
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x1003cb03
mov dl, byte [eax]
cmp dl, 0x28
je 0x1003cb12
cmp dl, 0x29
je 0x1003cb12
test cl, 0x10
jne 0x1003cb14
mov al, byte [eax]
cmp al, 0x7b
je 0x1003cb12
cmp al, 0x7d
jne 0x1003cb14
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.1003b430
mov ecx, esi
call fcn.1003dd70
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x1003c670
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.1003b420
push 5
call fcn.1003b420
push 6
call fcn.1003b420
push 4
call fcn.1003b420
int3