Function at 0x1400112a0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r12, r9
mov rsi, rdx
mov rdi, rcx
mov rcx, qword [r8]
mov r8, qword [r8 + 8]
mov rax, rcx
shr rax, 0x20
mov rdx, r8
shr rdx, 0x20
mov r9d, ecx
imul r9, r9, 0x32348c9d
imul rax, rax, 0x24e62a03
mov r10d, r8d
imul r10, r10, 0x37da1fb9
mov ebx, 0xc54622fd
imul rbx, rdx
add rbx, r10
add rbx, rax
add rbx, r9
mov r13, qword [rdi + 8]
test r13, r13
je 0x1400115c2
mov rax, r13
shr rax, 1
movabs rdx, 0x5555555555555555
and rdx, rax
mov rax, r13
sub rax, rdx
movabs rdx, 0x3333333333333333
mov r9, rax
and r9, rdx
shr rax, 2
and rax, rdx
add rax, r9
mov rdx, rax
shr rdx, 4
add rdx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rdx
movabs r9, 0x101010101010101
imul r9, rax
shr r9, 0x38
cmp r9, 1
jbe 0x1400115ab
mov r15, rbx
cmp rbx, r13
jb 0x140011380
mov rax, rbx
xor edx, edx
div r13
mov r15, rdx
mov rax, qword [rdi]
mov r14, qword [rax + r15*8]
test r14, r14
jne 0x14001155e
mov ecx, 0x28
call fcn.14017b1d8
mov r14, rax
movups xmm0, xmmword [r12]
movups xmmword [rax + 0x10], xmm0
mov rax, qword [r12 + 0x10]
mov qword [r14 + 0x20], rax
xor eax, eax
mov qword [r12 + 0x10], rax
mov qword [r14 + 8], rbx
mov qword [r14], rax
mov rax, qword [rdi + 0x18]
inc rax
js 0x1400113d0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
jmp 0x1400113e8
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, r13
shr rcx, 1
mov eax, r13d
and eax, 1
or rax, rcx
test r13, r13
js 0x140011403
cvtsi2ss xmm1, r13
jmp 0x14001140c
cvtsi2ss xmm1, rax
addss xmm1, xmm1
movss xmm2, dword [rdi + 0x20]
je 0x14001148e
mulss xmm1, xmm2
ucomiss xmm0, xmm1
ja 0x14001148e
mov rcx, qword [rdi]
mov rax, qword [rcx + r15*8]
test rax, rax
jne 0x1400115b7
lea rax, [rdi + 0x10]
mov rdx, qword [rdi + 0x10]
mov qword [r14], rdx
mov qword [rdi + 0x10], r14
mov qword [rcx + r15*8], rax
mov rax, qword [r14]
test rax, rax
je 0x14001146f
mov rax, qword [rax + 8]
lea rcx, [r13 - 1]
test r13, rcx
je 0x1400116d3
cmp rax, r13
jb 0x140011465
xor edx, edx
div r13
mov rax, rdx
shl rax, 3
add rax, qword [rdi]
mov qword [rax], r14
inc qword [rdi + 0x18]
mov al, 1
mov qword [rsi], r14
mov byte [rsi + 8], al
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
divss xmm0, xmm2
call fcn.14019b6a8
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x14025dc48]
sar rdx, 0x3f
cvttss2si rax, xmm0
and rax, rdx
or rax, rcx
mov rdx, r13
add rdx, r13
mov ecx, 1
cmp r13, 3
jae 0x1400116db
or rcx, rdx
cmp rcx, rax
cmovbe rcx, rax
mov r12d, 2
cmp rcx, 1
jne 0x1400115d1
mov r13, qword [rdi + 8]
cmp r12, r13
jbe 0x14001170e
mov r15, r12
mov rax, r15
shr rax, 0x3d
jne 0x140011727
lea rcx, [r15*8]
call fcn.14017b1d8
mov rcx, qword [rdi]
mov qword [rdi], rax
test rcx, rcx
je 0x14001151f
call fcn.14017b254
mov qword [rdi + 8], r15
xor eax, eax
mov rcx, qword [rdi]
mov qword [rcx + rax*8], 0
inc rax
cmp r15, rax
jne 0x140011525
mov r8, qword [rdi + 0x10]
test r8, r8
jne 0x140011604
mov r13, qword [rdi + 8]
lea r15, [r13 - 1]
test r13, r15
jne 0x1400115eb
and r15, rbx
jmp 0x14001141c
lea r10, [r13 - 1]
mov r14, qword [r14]
test r14, r14
je 0x140011390
mov rax, qword [r14 + 8]
cmp rax, rbx
je 0x140011593
cmp r9d, 1
jbe 0x1400115a6
cmp rax, r13
jb 0x14001158a
xor edx, edx
div r13
mov rax, rdx
cmp rax, r15
jne 0x140011390
cmp qword [r14 + 0x10], rcx
jne 0x140011562
xor eax, eax
cmp qword [r14 + 0x18], r8
jne 0x140011562
jmp 0x140011475
and rax, r10
jmp 0x14001158a
lea r15, [r13 - 1]
and r15, rbx
jmp 0x140011380
mov rcx, qword [rax]
mov qword [r14], rcx
jmp 0x14001146c
movabs r15, 0xaaaaaaaaaaaaaaaa
jmp 0x140011390
lea rax, [rcx - 1]
test rcx, rax
je 0x140011738
call fcn.14011dd70
mov r12, rax
jmp 0x1400114e5
cmp rbx, r13
jb 0x140011740
mov rax, rbx
xor edx, edx
div r13
mov r15, rdx
jmp 0x14001141c
lea r10, [rdi + 0x10]
mov rcx, qword [r8 + 8]
mov rax, r15
shr rax, 1
movabs rdx, 0x5555555555555555
and rdx, rax
mov rax, r15
sub rax, rdx
movabs rdx, 0x3333333333333333
mov r9, rax
and r9, rdx
shr rax, 2
and rax, rdx
add rax, r9
mov rdx, rax
shr rdx, 4
add rdx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rdx
movabs r9, 0x101010101010101
imul r9, rax
shr r9, 0x38
cmp r9, 1
jbe 0x140011748
cmp rcx, r15
jb 0x140011682
mov rax, rcx
xor edx, edx
div r15
mov rcx, rdx
mov rax, qword [rdi]
mov qword [rax + rcx*8], r10
mov r10, qword [r8]
test r10, r10
je 0x140011545
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x14001172c
cmp rax, r15
jb 0x1400116b0
xor edx, edx
div r15
mov rax, rdx
cmp rax, rcx
je 0x1400116ce
mov rdx, qword [rdi]
cmp qword [rdx + rax*8], 0
jne 0x1400116ec
mov qword [rdx + rax*8], r8
mov r8, r10
mov r10, qword [r10]
mov rcx, rax
jmp 0x14001168c
mov rax, rcx
jmp 0x1400116c3
and rax, rcx
jmp 0x140011465
lea r8, [r13 - 1]
xor ecx, ecx
test r13, r8
setne cl
jmp 0x1400114cb
mov rdx, qword [r10]
mov qword [r8], rdx
mov rdx, qword [rdi]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [r10], rdx
mov rdx, qword [rdi]
mov rax, qword [rdx + rax*8]
mov qword [rax], r10
mov r10, r8
jmp 0x1400116ce
jae 0x140011545
mov rax, qword [rdi + 0x18]
test rax, rax
js 0x140011754
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
jmp 0x14001176c
call fcn.1401be9c0
lea rdx, [r15 - 1]
and rax, rdx
jmp 0x1400116b0
mov r12, rcx
jmp 0x1400114e5
mov r15, rbx
jmp 0x14001141c
lea rax, [r15 - 1]
and rcx, rax
jmp 0x140011682
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rdi + 0x20]
call fcn.14019b6a8
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x14025dc48]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp r13, 3
jb 0x140011820
mov rcx, r13
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rcx, r13
sub rcx, rdx
movabs rdx, 0x3333333333333333
mov r8, rcx
shr r8, 2
and rcx, rdx
and r8, rdx
add r8, rcx
mov rcx, r8
shr rcx, 4
add rcx, r8
movabs rdx, 0xf0f0f0f0f0f0f0f
and rdx, rcx
movabs rcx, 0x101010101010101
imul rcx, rdx
shr rcx, 0x38
cmp ecx, 1
ja 0x140011820
lea rcx, [rax - 1]
bsr rcx, rcx
xor ecx, 0x3f
neg cl
mov r15d, 1
shl r15, cl
cmp rax, 2
cmovb r15, rax
jmp 0x14001182b
mov rcx, rax
call fcn.14011dd70
mov r15, rax
cmp r12, r15
cmova r15, r12
cmp r15, r13
jae 0x140011545
test r15, r15
jne 0x1400114f5
mov rcx, qword [rdi]
mov qword [rdi], 0
test rcx, rcx
je 0x140011858
call fcn.14017b254
mov qword [rdi + 8], 0
jmp 0x140011545