Function at 0x4b7cf0
Capabilities:
Encode data using base64
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push edi
push esi
push ebx
mov eax, dword [0x4d8118]
cmp eax, dword [0x4d811c]
je 0x4b7d18
and eax, 0x3ff
movzx eax, byte [eax + 0x59e7f0]
jmp 0x4b8096
xor edi, edi
mov eax, dword [0x4d8178]
cmp dword [0x4d8144], 7
jne 0x4b7d2a
mov edi, eax
cmp eax, 0x51
jne 0x4b7e84
add esp, 0xfffffff4
mov eax, dword [ebp + 8]
push eax
call fcn.004b5b9c
mov ebx, eax
add esp, 0x10
cmp ebx, 0xffffffff
je 0x4b809c
cmp ebx, 0x5f
jne 0x4b7d5c
mov eax, 0x20
jmp 0x4b809c
cmp ebx, 0x3d
je 0x4b7d6a
cmp ebx, 0x3f
jne 0x4b8013
mov dword [0x4d8178], edi
cmp ebx, 0x20
jle 0x4b8013
add esp, 0xfffffff4
mov eax, dword [ebp + 8]
push eax
call fcn.004b5b9c
mov esi, eax
add esp, 0x10
cmp esi, 0xffffffff
je 0x4b809c
cmp esi, 0x20
jg 0x4b7da0
mov eax, esi
jmp 0x4b809c
cmp ebx, 0x3f
jne 0x4b7df0
cmp esi, 0x3d
jne 0x4b7dcc
mov dword [0x4d8170], edi
mov eax, dword [0x600cf0]
mov dword [0x4d814c], eax
add esp, 0xfffffff4
mov eax, dword [ebp + 8]
push eax
call fcn.004b5b9c
jmp 0x4b809c
mov dword [0x4d8178], 0x51
add esp, 0xfffffff8
mov eax, dword [ebp + 8]
push eax
push esi
call fcn.004b5bbc
mov eax, 0x3f
jmp 0x4b809c
add esp, 0xfffffff4
mov eax, dword [ebp + 8]
push eax
call fcn.004b5b9c
mov edi, eax
cmp edi, 0xffffffff
je 0x4b809c
mov dword [0x4d8178], 0x51
lea eax, [esi - 0x30]
cmp eax, 9
ja 0x4b7e20
mov edx, eax
shl edx, 4
jmp 0x4b7e42
lea eax, [esi - 0x41]
cmp eax, 5
ja 0x4b7e30
lea edx, [esi - 0x37]
shl edx, 4
jmp 0x4b7e42
lea eax, [esi - 0x61]
cmp eax, 5
ja 0x4b7e40
lea edx, [esi - 0x57]
shl edx, 4
jmp 0x4b7e42
xor edx, edx
lea eax, [edi - 0x30]
cmp eax, 9
ja 0x4b7e54
lea eax, [edi + edx - 0x30]
jmp 0x4b809c
lea eax, [edi - 0x41]
cmp eax, 5
ja 0x4b7e68
lea eax, [edi + edx - 0x37]
jmp 0x4b809c
lea eax, [edi - 0x61]
cmp eax, 5
ja 0x4b7e7c
lea eax, [edi + edx - 0x57]
jmp 0x4b809c
mov eax, edx
jmp 0x4b809c
cmp eax, 0x42
je 0x4b7ea4
mov dword [0x4d8178], 0
add esp, 0xfffffff4
mov eax, dword [ebp + 8]
push eax
call fcn.004b5b9c
jmp 0x4b809c
mov dword [0x4d8178], edi
jmp 0x4b7eb5
cmp ebx, 0xffffffff
je 0x4b8013
add esp, 0xfffffff4
mov eax, dword [ebp + 8]
push eax
call fcn.004b5b9c
mov ebx, eax
add esp, 0x10
cmp ebx, 0x20
jle 0x4b7eac
add esp, 0xfffffff4
mov eax, dword [ebp + 8]
push eax
call fcn.004b5b9c
mov esi, eax
add esp, 0x10
cmp esi, 0x20
jg 0x4b7f08
cmp esi, 0xffffffff
je 0x4b809c
cmp dword [0x4d8144], 7
je 0x4b7d98
mov dword [0x4d8170], 0
jmp 0x4b7d98
cmp ebx, 0x3f
jne 0x4b7f38
cmp esi, 0x3d
jne 0x4b7f38
mov dword [0x4d8170], 0
add esp, 0xfffffff4
mov eax, dword [ebp + 8]
push eax
call fcn.004b5b9c
mov ebx, eax
add esp, 0x10
cmp ebx, 0x20
je 0x4b7f1c
jmp 0x4b809c
add esp, 0xfffffff4
mov eax, dword [ebp + 8]
push eax
call fcn.004b5b9c
mov edi, eax
add esp, 0x10
cmp edi, 0x20
jg 0x4b7f74
cmp edi, 0xffffffff
je 0x4b809c
cmp dword [0x4d8144], 7
je 0x4b7f6a
mov dword [0x4d8170], 0
mov eax, edi
jmp 0x4b809c
add esp, 0xfffffff4
mov eax, dword [ebp + 8]
push eax
call fcn.004b5b9c
mov dword [ebp - 4], eax
add esp, 0x10
cmp eax, 0x20
jg 0x4b7fb0
cmp eax, 0xffffffff
je 0x4b809c
cmp dword [0x4d8144], 7
je 0x4b7fa7
mov dword [0x4d8170], 0
mov eax, dword [ebp - 4]
jmp 0x4b809c
mov dword [0x4d8178], 0x42
add esp, 0xfffffff4
push ebx
call fcn.004b80c4
mov dword [ebp - 8], eax
and dword [ebp - 8], 0x3f
add esp, 0xfffffff4
push esi
call fcn.004b80c4
mov dword [ebp - 0xc], eax
and dword [ebp - 0xc], 0x3f
add esp, 0x20
add esp, 0xfffffff4
push edi
call fcn.004b80c4
mov dword [ebp - 0x10], eax
and dword [ebp - 0x10], 0x3f
add esp, 0xfffffff4
mov eax, dword [ebp - 4]
push eax
call fcn.004b80c4
mov dword [ebp - 0x14], eax
and dword [ebp - 0x14], 0x3f
mov ecx, dword [ebp - 8]
shl ecx, 2
mov eax, dword [ebp - 0xc]
shr eax, 4
or ecx, eax
cmp esi, 0x3d
jne 0x4b801c
mov eax, ebx
jmp 0x4b809c
mov eax, dword [0x4d811c]
and eax, 0x3ff
mov edx, 0x59e7f0
mov byte [eax + edx], cl
inc dword [0x4d811c]
mov ecx, dword [ebp - 0xc]
shl ecx, 4
and ecx, 0xf0
mov eax, dword [ebp - 0x10]
shr eax, 2
or ecx, eax
cmp edi, 0x3d
je 0x4b8088
mov eax, dword [0x4d811c]
and eax, 0x3ff
mov byte [eax + edx], cl
inc dword [0x4d811c]
mov ecx, dword [ebp - 0x10]
shl ecx, 6
and ecx, 0xc0
or ecx, dword [ebp - 0x14]
cmp dword [ebp - 4], 0x3d
je 0x4b8088
mov eax, dword [0x4d811c]
and eax, 0x3ff
mov byte [eax + edx], cl
inc dword [0x4d811c]
mov eax, dword [0x4d8118]
and eax, 0x3ff
movzx eax, byte [eax + edx]
inc dword [0x4d8118]
lea esp, [ebp - 0x38]
pop ebx
pop esi
pop edi
leave
ret