Function at 0x4e1de0
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4e207f
push rbp
mov rbp, rsp
sub rsp, 0x68
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x80], rbx
xor edx, edx
jmp 0x4e1e20
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
mov qword [rsp + 0x60], rdx
mov rcx, qword [rax + 0x30]
mov rax, rbx
call rcx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x50], rcx
mov rdx, qword [rcx + 0x10]
lea rbx, [rdx - 1]
nop
test rbx, rbx
jl 0x4e1ea6
mov rsi, qword [rcx + 8]
mov rdx, qword [rsi + rdx*8 - 8]
mov rsi, rdx
shr rdx, 1
or rsi, rdx
mov rdx, rsi
shr rsi, 2
or rsi, rdx
mov rdx, rsi
shr rsi, 4
or rdx, rsi
mov rsi, rdx
shr rdx, 8
or rsi, rdx
mov rdx, rsi
shr rsi, 0x10
or rsi, rdx
mov rdx, rsi
shr rsi, 0x20
or rdx, rsi
shl rbx, 6
bsr rdx, rdx
mov rsi, 0xffffffffffffffff
cmove rdx, rsi
lea rdx, [rbx + rdx]
lea rdx, [rdx + 1]
jmp 0x4e1ea8
xor edx, edx
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, [0x00520d40]
mov rbx, rcx
call fcn.0044d760
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0x90]
mov rcx, rax
mov rdi, qword [rsp + 0x38]
mov rsi, rdi
mov r8, rsi
mov rax, qword [rsp + 0x88]
call fcn.00470e00
nop dword [rax]
test rbx, rbx
jne 0x4e2069
mov rdx, qword [rsp + 0x50]
mov rsi, qword [rdx + 0x10]
lea rdi, [rsi - 1]
test rdi, rdi
jl 0x4e1f7c
mov r8, qword [rdx + 8]
mov rsi, qword [r8 + rsi*8 - 8]
mov r8, rsi
shr rsi, 1
or r8, rsi
mov rsi, r8
shr r8, 2
or rsi, r8
mov r8, rsi
shr rsi, 4
or r8, rsi
mov rsi, r8
shr r8, 8
or rsi, r8
mov r8, rsi
shr rsi, 0x10
or r8, rsi
mov rsi, r8
shr r8, 0x20
or rsi, r8
shl rdi, 6
bsr rsi, rsi
mov r8, 0xffffffffffffffff
cmove rsi, r8
lea rsi, [rdi + rsi]
lea rsi, [rsi + 1]
jmp 0x4e1f7e
xor esi, esi
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x30], rbx
mov rdi, qword [rsp + 0x38]
mov r8, rdi
shl rdi, 3
sub rdi, rsi
test rdi, rdi
jle 0x4e1fc4
nop dword [rax]
test r8, r8
jbe 0x4e2074
mov rsi, qword [rsp + 0x58]
movzx r9d, byte [rsi]
mov rcx, rdi
shr r9b, cl
cmp rcx, 8
sbb edi, edi
and r9d, edi
mov byte [rsi], r9b
lea rax, [0x0052d6c0]
call fcn.0040e1e0
mov qword [rsp + 0x40], rax
mov rbx, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rdx, qword [rax + 8]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x38]
mov r8, rsi
mov rax, rdx
call fcn.004cf600
mov rdx, qword [rsp + 0x40]
mov qword [rdx + 0x10], rbx
mov qword [rdx + 0x18], rcx
cmp dword [0x007aa7f0], 0
je 0x4e201c
call fcn.004685a0
mov qword [r11], rax
mov rcx, qword [rdx + 8]
mov qword [r11 + 8], rcx
mov qword [rdx + 8], rax
mov byte [rdx], 0
cmp qword [rdx + 0x10], 0
setne cl
movzx ecx, cl
test rcx, rcx
je 0x4e1e13
mov rax, rdx
mov rbx, qword [rsp + 0x50]
nop
call fcn.004c4f80
test rax, rax
jl 0x4e2054
mov rdx, qword [rsp + 0x40]
jmp 0x4e1e13
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
add rsp, 0x68
pop rbp
ret
mov rax, qword [rsp + 0x60]
add rsp, 0x68
pop rbp
ret
xor eax, eax
mov rcx, rax
call fcn.00468940
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00466660
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004e1de0