Function at 0x4d9163
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov eax, ecx
mov esi, edx
mov dword [ebp - 0xc], esi
push edi
test eax, eax
je 0x4d94a0
test esi, esi
je 0x4d94a0
cmp eax, esi
je 0x4d94a0
xor edi, edi
mov ecx, 1
xor edx, edx
mov dword [ebp - 0x18], edi
mov ebx, esi
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x24], ebx
mov bl, byte [eax]
test bl, bl
je 0x4d9479
mov edx, dword [ebp - 0x10]
inc eax
cmp edi, 0x824
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], eax
cmove ecx, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ecx
cmp bl, 0x3a
jne 0x4d9259
test dl, dl
jns 0x4d930e
cmp dword [ebp - 8], 0
jne 0x4d930e
test ecx, ecx
je 0x4d924e
mov edx, dword [ebp - 0x24]
mov ecx, esi
sub ecx, edi
mov byte [esi], 0
cmp ecx, edx
jb 0x4d94a0
lea eax, [edx + 0x824]
cmp ecx, eax
ja 0x4d94a0
sub eax, ecx
inc eax
push eax
push ecx
call dword [0x681724]
push eax
call fcn.004c3083
add esp, 0xc
cmp edi, 4
jne 0x4d924b
push edi
lea eax, [esi - 4]
push eax
push 0x6eb32c
call dword [0x681720]
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
test eax, eax
mov eax, 1
cmove ecx, eax
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x10]
lea ecx, [edi + 1]
mov dword [ebp - 8], ecx
jmp 0x4d9311
cmp bl, 0x25
jne 0x4d9340
test dl, 4
je 0x4d930e
mov cl, byte [eax]
test cl, cl
je 0x4d9476
inc eax
mov dword [ebp - 0x20], eax
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x4d9289
movzx eax, cl
sub ax, 0x30
jmp 0x4d92ab
lea eax, [ecx - 0x41]
cmp al, 5
ja 0x4d9299
movzx eax, cl
sub ax, 0x37
jmp 0x4d92ab
lea eax, [ecx - 0x61]
cmp al, 5
ja 0x4d9472
movzx eax, cl
sub ax, 0x57
movzx ebx, ax
test bx, bx
js 0x4d9472
mov eax, dword [ebp - 0x20]
shl bl, 4
mov cl, byte [eax]
test cl, cl
je 0x4d9476
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x4d92de
movzx eax, cl
sub ax, 0x30
jmp 0x4d9300
lea eax, [ecx - 0x41]
cmp al, 5
ja 0x4d92ee
movzx eax, cl
sub ax, 0x37
jmp 0x4d9300
lea eax, [ecx - 0x61]
cmp al, 5
ja 0x4d946b
movzx eax, cl
sub ax, 0x57
movzx eax, ax
test ax, ax
js 0x4d946b
add bl, al
mov ecx, dword [ebp - 8]
mov eax, edx
and al, 0x82
cmp al, 0x80
jne 0x4d9398
cmp bl, 0x5c
jne 0x4d935a
test ecx, ecx
jne 0x4d932a
test edx, 0x100
je 0x4d9398
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4d939b
cmp dword [ebp - 0x1c], 0
je 0x4d933c
cmp edi, 7
jae 0x4d939b
mov bl, 0x2f
jmp 0x4d939b
cmp bl, 0x3f
je 0x4d934a
cmp bl, 0x23
jne 0x4d930e
mov ecx, dword [ebp - 8]
test dl, 0x20
je 0x4d9311
or edx, 2
mov dword [ebp - 0x10], edx
jmp 0x4d9311
cmp bl, 0x2e
jne 0x4d9398
test edi, edi
je 0x4d9398
test dl, 8
jne 0x4d9398
push ecx
push edx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
lea edx, [esi - 1]
lea ecx, [ebp - 0xc]
call fcn.004d9063
mov esi, dword [ebp - 0xc]
add esp, 0x14
mov edi, dword [ebp - 0x18]
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x4d9463
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 4]
movzx eax, bl
mov dword [ebp - 0x18], eax
add eax, 0xffffffe0
cmp eax, 0x5d
ja case.default.0x4d93b0
movzx eax, byte [eax + 0x457a90]
jmp dword [eax*4 + 0x457a88]
lea eax, [ebx - 0x20]
cmp al, 0x5e
jbe 0x4d9452
test dl, 2
jne 0x4d9452
test dl, 0x10
je 0x4d93d5
cmp bl, 0x20
jne 0x4d9452
test dl, 8
je 0x4d93df
cmp bl, 0x2e
je 0x4d9452
test dl, 0x40
jne 0x4d93e9
cmp bl, 0x25
je 0x4d9452
cmp edi, 0x821
jb 0x4d9407
mov eax, dword [ebp - 0x20]
xor edx, edx
add edi, 2
mov dword [ebp - 4], edx
inc edi
mov ecx, edx
mov dword [ebp - 0x18], edi
jmp 0x4d91a8
test ecx, ecx
je 0x4d9440
mov byte [esi], 0x25
lea ecx, [esi + 1]
cmp bl, 0x10
jae 0x4d941a
mov byte [ecx], 0x30
inc ecx
mov eax, dword [ebp - 0x24]
add eax, 0x824
push 0x10
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x18]
call dword [0x681490]
push eax
call fcn.004c3083
add esp, 0x14
add esi, 3
mov dword [ebp - 0xc], esi
mov eax, dword [ebp - 0x20]
add edi, 2
mov ecx, dword [ebp - 4]
inc edi
mov dword [ebp - 0x18], edi
jmp 0x4d91a8
test ecx, ecx
je 0x4d945c
mov byte [esi], bl
inc esi
mov dword [ebp - 0xc], esi
mov eax, dword [ebp - 0x20]
inc edi
mov dword [ebp - 0x18], edi
mov ecx, dword [ebp - 4]
jmp 0x4d91a8
xor ecx, ecx
mov dword [ebp - 4], ecx
jmp 0x4d9479
xor edx, edx
jmp 0x4d948b
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
test ecx, ecx
je 0x4d948b
cmp edi, 0x824
jae 0x4d948b
mov byte [esi], 0
lea ecx, [edi + 1]
xor eax, eax
pop edi
cmp ecx, 0x824
pop esi
cmovbe eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004a3c43
nop
lahf
jns 0x4d94f3
add byte [ecx + edi*2 + 0x1000045], dl
add byte [eax], al
add byte [eax], al
add byte [ecx], al
add dword [ecx], eax
add dword [eax], eax
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [eax], eax
add byte [eax], al
add byte [ecx], al
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [eax], eax
add byte [eax], al
int3