Function at 0x100066f0
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 0x10006bf2
cmp eax, 0x7c
je 0x10006bf2
lea edi, [esi + 8]
cmp eax, 0x29
jne 0x10006734
cmp dword [esi + 0x10], 0
jne 0x10006bf2
test dword [esi + 0x50], 0x10000000
je 0x10006c02
jmp 0x10006b87
cmp eax, 0x2e
jne 0x100067a4
push 5
lea ecx, [esi + 0x24]
call fcn.10006c20
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10006bce
cmp byte [eax], 0x5c
jne 0x100069b4
lea edx, [eax + 1]
cmp edx, ecx
je 0x100069b4
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x1000677e
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x10006799
cmp byte [ebp - 1], 0x29
je 0x10006799
test bl, 0x10
jne 0x100069b4
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x10006799
cmp dl, 0x7d
jne 0x100069b4
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
jmp 0x10006bce
cmp eax, 0x5c
jne 0x100068ef
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x100067f5
cmp byte [eax], 0x5c
jne 0x100067f2
lea edx, [eax + 1]
cmp edx, ecx
je 0x100067f2
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x100067dc
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x100067ef
cmp byte [ebp - 1], 0x29
je 0x100067ef
test bl, 0x10
jne 0x100067f2
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x100067ef
cmp dl, 0x7d
jne 0x100067f2
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10005610
test byte [esi + 0x50], 0x80
je 0x100068e3
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x10006869
push 4
lea ecx, [esi + 0x24]
call fcn.10006c20
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x1000685d
cmp byte [eax], 0x5c
jne 0x1000685a
lea edx, [eax + 1]
cmp edx, ecx
je 0x1000685a
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10006844
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x10006857
cmp bl, 0x29
je 0x10006857
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x1000685a
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x10006857
cmp dl, 0x7d
jne 0x1000685a
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10005610
jmp 0x10006bdf
cmp al, 0x42
jne 0x100068e3
push 4
lea ecx, [esi + 0x24]
call fcn.10006c20
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x100068d7
cmp byte [eax], 0x5c
jne 0x100068d4
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x100068d2
test byte [esi + 0x50], 8
jne 0x100068aa
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x100068c0
cmp cl, 0x29
je 0x100068c0
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x100068d2
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x100068c0
mov edx, ecx
cmp bl, 0x7d
jne 0x100068d2
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.10005610
jmp 0x10006bdf
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10005610
jmp 0x10006bdf
mov ecx, esi
call fcn.10007910
jmp 0x10006bd5
cmp eax, 0x5b
jne 0x100069bc
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x10006948
cmp byte [eax], 0x5c
jne 0x10006942
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x10006940
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10006926
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x1000693b
cmp cl, 0x29
je 0x1000693b
mov ecx, eax
test bl, 0x10
jne 0x10006940
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x1000693b
mov edx, ecx
cmp bl, 0x7d
jne 0x10006940
lea eax, [edx + 1]
jmp 0x10006942
mov eax, ecx
inc eax
lea edi, [esi + 8]
mov dword [esi], eax
mov ecx, esi
call fcn.10005610
mov ecx, esi
call fcn.100077d0
cmp dword [esi + 0x4c], 0x5d
jne 0x10006c10
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x10006bce
cmp byte [eax], 0x5c
jne 0x100069b4
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x100069b2
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x10006992
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x100069a7
cmp cl, 0x29
je 0x100069a7
mov ecx, eax
test bl, 0x10
jne 0x100069b2
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x100069a7
mov edx, ecx
cmp bl, 0x7d
jne 0x100069b2
lea eax, [edx + 1]
inc eax
mov dword [esi], eax
jmp 0x10006bce
mov eax, ecx
inc eax
mov dword [esi], eax
jmp 0x10006bce
cmp eax, 0x28
jne 0x10006a92
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x10006a11
cmp byte [eax], 0x5c
jne 0x10006a0e
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x10006a0c
test byte [esi + 0x50], 8
jne 0x100069f1
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x10006a07
cmp cl, 0x29
je 0x10006a07
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x10006a0c
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x10006a07
mov edx, ecx
cmp bl, 0x7d
jne 0x10006a0c
lea eax, [edx + 1]
jmp 0x10006a0e
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10005610
mov ecx, esi
call fcn.10007a60
cmp dword [esi + 0x4c], 0x29
mov bl, al
mov byte [ebp - 1], bl
jne 0x10006c02
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x10006a7e
cmp byte [eax], 0x5c
jne 0x10006a7b
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x10006a76
test byte [esi + 0x50], 8
jne 0x10006a5b
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x10006a71
cmp cl, 0x29
je 0x10006a71
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x10006a76
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x10006a71
mov edx, ecx
cmp bl, 0x7d
jne 0x10006a76
lea eax, [edx + 1]
jmp 0x10006a78
mov eax, ecx
mov bl, byte [ebp - 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.10005610
test bl, bl
je 0x10006bdf
jmp 0x10006bd5
cmp eax, 0x5e
jne 0x10006ae6
push 2
lea ecx, [esi + 0x24]
call fcn.10006c20
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10006ada
cmp byte [eax], 0x5c
jne 0x10006ad8
inc eax
cmp eax, ecx
je 0x10006ad8
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10006ac7
mov dl, byte [eax]
cmp dl, 0x28
je 0x10006ad6
cmp dl, 0x29
je 0x10006ad6
test cl, 0x10
jne 0x10006ad8
mov al, byte [eax]
cmp al, 0x7b
je 0x10006ad6
cmp al, 0x7d
jne 0x10006ad8
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.10005610
jmp 0x10006bdf
cmp eax, 0x24
jne 0x10006b3d
push 3
lea ecx, [esi + 0x24]
call fcn.10006c20
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10006b31
cmp byte [eax], 0x5c
jne 0x10006b2f
inc eax
cmp eax, ecx
je 0x10006b2f
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10006b1e
mov dl, byte [eax]
cmp dl, 0x28
je 0x10006b2d
cmp dl, 0x29
je 0x10006b2d
test cl, 0x10
jne 0x10006b2f
mov al, byte [eax]
cmp al, 0x7b
je 0x10006b2d
cmp al, 0x7d
jne 0x10006b2f
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.10005610
jmp 0x10006bdf
cmp eax, 0x2a
je 0x10006bfb
cmp eax, 0x2b
je 0x10006bfb
cmp eax, 0x3f
je 0x10006bfb
cmp eax, 0x7b
je 0x10006bfb
cmp eax, 0x7d
jne 0x10006b75
test dword [esi + 0x50], 0x10000000
je 0x10006c09
jmp 0x10006b87
cmp eax, 0x5d
jne 0x10006b87
test dword [esi + 0x50], 0x10000000
je 0x10006c10
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.10007f00
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x10006bce
cmp byte [eax], 0x5c
jne 0x10006bcc
inc eax
cmp eax, ecx
je 0x10006bcc
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x10006bbb
mov dl, byte [eax]
cmp dl, 0x28
je 0x10006bca
cmp dl, 0x29
je 0x10006bca
test cl, 0x10
jne 0x10006bcc
mov al, byte [eax]
cmp al, 0x7b
je 0x10006bca
cmp al, 0x7d
jne 0x10006bcc
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.10005610
mov ecx, esi
call fcn.10007ce0
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
je 0x10006bf2
cmp eax, 0x7c
jne 0x10006713
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.10005600
push 5
call fcn.10005600
push 6
call fcn.10005600
push 4
call fcn.10005600
int3