Function at 0x4d4ec0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x61094c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], edx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x18], ebx
push esi
mov esi, eax
mov dword [ebp - 8], esi
push edi
test ecx, ecx
je 0x4d51f8
test eax, eax
je 0x4d51f8
cmp ecx, eax
je 0x4d51f8
mov bl, byte [ecx]
xor edi, edi
inc ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], edi
mov eax, 1
mov dword [ebp - 0x10], eax
mov edx, 0x80
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xc], ecx
test bl, bl
je 0x4d51e5
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x30], eax
cmp edi, dword [ebp - 0x18]
mov dword [ebp - 0x10], 0
cmove eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
cmp bl, 0x3a
jne 0x4d4fc1
mov ecx, dword [ebp - 0x14]
test dl, dl
jns 0x4d5075
test ecx, ecx
jne 0x4d5075
test eax, eax
je 0x4d4fb6
mov byte [esi], cl
mov ecx, esi
sub ecx, edi
cmp ecx, dword [ebp - 0x2c]
jb 0x4d51f8
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x18]
mov esi, dword [ebp - 8]
cmp ecx, eax
ja 0x4d51f8
sub eax, ecx
inc eax
push eax
push ecx
call fcn.0056abfb
push eax
call fcn.004d5270
add esp, 0xc
cmp edi, 4
jne 0x4d4fb3
push edi
lea eax, [esi - 4]
push eax
push str.file
call fcn.0056d0f0
mov ecx, dword [ebp - 0x28]
add esp, 0xc
test eax, eax
cmove ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x1c]
lea ecx, [edi + 1]
mov dword [ebp - 0x14], ecx
jmp 0x4d5075
cmp bl, 0x25
jne 0x4d50a4
test dl, 4
je 0x4d5072
mov cl, byte [ecx]
test cl, cl
je 0x4d51e5
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x4d4fed
movzx eax, cl
sub ax, 0x30
jmp 0x4d500f
lea eax, [ecx - 0x41]
cmp al, 5
ja 0x4d4ffd
movzx eax, cl
sub ax, 0x37
jmp 0x4d500f
lea eax, [ecx - 0x61]
cmp al, 5
ja 0x4d51b6
movzx eax, cl
sub ax, 0x57
movzx ebx, ax
test bx, bx
js 0x4d51b6
mov eax, dword [ebp - 0x24]
shl bl, 4
mov cl, byte [eax + 1]
test cl, cl
je 0x4d51e2
add eax, 2
mov dword [ebp - 0xc], eax
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x4d5042
movzx eax, cl
sub ax, 0x30
jmp 0x4d5064
lea eax, [ecx - 0x41]
cmp al, 5
ja 0x4d5052
movzx eax, cl
sub ax, 0x37
jmp 0x4d5064
lea eax, [ecx - 0x61]
cmp al, 5
ja 0x4d51b6
movzx eax, cl
sub ax, 0x57
movzx eax, ax
test ax, ax
js 0x4d51b6
add bl, al
mov ecx, dword [ebp - 0x14]
mov eax, edx
and al, 0x82
cmp al, 0x80
jne 0x4d50f6
cmp bl, 0x5c
jne 0x4d50be
test ecx, ecx
jne 0x4d508e
test edx, 0x100
je 0x4d50f6
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4d50f9
cmp dword [ebp - 0x28], 0
je 0x4d50a0
cmp edi, 7
jae 0x4d50f9
mov bl, 0x2f
jmp 0x4d50f9
cmp bl, 0x3f
je 0x4d50ae
cmp bl, 0x23
jne 0x4d5072
mov ecx, dword [ebp - 0x14]
test dl, 0x20
je 0x4d5075
or edx, 2
mov dword [ebp - 0x1c], edx
jmp 0x4d5075
cmp bl, 0x2e
jne 0x4d50f6
test edi, edi
je 0x4d50f6
test dl, 8
jne 0x4d50f6
push ecx
push edx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
lea edx, [esi - 1]
lea ecx, [ebp - 8]
call fcn.004d4dc0
mov edi, dword [ebp - 0x20]
add esp, 0x14
mov esi, dword [ebp - 8]
test eax, eax
jne 0x4d519b
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
movzx eax, bl
mov dword [ebp - 0x24], eax
add eax, 0xffffffe0
cmp eax, 0x5d
ja case.0x4d510e.33
movzx eax, byte [eax + 0x4d520c]
jmp dword [eax*4 + 0x4d5204]
lea eax, [ebx - 0x20]
cmp al, 0x5e
jbe 0x4d518d
test dl, 2
jne 0x4d518d
test dl, 0x10
je 0x4d512b
cmp bl, 0x20
jne 0x4d518d
test dl, 8
je 0x4d5135
cmp bl, 0x2e
je 0x4d518d
test dl, 0x40
jne 0x4d513f
cmp bl, 0x25
je 0x4d518d
mov edx, dword [ebp - 0x18]
lea eax, [edx - 3]
cmp edi, eax
jb 0x4d5153
xor edx, edx
add edi, 2
mov dword [ebp - 0x10], edx
jmp 0x4d5197
test ecx, ecx
je 0x4d5188
mov byte [esi], 0x25
lea ecx, [esi + 1]
cmp bl, 0x10
jae 0x4d5166
mov byte [ecx], 0x30
inc ecx
mov eax, dword [ebp - 0x2c]
add eax, edx
push 0x10
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x24]
call fcn.00569569
push eax
call fcn.004d5270
add esp, 0x14
add esi, 3
mov dword [ebp - 8], esi
add edi, 2
jmp 0x4d5197
test ecx, ecx
je 0x4d5197
mov byte [esi], bl
inc esi
mov dword [ebp - 8], esi
inc edi
mov dword [ebp - 0x20], edi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bl, byte [ecx]
inc ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x24], ecx
test bl, bl
je 0x4d51e5
mov edx, dword [ebp - 0x1c]
jmp 0x4d4f30
xor edx, edx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4d51c7
lea eax, [edi + 1]
mov dword [ecx], eax
lea ecx, [edi + 1]
xor eax, eax
cmp ecx, ebx
mov ecx, dword [ebp - 4]
pop edi
cmovbe eax, edx
xor ecx, ebp
pop esi
pop ebx
call fcn.00553d2a
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
test eax, eax
je 0x4d51b8
mov ebx, dword [ebp - 0x18]
cmp edi, ebx
jae 0x4d51bb
mov byte [esi], 0
jmp 0x4d51bb
push 0x80004005
call fcn.0042d7b0
nop
sbb al, 0x51
dec ebp
add byte [0x4d51], dl
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add dword [ecx], eax
add dword [ecx], eax
add byte [eax], 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 byte [eax], al
add byte [eax], al
add byte [eax], 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 [ecx], eax
add byte [eax], al
add byte [eax], al
add dword [eax], 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 [ecx], eax
add dword [ecx], eax
add byte [eax], al
add ah, cl
int3