Function at 0x5880e0
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x588398
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 0x588129
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 0x5881ac
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 rdx, rdi
mov rdi, rdx
shr rdx, 8
or rdi, rdx
mov rdx, rdi
shr rdi, 0x10
or rdx, rdi
mov rdi, rdx
shr rdx, 0x20
or rdi, rdx
bsr rdx, rdi
mov rdi, 0xffffffffffffffff
cmove rdx, rdi
shl rsi, 6
inc rdx
add rdx, rsi
jmp 0x5881ae
xor edx, edx
lea rsi, [rdx + 7]
sar rsi, 0x3f
shr rsi, 0x3d
add rsi, 7
lea rcx, [rdx + rsi]
sar rcx, 3
mov qword [rsp + 0x38], rcx
lea rax, [0x005e1460]
mov rbx, rcx
call fcn.0044a840
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 dword [rax]
call fcn.00490ba0
test rbx, rbx
jne 0x58837e
mov rdx, qword [rsp + 0x50]
mov rsi, qword [rdx + 0x10]
mov rdi, qword [rdx + 8]
lea r8, [rsi - 1]
nop
test r8, r8
jl 0x588282
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 rsi, rdi
mov rdi, rsi
shr rsi, 8
or rdi, rsi
mov rsi, rdi
shr rdi, 0x10
or rsi, rdi
mov rdi, rsi
shr rsi, 0x20
or rdi, rsi
bsr rsi, rdi
mov rdi, 0xffffffffffffffff
cmove rsi, rdi
shl r8, 6
inc rsi
add rsi, r8
nop
jmp 0x588284
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 0x5882c9
test r8, r8
jbe 0x58838d
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, [0x005f9120]
call fcn.0040da20
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.004f16a0
mov rdi, qword [rsp + 0x40]
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rcx
cmp dword [0x00803600], 0
jne 0x58831a
mov qword [rdi + 8], rax
jmp 0x58832c
lea rcx, [rdi + 8]
mov rdx, rdi
mov rdi, rcx
call fcn.00465600
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 0x588119
mov rax, rdi
mov rbx, qword [rsp + 0x50]
call fcn.004e6100
test rax, rax
jl 0x588365
mov rdi, qword [rsp + 0x40]
jmp 0x588119
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.00465aa0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00463440
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.005880e0