Function at 0x140043ec0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r12, r9
mov r14, rdx
mov rdi, rcx
movsxd r15, dword [r8]
mov rbp, qword [rcx + 8]
movabs rdx, 0x5555555555555555
movabs rcx, 0x3333333333333333
movabs rbx, 0xf0f0f0f0f0f0f0f
movabs r13, 0x101010101010101
test rbp, rbp
je 0x140043fb1
mov rax, rbp
shr rax, 1
and rax, rdx
mov rdx, rbp
sub rdx, rax
mov rax, rdx
and rax, rcx
shr rdx, 2
and rdx, rcx
add rdx, rax
mov rcx, rdx
shr rcx, 4
add rcx, rdx
and rcx, rbx
imul rcx, r13
shr rcx, 0x38
cmp rcx, 1
jbe 0x140043fa8
mov rsi, r15
cmp rbp, r15
ja 0x140043f5e
mov rax, r15
xor edx, edx
div rbp
mov rsi, rdx
mov rax, qword [rdi]
mov rbx, qword [rax + rsi*8]
test rbx, rbx
je 0x140043fbb
lea r8, [rbp - 1]
mov rbx, qword [rbx]
test rbx, rbx
je 0x140043fbb
mov rax, qword [rbx + 8]
cmp rax, r15
je 0x140043f9b
cmp ecx, 1
jbe 0x140043f93
cmp rax, rbp
jb 0x140043f96
xor edx, edx
div rbp
mov rax, rdx
jmp 0x140043f96
and rax, r8
cmp rax, rsi
jne 0x140043fbb
cmp dword [rbx + 0x10], r15d
jne 0x140043f6e
xor eax, eax
jmp 0x140044099
lea rsi, [rbp - 1]
and rsi, r15
jmp 0x140043f5e
movabs rsi, 0xaaaaaaaaaaaaaaaa
mov ecx, 0x30
call fcn.14011d790
mov rbx, rax
mov rax, qword [r12]
mov eax, dword [rax]
mov dword [rbx + 0x10], eax
xorps xmm0, xmm0
movups xmmword [rbx + 0x18], xmm0
xor eax, eax
mov qword [rbx + 0x28], rax
mov qword [rbx + 8], r15
mov qword [rbx], rax
mov rax, qword [rdi + 0x18]
inc rax
js 0x140043ff8
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
jmp 0x140044010
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, rbp
shr rcx, 1
mov eax, ebp
and eax, 1
or rax, rcx
test rbp, rbp
js 0x14004402a
cvtsi2ss xmm1, rbp
jmp 0x140044033
cvtsi2ss xmm1, rax
addss xmm1, xmm1
movss xmm2, dword [rdi + 0x20]
je 0x1400440b4
mulss xmm1, xmm2
ucomiss xmm0, xmm1
ja 0x1400440b4
mov rax, qword [rdi]
mov rcx, qword [rax + rsi*8]
test rcx, rcx
jne 0x14004427c
lea rcx, [rdi + 0x10]
mov rdx, qword [rdi + 0x10]
mov qword [rbx], rdx
mov qword [rdi + 0x10], rbx
mov qword [rax + rsi*8], rcx
mov rax, qword [rbx]
test rax, rax
je 0x140044093
mov rax, qword [rax + 8]
lea rcx, [rbp - 1]
test rbp, rcx
je 0x14004429b
cmp rax, rbp
jb 0x14004408c
xor edx, edx
div rbp
mov rax, rdx
mov rcx, qword [rdi]
mov qword [rcx + rax*8], rbx
inc qword [rdi + 0x18]
mov al, 1
mov qword [r14], rbx
mov byte [r14 + 8], al
mov rax, r14
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
divss xmm0, xmm2
call fcn.140135b9c
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1401e2fa8]
sar rdx, 0x3f
cvttss2si rax, xmm0
and rax, rdx
or rax, rcx
mov rdx, rbp
add rdx, rbp
mov ecx, 1
cmp rbp, 3
jae 0x14004428a
or rcx, rdx
cmp rcx, rax
cmovb rcx, rax
mov r12d, 2
cmp rcx, 1
je 0x140044120
lea rax, [rcx - 1]
test rcx, rax
je 0x1400442c9
call fcn.14010b600
mov r12, rax
mov rbp, qword [rdi + 8]
cmp r12, rbp
jbe 0x1400442ab
mov rax, r12
shr rax, 0x3d
jne 0x1400442c4
lea rcx, [r12*8]
call fcn.14011d790
mov rcx, qword [rdi]
mov qword [rdi], rax
test rcx, rcx
je 0x140044153
call fcn.14011d780
mov qword [rdi + 8], r12
xor eax, eax
mov rcx, qword [rdi]
mov qword [rcx + rax*8], 0
inc rax
cmp r12, rax
jne 0x140044159
mov r10, qword [rdi + 0x10]
test r10, r10
je 0x1400443d1
lea rbp, [rdi + 0x10]
mov r8, qword [r10 + 8]
mov rax, r12
shr rax, 1
movabs rcx, 0x5555555555555555
and rax, rcx
mov rdx, r12
sub rdx, rax
mov rax, rdx
movabs rcx, 0x3333333333333333
and rax, rcx
shr rdx, 2
and rdx, rcx
add rdx, rax
mov rcx, rdx
shr rcx, 4
add rcx, rdx
movabs rax, 0xf0f0f0f0f0f0f0f
and rcx, rax
imul rcx, r13
shr rcx, 0x38
cmp rcx, 1
jbe 0x1400442d1
cmp r8, r12
jb 0x1400441ed
mov rax, r8
xor edx, edx
div r12
mov r8, rdx
mov rax, qword [rdi]
mov qword [rax + r8*8], rbp
mov rbp, qword [r10]
test rbp, rbp
je 0x1400443d1
lea r9, [r12 - 1]
mov rax, qword [rbp + 8]
cmp ecx, 1
jbe 0x1400442a3
cmp rax, r12
jb 0x14004421f
xor edx, edx
div r12
mov rax, rdx
cmp rax, r8
je 0x140044248
mov rsi, qword [rdi]
cmp qword [rsi + rax*8], 0
mov rdx, rbp
jne 0x14004424d
mov qword [rsi + rax*8], r10
mov r10, rbp
mov r8, rax
mov rbp, qword [r10]
test rbp, rbp
jne 0x140044205
jmp 0x1400443d1
mov r10, rbp
jmp 0x14004423b
mov r11, rdx
mov rdx, qword [rdx]
test rdx, rdx
je 0x140044260
mov esi, dword [rbp + 0x10]
cmp esi, dword [rdx + 0x10]
je 0x14004424d
mov qword [r10], rdx
mov rdx, qword [rdi]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [r11], rdx
mov rdx, qword [rdi]
mov rax, qword [rdx + rax*8]
mov qword [rax], rbp
jmp 0x14004423b
mov rax, qword [rcx]
mov qword [rbx], rax
mov qword [rcx], rbx
jmp 0x140044093
lea rsi, [rbp - 1]
xor ecx, ecx
test rbp, rsi
setne cl
jmp 0x1400440f1
and rax, rcx
jmp 0x14004408c
and rax, r9
jmp 0x14004421f
jae 0x1400443d1
mov rax, qword [rdi + 0x18]
test rax, rax
js 0x1400442de
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
jmp 0x1400442f6
call fcn.14011d580
mov r12, rcx
jmp 0x140044120
lea rax, [r12 - 1]
and r8, rax
jmp 0x1400441ed
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.140135b9c
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1401e2fa8]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rbp, 3
jb 0x140044398
mov rcx, rbp
shr rcx, 1
movabs rdx, 0x5555555555555555
and rcx, rdx
mov rdx, rbp
sub rdx, rcx
mov rcx, rdx
shr rcx, 2
movabs rsi, 0x3333333333333333
and rdx, rsi
and rcx, rsi
add rcx, rdx
mov rdx, rcx
shr rdx, 4
add rdx, rcx
movabs rcx, 0xf0f0f0f0f0f0f0f
and rdx, rcx
imul rdx, r13
shr rdx, 0x38
cmp edx, 1
ja 0x140044398
cmp rax, 2
jb 0x1400443a0
dec rax
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
jmp 0x1400443a0
mov rcx, rax
call fcn.14010b600
cmp r12, rax
cmovb r12, rax
cmp r12, rbp
jae 0x1400443d1
test r12, r12
jne 0x140044129
mov rcx, qword [rdi]
mov qword [rdi], 0
test rcx, rcx
je 0x1400443c9
call fcn.14011d780
mov qword [rdi + 8], 0
mov rbp, qword [rdi + 8]
lea rsi, [rbp - 1]
test rbp, rsi
je 0x1400443eb
cmp rbp, r15
jbe 0x1400443f3
mov rsi, r15
jmp 0x140044043
and rsi, r15
jmp 0x140044043
mov rax, r15
xor edx, edx
div rbp
mov rsi, rdx
jmp 0x140044043