Function at 0x140037fe0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov r10, r8
mov r13, rdx
mov rbx, rcx
mov r12, qword [rcx]
mov rcx, qword [rcx + 8]
mov rbp, r8
sub rbp, r12
mov r14, rbp
sar r14, 3
mov r15, qword [rbx + 0x10]
cmp rcx, r15
jae 0x14003811a
mov r15, qword [r9]
cmp r10, rcx
je 0x140038197
mov r8, rcx
sub r8, r10
add r8, 0xfffffffffffffff8
mov rax, r8
sar rax, 3
lea rdx, [rcx - 8]
cmp rdx, rcx
jae 0x1400380f8
add r14, rax
shl r14, 3
mov rbp, rcx
sub rbp, r14
not r12
add r12, rbp
mov esi, r12d
shr esi, 3
add esi, 1
mov rbp, rcx
and rsi, 3
je 0x14003808d
nop dword [rax]
mov rdi, qword [rdx]
mov qword [rbp], rdi
add rdx, 8
mov rbp, qword [rbx + 8]
add rbp, 8
mov qword [rbx + 8], rbp
add rsi, 0xffffffffffffffff
jne 0x140038070
cmp r12, 0x18
jb 0x1400380f8
nop word cs:[rax + rax]
nop dword [rax]
mov rdi, qword [rdx]
mov qword [rbp], rdi
mov rbp, qword [rbx + 8]
lea rdi, [rbp + 8]
mov qword [rbx + 8], rdi
mov rdi, qword [rdx + 8]
mov qword [rbp + 8], rdi
mov rbp, qword [rbx + 8]
lea rdi, [rbp + 8]
mov qword [rbx + 8], rdi
mov rdi, qword [rdx + 0x10]
mov qword [rbp + 8], rdi
mov rbp, qword [rbx + 8]
lea rdi, [rbp + 8]
mov qword [rbx + 8], rdi
mov rdi, qword [rdx + 0x18]
mov qword [rbp + 8], rdi
mov rbp, qword [rbx + 8]
add rbp, 8
mov qword [rbx + 8], rbp
add rdx, 0x20
cmp rdx, rcx
jb 0x1400380a0
test r8, r8
je 0x140038112
shl rax, 3
sub rcx, rax
mov rdx, r10
mov rsi, r10
call fcn.1400ad770
mov r10, rsi
mov qword [r10], r15
jmp 0x140038243
sub rcx, r12
sar rcx, 3
add rcx, 1
mov rax, rcx
shr rax, 0x3d
jne 0x1400382ba
movabs rdx, 0x1fffffffffffffff
sub r15, r12
mov rax, r15
sar rax, 3
sar r15, 2
cmp r15, rcx
cmovb r15, rcx
movabs rcx, 0xfffffffffffffff
cmp rax, rcx
cmovae r15, rdx
test r15, r15
mov qword [rsp + 0x28], r13
je 0x1400381a4
mov qword [rsp + 0x30], r9
cmp r15, rdx
ja 0x1400382c2
mov rsi, r10
lea rcx, [r15*8]
call fcn.1400aab00
mov rdi, rax
mov r10, rsi
mov r9, qword [rsp + 0x30]
jmp 0x1400381a6
mov qword [r10], r15
add qword [rbx + 8], 8
jmp 0x140038243
xor edi, edi
lea r13, [rdi + r14*8]
lea rcx, [rdi + r15*8]
cmp r14, r15
jne 0x1400381d6
test rbp, rbp
jle 0x14003825b
lea rax, [r14 + 1]
shr rax, 0x3f
add rax, r14
add rax, 1
shl rax, 2
and rax, 0xfffffffffffffff8
sub r13, rax
mov rbp, rcx
mov rax, qword [r9]
mov qword [r13], rax
mov r8, r10
sub r8, r12
mov r15, r13
sub r15, r8
test r8, r8
jle 0x140038202
mov rcx, r15
mov rdx, r12
mov rsi, r10
call fcn.1400ad770
mov r10, rsi
lea rsi, [r13 + 8]
mov rdi, qword [rbx + 8]
sub rdi, r10
test rdi, rdi
jle 0x140038223
mov rcx, rsi
mov rdx, r10
mov r8, rdi
call fcn.1400ad770
add rsi, rdi
mov rcx, qword [rbx]
mov qword [rbx], r15
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rbp
test rcx, rcx
je 0x14003823b
call fcn.1400aab5c
mov r10, r13
mov r13, qword [rsp + 0x28]
mov qword [r13], r10
mov rax, r13
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, rbp
sar rax, 2
test rbp, rbp
mov esi, 1
cmovne rsi, rax
movabs rax, 0x1fffffffffffffff
cmp rsi, rax
ja 0x1400382c2
mov r15, r9
mov r14, r10
mov rbp, rsi
and rbp, 0xfffffffffffffffc
lea rcx, [rsi*8]
call fcn.1400aab00
lea r13, [rax + rbp*2]
lea rbp, [rax + rsi*8]
test rdi, rdi
je 0x1400382af
mov rcx, rdi
call fcn.1400aab5c
mov r12, qword [rbx]
mov r10, r14
mov r9, r15
jmp 0x1400381d9
mov rcx, rbx
call fcn.140023ffc
call fcn.1400bba84
int3