Function at 0x57f0e0
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0x18]
cmp r12, qword [r14 + 0x10]
jbe 0x57f5c7
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rsp + 0xe0], r9
mov qword [rsp + 0xe8], r10
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xd8], r8
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xa0]
mov r11, qword [rdx + 0x28]
mov rax, qword [rsp + 0xa8]
call r11
mov rcx, qword [rsp + 0xe8]
cmp rcx, 0xffffffffffffffff
jne 0x57f164
mov rcx, rax
jmp 0x57f16f
mov rcx, rax
mov rax, qword [rsp + 0xe8]
mov r11, qword [rsp + 0xe0]
lea r12, [r11 + 7]
sar r12, 0x3f
shr r12, 0x3d
lea rbx, [r12 + r11]
lea rbx, [rbx + 7]
sar rbx, 3
mov r12, qword [rsp + 0xd0]
nop word [rax + rax]
cmp r12, rbx
jne 0x57f3c3
mov r13, qword [rsp + 0xb8]
cmp rcx, r13
jne 0x57f3ac
lea r15, [rax + rcx]
lea r15, [r15 + 2]
cmp r15, rbx
jg 0x57f395
lea r15, [rbx - 1]
cmp r12, r15
jbe 0x57f5bb
mov r12, qword [rsp + 0xc8]
movzx edx, byte [rbx + r12 - 1]
cmp dl, 0xbc
jne 0x57f37e
mov r9, rbx
sub rbx, rcx
lea rcx, [rbx - 1]
mov rdx, qword [rsp + 0xd8]
cmp rdx, rcx
jb 0x57f5b6
cmp rcx, r15
ja 0x57f5ab
mov r10, rdx
sub r10, rbx
inc r10
mov r15, r10
neg r15
sar r15, 0x3f
and r15, rcx
mov rsi, r9
shl rsi, 3
sub rsi, r11
sub r9, rbx
lea r8, [r12 + r15]
nop word [rax + rax]
test rsi, rsi
jl 0x57f5a6
mov rdi, rcx
mov rcx, rsi
mov r11d, 0xffffffff
shr r11b, cl
movzx r15d, byte [r12]
cmp rcx, 8
sbb ecx, ecx
and r11d, ecx
mov ecx, r11d
not r11d
test r15b, r11b
jne 0x57f367
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], r10
mov qword [rsp + 0x88], r8
mov byte [rsp + 0x47], cl
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x68], rax
mov rax, r12
mov rbx, rdi
mov rcx, rdx
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xa8]
call fcn.0057fac0
mov rcx, qword [rsp + 0x70]
nop dword [rax]
test rcx, rcx
jbe 0x57f59c
mov rax, qword [rsp + 0xc8]
movzx esi, byte [rax]
movzx r8d, byte [rsp + 0x47]
and r8d, esi
mov byte [rax], r8b
mov rsi, qword [rsp + 0x68]
test rsi, rsi
jne 0x57f324
mov rbx, rcx
mov rcx, qword [rsp + 0xd8]
mov edi, 1
call fcn.0048dba0
nop
test rax, rax
jl 0x57f350
mov rcx, qword [rsp + 0x78]
mov rsi, rcx
sub rsi, rax
lea rax, [rsi - 2]
mov rcx, qword [rsp + 0x70]
mov rsi, rax
mov rax, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0x78]
mov r8, rdi
sub rdi, rsi
lea rsi, [rdi - 2]
mov rdx, qword [rsp + 0xd8]
nop dword [rax + rax]
cmp rdx, rsi
jb 0x57f594
xor ebx, ebx
jmp 0x57f3e0
mov rax, qword [0x008b2970]
mov rbx, qword [0x008b2978]
add rsp, 0x90
pop rbp
ret
mov rax, qword [0x008b2970]
mov rbx, qword [0x008b2978]
add rsp, 0x90
pop rbp
ret
mov rax, qword [0x008b2970]
mov rbx, qword [0x008b2978]
add rsp, 0x90
pop rbp
ret
mov rax, qword [0x008b2970]
mov rbx, qword [0x008b2978]
add rsp, 0x90
pop rbp
ret
mov rax, qword [0x008b2970]
mov rbx, qword [0x008b2978]
add rsp, 0x90
pop rbp
ret
lea rax, [0x006d4767]
mov ebx, 0x28
call fcn.00484d20
add rsp, 0x90
pop rbp
ret
inc rbx
cmp rbx, rsi
jge 0x57f406
movzx r9d, byte [rax + rbx]
test r9b, r9b
je 0x57f3dd
mov rax, qword [0x008b2970]
mov rbx, qword [0x008b2978]
add rsp, 0x90
pop rbp
ret
cmp rsi, rcx
jae 0x57f58c
movzx esi, byte [rdi + rax - 2]
cmp sil, 1
jne 0x57f56d
lea rbx, [rdi - 1]
cmp rbx, rcx
ja 0x57f584
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], rbx
lea rax, [0x00668ec0]
nop dword [rax]
call fcn.0040f6c0
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
sub rcx, rdx
mov qword [rsp + 0x48], rcx
mov rbx, qword [rsp + 0xd8]
sub rbx, rdx
lea rdx, [rbx + 1]
mov qword [rsp + 0x50], rdx
neg rdx
sar rdx, 0x3f
mov rsi, qword [rsp + 0x68]
and rsi, rdx
mov rdx, qword [rsp + 0xc8]
add rdx, rsi
mov qword [rsp + 0x80], rdx
mov rsi, qword [rsp + 0xa0]
mov rdi, qword [rsi + 0x38]
mov r8, rax
mov rax, qword [rsp + 0xa8]
mov rbx, r8
mov ecx, 8
mov r11, rdi
mov rdi, rcx
call r11
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rcx + 0x38]
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xb8]
call rdx
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rcx + 0x38]
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call rdx
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx + 0x30]
mov rax, qword [rsp + 0xa8]
xor ebx, ebx
xor edi, edi
mov rdx, rcx
mov rcx, rdi
call rdx
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
nop dword [rax]
call fcn.0048d8c0
test al, al
je 0x57f556
xor eax, eax
xor ebx, ebx
add rsp, 0x90
pop rbp
ret
mov rax, qword [0x008b2970]
mov rbx, qword [0x008b2978]
add rsp, 0x90
pop rbp
ret
mov rax, qword [0x008b2970]
mov rbx, qword [0x008b2978]
add rsp, 0x90
pop rbp
ret
mov rax, rbx
call fcn.0047a440
mov rax, rsi
call fcn.0047a380
mov rcx, rsi
call fcn.0047a400
xor eax, eax
mov rcx, rax
call fcn.0047a380
call fcn.0043b9a0
mov rax, rcx
mov rcx, r15
call fcn.0047a440
call fcn.0047a400
mov rax, r15
mov rcx, r12
call fcn.0047a380
nop
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x50], r10
call fcn.004780a0
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
mov r10, qword [rsp + 0x50]
nop dword [rax]
jmp fcn.0057f0e0