Function at 0x4d4bc0
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4d4eac
sub rsp, 0x78
mov qword [rsp + 0x70], rbp
lea rbp, [rsp + 0x70]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rbx
cmp qword [rcx + 0x10], 0
jne 0x4d4bf3
xor edx, edx
jmp 0x4d4c07
cmp byte [rcx], 0
je 0x4d4c02
mov rdx, 0xffffffffffffffff
nop
jmp 0x4d4c07
mov edx, 1
test rdx, rdx
jle 0x4d4e98
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rcx
lea rax, [0x004f8860]
call fcn.0040d480
mov qword [rsp + 0x50], rax
mov rcx, qword [rax + 8]
mov rbx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov edi, 1
mov rax, rcx
mov rcx, rdx
call fcn.004d38a0
mov rdi, qword [rsp + 0x50]
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rcx
lea rcx, [rdi + 8]
mov qword [rsp + 0x68], rcx
cmp dword [0x00640410], 0
jne 0x4d4c7a
mov qword [rdi + 8], rax
jmp 0x4d4c88
mov rdx, rdi
mov rdi, rcx
call fcn.00460120
mov rdi, rdx
mov byte [rdi], 0
mov rax, rdi
mov rbx, qword [rsp + 0x90]
mov rcx, rax
call fcn.004d35e0
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x10]
mov rsi, qword [rax + 8]
lea rdi, [rdx - 1]
test rdi, rdi
jl 0x4d4d11
mov rdx, qword [rsi + rdx*8 - 8]
mov rsi, rdx
shr rdx, 1
or rdx, rsi
mov rsi, rdx
shr rdx, 2
or rdx, rsi
mov rsi, rdx
shr rdx, 4
or rdx, rsi
mov rsi, rdx
shr rdx, 8
or rdx, rsi
mov rsi, rdx
shr rdx, 0x10
or rdx, rsi
mov rsi, rdx
shr rdx, 0x20
or rdx, rsi
bsr rdx, rdx
mov rsi, 0xffffffffffffffff
cmove rdx, rsi
shl rdi, 6
lea rdx, [rdx + rdi]
lea rdx, [rdx + 1]
jmp 0x4d4d13
xor edx, edx
test rdx, rdx
je 0x4d4d7b
mov qword [rsp + 0x30], rdx
lea rsi, [rdx + 7]
sar rsi, 0x3f
shr rsi, 0x3d
lea rcx, [rsi + rdx]
lea rcx, [rcx + 7]
sar rcx, 3
mov qword [rsp + 0x38], rcx
lea rax, [0x004ef1c0]
mov rbx, rcx
call fcn.00446fe0
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x30]
mov rsi, rdx
sar rdx, 0x3f
shr rdx, 0x3d
add rdx, rsi
and rdx, 0xfffffffffffffff8
sub rsi, rdx
test rsi, rsi
mov edx, 8
cmove rsi, rdx
mov qword [rsp + 0x48], rsi
jmp 0x4d4d8e
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov rax, qword [rsp + 0x60]
nop
mov rbx, qword [rsp + 0x88]
mov rcx, rax
mov rdi, qword [rsp + 0x38]
mov rsi, rdi
mov r8, rsi
mov rax, qword [rsp + 0x80]
call fcn.004992a0
test rbx, rbx
jne 0x4d4e82
mov r8, qword [rsp + 0x38]
test r8, r8
jbe 0x4d4e8e
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x40], rbx
mov rcx, qword [rsp + 0x48]
cmp rcx, 0x40
sbb rdx, rdx
mov rdi, qword [rsp + 0x60]
movzx r9d, byte [rdi]
mov r10d, 1
shl r10, cl
and r10, rdx
lea rdx, [r10 - 1]
and r9d, edx
mov byte [rdi], r9b
nop
mov rdx, qword [rsp + 0x50]
mov rax, qword [rdx + 8]
mov rbx, qword [rdx + 0x10]
mov r9, qword [rdx + 0x18]
mov rsi, r8
mov rcx, r9
call fcn.004d4240
mov rdx, qword [rsp + 0x50]
mov qword [rdx + 0x10], rbx
mov qword [rdx + 0x18], rcx
cmp dword [0x00640410], 0
jne 0x4d4e37
mov qword [rdx + 8], rax
jmp 0x4d4e45
mov rdi, qword [rsp + 0x68]
nop dword [rax]
call fcn.00460120
mov byte [rdx], 0
mov rax, rdx
mov rbx, qword [rsp + 0x90]
call fcn.004d37e0
nop dword [rax + rax]
test rax, rax
jge 0x4d4d89
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
xor eax, eax
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
xor eax, eax
mov rcx, rax
call fcn.004605c0
lea rax, [0x004ef040]
lea rbx, [0x0053e0a8]
call fcn.00434500
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
nop dword [rax + rax]
call fcn.0045df60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004d4bc0