Function at 0x14002b790
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov qword [rsp + 0x28], rdx
mov rbx, rcx
mov rax, qword [0x14029c028]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rsi, [rcx + 0x18]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14002be41
mov eax, dword [0x1402ac5e0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x168]
test rax, rax
je 0x14002be4e
mov r8, qword [rbx + 0x40]
mov rdi, qword [rax + 0x10]
test rdi, rdi
je 0x14002be6b
mov eax, 1
mov ecx, 1
lock xadd dword [rdi + 8], ecx
cmp ecx, 0x7fffffff
je 0x14002be51
mov r15, qword [rbx + 0x20]
inc r15
mov qword [rbx + 0x20], r15
lock xadd dword [rdi + 8], eax
cmp eax, 0x7fffffff
je 0x14002be54
mov rcx, qword [rsp + 0x28]
mov rax, rcx
shr rax, 0x20
mov ecx, ecx
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 r14, qword [rbx + 0x30]
movabs rdx, 0x5555555555555555
movabs rcx, 0x3333333333333333
movabs r10, 0xf0f0f0f0f0f0f0f
movabs r9, 0x101010101010101
test r14, r14
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r8
je 0x14002b97b
mov rax, r14
shr rax, 1
and rax, rdx
mov rdx, r14
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, r10
imul rcx, r9
shr rcx, 0x38
cmp rcx, 1
jbe 0x14002b972
mov rbp, r13
cmp r13, r14
jb 0x14002b90b
mov rax, r13
xor edx, edx
div r14
mov rbp, rdx
mov rax, qword [rbx + 0x28]
mov r12, qword [rax + rbp*8]
test r12, r12
jne 0x14002b987
mov ecx, 0x28
call fcn.140184dc4
cmp rax, 0xfffffffffffffff0
je 0x14002be7b
mov r12, rax
mov rax, qword [rsp + 0x28]
mov qword [r12 + 0x10], rax
xorps xmm0, xmm0
movups xmmword [r12 + 0x18], xmm0
mov qword [r12 + 8], r13
mov qword [r12], 0
mov rax, qword [rbx + 0x40]
inc rax
jns 0x14002b9cf
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x14002b9d7
lea rbp, [r14 - 1]
and rbp, r13
jmp 0x14002b90b
movabs rbp, 0xaaaaaaaaaaaaaaaa
jmp 0x14002b918
lea r8, [r14 - 1]
mov r12, qword [r12]
test r12, r12
je 0x14002b918
mov rax, qword [r12 + 8]
cmp rax, r13
je 0x14002b9b9
cmp ecx, 1
jbe 0x14002b9ca
cmp rax, r14
jb 0x14002b9b0
xor edx, edx
div r14
mov rax, rdx
cmp rax, rbp
jne 0x14002b918
mov rax, qword [rsp + 0x28]
cmp qword [r12 + 0x10], rax
jne 0x14002b98b
jmp 0x14002ba73
and rax, r8
jmp 0x14002b9b0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov rcx, r14
shr rcx, 1
mov eax, r14d
and eax, 1
or rax, rcx
test r14, r14
jns 0x14002b9ff
cvtsi2ss xmm1, rax
addss xmm1, xmm1
jmp 0x14002ba04
mov rcx, qword [rax]
mov qword [r12], rcx
jmp 0x14002ba6c
cvtsi2ss xmm1, r14
movss xmm2, dword [rbx + 0x48]
je 0x14002bb14
mulss xmm1, xmm2
ucomiss xmm0, xmm1
ja 0x14002bb14
mov rcx, qword [rbx + 0x28]
mov rax, qword [rcx + rbp*8]
test rax, rax
jne 0x14002b9f6
lea rax, [rbx + 0x38]
mov rdx, qword [rbx + 0x38]
mov qword [r12], rdx
mov qword [rbx + 0x38], r12
mov qword [rcx + rbp*8], rax
mov rax, qword [r12]
test rax, rax
je 0x14002ba6f
mov rax, qword [rax + 8]
lea rcx, [r14 - 1]
test r14, rcx
je 0x14002bb05
cmp rax, r14
jb 0x14002ba64
xor edx, edx
div r14
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 0x14002be57
mov qword [r12 + 0x20], r15
cmp dword [rbx + 0x10], 0
jne 0x14002bab4
mov eax, dword [0x1402ac5e0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rsi, qword [rax + 0x1b0]
test rsi, rsi
jne 0x14002beb4
test rdi, rdi
mov rbx, qword [rsp + 0x38]
mov r14, qword [rsp + 0x30]
je 0x14002bacd
lock dec dword [rdi + 8]
je 0x14002bcf8
xor esi, esi
test r14, r14
setne sil
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401879f0
mov eax, esi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
and rax, rcx
jmp 0x14002ba64
mov esi, 2
jmp 0x14002bb80
divss xmm0, xmm2
call fcn.1401a3a9c
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x140261048]
sar rdx, 0x3f
cvttss2si rax, xmm0
and rax, rdx
or rax, rcx
lea rcx, [r14 + r14]
mov esi, 1
cmp r14, 3
jb 0x14002bb58
lea rdx, [r14 - 1]
xor esi, esi
test r14, rdx
setne sil
or rsi, rcx
cmp rsi, rax
cmovbe rsi, rax
cmp rsi, 1
je 0x14002bb0d
lea rax, [rsi - 1]
test rsi, rax
je 0x14002bb80
mov rcx, rsi
call fcn.140152ca0
mov rsi, rax
mov r14, qword [rbx + 0x30]
cmp rsi, r14
jbe 0x14002bd1a
mov rbp, rsi
mov rax, rbp
shr rax, 0x3d
jne 0x14002bea7
lea rcx, [rbp*8]
call fcn.140184dc4
mov rcx, qword [rbx + 0x28]
mov qword [rbx + 0x28], rax
test rcx, rcx
je 0x14002bbb8
call fcn.140184dbc
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 0x14002bbbe
mov r8, qword [rbx + 0x38]
test r8, r8
je 0x14002bcca
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 0x14002bd0e
cmp rcx, rbp
jb 0x14002bc5d
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 0x14002bc98
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
mov r8, r10
mov r10, qword [r10]
mov rcx, rax
test r10, r10
je 0x14002bcca
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x14002bd05
cmp rax, rbp
jb 0x14002bcb4
xor edx, edx
div rbp
mov rax, rdx
cmp rax, rcx
je 0x14002bc8c
mov rdx, qword [rbx + 0x28]
cmp qword [rdx + rax*8], 0
jne 0x14002bc6a
mov qword [rdx + rax*8], r8
jmp 0x14002bc8f
mov r14, qword [rbx + 0x30]
lea rbp, [r14 - 1]
test r14, rbp
je 0x14002bcf0
cmp r13, r14
jb 0x14002beac
mov rax, r13
xor edx, edx
div r14
mov rbp, rdx
jmp 0x14002ba1c
and rbp, r13
jmp 0x14002ba1c
mov rcx, rdi
call fcn.14014fe40
jmp 0x14002bacd
lea rdx, [rbp - 1]
and rax, rdx
jmp 0x14002bcb4
lea rax, [rbp - 1]
and rcx, rax
jmp 0x14002bc5d
jae 0x14002bcca
mov rax, qword [rbx + 0x40]
test rax, rax
jns 0x14002bd3f
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x14002bd47
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm0, dword [rbx + 0x48]
call fcn.1401a3a9c
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x140261048]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp r14, 3
jb 0x14002bdfa
mov rcx, r14
shr rcx, 1
movabs rdx, 0x5555555555555555
and rcx, rdx
mov rdx, r14
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 0x14002bdfa
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 0x14002be05
mov rcx, rax
call fcn.140152ca0
mov rbp, rax
cmp rsi, rbp
cmova rbp, rsi
cmp rbp, r14
jae 0x14002bcca
test rbp, rbp
jne 0x14002bb8c
mov rcx, qword [rbx + 0x28]
mov qword [rbx + 0x28], 0
test rcx, rcx
je 0x14002be34
call fcn.140184dbc
mov qword [rbx + 0x30], 0
jmp 0x14002bcca
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14002b7d2
int3
int3
int3
lock dec dword [rcx + 8]
jne 0x14002ba86
call fcn.14014fe40
jmp 0x14002ba86
mov r15, qword [rbx + 0x20]
inc r15
mov qword [rbx + 0x20], r15
jmp 0x14002b83c
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1401c2f20
call fcn.1401c2f20
mov rbp, r13
jmp 0x14002ba1c
cmp qword [rsi], rbx
jne 0x14002bab4
movabs r12, 0xfffffffc00000000
lea rax, [rsi + 0x28]
add rsi, 8
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x50]
mov rdx, rbx
mov r8, r15
mov r9, rsi
call fcn.140209810
mov rax, qword [rsp + 0x28]
and rax, r12
cmp rax, qword [0x14029ce48]
jne 0x14002bf02
mov rcx, qword [rsp + 0x28]
call fcn.1400ddc60
lea r15, [rsp + 0x48]
mov rax, qword [rsp + 0x28]
mov qword [r15], rax
lea r14, [rsp + 0x40]
mov qword [r14], rbx
mov ecx, pe_nt_image_headers64
call fcn.140184dc4
mov rbx, rax
lea rdx, [0x140209990]
lea r8, [0x1402099e0]
mov rcx, rax
call fcn.14013d9a0
lea rax, [0x140209880]
mov qword [rbx + 0x20], rax
mov dword [rbx + 0x28], 0
lea rcx, [rbx + 0x30]
lea r9, [rsp + 0x50]
mov rdx, r14
mov r8, r15
call fcn.140209a10
lea r8, [rsp + 0x88]
mov qword [r8], rbx
mov rcx, rdi
mov rdx, rsi
call fcn.140183910
mov rcx, qword [r15]
mov rax, rcx
and rax, r12
cmp rax, qword [0x14029ce48]
jne 0x14002bf8d
call fcn.1400e1670
lea rsi, [rsp + 0x78]
mov rcx, rsi
call fcn.140183f00
mov rcx, qword [rsi - 0x28]
and r12, rcx
cmp r12, qword [0x14029ce48]
jne 0x14002bab4
call fcn.1400de590
jmp 0x14002bab4