Function at 0x140023600
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
lea r12, [rcx + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140023b81
mov eax, dword [0x1402053a0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x138]
test rax, rax
je 0x140023b62
mov rdi, qword [rax]
test rdi, rdi
je 0x140023b62
mov r8, qword [rbx + 0x40]
mov eax, 1
mov ecx, 1
lock xadd dword [rdi + 8], ecx
cmp ecx, 0x7fffffff
je 0x140023b67
lea r9, [rdi + 8]
mov r15, qword [rbx + 0x20]
inc r15
mov qword [rbx + 0x20], r15
lock xadd dword [r9], eax
cmp eax, 0x7fffffff
je 0x140023b6a
mov rax, r14
shr rax, 0x20
mov ecx, r14d
lea rcx, [rcx*8 + 8]
xor rcx, rax
movabs rdx, 0x9ddfea08eb382d69
imul rcx, rdx
xor rax, rcx
shr rcx, 0x2f
xor rcx, rax
imul rcx, rdx
mov r13, rcx
shr r13, 0x2f
xor r13, rcx
imul r13, rdx
mov rsi, qword [rbx + 0x30]
movabs rdx, 0x5555555555555555
movabs rcx, 0x3333333333333333
movabs r11, 0xf0f0f0f0f0f0f0f
movabs r10, 0x101010101010101
test rsi, rsi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], r9
je 0x1400237e2
mov rax, rsi
shr rax, 1
and rax, rdx
mov rdx, rsi
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, r11
imul rcx, r10
shr rcx, 0x38
cmp rcx, 1
jbe 0x1400237d9
mov rbp, r13
cmp r13, rsi
jb 0x14002377d
mov rax, r13
xor edx, edx
div rsi
mov rbp, rdx
mov rax, qword [rbx + 0x28]
mov rax, qword [rax + rbp*8]
test rax, rax
jne 0x1400237ee
mov ecx, 0x28
call fcn.1400d2b88
test rax, rax
je 0x140023b65
mov r12, rax
mov qword [rax], 0
mov qword [rax + 8], r13
mov qword [rax + 0x10], r14
xorps xmm0, xmm0
movups xmmword [rax + 0x18], xmm0
mov rax, qword [rbx + 0x40]
inc rax
jns 0x140023836
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x14002383e
lea rbp, [rsi - 1]
and rbp, r13
jmp 0x14002377d
movabs rbp, 0xaaaaaaaaaaaaaaaa
jmp 0x14002378a
mov r12, qword [rax]
test r12, r12
je 0x14002378a
lea r8, [rsi - 1]
mov rax, qword [r12 + 8]
cmp rax, r13
je 0x140023b9b
cmp ecx, 1
jbe 0x140023831
cmp rax, rsi
jb 0x14002381a
xor edx, edx
div rsi
mov rax, rdx
cmp rax, rbp
jne 0x14002378a
mov r12, qword [r12]
test r12, r12
jne 0x1400237fa
jmp 0x14002378a
and rax, r8
jmp 0x14002381a
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov rcx, rsi
shr rcx, 1
mov eax, esi
and eax, 1
or rax, rcx
test rsi, rsi
jns 0x14002386f
cvtsi2ss xmm1, rax
addss xmm1, xmm1
jmp 0x140023874
mov rcx, qword [rax]
mov qword [r12], rcx
mov r13, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
jmp 0x1400238e2
cvtsi2ss xmm1, rsi
movss xmm2, dword [rbx + 0x48]
je 0x140023984
mulss xmm1, xmm2
ucomiss xmm0, xmm1
ja 0x140023984
mov rcx, qword [rbx + 0x28]
mov rax, qword [rcx + rbp*8]
test rax, rax
jne 0x14002385c
lea rdx, [rbx + 0x38]
mov rax, qword [rbx + 0x38]
mov qword [r12], rax
mov qword [rbx + 0x38], r12
mov qword [rcx + rbp*8], rdx
test rax, rax
mov r13, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
je 0x1400238e5
mov rax, qword [rax + 8]
lea rcx, [rsi - 1]
test rsi, rcx
je 0x14002396e
cmp rax, rsi
jb 0x1400238da
xor edx, edx
div rsi
mov rax, rdx
shl rax, 3
add rax, qword [rbx + 0x28]
mov qword [rax], r12
inc qword [rbx + 0x40]
mov rcx, qword [r12 + 0x18]
mov qword [r12 + 0x18], rdi
test rcx, rcx
jne 0x140023b6d
mov qword [r12 + 0x20], r15
cmp dword [rbx + 0x10], 0
jne 0x14002392a
mov eax, dword [0x1402053a0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov r12, qword [rax + 0x178]
test r12, r12
jne 0x140023bc6
lock dec dword [rbp]
je 0x140023b8e
xor edi, edi
test r13, r13
setne dil
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400d4e20
mov eax, edi
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
and rax, rcx
jmp 0x1400238da
lea r8, [rsi - 1]
xor ecx, ecx
test rsi, r8
setne cl
jmp 0x1400239bb
divss xmm0, xmm2
call fcn.1400f0268
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1401d6658]
sar rdx, 0x3f
cvttss2si rax, xmm0
and rax, rdx
or rax, rcx
lea rdx, [rsi + rsi]
mov ecx, 1
cmp rsi, 3
jae 0x140023976
or rcx, rdx
cmp rcx, rax
cmovbe rcx, rax
mov ebp, 2
cmp rcx, 1
je 0x1400239e9
lea rax, [rcx - 1]
test rcx, rax
je 0x140023cc6
call fcn.14007fd50
mov rbp, rax
mov rsi, qword [rbx + 0x30]
cmp rbp, rsi
jbe 0x140023ce2
mov rax, rbp
shr rax, 0x3d
jne 0x140023bb5
lea rcx, [rbp*8]
call fcn.1400d2b88
mov rcx, qword [rbx + 0x28]
mov qword [rbx + 0x28], rax
test rcx, rcx
je 0x140023a1e
call fcn.1400d2b80
mov qword [rbx + 0x30], rbp
xor eax, eax
mov rcx, qword [rbx + 0x28]
mov qword [rcx + rax*8], 0
inc rax
cmp rbp, rax
jne 0x140023a24
mov r8, qword [rbx + 0x38]
test r8, r8
je 0x140023b0d
lea r10, [rbx + 0x38]
mov rcx, qword [r8 + 8]
mov rax, rbp
shr rax, 1
movabs rdx, 0x5555555555555555
and rax, rdx
mov rdx, rbp
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 0x140023cd6
cmp rcx, rbp
jb 0x140023ac3
mov rax, rcx
xor edx, edx
div rbp
mov rcx, rdx
mov rax, qword [rbx + 0x28]
mov qword [rax + rcx*8], r10
mov r10, qword [r8]
jmp 0x140023b08
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x140023bba
cmp rax, rbp
jb 0x140023aeb
xor edx, edx
div rbp
mov rax, rdx
cmp rax, rcx
je 0x140023b5d
mov rdx, qword [rbx + 0x28]
cmp qword [rdx + rax*8], 0
jne 0x140023b3b
mov qword [rdx + rax*8], r8
mov r8, r10
mov r10, qword [r10]
mov rcx, rax
test r10, r10
jne 0x140023ad0
mov rsi, qword [rbx + 0x30]
lea rbp, [rsi - 1]
test rsi, rbp
je 0x140023b33
cmp r13, rsi
jb 0x140023cce
mov rax, r13
xor edx, edx
div rsi
mov rbp, rdx
jmp 0x14002388c
and rbp, r13
jmp 0x14002388c
mov rdx, qword [r10]
mov qword [r8], rdx
mov rdx, qword [rbx + 0x28]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [r10], rdx
mov rdx, qword [rbx + 0x28]
mov rax, qword [rdx + rax*8]
mov qword [rax], r10
mov r10, r8
mov rax, rcx
jmp 0x140023aff
int3
ud2
int3
int3
lock dec dword [rcx + 8]
jne 0x1400238fc
call fcn.1400ca9f0
jmp 0x1400238fc
mov rcx, r12
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x140023640
mov rcx, rdi
call fcn.1400ca9f0
jmp 0x140023934
cmp qword [r12 + 0x10], r14
jne 0x140023823
mov r13, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
jmp 0x1400238e9
call fcn.140111390
lea rdx, [rbp - 1]
and rax, rdx
jmp 0x140023aeb
cmp qword [r12], rbx
jne 0x14002392a
movabs rsi, 0xfffffffc00000000
lea rax, [r12 + 0x28]
add r12, 8
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x60]
mov rdx, rbx
mov r8, r15
mov r9, r12
call fcn.140151540
mov rax, r14
and rax, rsi
cmp rax, qword [0x1401f8688]
jne 0x140023c12
mov rcx, r14
call fcn.14007c0e0
lea r15, [rsp + 0x58]
mov qword [r15], r14
lea r14, [rsp + 0x50]
mov qword [r14], rbx
mov ecx, pe_nt_image_headers64
call fcn.1400d2b88
mov rbx, rax
lea rdx, [0x1401516c0]
lea r8, [0x140151710]
mov rcx, rax
call fcn.1400c8ca0
lea rax, [0x1401515b0]
mov qword [rbx + 0x20], rax
mov dword [rbx + 0x28], 0
lea rcx, [rbx + 0x30]
lea r9, [rsp + 0x60]
mov rdx, r14
mov r8, r15
call fcn.140151740
lea r8, [rsp + 0x98]
mov qword [r8], rbx
mov rcx, rdi
mov rdx, r12
call fcn.1400d0e70
mov rcx, qword [r15]
mov rax, rcx
and rax, rsi
cmp rax, qword [0x1401f8688]
jne 0x140023c98
call fcn.14007c630
lea rbx, [rsp + 0x88]
mov rcx, rbx
call fcn.1400d1290
mov rcx, qword [rbx - 0x28]
and rsi, rcx
cmp rsi, qword [0x1401f8688]
jne 0x14002392a
call fcn.14007c240
jmp 0x14002392a
mov rbp, rcx
jmp 0x1400239e9
mov rbp, r13
jmp 0x14002388c
lea rax, [rbp - 1]
and rcx, rax
jmp 0x140023ac3
mov qword [rsp + 0x40], rbp
jae 0x140023b0d
mov rax, qword [rbx + 0x40]
test rax, rax
jns 0x140023d10
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x140023d18
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm0, dword [rbx + 0x48]
call fcn.1400f0268
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1401d6658]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rsi, 3
jb 0x140023dcb
mov rcx, rsi
shr rcx, 1
movabs rdx, 0x5555555555555555
and rcx, rdx
mov rdx, rsi
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 0x140023dcb
lea rcx, [rax - 1]
bsr rcx, rcx
xor ecx, 0x3f
neg cl
mov ebp, 1
shl rbp, cl
cmp rax, 2
cmovb rbp, rax
jmp 0x140023dd6
mov rcx, rax
call fcn.14007fd50
mov rbp, rax
mov rax, qword [rsp + 0x40]
cmp rax, rbp
cmova rbp, rax
cmp rbp, rsi
jae 0x140023b0d
test rbp, rbp
jne 0x1400239f2
mov rcx, qword [rbx + 0x28]
mov qword [rbx + 0x28], 0
test rcx, rcx
je 0x140023e0a
call fcn.1400d2b80
mov qword [rbx + 0x30], 0
jmp 0x140023b0d