Function at 0x14002b8e0
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 r12, rdx
mov rbx, rcx
mov rax, qword [0x14022b040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
lea rsi, [rcx + 0x18]
mov rcx, rsi
call qword [0x14021ff48]
test al, al
je 0x14002be40
mov eax, dword [0x140239d90]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x138]
test rax, rax
je 0x14002be21
mov rdi, qword [rax]
test rdi, rdi
je 0x14002be21
mov r8, qword [rbx + 0x40]
mov eax, 1
mov ecx, 1
lock xadd dword [rdi + 8], ecx
cmp ecx, 0x7fffffff
je 0x14002be26
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 0x14002be29
mov rax, r12
shr rax, 0x20
mov ecx, r12d
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]
test r14, r14
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x30], r12
je 0x14002bb19
mov rax, r14
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, r14
sub rax, rcx
movabs rcx, 0x3333333333333333
mov rdx, rax
and rdx, rcx
shr rax, 2
and rax, rcx
add rax, rdx
mov rcx, rax
shr rcx, 4
add rcx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rcx
movabs rcx, 0x101010101010101
imul rcx, rax
shr rcx, 0x38
cmp rcx, 1
jbe 0x14002bb0d
mov rbp, r13
cmp r13, r14
jb 0x14002ba66
mov rax, r13
xor edx, edx
div r14
mov rbp, rdx
mov rax, qword [rbx + 0x28]
mov rax, qword [rax + rbp*8]
test rax, rax
jne 0x14002baca
mov ecx, 0x28
call fcn.140130ce8
test rax, rax
je 0x14002be24
mov r12, rax
mov qword [rax], 0
mov qword [rax + 8], r13
mov rax, qword [rsp + 0x30]
mov qword [r12 + 0x10], rax
xorps xmm0, xmm0
movups xmmword [r12 + 0x18], xmm0
mov rax, qword [rbx + 0x40]
inc rax
jns 0x14002bb28
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x14002bb30
mov r12, qword [rax]
test r12, r12
je 0x14002ba73
cmp ecx, 2
jb 0x14002bc6b
mov rax, qword [r12 + 8]
cmp rax, r13
je 0x14002be5a
cmp rax, r14
jb 0x14002baf6
xor edx, edx
div r14
mov rax, rdx
cmp rax, rbp
jne 0x14002ba73
mov r12, qword [r12]
test r12, r12
jne 0x14002badb
jmp 0x14002ba73
lea rbp, [r14 - 1]
and rbp, r13
jmp 0x14002ba66
movabs rbp, 0xaaaaaaaaaaaaaaaa
jmp 0x14002ba73
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 0x14002bb58
cvtsi2ss xmm1, rax
addss xmm1, xmm1
jmp 0x14002bb5d
mov rcx, qword [rax]
mov qword [r12], rcx
jmp 0x14002bbc1
cvtsi2ss xmm1, r14
movss xmm2, dword [rbx + 0x48]
je 0x14002bcad
mulss xmm1, xmm2
ucomiss xmm0, xmm1
ja 0x14002bcad
mov rcx, qword [rbx + 0x28]
mov rax, qword [rcx + rbp*8]
test rax, rax
jne 0x14002bb4f
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
je 0x14002bbc4
mov rax, qword [rax + 8]
lea rcx, [r14 - 1]
test r14, rcx
je 0x14002bc63
cmp rax, r14
jb 0x14002bbb9
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 0x14002be2c
mov qword [r12 + 0x20], r15
cmp dword [rbx + 0x10], 0
jne 0x14002bc09
mov eax, dword [0x140239d90]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rsi, qword [rax + 0x178]
test rsi, rsi
jne 0x14002bedc
mov rax, qword [rsp + 0x38]
lock dec dword [rax]
mov rbx, qword [rsp + 0x48]
mov r14, qword [rsp + 0x40]
je 0x14002be4d
xor esi, esi
test r14, r14
setne sil
mov rcx, rbx
call qword [0x14021fdd8]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
cmp rcx, qword [0x14022b040]
je 0x14002bc4d
call fcn.1401335a0
int3
mov eax, esi
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
and rax, rcx
jmp 0x14002bbb9
lea rax, [r14 - 1]
mov rcx, qword [r12 + 8]
cmp rcx, r13
je 0x14002bfe3
and rcx, rax
cmp rcx, rbp
jne 0x14002ba73
mov r12, qword [r12]
test r12, r12
jne 0x14002bc6f
jmp 0x14002ba73
lea rdx, [r14 - 1]
xor esi, esi
test r14, rdx
setne sil
jmp 0x14002bce4
mov esi, 2
jmp 0x14002bd0c
divss xmm0, xmm2
call fcn.14014e408
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x14020a4f8]
sar rdx, 0x3f
cvttss2si rax, xmm0
and rax, rdx
or rax, rcx
lea rcx, [r14 + r14]
mov esi, 1
cmp r14, 3
jae 0x14002bc97
or rsi, rcx
cmp rsi, rax
cmovbe rsi, rax
cmp rsi, 1
je 0x14002bca6
lea rax, [rsi - 1]
test rsi, rax
je 0x14002bd0c
mov rcx, rsi
call fcn.1401031b0
mov rsi, rax
mov r14, qword [rbx + 0x30]
cmp rsi, r14
jbe 0x14002bff8
mov rbp, rsi
mov rax, rbp
shr rax, 0x3d
jne 0x14002be6f
lea rcx, [rbp*8]
call fcn.140130ce8
mov rcx, qword [rbx + 0x28]
mov qword [rbx + 0x28], rax
test rcx, rcx
je 0x14002bd44
call fcn.140130d24
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 0x14002bd4a
mov r8, qword [rbx + 0x38]
test r8, r8
je 0x14002bda1
lea r9, [rbx + 0x38]
mov rcx, qword [r8 + 8]
lea rax, [rbp - 1]
test rbp, rax
je 0x14002be79
cmp rcx, rbp
jb 0x14002bd8c
mov rax, rcx
xor edx, edx
div rbp
mov rcx, rdx
mov rax, qword [rbx + 0x28]
mov qword [rax + rcx*8], r9
mov r9, qword [r8]
jmp 0x14002bdf5
and rbp, r13
jmp 0x14002bb75
mov r14, qword [rbx + 0x30]
lea rbp, [r14 - 1]
test r14, rbp
je 0x14002bd99
cmp r13, r14
jb 0x14002bed4
mov rax, r13
xor edx, edx
div r14
mov rbp, rdx
jmp 0x14002bb75
mov rdx, qword [r9]
mov qword [r8], rdx
mov rdx, qword [rbx + 0x28]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [r9], rdx
mov rdx, qword [rbx + 0x28]
mov rax, qword [rdx + rax*8]
mov qword [rax], r9
mov r9, r8
mov rax, rcx
mov r8, r9
mov r9, qword [r9]
mov rcx, rax
test r9, r9
je 0x14002bda1
mov rax, qword [r9 + 8]
cmp rax, rbp
jb 0x14002be0b
xor edx, edx
div rbp
mov rax, rdx
cmp rax, rcx
je 0x14002bde9
mov rdx, qword [rbx + 0x28]
cmp qword [rdx + rax*8], 0
jne 0x14002bdc7
mov qword [rdx + rax*8], r8
jmp 0x14002bdec
int3
ud2
int3
int3
lock dec dword [rcx + 8]
jne 0x14002bbdb
call fcn.1400e78a0
jmp 0x14002bbdb
mov rcx, rsi
call fcn.140122d00
jmp 0x14002b920
mov rcx, rdi
call fcn.1400e78a0
jmp 0x14002bc21
mov rax, qword [rsp + 0x30]
cmp qword [r12 + 0x10], rax
jne 0x14002baff
jmp 0x14002bbc8
call fcn.14016cc10
mov r8, rdx
jmp 0x14002be84
and rcx, rax
mov rdx, qword [rbx + 0x28]
mov qword [rdx + rcx*8], r9
mov rdx, qword [r8]
test rdx, rdx
je 0x14002bda1
mov r9, qword [rdx + 8]
and r9, rax
cmp r9, rcx
je 0x14002be74
mov r10, qword [rbx + 0x28]
cmp qword [r10 + r9*8], 0
jne 0x14002beb3
mov qword [r10 + r9*8], r8
mov r8, rdx
mov rcx, r9
jmp 0x14002be84
mov r10, qword [rdx]
mov qword [r8], r10
mov r10, qword [rbx + 0x28]
mov r10, qword [r10 + r9*8]
mov r10, qword [r10]
mov qword [rdx], r10
mov r10, qword [rbx + 0x28]
mov r9, qword [r10 + r9*8]
mov qword [r9], rdx
jmp 0x14002be84
mov rbp, r13
jmp 0x14002bb75
cmp qword [rsi], rbx
jne 0x14002bc09
movabs r12, 0xfffffffc00000000
lea rax, [rsi + 0x28]
add rsi, 8
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x60]
mov rdx, rbx
mov r8, r15
mov r9, rsi
call fcn.14019ab60
mov rax, qword [rsp + 0x30]
and rax, r12
cmp rax, qword [0x14022d648]
jne 0x14002bf2a
mov rcx, qword [rsp + 0x30]
call fcn.140003410
lea r15, [rsp + 0x58]
mov rax, qword [rsp + 0x30]
mov qword [r15], rax
lea r14, [rsp + 0x50]
mov qword [r14], rbx
mov ecx, pe_nt_image_headers64
call fcn.140130ce8
mov rbx, rax
lea rdx, [0x14019acf0]
lea r8, [0x14019ad40]
mov rcx, rax
call fcn.140123030
lea rax, [0x14019abd0]
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.14019ad70
lea r8, [rsp + 0x98]
mov qword [r8], rbx
mov rcx, rdi
mov rdx, rsi
call fcn.14012ea10
mov rcx, qword [r15]
mov rax, rcx
and rax, r12
cmp rax, qword [0x14022d648]
jne 0x14002bfb5
call fcn.140003550
lea rsi, [rsp + 0x88]
mov rcx, rsi
call fcn.14012f000
mov rcx, qword [rsi - 0x28]
and r12, rcx
cmp r12, qword [0x14022d648]
jne 0x14002bc09
call fcn.140003550
jmp 0x14002bc09
mov rcx, qword [rsp + 0x30]
cmp qword [r12 + 0x10], rcx
jne 0x14002bc89
jmp 0x14002bbc8
jae 0x14002bda1
mov rax, qword [rbx + 0x40]
test rax, rax
jns 0x14002c021
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x14002c029
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm0, dword [rbx + 0x48]
call fcn.14014e408
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x14020a4f8]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp r14, 3
jb 0x14002c0dc
mov rcx, r14
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rcx, r14
sub rcx, rdx
movabs rdx, 0x3333333333333333
mov r8, rcx
shr r8, 2
and rcx, rdx
and r8, rdx
add r8, rcx
mov rcx, r8
shr rcx, 4
add rcx, r8
movabs rdx, 0xf0f0f0f0f0f0f0f
and rdx, rcx
movabs rcx, 0x101010101010101
imul rcx, rdx
shr rcx, 0x38
cmp ecx, 1
ja 0x14002c0dc
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 0x14002c0e7
mov rcx, rax
call fcn.1401031b0
mov rbp, rax
cmp rsi, rbp
cmova rbp, rsi
cmp rbp, r14
jae 0x14002bda1
test rbp, rbp
jne 0x14002bd18
mov rcx, qword [rbx + 0x28]
mov qword [rbx + 0x28], 0
test rcx, rcx
je 0x14002c116
call fcn.140130d24
mov qword [rbx + 0x30], 0
jmp 0x14002bda1