Function at 0x100ed3f0
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 0x100ed415
mov ecx, dword [esi + 0x10]
push str.pattern_too_complex
call fcn.100de760
mov ebx, dword [ebp + 0x10]
cmp ebx, dword [esi + 0xc]
je 0x100ed703
mov dl, byte [ebx]
movsx ecx, dl
lea eax, [ecx - 0x24]
cmp eax, 5
ja case.0x100ed474.58
jmp dword [eax*4 + 0x100ed710]
lea eax, [ebx + 1]
cmp eax, dword [esi + 0xc]
je 0x100ed66f
lea edi, [ebx + 1]
mov eax, edi
cmp ecx, 0x25
je 0x100ed554
cmp ecx, 0x5b
je 0x100ed52f
mov esi, eax
jmp 0x100ed560
mov al, byte [ebx + 1]
movsx edi, al
add edi, 0xffffffd0
cmp edi, 0x36
ja case.0x100ed474.58
movzx edi, byte [edi + 0x100ed738]
jmp dword [edi*4 + 0x100ed728]
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + 2]
call fcn.100ed120
mov dword [ebp + 0xc], eax
test eax, eax
je 0x100ed703
add ebx, 4
mov dword [ebp + 0x10], ebx
jmp 0x100ed602
add ebx, 2
cmp byte [ebx], 0x5b
mov dword [ebp + 0x10], ebx
jne 0x100ed68b
mov eax, ebx
call fcn.100ecf20
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], ecx
cmp eax, dword [esi + 4]
jne 0x100ed4c4
xor al, al
jmp 0x100ed4c7
mov al, byte [eax - 1]
mov edi, dword [ebp + 0x10]
lea esi, [ecx - 1]
movzx ebx, al
push esi
mov eax, edi
call fcn.100ed090
add esp, 4
test eax, eax
jne 0x100ed6b2
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [ecx]
push esi
mov eax, edi
call fcn.100ed090
add esp, 4
test eax, eax
je 0x100ed6b2
mov edx, dword [esp + 0xc]
mov dword [ebp + 0x10], edx
jmp 0x100ed5fc
movzx edx, al
mov eax, dword [ebp + 0xc]
push eax
mov eax, esi
call fcn.100ed360
add esp, 4
mov dword [ebp + 0xc], eax
test eax, eax
je 0x100ed703
add ebx, 2
mov dword [ebp + 0x10], ebx
jmp 0x100ed602
cmp byte [eax], 0x5e
jne 0x100ed535
inc eax
mov ecx, dword [esi + 0xc]
cmp eax, ecx
je 0x100ed698
mov bl, byte [eax]
inc eax
cmp bl, 0x25
jne 0x100ed54d
cmp eax, ecx
jae 0x100ed54d
inc eax
cmp byte [eax], 0x5d
jne 0x100ed538
jmp 0x100ed55d
cmp eax, dword [esi + 0xc]
je 0x100ed6a5
lea esi, [eax + 1]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp ebx, dword [ecx + 8]
jae 0x100ed5ad
movzx ecx, byte [ebx]
cmp dl, 0x25
je 0x100ed59f
cmp dl, 0x2e
je 0x100ed5c2
cmp dl, 0x5b
je 0x100ed589
movzx edx, dl
xor eax, eax
cmp edx, ecx
sete al
jmp 0x100ed5a9
lea eax, [esi - 1]
push eax
mov eax, dword [ebp + 0x10]
mov ebx, ecx
call fcn.100ed090
mov ebx, dword [ebp + 0xc]
add esp, 4
jmp 0x100ed5a9
movzx edi, byte [edi]
mov eax, ecx
call fcn.100ecf70
test eax, eax
jne 0x100ed5c2
mov al, byte [esi]
cmp al, 0x2a
je 0x100ed5bf
cmp al, 0x3f
je 0x100ed5bf
cmp al, 0x2d
jne 0x100ed6b2
inc esi
jmp 0x100ed5f9
movsx eax, byte [esi]
add eax, 0xffffffd6
cmp eax, 0x15
ja case.0x100ed5d4.44
movzx ecx, byte [eax + 0x100ed784]
jmp dword [ecx*4 + 0x100ed770]
mov edx, dword [ebp + 8]
inc esi
push esi
inc ebx
push ebx
push edx
call fcn.100ed3f0
add esp, 0xc
test eax, eax
jne 0x100ed6fd
jmp 0x100ed5f9
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 0x100ed421
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 0x100ed63d
push 0xfffffffffffffffe
add ebx, 2
push ebx
call fcn.100ed2c0
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.100ed2c0
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.100ed300
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.100de760
mov ecx, dword [esi + 0x10]
push str.malformed_pattern__missing___
call fcn.100de760
mov ecx, dword [esi + 0x10]
push str.malformed_pattern__ends_with____
call fcn.100de760
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.100ed180
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.100ed220
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