Function at 0x100ecad0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
lea ecx, [eax - 1]
push edi
mov dword [esi], ecx
test eax, eax
jne 0x100ecaf5
mov ecx, dword [esi + 0x10]
push str.pattern_too_complex
call fcn.100dde40
mov ebx, dword [ebp + 0x10]
cmp ebx, dword [esi + 0xc]
je 0x100ecde3
mov dl, byte [ebx]
movsx ecx, dl
lea eax, [ecx - 0x24]
cmp eax, 5
ja case.0x100ecb54.58
jmp dword [eax*4 + 0x100ecdf0]
lea eax, [ebx + 1]
cmp eax, dword [esi + 0xc]
je 0x100ecd4f
lea edi, [ebx + 1]
mov eax, edi
cmp ecx, 0x25
je 0x100ecc34
cmp ecx, 0x5b
je 0x100ecc0f
mov esi, eax
jmp 0x100ecc40
mov al, byte [ebx + 1]
movsx edi, al
add edi, 0xffffffd0
cmp edi, 0x36
ja case.0x100ecb54.58
movzx edi, byte [edi + 0x100ece18]
jmp dword [edi*4 + 0x100ece08]
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + 2]
call fcn.100ec800
mov dword [ebp + 0xc], eax
test eax, eax
je 0x100ecde3
add ebx, 4
mov dword [ebp + 0x10], ebx
jmp 0x100ecce2
add ebx, 2
cmp byte [ebx], 0x5b
mov dword [ebp + 0x10], ebx
jne 0x100ecd6b
mov eax, ebx
call fcn.100ec600
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], ecx
cmp eax, dword [esi + 4]
jne 0x100ecba4
xor al, al
jmp 0x100ecba7
mov al, byte [eax - 1]
mov edi, dword [ebp + 0x10]
lea esi, [ecx - 1]
movzx ebx, al
push esi
mov eax, edi
call fcn.100ec770
add esp, 4
test eax, eax
jne 0x100ecd92
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [ecx]
push esi
mov eax, edi
call fcn.100ec770
add esp, 4
test eax, eax
je 0x100ecd92
mov edx, dword [esp + 0xc]
mov dword [ebp + 0x10], edx
jmp 0x100eccdc
movzx edx, al
mov eax, dword [ebp + 0xc]
push eax
mov eax, esi
call fcn.100eca40
add esp, 4
mov dword [ebp + 0xc], eax
test eax, eax
je 0x100ecde3
add ebx, 2
mov dword [ebp + 0x10], ebx
jmp 0x100ecce2
cmp byte [eax], 0x5e
jne 0x100ecc15
inc eax
mov ecx, dword [esi + 0xc]
cmp eax, ecx
je 0x100ecd78
mov bl, byte [eax]
inc eax
cmp bl, 0x25
jne 0x100ecc2d
cmp eax, ecx
jae 0x100ecc2d
inc eax
cmp byte [eax], 0x5d
jne 0x100ecc18
jmp 0x100ecc3d
cmp eax, dword [esi + 0xc]
je 0x100ecd85
lea esi, [eax + 1]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp ebx, dword [ecx + 8]
jae 0x100ecc8d
movzx ecx, byte [ebx]
cmp dl, 0x25
je 0x100ecc7f
cmp dl, 0x2e
je 0x100ecca2
cmp dl, 0x5b
je 0x100ecc69
movzx edx, dl
xor eax, eax
cmp edx, ecx
sete al
jmp 0x100ecc89
lea eax, [esi - 1]
push eax
mov eax, dword [ebp + 0x10]
mov ebx, ecx
call fcn.100ec770
mov ebx, dword [ebp + 0xc]
add esp, 4
jmp 0x100ecc89
movzx edi, byte [edi]
mov eax, ecx
call fcn.100ec650
test eax, eax
jne 0x100ecca2
mov al, byte [esi]
cmp al, 0x2a
je 0x100ecc9f
cmp al, 0x3f
je 0x100ecc9f
cmp al, 0x2d
jne 0x100ecd92
inc esi
jmp 0x100eccd9
movsx eax, byte [esi]
add eax, 0xffffffd6
cmp eax, 0x15
ja case.0x100eccb4.44
movzx ecx, byte [eax + 0x100ece64]
jmp dword [ecx*4 + 0x100ece50]
mov edx, dword [ebp + 8]
inc esi
push esi
inc ebx
push ebx
push edx
call fcn.100ecad0
add esp, 0xc
test eax, eax
jne 0x100ecddd
jmp 0x100eccd9
inc ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], esi
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
cmp ebx, dword [esi + 0xc]
jne 0x100ecb01
inc dword [esi]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 1], 0x29
mov ecx, dword [ebp + 0xc]
lea eax, [ebx + 1]
jne 0x100ecd1d
push 0xfffffffffffffffe
add ebx, 2
push ebx
call fcn.100ec9a0
add esp, 8
inc dword [esi]
mov dword [ebp + 0xc], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push eax
call fcn.100ec9a0
add esp, 8
inc dword [esi]
mov dword [ebp + 0xc], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
inc ebx
push ebx
mov edi, esi
call fcn.100ec9e0
add esp, 4
inc dword [esi]
mov dword [ebp + 0xc], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
xor ecx, ecx
cmp eax, dword [esi + 8]
setne cl
dec ecx
and ecx, eax
inc dword [esi]
mov dword [ebp + 0xc], ecx
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x10]
push str.missing___after___f_in_pattern
call fcn.100dde40
mov ecx, dword [esi + 0x10]
push str.malformed_pattern__missing___
call fcn.100dde40
mov ecx, dword [esi + 0x10]
push str.malformed_pattern__ends_with____
call fcn.100dde40
mov esi, dword [ebp + 8]
inc dword [esi]
mov dword [ebp + 0xc], 0
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc ebx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push esi
push edx
push ebx
push eax
call fcn.100ec860
mov esi, dword [ebp + 8]
add esp, 0x10
inc dword [esi]
mov dword [ebp + 0xc], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push esi
push ecx
push edx
mov eax, ebx
call fcn.100ec900
add esp, 0xc
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], eax
inc dword [esi]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret