Function at 0x545840
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x545af9
add rsp, 0xffffffffffffff80
mov qword [rsp + 0x78], rbp
lea rbp, [rsp + 0x78]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0xa0], rdi
mov rdx, qword [rax + 0x30]
mov rax, rbx
nop
call rdx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x58], rcx
mov rdx, qword [rcx + 0x10]
mov rbx, qword [rcx + 8]
lea rsi, [rdx - 1]
test rsi, rsi
jl 0x5458be
mov rdx, qword [rbx + rdx*8 - 8]
bsr rdx, rdx
mov rdi, 0xffffffffffffffff
cmove rdx, rdi
shl rsi, 6
lea rdx, [rdx + rsi]
lea rdx, [rdx + 1]
jmp 0x5458c0
xor edx, edx
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 + 0x40], rcx
lea rax, [0x0064d220]
mov rbx, rcx
call fcn.0044b520
mov qword [rsp + 0x70], rax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor esi, esi
nop
jmp 0x545920
mov rcx, rax
mov rdx, rbx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x70]
nop word [rax + rax]
test rcx, rcx
jne 0x545abb
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x60], rdx
nop
mov rbx, qword [rsp + 0xa0]
mov rcx, rax
mov rdi, qword [rsp + 0x40]
mov rsi, rdi
mov r8, rsi
mov rax, qword [rsp + 0x98]
call fcn.0046f440
nop word [rax + rax]
test rbx, rbx
jne 0x545a94
mov rdx, qword [rsp + 0x40]
test rdx, rdx
jbe 0x545aee
mov rsi, qword [rsp + 0x70]
movzx edi, byte [rsi]
mov r8, qword [0x00881b28]
mov r9, qword [0x00881b20]
mov rax, qword [rsp + 0x30]
mov r10, rax
sar rax, 0x3f
shr rax, 0x3d
lea r11, [rax + r10]
sar r11, 3
shl r11, 3
mov rax, r10
sub rax, r11
cmp r8, rax
jbe 0x545ae6
movzx r8d, byte [r9 + rax]
and edi, r8d
mov byte [rsi], dil
cmp rdx, 1
jbe 0x545ad9
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x38], rbx
movzx ecx, byte [rsi + 1]
xor ecx, 0x42
mov byte [rsi + 1], cl
lea rax, [0x0066a240]
call fcn.0040d780
mov qword [rsp + 0x48], rax
mov rcx, qword [rax + 8]
mov rbx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x40]
mov r8, rsi
mov rax, rcx
mov rcx, rdx
call fcn.00514120
mov rdi, qword [rsp + 0x48]
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rcx
cmp dword [0x008e3630], 0
jne 0x545a32
mov qword [rdi + 8], rax
jmp 0x545a48
lea rcx, [rdi + 8]
mov rdx, rdi
mov rdi, rcx
nop dword [rax]
call fcn.00464ce0
mov rdi, rdx
mov byte [rdi], 0
mov rax, rdi
mov rbx, qword [rsp + 0x58]
call fcn.0050a1e0
test rax, rax
jl 0x545a6c
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
jmp 0x545902
mov rdx, qword [rsp + 0x88]
mov rsi, qword [rdx + 0x38]
mov rax, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
mov rdi, rcx
call rsi
jmp 0x545902
mov rax, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov r8, rbx
mov r9, rcx
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rdi, rcx
mov r8, rbx
mov r9, rsi
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
mov rsi, rdx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov eax, 1
mov rcx, rax
call fcn.00465180
mov rcx, r8
call fcn.00465180
xor eax, eax
mov rcx, rax
call fcn.00465180
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00462aa0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00545840