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

Disassembly:
push rsi
push rbx
mov r8, rdx
test rdx, rdx
je 0x14005dc58
cmp r8, 1
jne 0x14005dab0
movzx eax, byte [rcx]
mov edx, 0xefc8acc1
nop dword [rax]
mov r8d, dword [0x141dc8f90]
add r8d, dword [0x141dc8f94]
imul r8, rdx
shr r8, 0x3d
xor r8d, 0xbef28a84
add r8d, 0x190e9473
cmp r8d, 0x654448a
jb 0x14005da60
mov r10d, 0x100
mov r8d, 1
cmp eax, 0x2b
je 0x14005ddad
cmp eax, 0x2d
je 0x14005ddad
jmp 0x14005dbe0
mov eax, dword [0x141dc8fa8]
or eax, dword [0x141dc8fac]
imul eax, eax, 0x3f2b90d5
add eax, 0x9f530184
or eax, 0x48f16451
cmp eax, 0x8a4b4651
ja 0x14005dab0
movzx eax, byte [rcx]
nop word cs:[rax + rax]
mov edx, dword [0x141dc8fb0]
xor edx, dword [0x141dc8fb4]
or edx, 0xfdd4fcc6
and edx, 0xfdd6fede
cmp edx, 0xe2f3ba07
jb 0x14005dae0
mov edx, dword [0x141dc8fb8]
mov r9d, dword [0x141dc8fbc]
add edx, r9d
add edx, 0x4fd07bb6
xor edx, 0x3c121118
or edx, 0x83c4c2c7
cmp edx, 0xc022ebb2
jb 0x14005db00
cmp al, 0x2b
jne 0x14005dbb0
inc rcx
lea rax, [r8 - 1]
nop dword [rax]
mov edx, dword [0x141dc8fc0]
imul edx, dword [0x141dc8fc4]
and edx, 0x6a27ef68
imul edx, edx, 0x6f7b95aa
cmp edx, 0x32d42a3
je 0x14005db40
nop word cs:[rax + rax]
mov edx, dword [0x141dc8fc8]
imul edx, dword [0x141dc8fcc]
imul edx, edx, 0xd5d77287
xor edx, 0x840812a2
or edx, 0x7b73c959
cmp edx, 0xf36c0c2b
je 0x14005db70
cmp r8, 0xa
mov r8, rax
jb 0x14005dbe0
jmp 0x14005dc60
mov eax, dword [0x141dc8fa0]
or eax, dword [0x141dc8fa4]
or eax, 0x93e2a2e2
imul eax, eax, 0xe380630e
cmp eax, 0xa9f57ca
je 0x14005dbb0
xor eax, eax
test al, al
jne 0x14005dbd0
cmp r8, 9
jae 0x14005dc60
nop
mov eax, dword [0x141dc8f98]
add eax, dword [0x141dc8f9c]
or eax, 0x11750a02
imul eax, eax, 0x6f6c4f72
cmp eax, 0xbec66e8b
je 0x14005dbe0
xor r10d, r10d
xor eax, eax
nop word cs:[rax + rax]
movzx r9d, byte [rcx]
add r9d, 0xffffffd0
cmp r9d, 9
ja 0x14005dd99
nop word cs:[rax + rax]
test r10b, r10b
jne 0x14005dc30
add eax, eax
lea eax, [rax + rax*4]
dec r8
test r10b, r10b
jne 0x14005dc3d
inc rcx
add r9d, eax
mov eax, r9d
test r8, r8
jne 0x14005dc10
xor r8d, r8d
jmp 0x14005ddad
mov r10, r8
jmp 0x14005dda7
mov eax, 0xbe4f8433
nop word cs:[rax + rax]
mov edx, dword [0x141dc8fd0]
xor edx, dword [0x141dc8fd4]
or edx, 0xfdd9f73b
imul rdx, rax
shr rdx, 0x3f
cmp edx, 0xbec28346
ja 0x14005dc70
xor r10d, r10d
mov r11d, 0xa
xor eax, eax
nop dword [rax]
mov r9d, eax
test r10b, r10b
jne 0x14005dca3
sub r8, 1
jb 0x14005dc50
mov eax, r9d
mul r11d
lea rdx, [rcx + 1]
seto bl
nop dword [rax + rax]
test r10b, r10b
jne 0x14005dcc0
movzx ecx, byte [rcx]
add ecx, 0xffffffd0
nop dword [rax + rax]
mov esi, dword [0x141dc8fd8]
imul esi, dword [0x141dc8fdc]
add esi, 0x87556032
and esi, 0xfecbf25c
add esi, 0xe0a57d82
cmp esi, 0x8521b366
jb 0x14005dcd0
test bl, bl
jne 0x14005dd60
nop dword [rax + rax]
mov esi, dword [0x141dc8fe0]
imul esi, dword [0x141dc8fe4]
imul esi, esi, 0x104a58b7
and esi, 0x1ef62bae
cmp esi, 0xeb4156d1
je 0x14005dd00
cmp ecx, 0xa
jae 0x14005dda1
add eax, ecx
setb bl
mov ecx, dword [0x141dc8ff0]
and ecx, dword [0x141dc8ff4]
add ecx, 0x599578d2
or ecx, 0xbee37071
cmp ecx, 0x55235439
jb 0x14005dd2b
mov rcx, rdx
test bl, bl
je 0x14005dca0
mov r10d, 0x200
jmp 0x14005dda7
xor r10d, r10d
cmp ecx, 0xa
setb al
mov edx, dword [0x141dc8fe8]
sub edx, dword [0x141dc8fec]
or edx, 0xe7a8ffca
and edx, 0xe7efffeb
cmp edx, 0xc9d2ed34
jbe 0x14005dd60
mov r10b, al
shl r10, 8
add r10, 0x100
jmp 0x14005dda7
mov r10d, 0x100
jmp 0x14005dda7
mov r10d, 0x100
mov r8d, 1
or r10, r8
shl r9, 0x20
or r9, r10
nop word [rax + rax]
mov eax, dword [0x141dc8ff8]
mov ecx, dword [0x141dc8ffc]
add eax, ecx
add eax, 0x3792e504
and eax, 0xe723093d
xor eax, 0xbeb23bb
cmp eax, 0x2f62e7fd
jb 0x14005ddc0
mov rax, r9
pop rbx
pop rsi
ret