Function at 0x14005cf60
Capabilities:
Encode data using base64
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
mov rdi, rdx
mov r9, rcx
nop dword [rax]
mov eax, dword [0x141dc9d30]
imul eax, dword [0x141dc9d34]
and eax, 0x32828c54
imul eax, eax, 0x90b92023
xor eax, 0x88eb6677
cmp eax, 0x52c38d5d
jb 0x14005cf70
nop word cs:[rax + rax]
cmp r9, 0xfffffffffffffeaa
setl al
test rdi, rdi
sete cl
mov edx, dword [0x141dc9d38]
and edx, dword [0x141dc9d3c]
or edx, 0x452982d7
add edx, 0x325f715f
cmp edx, 0x349656d3
jb 0x14005cfa0
or al, cl
je 0x14005cfde
xor r8d, r8d
xor eax, eax
jmp 0x14005d3ac
mov r8d, 0x7ff
cmp r9, 0x134
jle 0x14005cff4
xor eax, eax
jmp 0x14005d3ac
test rdi, rdi
je 0x14005d003
bsr r11, rdi
xor r11, 0x3f
jmp 0x14005d009
mov r11d, 0x40
mov ecx, r11d
shl rdi, cl
mov rbx, r9
shl rbx, 4
lea r14, [0x141db7818]
lea rcx, [rbx + r14]
add rcx, 0x1560
nop dword [rax + rax]
mov eax, dword [0x141dc9d40]
xor edx, edx
div dword [0x141dc9d44]
add eax, 0xe853c183
imul r15, rax, 0x49dcb371
mov rax, rdi
mul qword [rbx + r14 + 0x1560]
shr r15, 0x3e
cmp r15d, 0x17cdc4f5
je 0x14005d030
mov rsi, rax
mov r10, rdx
mov eax, r10d
and eax, 0x1ff
cmp eax, 0x1ff
jne 0x14005d0de
nop word [rax + rax]
mov eax, dword [0x141dc9d48]
or eax, dword [0x141dc9d4c]
add eax, 0x102d4b55
imul rax, rax, 0x720a3ff9
shr rax, 0x3d
add eax, 0x74e2d04f
cmp eax, 0xf2c96443
ja 0x14005d080
mov rcx, qword [rcx + 8]
nop dword [rax]
mov eax, dword [0x141dc9d50]
xor edx, edx
div dword [0x141dc9d54]
and eax, 0x5c848c
imul ebx, eax, 0x77a47f6
mov rax, rcx
mul rdi
cmp ebx, 0x4447612f
ja 0x14005d0b0
add rsi, rdx
adc r10, 0
lea rax, [r9 + 0x1b]
nop word cs:[rax + rax]
mov ecx, dword [str.KByh]
mov edx, dword [0x141dc9d5c]
add ecx, edx
add ecx, 0xebe6fb0c
shr ecx, 1
imul rdi, rcx, 0x40d63ddb
shr rdi, 0x3d
cmp rsi, 0xffffffffffffffff
setne cl
cmp rax, 0x53
setb dl
cmp edi, 0xcc263339
ja 0x14005d0f0
or dl, cl
je 0x14005d234
mov ecx, 0xd806bb87
mov rax, r10
shr rax, 0x3f
nop dword [rax + rax]
mov edx, dword [0x141dc9d60]
imul edx, dword [0x141dc9d64]
imul edx, edx, 0xffcaddea
or edx, 0x227496f6
imul rdx, rcx
shr rdx, 0x3e
cmp edx, 0xf8259ec3
je 0x14005d140
mov rcx, rax
add rcx, 9
mov rdi, r10
shr rdi, cl
imul edx, r9d, 0x3526a
sar edx, 0x10
sub edx, r11d
lea r11d, [rdx + rax]
add r11d, 0x3f
nop dword [rax + rax]
mov eax, dword [0x141dc9d68]
or eax, dword [0x141dc9d6c]
xor eax, 0x96442211
and eax, 0xde546611
imul eax, eax, 0x7259c2a3
cmp eax, 0xc810c08e
ja 0x14005d190
cmp r11d, 0xfffffc02
jge 0x14005d241
cmp r11d, 0xfffffbc3
jb 0x14005cfd4
mov eax, dword [0x141dc9d90]
xor edx, edx
div dword [0x141dc9d94]
mov ecx, 2
sub ecx, r11d
and ecx, 0x3f
nop word cs:[rax + rax]
mov eax, dword [0x141dc9d98]
xor edx, edx
div dword [0x141dc9d9c]
imul eax, eax, 0x696c087
add eax, 0x7d499ca2
cmp eax, 0x83fbd272
ja 0x14005d1f0
mov rdx, rdi
shr rdx, cl
bt rdi, rcx
adc rdx, 0
mov rax, rdx
shr rax, 1
xor r8d, r8d
shr rdx, 0x35
setne r8b
jmp 0x14005d3ac
mov r8d, 0xffffffff
xor eax, eax
jmp 0x14005d3ac
cmp rsi, 2
setb al
add r9, 4
cmp r9, 0x1c
setb dl
and dl, al
mov eax, edi
and eax, 3
cmp eax, 1
sete r9b
mov rax, rdi
shl rax, cl
and r9b, dl
cmp rax, r10
sete al
and al, r9b
mov r10, rdi
and r10, 0xfffffffffffffffe
movabs rcx, 0x3fffffffffffff
nop word cs:[rax + rax]
mov edx, dword [0x141dc9d70]
or edx, dword [0x141dc9d74]
imul esi, edx, 0x1dd77d0c
add esi, 0x911c3ff4
xor esi, 0x9380632e
test al, al
mov rdx, rdi
cmovne rdx, r10
mov r9d, edx
and r9d, 1
add r9, rdx
cmp rcx, r9
mov edx, r11d
adc edx, 0x3ff
cmp esi, 0x18c9993
jb 0x14005d290
cmp edx, 0x7fe
ja 0x14005cfed
movabs rax, 0x7fefffffffffffff
mov r8, r9
shr r8, 1
and r8, rax
nop word cs:[rax + rax]
mov eax, dword [0x141dc9d78]
imul eax, dword [0x141dc9d7c]
imul r10, rax, 0xcfeb943
shr r10, 0x20
sub eax, r10d
shr eax, 1
add eax, r10d
shr eax, 0x1e
or eax, 0x5cf08f9a
imul eax, eax, 0x3977be6b
cmp eax, 0x6b7c4ad2
jb 0x14005d300
xor r10d, r10d
nop dword [rax + rax]
mov eax, dword [0x141dc9d80]
mov r11d, dword [0x141dc9d84]
add r11d, eax
add r11d, 0x4813f39
or r11d, 0x89128f08
and r11d, 0x9b5fafeb
cmp r9, rcx
mov rax, r8
cmova rax, r10
cmp r11d, 0x4da721ee
jb 0x14005d340
mov ecx, 0xb89204ef
nop dword [rax]
mov r8d, dword [0x141dc9d88]
or r8d, dword [0x141dc9d8c]
imul r8d, r8d, 0x905077c0
shr r8d, 1
imul r8, rcx
shr r8, 0x3b
cmp r8d, 0x2f532dd0
ja 0x14005d380
mov r8d, edx
mov edx, r8d
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret