Function at 0x57bf00
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x57c4fa
push rbp
mov rbp, rsp
sub rsp, 0xa8
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xc0], rbx
lea rax, [0x00634e00]
call fcn.0040d520
mov qword [rsp + 0xa0], rax
mov rbx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
lea rdi, [0x00605c00]
mov rsi, rax
xor r8d, r8d
xor r9d, r9d
mov rax, qword [rsp + 0xc0]
call fcn.0051ab00
nop dword [rax + rax]
test rdi, rdi
jne 0x57c23b
mov rdx, qword [rsp + 0xa0]
cmp qword [rdx], 1
jne 0x57c1e1
mov rsi, qword [rsp + 0xb8]
test rsi, rsi
je 0x57bfba
mov rax, qword [rsi]
mov rbx, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
call fcn.00581e40
jmp 0x57bfcb
mov rax, qword [rdx + 0x20]
mov rbx, qword [rdx + 0x28]
mov rcx, qword [rdx + 0x30]
call fcn.00581e40
test rax, rax
je 0x57c1ad
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x70], rbx
lea rax, [0x00628ee0]
call fcn.0040d520
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0xa0]
mov rdi, qword [rcx + 8]
mov rsi, qword [rcx + 0x10]
mov r8, qword [rcx + 0x18]
mov rbx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov r9, qword [rax + 8]
mov rax, r9
mov rcx, rdx
call fcn.005010e0
mov rdx, qword [rsp + 0x58]
mov qword [rdx + 0x10], rbx
mov qword [rdx + 0x18], rcx
cmp dword [0x00865770], 0
je 0x57c040
call fcn.0045f320
mov qword [r11], rax
mov rcx, qword [rdx + 8]
mov qword [r11 + 8], rcx
mov qword [rdx + 8], rax
mov byte [rdx], 0
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rcx + 0x30]
mov rax, qword [rsp + 0x70]
call rbx
mov rbx, qword [rax + 8]
mov qword [rsp + 0x78], rbx
mov rax, qword [rsp + 0x58]
call fcn.004f6460
test rax, rax
jge 0x57c179
lea rax, [0x0063c060]
call fcn.0040d520
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
cmp dword [0x00865770], 0
jne 0x57c0a0
mov rdx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x58]
jmp 0x57c0b6
call fcn.0045f320
mov rdx, qword [rsp + 0x70]
mov qword [r11], rdx
mov rsi, qword [rsp + 0x58]
mov qword [r11 + 8], rsi
mov qword [rsp + 0x80], rax
mov qword [rax + 8], rdx
mov qword [rax + 0x20], rsi
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsi + 0x10]
lea r8, [rdi - 1]
test r8, r8
jl 0x57c139
mov rsi, qword [rsi + 8]
mov rsi, qword [rsi + rdi*8 - 8]
mov rdi, rsi
shr rsi, 1
or rsi, rdi
mov rdi, rsi
shr rsi, 2
or rsi, rdi
mov rdi, rsi
shr rsi, 4
or rsi, rdi
mov rdi, rsi
shr rsi, 8
or rsi, rdi
mov rdi, rsi
shr rsi, 0x10
or rsi, rdi
mov rdi, rsi
shr rsi, 0x20
or rsi, rdi
shl r8, 6
bsr rsi, rsi
mov rdi, 0xffffffffffffffff
cmove rsi, rdi
lea rsi, [rsi + r8]
lea rsi, [rsi + 1]
jmp 0x57c13b
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, [0x0060be60]
mov rbx, rcx
call fcn.00447780
mov rdx, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x40]
jmp 0x57c3b3
nop
lea rax, [0x0061fdc0]
call fcn.0040d520
mov qword [rax + 8], 0x2e
lea rcx, [0x0065e615]
mov qword [rax], rcx
lea rbx, [0x006bca20]
mov rcx, rax
xor eax, eax
add rsp, 0xa8
pop rbp
ret
nop
lea rax, [0x0061fdc0]
call fcn.0040d520
mov qword [rax + 8], 0x1c
lea rcx, [0x006582c5]
mov qword [rax], rcx
lea rbx, [0x006bca20]
mov rcx, rax
xor eax, eax
add rsp, 0xa8
pop rbp
ret
movups xmmword [rsp + 0x88], xmm15
mov rax, qword [rdx]
call fcn.0040a960
lea rcx, [0x0060c020]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x90], rax
lea rax, [0x0065c6e1]
mov ebx, 0x27
lea rcx, [rsp + 0x88]
mov edi, 1
mov rsi, rdi
call fcn.004e50c0
mov rcx, rbx
mov rbx, rax
xor eax, eax
add rsp, 0xa8
pop rbp
ret
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x48], rdi
lea rax, [0x0062d000]
call fcn.0040d520
mov rbx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
lea rdi, [0x00605cc0]
mov rsi, rax
xor r8d, r8d
xor r9d, r9d
mov rax, qword [rsp + 0xc0]
call fcn.0051ab00
nop
test rdi, rdi
je 0x57c37b
lea rax, [0x00641a20]
call fcn.0040d520
mov rbx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
lea rdi, [0x00605c80]
mov rsi, rax
xor r8d, r8d
xor r9d, r9d
mov rax, qword [rsp + 0xc0]
nop dword [rax]
call fcn.0051ab00
test rdi, rdi
je 0x57c347
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rsp + 0x68]
call rcx
mov ecx, 0x26
mov rdi, rax
mov rsi, rbx
xor eax, eax
lea rbx, [0x0065c0e8]
call fcn.0044a9a0
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x60], rax
lea rax, [0x0061fdc0]
call fcn.0040d520
mov rcx, qword [rsp + 0x38]
mov qword [rax + 8], rcx
cmp dword [0x00865770], 0
jne 0x57c322
mov rdx, qword [rsp + 0x60]
jmp 0x57c32f
call fcn.0045f300
mov rdx, qword [rsp + 0x60]
mov qword [r11], rdx
mov qword [rax], rdx
lea rbx, [0x006bca20]
mov rcx, rax
xor eax, eax
add rsp, 0xa8
pop rbp
ret
nop
lea rax, [0x0061fdc0]
call fcn.0040d520
mov qword [rax + 8], 0x58
lea rcx, [0x006627ee]
mov qword [rax], rcx
lea rbx, [0x006bca20]
mov rcx, rax
xor eax, eax
add rsp, 0xa8
pop rbp
ret
nop
lea rax, [0x0061fdc0]
call fcn.0040d520
mov qword [rax + 8], 0x58
lea rcx, [0x00662796]
mov qword [rax], rcx
lea rbx, [0x006bca20]
mov rcx, rax
xor eax, eax
add rsp, 0xa8
pop rbp
ret
mov qword [rdx + 8], r8
mov r8, qword [rdx + 0x10]
mov rbx, qword [rdx + 8]
nop dword [rax + rax]
cmp r8, rsi
jle 0x57c43d
cmp byte [rbx], 0
jne 0x57c409
mov r9, qword [rdx + 0x18]
dec r9
mov r10, r9
neg r9
sar r9, 0x3f
and r9d, 1
dec r8
mov qword [rdx + 0x10], r8
mov qword [rdx + 0x18], r10
lea r8, [r9 + rbx]
cmp dword [0x00865770], 0
je 0x57c3af
call fcn.0045f320
mov qword [r11], r8
mov r9, qword [rdx + 8]
mov qword [r11 + 8], r9
jmp 0x57c3af
nop
lea rax, [0x0061fdc0]
call fcn.0040d520
mov qword [rax + 8], 0x20
lea rcx, [0x00659b06]
mov qword [rax], rcx
lea rbx, [0x006bca20]
mov rcx, rax
xor eax, eax
add rsp, 0xa8
pop rbp
ret
mov rcx, rsi
sub rsi, r8
cmp rcx, rsi
jb 0x57c4f1
mov rdi, rcx
sub rcx, rsi
mov rdx, rsi
sub rsi, rdi
sar rsi, 0x3f
and rsi, rdx
lea rdx, [rsi + rax]
cmp r8, rcx
cmovl rcx, r8
cmp rbx, rdx
je 0x57c48c
mov qword [rsp + 0x98], rax
mov rax, rdx
call fcn.004600a0
mov rax, qword [rsp + 0x98]
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 + 0x70]
call rdx
cmp dword [0x00865770], 0
jne 0x57c4b5
mov rdx, qword [rsp + 0x80]
jmp 0x57c4d9
call fcn.0045f360
mov qword [r11], rax
mov rdx, qword [rsp + 0x80]
mov rsi, qword [rdx + 0x10]
mov qword [r11 + 8], rsi
mov qword [r11 + 0x10], rbx
mov rsi, qword [rdx + 0x18]
mov qword [r11 + 0x18], rsi
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], rbx
mov rax, rdx
xor ebx, ebx
xor ecx, ecx
add rsp, 0xa8
pop rbp
ret
mov rax, rsi
call fcn.0045f780
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045d3e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0057bf00