Function at 0x4e6828
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
movzx ecx, byte [edx]
mov eax, ecx
push 4
pop ebx
cmp eax, 0x2e
jg 0x4e6948
je 0x4e692e
sub eax, 9
cmp eax, 0x24
ja case.0x4e685b.11
movzx eax, byte [eax + 0x4e6d88]
jmp dword [eax*4 + 0x4e6d54]
movzx eax, byte [edx + 1]
xor esi, esi
inc esi
test byte [eax + 0x5b3af8], 1
je 0x4e6880
inc esi
movzx ecx, byte [esi + edx]
test byte [ecx + 0x5b3af8], 1
jne 0x4e6872
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x97
mov eax, esi
jmp 0x4e6d4d
cmp byte [edx + 1], 0x2d
jne 0x4e68af
movzx eax, byte [edx + 2]
push 2
pop esi
jmp 0x4e68a9
cmp eax, 0xa
je 0x4e6880
inc esi
movzx eax, byte [esi + edx]
test eax, eax
jne 0x4e689f
jmp 0x4e6880
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x5a
xor eax, eax
inc eax
jmp 0x4e6d4d
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x16
jmp 0x4e68b8
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x17
jmp 0x4e68b8
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x59
jmp 0x4e68b8
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x5b
jmp 0x4e68b8
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x5d
jmp 0x4e68b8
cmp byte [edx + 1], 0x3d
mov eax, dword [ebp + 0xc]
push 2
je 0x4e690d
mov dword [eax], 0x96
jmp 0x4e6b04
mov dword [eax], 0x4e
jmp 0x4e6b04
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x1a
jmp 0x4e68b8
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x55
jmp 0x4e68b8
movzx eax, byte [edx + 1]
test byte [eax + 0x5b3af8], bl
jne 0x4e699a
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x7a
jmp 0x4e68b8
cmp eax, 0x3f
jg 0x4e6b66
je 0x4e6b35
cmp eax, 0x3b
jg 0x4e6a96
je 0x4e6a89
cmp eax, 0x2f
je 0x4e6a43
jle case.0x4e685b.11
cmp eax, 0x39
jle 0x4e699a
cmp eax, 0x3a
je case.0x4e685b.35
test byte [ecx + 0x5b3af8], 0x46
jne 0x4e6cad
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x96
jmp 0x4e68b8
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [edi], 0x84
movzx eax, byte [edx]
jmp 0x4e69af
inc esi
movzx eax, byte [esi + edx]
test byte [eax + 0x5b3af8], bl
jne 0x4e69aa
cmp byte [esi + edx], 0x2e
jne 0x4e69d0
inc esi
movzx eax, byte [esi + edx]
test byte [eax + 0x5b3af8], bl
jne 0x4e69bd
mov dword [edi], 0x85
mov al, byte [esi + edx]
cmp al, 0x65
je 0x4e69db
cmp al, 0x45
jne 0x4e6a19
mov cl, byte [esi + edx + 1]
movzx eax, cl
test byte [eax + 0x5b3af8], bl
jne 0x4e6a01
cmp cl, 0x2b
je 0x4e69f4
cmp cl, 0x2d
jne 0x4e6a19
movzx eax, byte [esi + edx + 2]
test byte [eax + 0x5b3af8], bl
je 0x4e6a19
add esi, 2
jmp 0x4e6a07
inc esi
movzx eax, byte [esi + edx]
test byte [eax + 0x5b3af8], bl
jne 0x4e6a06
mov dword [edi], 0x85
movzx eax, byte [esi + edx]
test byte [eax + 0x5b3af8], 0x46
je 0x4e6889
inc esi
mov dword [edi], 0x96
movzx ecx, byte [esi + edx]
test byte [ecx + 0x5b3af8], 0x46
jne 0x4e6a2a
jmp 0x4e6889
cmp byte [edx + 1], 0x2a
jne 0x4e6a7b
mov cl, byte [edx + 2]
test cl, cl
je 0x4e6a7b
push 3
pop eax
movzx ecx, cl
cmp ecx, 0x2a
jne 0x4e6a61
cmp byte [eax + edx], 0x2f
je 0x4e6a6c
movzx ecx, byte [eax + edx]
test ecx, ecx
je 0x4e6a6d
inc eax
jmp 0x4e6a56
inc eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x97
jmp 0x4e6d4d
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x5c
jmp 0x4e68b8
mov ecx, dword [ebp + 0xc]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x4e6d4d
sub eax, 0x3c
je 0x4e6af0
sub eax, 1
je 0x4e6ad8
sub eax, 1
jne case.0x4e685b.11
movzx eax, byte [edx + 1]
cmp eax, 0x3d
jne 0x4e6abd
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x53
jmp 0x4e6b02
cmp eax, 0x3e
mov eax, dword [ebp + 0xc]
jne 0x4e6acd
mov dword [eax], 0x58
jmp 0x4e6b02
mov dword [eax], 0x50
jmp 0x4e68b8
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x4f
xor eax, eax
cmp byte [edx + 1], 0x3d
sete al
inc eax
jmp 0x4e6d4d
movzx eax, byte [edx + 1]
cmp eax, 0x3d
jne 0x4e6b0a
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x51
push 2
pop eax
jmp 0x4e6d4d
cmp eax, 0x3e
jne 0x4e6b1a
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x4e
jmp 0x4e6b02
cmp eax, 0x3c
mov eax, dword [ebp + 0xc]
jne 0x4e6b2a
mov dword [eax], 0x57
jmp 0x4e6b02
mov dword [eax], 0x52
jmp 0x4e68b8
mov eax, dword [ebp + 0xc]
xor esi, esi
push 4
pop ebx
inc esi
mov dword [eax], 0x87
movzx eax, byte [edx + 1]
test byte [eax + 0x5b3af8], bl
je 0x4e6889
inc esi
movzx ecx, byte [esi + edx]
test byte [ecx + 0x5b3af8], bl
jne 0x4e6b54
jmp 0x4e6889
sub eax, 0x40
je case.0x4e685b.35
sub eax, 0x18
je 0x4e6c49
sub eax, 3
je 0x4e6c1e
sub eax, 5
je case.0x4e685b.34
sub eax, 0x18
je 0x4e6c49
sub eax, 4
je 0x4e6bac
dec eax
sub eax, 1
jne case.0x4e685b.11
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x60
jmp 0x4e68b8
cmp byte [edx + 1], 0x7c
mov eax, dword [ebp + 0xc]
je 0x4e6bc0
mov dword [eax], 0x56
jmp 0x4e68b8
mov dword [eax], 0x5e
jmp 0x4e6b02
movzx edi, byte [edx + 1]
xor esi, esi
inc esi
jmp 0x4e6be7
cmp edi, ecx
jne 0x4e6be2
movzx eax, byte [edx + esi + 1]
cmp eax, ecx
jne 0x4e6beb
inc esi
inc esi
movzx edi, byte [esi + edx]
test edi, edi
jne 0x4e6bd4
cmp edi, 0x27
jne 0x4e6c01
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x61
lea eax, [esi + 1]
jmp 0x4e6d4d
test edi, edi
je 0x4e6c10
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x1b
jmp 0x4e6bf9
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x96
jmp 0x4e6889
xor eax, eax
inc eax
jmp 0x4e6c2c
movzx ecx, byte [eax + edx]
test ecx, ecx
je 0x4e6c31
inc eax
cmp ecx, 0x5d
jne 0x4e6c23
cmp ecx, 0x5d
mov edx, 0x96
mov ecx, dword [ebp + 0xc]
push 0x1b
pop esi
cmove edx, esi
mov dword [ecx], edx
jmp 0x4e6d4d
cmp byte [edx + 1], 0x27
jne case.0x4e685b.11
mov esi, dword [ebp + 0xc]
push 2
pop ecx
mov dword [esi], 0x86
movzx eax, byte [edx + 2]
jmp 0x4e6c6a
inc ecx
movzx eax, byte [ecx + edx]
test byte [eax + 0x5b3af8], 8
jne 0x4e6c65
cmp byte [ecx + edx], 0x27
jne 0x4e6c89
mov eax, ecx
and eax, 0x80000001
jns 0x4e6c87
dec eax
or eax, 0xfffffffe
inc eax
je 0x4e6c9d
mov dword [esi], 0x96
jmp 0x4e6c96
cmp al, 0x27
je 0x4e6c9d
inc ecx
mov al, byte [ecx + edx]
test al, al
jne 0x4e6c91
cmp byte [ecx + edx], 0
je 0x4e6d4b
inc ecx
jmp 0x4e6d4b
movzx eax, byte [edx + 1]
xor esi, esi
inc esi
jmp 0x4e6cbb
inc esi
movzx eax, byte [esi + edx]
test byte [eax + 0x5b3af8], 0x46
jne 0x4e6cb6
push esi
push edx
call fcn.004d2507
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x4e6889
mov edi, dword [ebp + 0xc]
xor ecx, ecx
xor esi, esi
inc ecx
mov dword [edi], 0x87
movzx ebx, byte [edx + 1]
test ebx, ebx
je 0x4e6d45
movzx eax, bl
test byte [eax + 0x5b3af8], 0x46
je 0x4e6cfc
inc esi
jmp 0x4e6d11
cmp ebx, 0x28
jne 0x4e6d05
test esi, esi
jg 0x4e6d1c
cmp ebx, 0x3a
jne 0x4e6d41
cmp byte [edx + ecx + 1], bl
jne 0x4e6d41
inc ecx
inc ecx
movzx ebx, byte [ecx + edx]
test ebx, ebx
jne 0x4e6ced
jmp 0x4e6d41
inc ecx
movzx ebx, byte [ecx + edx]
test ebx, ebx
je 0x4e6d33
test byte [ebx + 0x5b3af8], 1
jne 0x4e6d33
cmp ebx, 0x29
jne 0x4e6d1c
cmp ebx, 0x29
jne 0x4e6d3b
inc ecx
jmp 0x4e6d41
mov dword [edi], 0x96
test esi, esi
jne 0x4e6d4b
mov dword [edi], 0x96
mov eax, ecx
pop edi
pop esi
pop ebx
pop ebp
ret