Function at 0x1400b6360
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 rsi, rcx
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
lea rcx, [0x140142b60]
cmp rax, rcx
jne 0x1400b64c4
mov rax, qword [rsi + 0x18]
mov rax, qword [rax + 0x10]
mov rbx, qword [rax]
mov rdi, qword [0x14023f580]
cmp rdi, 1
jbe 0x1400b6967
movabs r13, 0xfffffffc00000000
and r13, rdi
cmp r13, qword [0x14022f688]
jne 0x1400b63c4
mov rcx, rdi
call fcn.1400b3f20
test rdi, rdi
je 0x1400b69cb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400b693b
mov rax, qword [0x14023f580]
cmp rax, 1
jbe 0x1400b6999
mov r12, qword [0x14023f590]
test r12, r12
je 0x1400b6949
mov rbp, qword [r12 + 8]
movabs rdx, 0x5555555555555555
movabs rcx, 0x3333333333333333
movabs r9, 0xf0f0f0f0f0f0f0f
movabs r8, 0x101010101010101
test rbp, rbp
je 0x1400b64e1
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, r9
imul rcx, r8
shr rcx, 0x38
cmp rcx, 1
jbe 0x1400b6729
mov r15, rbx
cmp rbx, rbp
jb 0x1400b6486
mov rax, rbx
xor edx, edx
div rbp
mov r15, rdx
mov rax, qword [r12]
mov rax, qword [rax + r15*8]
test rax, rax
je 0x1400b64eb
mov r14, qword [rax]
test r14, r14
je 0x1400b64eb
mov rax, qword [r14 + 8]
cmp rax, rbx
je 0x1400b64d5
cmp ecx, 1
jbe 0x1400b6735
cmp rax, rbp
jb 0x1400b64ba
xor edx, edx
div rbp
mov rax, rdx
cmp rax, r15
jne 0x1400b64eb
mov r14, qword [r14]
jmp 0x1400b6496
mov rcx, rsi
call qword [0x14021f820]
mov rbx, rax
jmp 0x1400b6395
cmp qword [r14 + 0x10], rbx
je 0x1400b65e7
jmp 0x1400b64bf
movabs r15, 0xaaaaaaaaaaaaaaaa
mov ecx, 0x20
call fcn.140143bb8
test rax, rax
je 0x1400b69da
mov r14, rax
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0
mov rax, qword [r12 + 0x18]
inc rax
jns 0x1400b6532
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x1400b6537
cvtsi2ss xmm0, rax
mov rcx, rbp
shr rcx, 1
mov eax, ebp
and eax, 1
or rax, rcx
test rbp, rbp
jns 0x1400b6555
cvtsi2ss xmm1, rax
addss xmm1, xmm1
jmp 0x1400b655a
cvtsi2ss xmm1, rbp
movss xmm2, dword [r12 + 0x20]
je 0x1400b6751
mulss xmm1, xmm2
ucomiss xmm0, xmm1
ja 0x1400b6751
mov rcx, qword [r12]
mov rax, qword [rcx + r15*8]
test rax, rax
jne 0x1400b65d9
lea rax, [r12 + 0x10]
mov rdx, qword [r12 + 0x10]
mov qword [r14], rdx
mov qword [r12 + 0x10], r14
mov qword [rcx + r15*8], rax
mov rax, qword [r14]
test rax, rax
je 0x1400b65e2
mov rax, qword [rax + 8]
lea rcx, [rbp - 1]
test rbp, rcx
je 0x1400b6721
cmp rax, rbp
jb 0x1400b65bd
xor edx, edx
div rbp
mov rax, rdx
shl rax, 3
add rax, qword [r12]
jmp 0x1400b65df
xor r14d, r14d
cmp rax, rsi
cmovne r14, rsi
mov rsi, rax
jmp 0x1400b6691
mov rcx, qword [rax]
mov qword [r14], rcx
mov qword [rax], r14
inc qword [r12 + 0x18]
mov rax, qword [r14 + 0x18]
test rax, rax
jne 0x1400b65c7
mov qword [r14 + 0x18], rsi
mov r10, qword [0x14023f590]
mov r8, qword [r10 + 0x30]
test r8, r8
je 0x1400b668e
mov rax, r8
shr rax, 1
movabs rcx, 0x5555555555555555
and rax, rcx
mov rcx, r8
sub rcx, rax
mov rax, rcx
movabs rdx, 0x3333333333333333
and rax, rdx
shr rcx, 2
and rcx, rdx
add rcx, rax
mov r9, rcx
shr r9, 4
add r9, rcx
movabs rax, 0xf0f0f0f0f0f0f0f
and r9, rax
movabs rax, 0x101010101010101
imul r9, rax
shr r9, 0x38
cmp r9, 1
jbe 0x1400b69f9
mov rcx, rbx
cmp rbx, r8
jb 0x1400b6681
mov rax, rbx
xor edx, edx
div r8
mov rcx, rdx
mov rax, qword [r10 + 0x28]
mov rax, qword [rax + rcx*8]
test rax, rax
jne 0x1400b66c4
xor r14d, r14d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp r13, qword [0x14022f688]
jne 0x1400b66ab
mov rcx, rdi
call fcn.1400b4080
test r14, r14
jne 0x1400b670b
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r10, qword [rax]
test r10, r10
je 0x1400b668e
xor r14d, r14d
mov rax, qword [r10 + 8]
cmp rbx, rax
je 0x1400b66fe
cmp r9d, 1
jbe 0x1400b69ed
cmp rax, r8
jb 0x1400b66ef
xor edx, edx
div r8
mov rax, rdx
cmp rax, rcx
jne 0x1400b6691
mov r10, qword [r10]
test r10, r10
jne 0x1400b66cf
jmp 0x1400b6691
cmp qword [r10 + 0x10], rbx
jne 0x1400b66f4
lock or dword [rsi + 0x10], 0x20
jmp 0x1400b668e
mov rax, qword [r14]
mov rax, qword [rax]
mov rcx, r14
mov edx, 1
call qword [0x14021f820]
jmp 0x1400b66b0
and rax, rcx
jmp 0x1400b65bd
lea r15, [rbp - 1]
and r15, rbx
jmp 0x1400b6486
lea rdx, [rbp - 1]
and rax, rdx
jmp 0x1400b64ba
mov r15d, 2
jmp 0x1400b67be
mov r15d, 1
jmp 0x1400b6795
divss xmm0, xmm2
call fcn.1401621dc
cvttss2si rcx, xmm0
mov rdx, rcx
sar rdx, 0x3f
subss xmm0, dword [0x14020275c]
cvttss2si rax, xmm0
and rax, rdx
or rax, rcx
lea rcx, [rbp*2]
cmp rbp, 3
jb 0x1400b6749
lea rdx, [rbp - 1]
xor r15d, r15d
test rbp, rdx
setne r15b
or r15, rcx
cmp r15, rax
cmovbe r15, rax
cmp r15, 1
je 0x1400b6741
lea rax, [r15 - 1]
test r15, rax
je 0x1400b67be
mov rcx, r15
call fcn.1400f72d0
mov r15, rax
mov rbp, qword [r12 + 8]
cmp r15, rbp
jbe 0x1400b6a1e
mov rax, r15
shr rax, 0x3d
jne 0x1400b6a05
lea rcx, [r15*8]
call fcn.140143bb8
mov rcx, qword [r12]
mov qword [r12], rax
test rcx, rcx
je 0x1400b67f3
call fcn.140143bb0
mov qword [r12 + 8], r15
xor eax, eax
mov rcx, qword [r12]
mov qword [rcx + rax*8], 0
inc rax
cmp r15, rax
jne 0x1400b67fa
mov r8, qword [r12 + 0x10]
test r8, r8
je 0x1400b690c
lea r10, [r12 + 0x10]
mov rcx, qword [r8 + 8]
mov rax, r15
shr rax, 1
movabs rdx, 0x5555555555555555
and rax, rdx
mov rdx, r15
sub rdx, rax
mov rax, rdx
movabs r9, 0x3333333333333333
and rax, r9
shr rdx, 2
and rdx, r9
add rdx, rax
mov r9, rdx
shr r9, 4
add r9, rdx
movabs rax, 0xf0f0f0f0f0f0f0f
and r9, rax
movabs rax, 0x101010101010101
imul r9, rax
shr r9, 0x38
cmp r9, 1
jbe 0x1400b6a12
cmp rcx, r15
jb 0x1400b689b
mov rax, rcx
xor edx, edx
div r15
mov rcx, rdx
mov rax, qword [r12]
mov qword [rax + rcx*8], r10
mov r10, qword [r8]
jmp 0x1400b68b5
mov qword [rdx + rax*8], r8
mov r8, r10
mov r10, qword [r10]
mov rcx, rax
test r10, r10
je 0x1400b690c
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x1400b69ce
cmp rax, r15
jb 0x1400b68d5
xor edx, edx
div r15
mov rax, rdx
cmp rax, rcx
je 0x1400b6907
mov rdx, qword [r12]
cmp qword [rdx + rax*8], 0
je 0x1400b68a8
mov rdx, qword [r10]
mov qword [r8], rdx
mov rdx, qword [r12]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [r10], rdx
mov rdx, qword [r12]
mov rax, qword [rdx + rax*8]
mov qword [rax], r10
mov r10, r8
mov rax, rcx
jmp 0x1400b68ac
mov rbp, qword [r12 + 8]
lea r15, [rbp - 1]
test rbp, r15
je 0x1400b6933
cmp rbx, rbp
jb 0x1400b6a0a
mov rax, rbx
xor edx, edx
div rbp
mov r15, rdx
jmp 0x1400b6574
and r15, rbx
jmp 0x1400b6574
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x1400b63de
mov ecx, 0xb0
call fcn.140143bb8
mov rcx, rax
call fcn.140001800
mov r12, qword [0x14023f590]
jmp 0x1400b63ff
lea rcx, [0x14023f580]
call fcn.14000bf00
test al, al
je 0x1400b6b58
mov qword [0x14023f588], 0
lea rdi, [0x14023f588]
mov qword [0x14023f580], rdi
jmp 0x1400b63a6
lea rcx, [0x14023f580]
call fcn.14000bf00
test al, al
je 0x1400b6b64
mov qword [0x14023f588], 0
lea rax, [0x14023f588]
mov qword [0x14023f580], rax
jmp 0x1400b63ef
int3
lea rdx, [r15 - 1]
and rax, rdx
jmp 0x1400b68d5
lea rcx, [0x1401fff03]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.140180910
lea rdx, [r8 - 1]
and rax, rdx
jmp 0x1400b66ef
lea rcx, [r8 - 1]
and rcx, rbx
jmp 0x1400b6681
call fcn.140180910
mov r15, rbx
jmp 0x1400b6574
lea rax, [r15 - 1]
and rcx, rax
jmp 0x1400b689b
mov qword [rsp + 0x20], r15
jae 0x1400b690c
mov rax, qword [r12 + 0x18]
test rax, rax
jns 0x1400b6a4d
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x1400b6a55
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm0, dword [r12 + 0x20]
call fcn.1401621dc
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x14020275c]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rbp, 3
jb 0x1400b6b0b
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 r8, 0x3333333333333333
and rdx, r8
and rcx, r8
add rcx, rdx
mov rdx, rcx
shr rdx, 4
add rdx, rcx
movabs rcx, 0xf0f0f0f0f0f0f0f
and rdx, rcx
movabs rcx, 0x101010101010101
imul rdx, rcx
shr rdx, 0x38
cmp edx, 1
ja 0x1400b6b0b
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 0x1400b6b16
mov rcx, rax
call fcn.1400f72d0
mov r15, rax
mov rax, qword [rsp + 0x20]
cmp rax, r15
cmova r15, rax
cmp r15, rbp
jae 0x1400b690c
test r15, r15
jne 0x1400b67c7
mov rcx, qword [r12]
mov qword [r12], 0
test rcx, rcx
je 0x1400b6b4a
call fcn.140143bb0
mov qword [r12 + 8], 0
jmp 0x1400b690c
mov rdi, qword [0x14023f580]
jmp 0x1400b63a6
mov rax, qword [0x14023f580]
jmp 0x1400b63ef