Function at 0x5a4e60
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x5a54ba
sub rsp, 0xb0
mov qword [rsp + 0xa8], rbp
lea rbp, [rsp + 0xa8]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xc0], rbx
lea rax, [0x006d83a0]
call fcn.0040d960
mov qword [rsp + 0x90], rax
mov rbx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
lea rdi, [0x0069adc0]
mov rsi, rax
xor r8d, r8d
xor r9d, r9d
mov rax, qword [rsp + 0xc0]
call fcn.0053dca0
test rdi, rdi
jne 0x5a51de
mov rdx, qword [rsp + 0x90]
cmp qword [rdx], 1
nop dword [rax]
jne 0x5a517d
mov rsi, qword [rsp + 0xb8]
test rsi, rsi
je 0x5a4f27
mov rax, qword [rsi]
mov rbx, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
nop
call fcn.005ab7c0
jmp 0x5a4f40
mov rax, qword [rdx + 0x20]
mov rbx, qword [rdx + 0x28]
mov rcx, qword [rdx + 0x30]
call fcn.005ab7c0
nop dword [rax + rax]
test rax, rax
je 0x5a5143
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x80], rbx
lea rax, [0x006c5d40]
nop dword [rax]
call fcn.0040d960
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x90]
mov rdi, qword [rcx + 8]
mov rsi, qword [rcx + 0x10]
mov r8, qword [rcx + 0x18]
mov rdx, qword [rax + 8]
mov rbx, qword [rax + 0x10]
mov r9, qword [rax + 0x18]
mov rax, rdx
mov rcx, r9
call fcn.00525720
mov rdi, qword [rsp + 0x68]
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rcx
cmp dword [0x0098e150], 0
jne 0x5a4fb1
mov qword [rdi + 8], rax
jmp 0x5a4fc8
lea rcx, [rdi + 8]
mov rdx, rdi
mov rdi, rcx
nop dword [rax + rax]
call fcn.00465b00
mov rdi, rdx
mov byte [rdi], 0
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rcx + 0x30]
mov rax, qword [rsp + 0x80]
call rdx
mov rbx, qword [rax + 8]
mov qword [rsp + 0x78], rbx
mov rax, qword [rsp + 0x68]
call fcn.0051ae20
test rax, rax
jge 0x5a5109
lea rax, [0x006dfc00]
call fcn.0040d960
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
cmp dword [0x0098e150], 0
jne 0x5a502e
mov rdx, qword [rsp + 0x80]
mov qword [rax + 8], rdx
mov rsi, qword [rsp + 0x68]
mov qword [rax + 0x20], rsi
jmp 0x5a504d
lea rdi, [rax + 8]
mov rdx, qword [rsp + 0x80]
call fcn.00465c20
lea rdi, [rax + 0x20]
mov rsi, qword [rsp + 0x68]
call fcn.00465c60
mov qword [rsp + 0x60], rax
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsi + 0x10]
mov rsi, qword [rsi + 8]
lea r8, [rdi - 1]
test r8, r8
jl 0x5a50c5
mov rsi, qword [rsi + rdi*8 - 8]
mov rdi, rsi
shr rsi, 1
or rdi, rsi
mov rsi, rdi
shr rdi, 2
or rdi, rsi
mov rsi, rdi
shr rdi, 4
or rdi, rsi
mov rsi, rdi
shr rdi, 8
or rdi, rsi
mov rsi, rdi
shr rdi, 0x10
or rdi, rsi
mov rsi, rdi
shr rdi, 0x20
or rdi, rsi
bsr rsi, rdi
mov rdi, 0xffffffffffffffff
cmove rsi, rdi
shl r8, 6
lea rsi, [rsi + r8]
lea rsi, [rsi + 1]
jmp 0x5a50c7
xor esi, esi
lea rdx, [rsi + 7]
sar rdx, 0x3f
shr rdx, 0x3d
lea rcx, [rdx + rsi]
lea rcx, [rcx + 7]
sar rcx, 3
mov qword [rsp + 0x40], rcx
lea rax, [0x006a5020]
mov rbx, rcx
call fcn.0044a860
mov rdi, qword [rsp + 0x90]
lea rdx, [rdi + 8]
mov rsi, qword [rsp + 0x40]
jmp 0x5a536d
lea rax, [0x006bd420]
call fcn.0040d960
mov qword [rax + 8], 0x2e
lea rcx, [0x0070a7e4]
mov qword [rax], rcx
lea rbx, [0x00781760]
mov rcx, rax
xor eax, eax
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
lea rax, [0x006bd420]
call fcn.0040d960
mov qword [rax + 8], 0x1c
lea rcx, [0x0070285d]
mov qword [rax], rcx
lea rbx, [0x00781760]
mov rcx, rax
xor eax, eax
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
movups xmmword [rsp + 0x98], xmm15
mov rax, qword [rdx]
call fcn.0040af40
lea rcx, [0x006a4760]
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0xa0], rax
lea rax, [0x00708075]
mov ebx, 0x27
lea rcx, [rsp + 0x98]
mov edi, 1
mov rsi, rdi
call fcn.0050a280
mov rcx, rbx
mov rbx, rax
xor eax, eax
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x48], rdi
lea rax, [0x006cd720]
call fcn.0040d960
mov rbx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
lea rdi, [0x0069af00]
mov rsi, rax
xor r8d, r8d
xor r9d, r9d
mov rax, qword [rsp + 0xc0]
nop dword [rax]
call fcn.0053dca0
test rdi, rdi
je 0x5a5333
lea rax, [0x006e7c80]
call fcn.0040d960
mov rbx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
lea rdi, [0x0069ae80]
mov rsi, rax
xor r8d, r8d
xor r9d, r9d
mov rax, qword [rsp + 0xc0]
call fcn.0053dca0
test rdi, rdi
je 0x5a52f6
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rsp + 0x70]
nop
call rcx
mov ecx, 0x26
mov rdi, rax
mov rsi, rbx
xor eax, eax
lea rbx, [0x0070794f]
call fcn.0044e780
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], rbx
lea rax, [0x006bd420]
call fcn.0040d960
mov rcx, qword [rsp + 0x38]
mov qword [rax + 8], rcx
cmp dword [0x0098e150], 0
jne 0x5a52cd
mov rdx, qword [rsp + 0x58]
mov qword [rax], rdx
jmp 0x5a52da
mov rdi, rax
mov rdx, qword [rsp + 0x58]
call fcn.00465c20
lea rbx, [0x00781760]
mov rcx, rax
xor eax, eax
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
lea rax, [0x006bd420]
nop dword [rax]
call fcn.0040d960
mov qword [rax + 8], 0x58
lea rcx, [0x0070fb68]
mov qword [rax], rcx
lea rbx, [0x00781760]
mov rcx, rax
xor eax, eax
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
lea rax, [0x006bd420]
call fcn.0040d960
mov qword [rax + 8], 0x58
lea rcx, [0x0070fbc0]
mov qword [rax], rcx
lea rbx, [0x00781760]
mov rcx, rax
xor eax, eax
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov r8, qword [rdi + 0x10]
mov rbx, qword [rdi + 8]
mov r9, qword [rdi + 0x18]
cmp r8, rsi
jle 0x5a53f9
cmp byte [rbx], 0
jne 0x5a53bf
dec r8
mov qword [rdi + 0x10], r8
lea r8, [r9 - 1]
mov qword [rdi + 0x18], r8
neg r8
sar r8, 0x3f
and r8d, 1
add r8, rbx
cmp dword [0x0098e150], 0
jne 0x5a53af
mov qword [rdi + 8], r8
jmp 0x5a536d
mov rcx, rdi
mov rdi, rdx
call fcn.00465c80
mov rdi, rcx
jmp 0x5a536d
lea rax, [0x006bd420]
call fcn.0040d960
mov qword [rax + 8], 0x20
lea rcx, [0x00704a72]
mov qword [rax], rcx
lea rbx, [0x00781760]
mov rcx, rax
xor eax, eax
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov rcx, rsi
sub rsi, r8
nop
cmp rcx, rsi
jb 0x5a54b1
mov rdi, rcx
sub rcx, rsi
cmp r8, rcx
cmovl rcx, r8
mov rdx, rsi
sub rsi, rdi
sar rsi, 0x3f
and rsi, rdx
lea rdx, [rsi + rax]
cmp rbx, rdx
je 0x5a5449
mov qword [rsp + 0x88], rax
mov rax, rdx
call fcn.00466940
mov rax, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
mov rdx, qword [rdx + 0x38]
mov rbx, rax
mov rcx, rdi
mov rax, qword [rsp + 0x80]
call rdx
cmp dword [0x0098e150], 0
jne 0x5a547a
mov rdx, qword [rsp + 0x60]
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], rbx
jmp 0x5a549a
mov rdi, qword [rsp + 0x60]
lea rdx, [rdi + 0x10]
mov rcx, rdi
mov rdi, rdx
call fcn.00465b00
lea rdi, [rcx + 0x18]
call fcn.00465c40
mov rdx, rcx
mov rax, rdx
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov rax, rsi
call fcn.00466060
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00463940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.005a4e60