Function at 0x418a90
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x14]
push esi
lea ecx, [eax - 1]
push edi
mov dword [ebx + 0x14], ecx
test eax, eax
jne 0x418ab9
mov edi, dword [ebx + 0xc]
push str.pattern_too_complex
call fcn.0040a790
mov edi, dword [ebp + 0x10]
cmp edi, dword [ebx + 8]
je 0x418dcc
movsx ecx, byte [edi]
lea eax, [ecx - 0x24]
cmp eax, 5
ja case.0x418b18.58
jmp dword [eax*4 + 0x418ddc]
lea edx, [edi + 1]
cmp edx, dword [ebx + 8]
je 0x418d33
lea eax, [edi + 1]
mov dword [esp + 0x14], eax
cmp ecx, 0x25
je 0x418bfc
cmp ecx, 0x5b
je 0x418bd7
mov esi, eax
jmp 0x418c08
mov al, byte [edi + 1]
movsx edx, al
add edx, 0xffffffd0
cmp edx, 0x36
ja case.0x418b18.58
movzx edx, byte [edx + 0x418e04]
jmp dword [edx*4 + 0x418df4]
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 2]
mov esi, ebx
call fcn.004187c0
mov dword [ebp + 0xc], eax
test eax, eax
je 0x418dcc
add edi, 4
mov dword [ebp + 0x10], edi
jmp 0x418cc0
add edi, 2
cmp byte [edi], 0x5b
mov dword [ebp + 0x10], edi
jne 0x418d50
mov eax, edi
mov esi, ebx
call fcn.004185c0
mov esi, eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], esi
cmp eax, dword [ebx]
jne 0x418b6b
xor al, al
jmp 0x418b6e
mov al, byte [eax - 1]
mov edi, dword [ebp + 0x10]
movzx ebx, al
dec esi
push esi
mov eax, edi
call fcn.00418730
add esp, 4
test eax, eax
jne 0x418d5d
mov eax, dword [ebp + 0xc]
movzx ebx, byte [eax]
push esi
mov eax, edi
call fcn.00418730
add esp, 4
test eax, eax
je 0x418d5d
mov ecx, dword [esp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebp + 0x10], ecx
jmp 0x418cbd
movzx edx, al
mov eax, dword [ebp + 0xc]
push eax
mov eax, ebx
call fcn.00418a00
add esp, 4
mov dword [ebp + 0xc], eax
test eax, eax
je 0x418dcc
add edi, 2
mov dword [ebp + 0x10], edi
jmp 0x418cc0
cmp byte [eax], 0x5e
jne 0x418bdd
inc eax
mov esi, dword [ebx + 8]
cmp eax, esi
je 0x418d74
mov cl, byte [eax]
inc eax
cmp cl, 0x25
jne 0x418bf5
cmp eax, esi
jae 0x418bf5
inc eax
cmp byte [eax], 0x5d
jne 0x418be0
jmp 0x418c05
cmp eax, dword [ebx + 8]
je 0x418d81
lea esi, [eax + 1]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebx + 4]
jae 0x418c60
movzx edx, byte [ecx]
mov al, byte [edi]
mov dword [esp + 0x10], edx
cmp al, 0x25
je 0x418c48
cmp al, 0x2e
je 0x418c75
cmp al, 0x5b
je 0x418c33
movzx edx, al
xor eax, eax
cmp edx, dword [esp + 0x10]
sete al
jmp 0x418c5c
lea eax, [esi - 1]
push eax
mov eax, edi
mov ebx, edx
call fcn.00418730
mov ebx, dword [ebp + 8]
add esp, 4
jmp 0x418c56
mov ecx, dword [esp + 0x14]
movzx edi, byte [ecx]
mov eax, edx
call fcn.00418610
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
test eax, eax
jne 0x418c75
mov al, byte [esi]
cmp al, 0x2a
je 0x418c72
cmp al, 0x3f
je 0x418c72
cmp al, 0x2d
jne 0x418d8e
inc esi
jmp 0x418cba
mov eax, dword [ebx + 0x10]
lea edx, [eax - 1]
mov dword [ebx + 0x10], edx
test eax, eax
je 0x418aac
movsx eax, byte [esi]
add eax, 0xffffffd6
cmp eax, 0x15
ja case.0x418c98.44
movzx eax, byte [eax + 0x418e50]
jmp dword [eax*4 + 0x418e3c]
inc esi
push esi
inc ecx
push ecx
push ebx
call fcn.00418a90
add esp, 0xc
test eax, eax
jne 0x418dc9
jmp 0x418cba
inc ecx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], esi
mov edi, dword [ebp + 0x10]
cmp edi, dword [ebx + 8]
jne 0x418ac5
inc dword [ebx + 0x14]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edi + 1], 0x29
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 1]
mov esi, ebx
jne 0x418cff
push 0xfffffffffffffffe
add edi, 2
push edi
call fcn.00418960
add esp, 8
inc dword [ebx + 0x14]
mov dword [ebp + 0xc], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push eax
call fcn.00418960
add esp, 8
inc dword [ebx + 0x14]
mov dword [ebp + 0xc], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
inc edi
push edi
mov eax, ebx
call fcn.004189a0
add esp, 4
inc dword [ebx + 0x14]
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 [ebx + 4]
setne cl
dec ecx
and ecx, eax
inc dword [ebx + 0x14]
mov dword [ebp + 0xc], ecx
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebx + 0xc]
push str.missing___after___f_in_pattern
call fcn.0040a790
mov ebx, dword [ebp + 8]
inc dword [ebx + 0x14]
mov dword [ebp + 0xc], 0
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebx + 0xc]
push str.malformed_pattern__missing___
call fcn.0040a790
mov edi, dword [ebx + 0xc]
push str.malformed_pattern__ends_with____
call fcn.0040a790
inc dword [ebx + 0x14]
mov dword [ebp + 0xc], 0
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc ecx
push esi
push edi
push ecx
push ebx
call fcn.00418820
add esp, 0x10
inc dword [ebx + 0x14]
mov dword [ebp + 0xc], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
push ebx
mov eax, ecx
call fcn.004188c0
add esp, 0xc
mov dword [ebp + 0xc], eax
inc dword [ebx + 0x14]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret