Function at 0x5b3440
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5b36f8
sub rsp, 0x70
mov qword [rsp + 0x68], rbp
lea rbp, [rsp + 0x68]
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x78], rax
xor edx, edx
jmp 0x5b3489
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
mov rdx, rdi
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]
mov rbx, qword [rcx + 8]
lea rsi, [rdx - 1]
test rsi, rsi
jl 0x5b350e
mov rdx, qword [rbx + rdx*8 - 8]
mov rdi, rdx
shr rdx, 1
or rdi, rdx
mov rdx, rdi
shr rdi, 2
or rdx, rdi
mov rdi, rdx
shr rdx, 4
or rdi, rdx
mov rdx, rdi
shr rdi, 8
or rdx, rdi
mov rdi, rdx
shr rdx, 0x10
or rdi, rdx
mov rdx, rdi
shr rdi, 0x20
or rdi, rdx
bsr rdx, rdi
mov rdi, 0xffffffffffffffff
cmove rdx, rdi
shl rsi, 6
lea rdx, [rsi + rdx]
lea rdx, [rdx + 1]
jmp 0x5b3510
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, [0x0061eac0]
mov rbx, rcx
call fcn.0044aaa0
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]
nop
call fcn.004911c0
test rbx, rbx
jne 0x5b36de
mov rdx, qword [rsp + 0x50]
mov rsi, qword [rdx + 0x10]
mov rdi, qword [rdx + 8]
lea r8, [rsi - 1]
nop
test r8, r8
jl 0x5b35e2
mov rsi, qword [rdi + rsi*8 - 8]
mov rdi, rsi
shr rsi, 1
or rdi, rsi
mov rsi, rdi
shr rdi, 2
or rsi, rdi
mov rdi, rsi
shr rsi, 4
or rdi, rsi
mov rsi, rdi
shr rdi, 8
or rsi, rdi
mov rdi, rsi
shr rsi, 0x10
or rdi, rsi
mov rsi, rdi
shr rdi, 0x20
or rsi, rdi
bsr rsi, rsi
mov rdi, 0xffffffffffffffff
cmove rsi, rdi
shl r8, 6
lea rsi, [r8 + rsi]
lea rsi, [rsi + 1]
jmp 0x5b35e4
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
nop dword [rax]
test rdi, rdi
jle 0x5b3629
test r8, r8
jbe 0x5b36ed
cmp rdi, 8
sbb esi, esi
mov r9, qword [rsp + 0x58]
movzx r10d, byte [r9]
mov rcx, rdi
shr r10b, cl
and r10d, esi
mov byte [r9], r10b
lea rax, [0x0063c000]
call fcn.0040d9c0
mov qword [rsp + 0x40], rax
mov rcx, qword [rax + 8]
mov rbx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x38]
mov r8, rsi
mov rax, rcx
mov rcx, rdx
call fcn.0051e0a0
mov rdi, qword [rsp + 0x40]
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rcx
cmp dword [0x0088d090], 0
jne 0x5b367a
mov qword [rdi + 8], rax
jmp 0x5b368c
lea rcx, [rdi + 8]
mov rdx, rdi
mov rdi, rcx
call fcn.004658a0
mov rdi, rdx
mov byte [rdi], 0
cmp qword [rdi + 0x10], 0
setne cl
movzx ecx, cl
nop word [rax + rax]
test rcx, rcx
je 0x5b3479
mov rax, rdi
mov rbx, qword [rsp + 0x50]
call fcn.00513680
test rax, rax
jl 0x5b36c5
mov rdi, qword [rsp + 0x40]
jmp 0x5b3479
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
mov rax, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
xor eax, eax
mov rcx, rax
call fcn.00465d40
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.004636e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.005b3440