Function at 0x51e9e0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebx]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
xor esi, esi
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
cmp dl, 0x28
jne 0x51ed53
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx + 1]
cmp al, 0x3f
jne 0x51ea3b
mov edx, dword [ebp - 0x10]
mov cl, byte [edx + 2]
cmp cl, 0x7c
jne 0x51ea3b
add dword [ebp - 0x10], 3
mov esi, 1
jmp 0x51ed53
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 1]
cmp al, 0x3f
je 0x51ea6a
cmp al, 0x2a
je 0x51ea6a
inc dword [ebx]
mov edx, dword [ebp - 0xc]
test edx, edx
jne 0x51ea62
mov ecx, dword [ebx]
mov eax, dword [ebp + 0x10]
cmp ecx, eax
jne 0x51ea62
mov eax, dword [ebx]
jmp 0x51ed6b
inc dword [ebp - 0x10]
jmp 0x51ed53
mov edx, dword [ebp - 0x10]
mov cl, byte [edx + 2]
cmp cl, 0x28
jne 0x51eaaf
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
mov dl, byte [eax + 1]
cmp dl, 0x3f
je 0x51ed53
jmp 0x51ea8d
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
test al, al
je 0x51ea9a
cmp al, 0x29
jne 0x51ea8a
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
test cl, cl
je 0x51ed53
inc dword [ebp - 0x10]
jmp 0x51ed53
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
cmp dl, 0x50
jne 0x51eac0
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
cmp al, 0x3c
jne 0x51eadf
mov edx, dword [ebp - 0x10]
mov cl, byte [edx + 1]
cmp cl, 0x21
je 0x51eadf
mov edx, dword [ebp - 0x10]
mov cl, byte [edx + 1]
cmp cl, 0x3d
jne 0x51eae7
cmp al, 0x27
jne 0x51ed53
inc dword [ebx]
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x51eb00
mov eax, dword [ebx]
mov edx, dword [ebp + 0x10]
cmp eax, edx
jne 0x51eb00
mov eax, dword [ebx]
jmp 0x51ed6b
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
inc dword [ebp - 0x10]
cmp eax, 0x3c
jne 0x51eb14
mov eax, 0x3e
mov edx, dword [ebp - 0x10]
jmp 0x51eb1c
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx]
cmp eax, ecx
jne 0x51eb19
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x51ed53
mov eax, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp + 0x10]
cmp eax, ecx
jne 0x51ed53
mov eax, dword [ebp + 0x10]
push eax
push edx
mov edx, dword [ebp - 0xc]
push edx
call sub.MSVCRT.DLL_strncmp
add esp, 0xc
test eax, eax
jne 0x51ed53
mov eax, dword [ebx]
jmp 0x51ed6b
cmp al, 0x5c
jne 0x51ebbd
inc dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
test cl, cl
je 0x51ed60
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
cmp dl, 0x51
jne 0x51ed50
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
test al, al
je 0x51eb9e
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
cmp cl, 0x5c
jne 0x51eb88
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
test dl, dl
je 0x51ed60
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
cmp al, 0x45
je 0x51ed50
jmp 0x51eb88
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
cmp cl, 0x5b
jne 0x51eca4
xor edi, edi
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
cmp eax, 0x5c
jne 0x51ec09
mov edx, dword [ebp - 0x10]
mov cl, byte [edx + 1]
cmp cl, 0x45
jne 0x51ebeb
inc dword [ebp - 0x10]
jmp 0x51ebcd
push 3
push 0x557171
mov eax, dword [ebp - 0x10]
inc eax
push eax
call sub.MSVCRT.DLL_strncmp
add esp, 0xc
test eax, eax
jne 0x51ec19
add dword [ebp - 0x10], 3
jmp 0x51ebcd
test edi, edi
jne 0x51ec19
cmp eax, 0x5e
jne 0x51ec19
mov edi, 1
jmp 0x51ebcd
mov eax, dword [ebp - 0x10]
mov dl, byte [eax + 1]
cmp dl, 0x5d
jne 0x51ec92
mov ecx, dword [ebp - 8]
test byte [ecx + 0x43], 2
jne 0x51ec92
inc dword [ebp - 0x10]
jmp 0x51ec92
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x51ec43
or eax, 0xffffffff
jmp 0x51ed6b
cmp al, 0x5c
jne 0x51ec92
inc dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
test cl, cl
je 0x51ed60
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
cmp dl, 0x51
jne 0x51ec92
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
test al, al
je 0x51ec77
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
cmp cl, 0x5c
jne 0x51ec61
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
test dl, dl
je 0x51ed60
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
cmp al, 0x45
je 0x51ec92
jmp 0x51ec61
inc dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
cmp cl, 0x5d
jne 0x51ec32
jmp 0x51ed50
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x51ecd9
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
cmp cl, 0x23
jne 0x51ecd9
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
test dl, dl
je 0x51ecca
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
cmp al, 0xa
jne 0x51ecb5
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
test cl, cl
je 0x51ed60
jmp 0x51ed50
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
cmp dl, 0x28
jne 0x51ed09
mov ecx, dword [ebp + 0x10]
push ecx
mov eax, dword [ebp + 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0051e9e0
test eax, eax
jg 0x51ed6b
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
test dl, dl
je 0x51ed60
jmp 0x51ed50
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
cmp al, 0x29
jne 0x51ed31
test esi, esi
je 0x51ed24
mov edx, dword [ebx]
mov ecx, dword [ebp - 0x18]
cmp edx, ecx
jge 0x51ed24
mov eax, dword [ebp - 0x18]
mov dword [ebx], eax
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx], ecx
or eax, 0xffffffff
jmp 0x51ed6b
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
cmp cl, 0x7c
jne 0x51ed50
test esi, esi
je 0x51ed50
mov eax, dword [ebx]
mov edx, dword [ebp - 0x18]
cmp eax, edx
jle 0x51ed4b
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebx], ecx
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x51eb66
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx], ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc