Function at 0x1400ae3c0
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
test rcx, rcx
je 0x1400ae9ee
mov rsi, rcx
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
lea rcx, [0x140127b70]
cmp rax, rcx
jne 0x1400ae505
mov rax, qword [rsi + 0x18]
mov rax, qword [rax + 0x10]
mov rbx, qword [rax]
mov rdi, qword [0x140243af0]
cmp rdi, 1
jbe 0x1400ae98a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400ae738
mov rax, qword [0x140243af0]
cmp rax, 1
jbe 0x1400ae9bc
mov rbp, qword [0x140243b00]
test rbp, rbp
je 0x1400ae96c
mov r13, qword [rbp + 8]
movabs rcx, 0x5555555555555555
movabs r12, 0x3333333333333333
movabs r9, 0xf0f0f0f0f0f0f0f
movabs r8, 0x101010101010101
test r13, r13
je 0x1400ae522
mov rax, r13
shr rax, 1
and rax, rcx
mov rdx, r13
sub rdx, rax
mov rax, rdx
and rax, r12
shr rdx, 2
and rdx, r12
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 0x1400ae746
mov r15, rbx
cmp rbx, r13
jb 0x1400ae4c7
mov rax, rbx
xor edx, edx
div r13
mov r15, rdx
mov rax, qword [rbp]
mov rax, qword [rax + r15*8]
test rax, rax
je 0x1400ae52c
mov r14, qword [rax]
test r14, r14
je 0x1400ae52c
mov rax, qword [r14 + 8]
cmp rax, rbx
je 0x1400ae516
cmp ecx, 1
jbe 0x1400ae944
cmp rax, r13
jb 0x1400ae4fb
xor edx, edx
div r13
mov rax, rdx
cmp rax, r15
jne 0x1400ae52c
mov r14, qword [r14]
jmp 0x1400ae4d7
mov rcx, rsi
call qword [0x140223bc8]
mov rbx, rax
jmp 0x1400ae3fe
cmp qword [r14 + 0x10], rbx
je 0x1400ae61b
jmp 0x1400ae500
movabs r15, 0xaaaaaaaaaaaaaaaa
mov ecx, 0x20
call fcn.1401298a8
test rax, rax
je 0x1400ae9fd
mov r14, rax
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0
mov rax, qword [rbp + 0x18]
inc rax
jns 0x1400ae572
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x1400ae577
cvtsi2ss xmm0, rax
mov rcx, r13
shr rcx, 1
mov eax, r13d
and eax, 1
or rax, rcx
test r13, r13
jns 0x1400ae596
cvtsi2ss xmm1, rax
addss xmm1, xmm1
jmp 0x1400ae59b
cvtsi2ss xmm1, r13
movss xmm2, dword [rbp + 0x20]
je 0x1400ae75a
mulss xmm1, xmm2
ucomiss xmm0, xmm1
ja 0x1400ae75a
mov rcx, qword [rbp]
mov rax, qword [rcx + r15*8]
test rax, rax
jne 0x1400ae60e
lea rdx, [rbp + 0x10]
mov rax, qword [rbp + 0x10]
mov qword [r14], rax
mov qword [rbp + 0x10], r14
mov qword [rcx + r15*8], rdx
test rax, rax
je 0x1400ae617
mov rax, qword [rax + 8]
lea rcx, [r13 - 1]
test r13, rcx
je 0x1400ae950
cmp rax, r13
jb 0x1400ae5f6
xor edx, edx
div r13
mov rax, rdx
shl rax, 3
add rax, qword [rbp]
jmp 0x1400ae614
cmp r15, rsi
jne 0x1400ae716
mov rsi, r15
jmp 0x1400ae638
mov rcx, qword [rax]
mov qword [r14], rcx
mov qword [rax], r14
inc qword [rbp + 0x18]
mov r15, qword [r14 + 0x18]
test r15, r15
jne 0x1400ae600
mov qword [r14 + 0x18], rsi
mov r10, qword [0x140243b00]
mov r8, qword [r10 + 0x30]
test r8, r8
jne 0x1400ae658
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov r15, rsi
mov rax, r15
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, r8
shr rax, 1
movabs rcx, 0x5555555555555555
and rax, rcx
mov rcx, r8
sub rcx, rax
mov rax, rcx
and rax, r12
shr rcx, 2
and rcx, r12
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 0x1400aea10
mov rcx, rbx
cmp rbx, r8
jb 0x1400ae6c7
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
je 0x1400ae638
mov r10, qword [rax]
test r10, r10
je 0x1400ae638
mov rax, qword [r10 + 8]
cmp rbx, rax
je 0x1400ae958
cmp r9d, 1
jbe 0x1400aea1c
cmp rax, r8
jb 0x1400ae708
xor edx, edx
div r8
mov rax, rdx
cmp rax, rcx
jne 0x1400ae638
mov r10, qword [r10]
jmp 0x1400ae6db
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, qword [rsi]
mov rax, qword [rax]
mov rcx, rsi
mov edx, 1
call qword [0x140223bc8]
jmp 0x1400ae644
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x1400ae420
lea r15, [r13 - 1]
and r15, rbx
jmp 0x1400ae4c7
mov r15d, 1
jmp 0x1400ae79e
divss xmm0, xmm2
call fcn.1401480e4
cvttss2si rcx, xmm0
mov rdx, rcx
sar rdx, 0x3f
subss xmm0, dword [0x14020eaf8]
cvttss2si rax, xmm0
and rax, rdx
or rax, rcx
lea rcx, [r13*2]
cmp r13, 3
jb 0x1400ae752
lea rdx, [r13 - 1]
xor r15d, r15d
test r13, rdx
setne r15b
or r15, rcx
cmp r15, rax
cmovbe r15, rax
cmp r15, 1
je 0x1400ae931
lea rax, [r15 - 1]
test r15, rax
je 0x1400ae7ca
mov rcx, r15
call fcn.1401030d0
mov r15, rax
mov r13, qword [rbp + 8]
cmp r15, r13
jbe 0x1400aea41
mov rax, r15
shr rax, 0x3d
jne 0x1400aea28
lea rcx, [r15*8]
call fcn.1401298a8
mov rcx, qword [rbp]
mov qword [rbp], rax
test rcx, rcx
je 0x1400ae7ff
call fcn.1401298a0
mov qword [rbp + 8], r15
xor eax, eax
mov rcx, qword [rbp]
mov qword [rcx + rax*8], 0
inc rax
cmp r15, rax
jne 0x1400ae805
mov r8, qword [rbp + 0x10]
test r8, r8
je 0x1400ae90b
lea r10, [rbp + 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
and rax, r12
shr rdx, 2
and rdx, r12
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 0x1400aea35
cmp rcx, r15
jb 0x1400ae89a
mov rax, rcx
xor edx, edx
div r15
mov rcx, rdx
mov rax, qword [rbp]
mov qword [rax + rcx*8], r10
mov r10, qword [r8]
jmp 0x1400ae8b4
mov qword [rdx + rax*8], r8
mov r8, r10
mov r10, qword [r10]
mov rcx, rax
test r10, r10
je 0x1400ae90b
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x1400ae9f1
cmp rax, r15
jb 0x1400ae8d4
xor edx, edx
div r15
mov rax, rdx
cmp rax, rcx
je 0x1400ae906
mov rdx, qword [rbp]
cmp qword [rdx + rax*8], 0
je 0x1400ae8a7
mov rdx, qword [r10]
mov qword [r8], rdx
mov rdx, qword [rbp]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [r10], rdx
mov rdx, qword [rbp]
mov rax, qword [rdx + rax*8]
mov qword [rax], r10
mov r10, r8
mov rax, rcx
jmp 0x1400ae8ab
mov r13, qword [rbp + 8]
lea r15, [r13 - 1]
test r13, r15
je 0x1400ae93c
cmp rbx, r13
jb 0x1400aea2d
mov rax, rbx
xor edx, edx
div r13
mov r15, rdx
jmp 0x1400ae5b3
mov r15d, 2
jmp 0x1400ae7ca
and r15, rbx
jmp 0x1400ae5b3
lea rdx, [r13 - 1]
and rax, rdx
jmp 0x1400ae4fb
and rax, rcx
jmp 0x1400ae5f6
cmp qword [r10 + 0x10], rbx
jne 0x1400ae711
lock or dword [rsi + 0x10], 0x20
jmp 0x1400ae638
mov ecx, 0xb0
call fcn.1401298a8
mov rcx, rax
call fcn.140004000
mov rbp, qword [0x140243b00]
jmp 0x1400ae441
lea rcx, [0x140243af0]
call fcn.140003e90
test al, al
je 0x1400aeb69
mov qword [0x140243af8], 0
lea rdi, [0x140243af8]
mov qword [0x140243af0], rdi
jmp 0x1400ae40f
lea rcx, [0x140243af0]
call fcn.140003e90
test al, al
je 0x1400aeb75
mov qword [0x140243af8], 0
lea rax, [0x140243af8]
mov qword [0x140243af0], rax
jmp 0x1400ae431
int3
lea rdx, [r15 - 1]
and rax, rdx
jmp 0x1400ae8d4
lea rcx, [0x14020233c]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.140163630
lea rcx, [r8 - 1]
and rcx, rbx
jmp 0x1400ae6c7
lea rdx, [r8 - 1]
and rax, rdx
jmp 0x1400ae708
call fcn.140168700
mov r15, rbx
jmp 0x1400ae5b3
lea rax, [r15 - 1]
and rcx, rax
jmp 0x1400ae89a
mov qword [rsp + 0x20], r15
jae 0x1400ae90b
mov rax, qword [rbp + 0x18]
test rax, rax
jns 0x1400aea6f
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x1400aea77
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm0, dword [rbp + 0x20]
call fcn.1401480e4
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x14020eaf8]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp r13, 3
jb 0x1400aeb1d
mov rcx, r13
shr rcx, 1
movabs rdx, 0x5555555555555555
and rcx, rdx
mov rdx, r13
sub rdx, rcx
mov rcx, rdx
shr rcx, 2
and rdx, r12
and rcx, r12
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 0x1400aeb1d
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 0x1400aeb28
mov rcx, rax
call fcn.1401030d0
mov r15, rax
mov rax, qword [rsp + 0x20]
cmp rax, r15
cmova r15, rax
cmp r15, r13
jae 0x1400ae90b
test r15, r15
jne 0x1400ae7d3
mov rcx, qword [rbp]
mov qword [rbp], 0
test rcx, rcx
je 0x1400aeb5c
call fcn.1401298a0
mov qword [rbp + 8], 0
jmp 0x1400ae90b
mov rdi, qword [0x140243af0]
jmp 0x1400ae40f
mov rax, qword [0x140243af0]
jmp 0x1400ae431