Function at 0x4d89d9
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 0x4d8af9
je 0x4d8adf
sub eax, 9
cmp eax, 0x24
ja case.0x4d8a0c.11
movzx eax, byte [eax + 0x4d8f39]
jmp dword [eax*4 + 0x4d8f05]
movzx eax, byte [edx + 1]
xor esi, esi
inc esi
test byte [eax + 0x59f6d0], 1
je 0x4d8a31
inc esi
movzx ecx, byte [esi + edx]
test byte [ecx + 0x59f6d0], 1
jne 0x4d8a23
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x97
mov eax, esi
jmp 0x4d8efe
cmp byte [edx + 1], 0x2d
jne 0x4d8a60
movzx eax, byte [edx + 2]
push 2
pop esi
jmp 0x4d8a5a
cmp eax, 0xa
je 0x4d8a31
inc esi
movzx eax, byte [esi + edx]
test eax, eax
jne 0x4d8a50
jmp 0x4d8a31
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x5a
xor eax, eax
inc eax
jmp 0x4d8efe
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x16
jmp 0x4d8a69
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x17
jmp 0x4d8a69
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x59
jmp 0x4d8a69
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x5b
jmp 0x4d8a69
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x5d
jmp 0x4d8a69
cmp byte [edx + 1], 0x3d
mov eax, dword [ebp + 0xc]
push 2
je 0x4d8abe
mov dword [eax], 0x96
jmp 0x4d8cb5
mov dword [eax], 0x4e
jmp 0x4d8cb5
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x1a
jmp 0x4d8a69
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x55
jmp 0x4d8a69
movzx eax, byte [edx + 1]
test byte [eax + 0x59f6d0], bl
jne 0x4d8b4b
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x7a
jmp 0x4d8a69
cmp eax, 0x3f
jg 0x4d8d17
je 0x4d8ce6
cmp eax, 0x3b
jg 0x4d8c47
je 0x4d8c3a
cmp eax, 0x2f
je 0x4d8bf4
jle case.0x4d8a0c.11
cmp eax, 0x39
jle 0x4d8b4b
cmp eax, 0x3a
je case.0x4d8a0c.35
test byte [ecx + 0x59f6d0], 0x46
jne 0x4d8e5e
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x96
jmp 0x4d8a69
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [edi], 0x84
movzx eax, byte [edx]
jmp 0x4d8b60
inc esi
movzx eax, byte [esi + edx]
test byte [eax + 0x59f6d0], bl
jne 0x4d8b5b
cmp byte [esi + edx], 0x2e
jne 0x4d8b81
inc esi
movzx eax, byte [esi + edx]
test byte [eax + 0x59f6d0], bl
jne 0x4d8b6e
mov dword [edi], 0x85
mov al, byte [esi + edx]
cmp al, 0x65
je 0x4d8b8c
cmp al, 0x45
jne 0x4d8bca
mov cl, byte [esi + edx + 1]
movzx eax, cl
test byte [eax + 0x59f6d0], bl
jne 0x4d8bb2
cmp cl, 0x2b
je 0x4d8ba5
cmp cl, 0x2d
jne 0x4d8bca
movzx eax, byte [esi + edx + 2]
test byte [eax + 0x59f6d0], bl
je 0x4d8bca
add esi, 2
jmp 0x4d8bb8
inc esi
movzx eax, byte [esi + edx]
test byte [eax + 0x59f6d0], bl
jne 0x4d8bb7
mov dword [edi], 0x85
movzx eax, byte [esi + edx]
test byte [eax + 0x59f6d0], 0x46
je 0x4d8a3a
inc esi
mov dword [edi], 0x96
movzx ecx, byte [esi + edx]
test byte [ecx + 0x59f6d0], 0x46
jne 0x4d8bdb
jmp 0x4d8a3a
cmp byte [edx + 1], 0x2a
jne 0x4d8c2c
mov cl, byte [edx + 2]
test cl, cl
je 0x4d8c2c
push 3
pop eax
movzx ecx, cl
cmp ecx, 0x2a
jne 0x4d8c12
cmp byte [eax + edx], 0x2f
je 0x4d8c1d
movzx ecx, byte [eax + edx]
test ecx, ecx
je 0x4d8c1e
inc eax
jmp 0x4d8c07
inc eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x97
jmp 0x4d8efe
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x5c
jmp 0x4d8a69
mov ecx, dword [ebp + 0xc]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x4d8efe
sub eax, 0x3c
je 0x4d8ca1
sub eax, 1
je 0x4d8c89
sub eax, 1
jne case.0x4d8a0c.11
movzx eax, byte [edx + 1]
cmp eax, 0x3d
jne 0x4d8c6e
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x53
jmp 0x4d8cb3
cmp eax, 0x3e
mov eax, dword [ebp + 0xc]
jne 0x4d8c7e
mov dword [eax], 0x58
jmp 0x4d8cb3
mov dword [eax], 0x50
jmp 0x4d8a69
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x4f
xor eax, eax
cmp byte [edx + 1], 0x3d
sete al
inc eax
jmp 0x4d8efe
movzx eax, byte [edx + 1]
cmp eax, 0x3d
jne 0x4d8cbb
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x51
push 2
pop eax
jmp 0x4d8efe
cmp eax, 0x3e
jne 0x4d8ccb
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x4e
jmp 0x4d8cb3
cmp eax, 0x3c
mov eax, dword [ebp + 0xc]
jne 0x4d8cdb
mov dword [eax], 0x57
jmp 0x4d8cb3
mov dword [eax], 0x52
jmp 0x4d8a69
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 + 0x59f6d0], bl
je 0x4d8a3a
inc esi
movzx ecx, byte [esi + edx]
test byte [ecx + 0x59f6d0], bl
jne 0x4d8d05
jmp 0x4d8a3a
sub eax, 0x40
je case.0x4d8a0c.35
sub eax, 0x18
je 0x4d8dfa
sub eax, 3
je 0x4d8dcf
sub eax, 5
je case.0x4d8a0c.34
sub eax, 0x18
je 0x4d8dfa
sub eax, 4
je 0x4d8d5d
dec eax
sub eax, 1
jne case.0x4d8a0c.11
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x60
jmp 0x4d8a69
cmp byte [edx + 1], 0x7c
mov eax, dword [ebp + 0xc]
je 0x4d8d71
mov dword [eax], 0x56
jmp 0x4d8a69
mov dword [eax], 0x5e
jmp 0x4d8cb3
movzx edi, byte [edx + 1]
xor esi, esi
inc esi
jmp 0x4d8d98
cmp edi, ecx
jne 0x4d8d93
movzx eax, byte [edx + esi + 1]
cmp eax, ecx
jne 0x4d8d9c
inc esi
inc esi
movzx edi, byte [esi + edx]
test edi, edi
jne 0x4d8d85
cmp edi, 0x27
jne 0x4d8db2
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x61
lea eax, [esi + 1]
jmp 0x4d8efe
test edi, edi
je 0x4d8dc1
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x1b
jmp 0x4d8daa
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x96
jmp 0x4d8a3a
xor eax, eax
inc eax
jmp 0x4d8ddd
movzx ecx, byte [eax + edx]
test ecx, ecx
je 0x4d8de2
inc eax
cmp ecx, 0x5d
jne 0x4d8dd4
cmp ecx, 0x5d
mov edx, 0x96
mov ecx, dword [ebp + 0xc]
push 0x1b
pop esi
cmove edx, esi
mov dword [ecx], edx
jmp 0x4d8efe
cmp byte [edx + 1], 0x27
jne case.0x4d8a0c.11
mov esi, dword [ebp + 0xc]
push 2
pop ecx
mov dword [esi], 0x86
movzx eax, byte [edx + 2]
jmp 0x4d8e1b
inc ecx
movzx eax, byte [ecx + edx]
test byte [eax + 0x59f6d0], 8
jne 0x4d8e16
cmp byte [ecx + edx], 0x27
jne 0x4d8e3a
mov eax, ecx
and eax, 0x80000001
jns 0x4d8e38
dec eax
or eax, 0xfffffffe
inc eax
je 0x4d8e4e
mov dword [esi], 0x96
jmp 0x4d8e47
cmp al, 0x27
je 0x4d8e4e
inc ecx
mov al, byte [ecx + edx]
test al, al
jne 0x4d8e42
cmp byte [ecx + edx], 0
je 0x4d8efc
inc ecx
jmp 0x4d8efc
movzx eax, byte [edx + 1]
xor esi, esi
inc esi
jmp 0x4d8e6c
inc esi
movzx eax, byte [esi + edx]
test byte [eax + 0x59f6d0], 0x46
jne 0x4d8e67
push esi
push edx
call fcn.004c46df
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x4d8a3a
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 0x4d8ef6
movzx eax, bl
test byte [eax + 0x59f6d0], 0x46
je 0x4d8ead
inc esi
jmp 0x4d8ec2
cmp ebx, 0x28
jne 0x4d8eb6
test esi, esi
jg 0x4d8ecd
cmp ebx, 0x3a
jne 0x4d8ef2
cmp byte [edx + ecx + 1], bl
jne 0x4d8ef2
inc ecx
inc ecx
movzx ebx, byte [ecx + edx]
test ebx, ebx
jne 0x4d8e9e
jmp 0x4d8ef2
inc ecx
movzx ebx, byte [ecx + edx]
test ebx, ebx
je 0x4d8ee4
test byte [ebx + 0x59f6d0], 1
jne 0x4d8ee4
cmp ebx, 0x29
jne 0x4d8ecd
cmp ebx, 0x29
jne 0x4d8eec
inc ecx
jmp 0x4d8ef2
mov dword [edi], 0x96
test esi, esi
jne 0x4d8efc
mov dword [edi], 0x96
mov eax, ecx
pop edi
pop esi
pop ebx
pop ebp
ret