Function at 0x570100
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0x48]
cmp r12, qword [r14 + 0x10]
jbe 0x5703b5
sub rsp, 0xc8
mov qword [rsp + 0xc0], rbp
lea rbp, [rsp + 0xc0]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0xe8], rdi
mov qword [rsp + 0x58], 0
movups xmmword [rsp + 0x78], xmm15
jmp 0x570157
jmp 0x570159
mov rcx, qword [rsp + 0xd0]
test byte [rcx], al
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rcx + 0x30]
call rcx
mov qword [rsp + 0x68], rax
test byte [rax], al
mov rax, qword [rax + 8]
mov qword [rsp + 0x60], rax
call fcn.004d08c0
mov qword [rsp + 0x50], rax
lea rcx, [rax + 7]
lea rdx, [rax + 7]
sar rcx, 0x3f
shr rcx, 0x3d
add rcx, rdx
sar rcx, 3
mov qword [rsp + 0x40], rcx
lea rax, [0x005bc940]
mov rbx, rcx
call fcn.0044f400
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rdx
movups xmmword [rsp + 0x98], xmm15
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0xb8]
call fcn.00496780
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0xa0], rcx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x38], rdx
mov rbx, qword [rsp + 0x98]
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rcx
test rbx, rbx
jne 0x570259
jmp 0x57026e
mov rax, qword [rsp + 0x58]
mov rbp, qword [rsp + 0xc0]
add rsp, 0xc8
ret
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x50], rcx
mov rax, qword [rsp + 0x60]
call fcn.004d08c0
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x50]
shl rcx, 3
sub rcx, rax
mov qword [rsp + 0x30], rcx
nop dword [rax + rax]
test rcx, rcx
jg 0x5702a7
jmp 0x5702fa
mov rdx, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
test rdx, rdx
ja 0x5702c5
nop dword [rax]
jmp 0x5703aa
movzx edx, byte [rbx]
test rcx, rcx
jge 0x5702d2
jmp 0x5703a5
cmp rcx, 8
sbb ebx, ebx
mov rsi, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xa8]
shr dl, cl
and edx, ebx
test rsi, rsi
ja 0x5702f6
jmp 0x570397
mov byte [rdi], dl
jmp 0x5702fc
jmp 0x5702fc
lea rax, [0x005c9320]
call fcn.0040de40
mov qword [rsp + 0x70], rax
mov rbx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xb8]
call fcn.004d04e0
mov qword [rsp + 0x58], rax
call fcn.004ce6e0
mov qword [rsp + 0x48], rax
test rax, rax
setne byte [rsp + 0x2f]
jne 0x570345
jmp 0x570363
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
call fcn.004d00a0
test rax, rax
mov qword [rsp + 0x50], rax
setl byte [rsp + 0x2f]
jmp 0x570365
jmp 0x570365
cmp byte [rsp + 0x2f], 0
jne 0x57036e
jmp 0x570390
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0xc0]
add rsp, 0xc8
ret
jmp 0x570392
jmp 0x570157
xor eax, eax
mov rcx, rsi
nop dword [rax]
call fcn.004694e0
call fcn.00439a80
xor eax, eax
mov rcx, rdx
call fcn.004694e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00466e80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00570100