Function at 0x100e6460
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 0x100e6485
mov ecx, dword [esi + 0x10]
push str.pattern_too_complex
call fcn.100d77c0
mov ebx, dword [ebp + 0x10]
cmp ebx, dword [esi + 0xc]
je 0x100e6773
mov dl, byte [ebx]
movsx ecx, dl
lea eax, [ecx - 0x24]
cmp eax, 5
ja case.0x100e64e4.58
jmp dword [eax*4 + 0x100e6780]
lea eax, [ebx + 1]
cmp eax, dword [esi + 0xc]
je 0x100e66df
lea edi, [ebx + 1]
mov eax, edi
cmp ecx, 0x25
je 0x100e65c4
cmp ecx, 0x5b
je 0x100e659f
mov esi, eax
jmp 0x100e65d0
mov al, byte [ebx + 1]
movsx edi, al
add edi, 0xffffffd0
cmp edi, 0x36
ja case.0x100e64e4.58
movzx edi, byte [edi + 0x100e67a8]
jmp dword [edi*4 + 0x100e6798]
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + 2]
call fcn.100e6190
mov dword [ebp + 0xc], eax
test eax, eax
je 0x100e6773
add ebx, 4
mov dword [ebp + 0x10], ebx
jmp 0x100e6672
add ebx, 2
cmp byte [ebx], 0x5b
mov dword [ebp + 0x10], ebx
jne 0x100e66fb
mov eax, ebx
call fcn.100e5f90
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], ecx
cmp eax, dword [esi + 4]
jne 0x100e6534
xor al, al
jmp 0x100e6537
mov al, byte [eax - 1]
mov edi, dword [ebp + 0x10]
lea esi, [ecx - 1]
movzx ebx, al
push esi
mov eax, edi
call fcn.100e6100
add esp, 4
test eax, eax
jne 0x100e6722
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [ecx]
push esi
mov eax, edi
call fcn.100e6100
add esp, 4
test eax, eax
je 0x100e6722
mov edx, dword [esp + 0xc]
mov dword [ebp + 0x10], edx
jmp 0x100e666c
movzx edx, al
mov eax, dword [ebp + 0xc]
push eax
mov eax, esi
call fcn.100e63d0
add esp, 4
mov dword [ebp + 0xc], eax
test eax, eax
je 0x100e6773
add ebx, 2
mov dword [ebp + 0x10], ebx
jmp 0x100e6672
cmp byte [eax], 0x5e
jne 0x100e65a5
inc eax
mov ecx, dword [esi + 0xc]
cmp eax, ecx
je 0x100e6708
mov bl, byte [eax]
inc eax
cmp bl, 0x25
jne 0x100e65bd
cmp eax, ecx
jae 0x100e65bd
inc eax
cmp byte [eax], 0x5d
jne 0x100e65a8
jmp 0x100e65cd
cmp eax, dword [esi + 0xc]
je 0x100e6715
lea esi, [eax + 1]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp ebx, dword [ecx + 8]
jae 0x100e661d
movzx ecx, byte [ebx]
cmp dl, 0x25
je 0x100e660f
cmp dl, 0x2e
je 0x100e6632
cmp dl, 0x5b
je 0x100e65f9
movzx edx, dl
xor eax, eax
cmp edx, ecx
sete al
jmp 0x100e6619
lea eax, [esi - 1]
push eax
mov eax, dword [ebp + 0x10]
mov ebx, ecx
call fcn.100e6100
mov ebx, dword [ebp + 0xc]
add esp, 4
jmp 0x100e6619
movzx edi, byte [edi]
mov eax, ecx
call fcn.100e5fe0
test eax, eax
jne 0x100e6632
mov al, byte [esi]
cmp al, 0x2a
je 0x100e662f
cmp al, 0x3f
je 0x100e662f
cmp al, 0x2d
jne 0x100e6722
inc esi
jmp 0x100e6669
movsx eax, byte [esi]
add eax, 0xffffffd6
cmp eax, 0x15
ja case.0x100e6644.44
movzx ecx, byte [eax + 0x100e67f4]
jmp dword [ecx*4 + 0x100e67e0]
mov edx, dword [ebp + 8]
inc esi
push esi
inc ebx
push ebx
push edx
call fcn.100e6460
add esp, 0xc
test eax, eax
jne 0x100e676d
jmp 0x100e6669
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 0x100e6491
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 0x100e66ad
push 0xfffffffffffffffe
add ebx, 2
push ebx
call fcn.100e6330
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.100e6330
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.100e6370
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.100d77c0
mov ecx, dword [esi + 0x10]
push str.malformed_pattern__missing___
call fcn.100d77c0
mov ecx, dword [esi + 0x10]
push str.malformed_pattern__ends_with____
call fcn.100d77c0
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.100e61f0
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.100e6290
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