Function at 0x14005b9d0
Capabilities:
Encode data using base64
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
mov r8, rdx
mov r10d, 1
test rdx, rdx
je 0x14005bc04
cmp r8, 1
jne 0x14005ba40
movzx eax, byte [rcx]
movzx edx, al
nop word cs:[rax + rax]
mov r9d, dword [0x141dc9118]
imul r9d, dword [0x141dc911c]
or r9d, 0xb784727a
add r9d, 0x3e9fe99e
cmp r9d, 0x1a2899a2
jb 0x14005ba00
mov r11d, 0x100
cmp edx, 0x2b
je 0x14005bf07
cmp edx, 0x2d
je 0x14005bf07
jmp 0x14005ba87
mov eax, dword [0x141dc9148]
xor eax, dword [0x141dc914c]
add eax, 0xb996ea2c
xor eax, 0x83a2ec30
cmp eax, 0xc77bd733
ja 0x14005ba40
movzx eax, byte [rcx]
mov edx, dword [0x141dc9150]
imul edx, dword [0x141dc9154]
or edx, 0xe496d076
imul edx, edx, 0xe866310d
add edx, 0x879a1224
cmp edx, 0xf913c0c7
ja 0x14005ba60
cmp al, 0x2d
je 0x14005bc0c
movzx eax, al
cmp eax, 0x2b
jne 0x14005bb30
inc rcx
lea rax, [r8 - 1]
nop word cs:[rax + rax]
mov edx, dword [0x141dc9158]
or edx, dword [0x141dc915c]
or edx, 0xcd4e5ddb
imul edx, edx, 0xca1458f8
or edx, 0x7a9a84b6
cmp edx, 0xda9bf1b4
je 0x14005bab0
cmp r8, 9
jae 0x14005bd4c
mov edx, dword [0x141dc9138]
and edx, dword [0x141dc913c]
cmp edx, 0xd28320c5
je 0x14005bae0
nop word cs:[rax + rax]
mov edx, dword [0x141dc9140]
or edx, dword [0x141dc9144]
imul edx, edx, 0x3f37d720
add edx, 0x634cd6a2
cmp edx, 0x1d0386dd
jb 0x14005bb00
mov r8, rax
test rax, rax
jne 0x14005bb60
jmp 0x14005bf09
mov eax, dword [0x141dc9120]
xor edx, edx
div dword [0x141dc9124]
add eax, 0x85dfd60e
or eax, 0x8c71335
and eax, 0x59f79377
cmp eax, 0x4fc06835
je 0x14005bb30
cmp r8, 8
jae 0x14005bd50
nop
mov eax, dword [0x141dc9130]
xor edx, edx
div dword [0x141dc9134]
or eax, 0x3a78a5da
imul rax, rax, 0x351ef11d
shr rax, 0x3c
and eax, 0xfffffffe
cmp eax, 0x9c9140c1
ja 0x14005bb60
xor r11d, r11d
xor eax, eax
nop dword [rax]
movzx r9d, byte [rcx]
add r9d, 0xffffffd0
cmp r9d, 9
ja 0x14005bf01
mov edx, dword [0x141dc91d8]
xor edx, dword [0x141dc91dc]
or edx, 0xe96ef2b7
cmp edx, 0xbbfed6b8
je 0x14005bba2
add eax, eax
dec r8
lea eax, [rax + rax*4]
nop word cs:[rax + rax]
mov edx, dword [0x141dc91e0]
imul edx, dword [0x141dc91e4]
and edx, 0x33b41102
add edx, 0x36f087aa
cmp edx, 0x587d3eaa
ja 0x14005bbd0
inc rcx
add r9d, eax
mov eax, r9d
test r8, r8
jne 0x14005bb90
jmp 0x14005bf0f
mov r11, r8
jmp 0x14005bf12
lea rsi, [rcx + 1]
mov eax, dword [0x141dc9160]
sub eax, dword [0x141dc9164]
xor eax, 0x2104
or eax, 0xc610042
and eax, 0x1c632b4e
cmp eax, 0x3a1377a9
je 0x14005bc10
lea rdi, [r8 - 1]
nop word cs:[rax + rax]
mov eax, dword [0x141dc9168]
imul eax, dword [0x141dc916c]
xor eax, 0x49efb76
imul eax, eax, 0xcf8bd32c
and eax, 0x7644518
cmp eax, 0xd0591b9e
je 0x14005bc40
cmp r8, 9
jae 0x14005be36
nop
mov eax, dword [0x141dc9170]
sub eax, dword [0x141dc9174]
cmp eax, 0x12a1143a
je 0x14005bc70
test rdi, rdi
je 0x14005bf09
xor r11d, r11d
mov ecx, 0x98a3b42b
xor r9d, r9d
nop word [rax + rax]
movzx r8d, byte [rsi]
add r8d, 0xffffffd0
cmp r8d, 9
ja 0x14005bf50
mov eax, dword [0x141dc91a0]
xor edx, edx
div dword [0x141dc91a4]
mov eax, dword [0x141dc91a8]
xor edx, edx
div dword [0x141dc91ac]
add eax, 0x54b8d9f0
xor eax, 0x83470108
cmp eax, 0xabafcac4
jb 0x14005bcc0
add r9d, r9d
lea r9d, [r9 + r9*4]
dec rdi
inc rsi
sub r9d, r8d
mov eax, dword [0x141dc91b0]
or eax, dword [0x141dc91b4]
imul rax, rcx
shr rax, 0x3f
or eax, 0xa762dbfc
imul eax, eax, 0x18c4c9a3
cmp eax, 0xad044a07
ja 0x14005bcef
nop word cs:[rax + rax]
mov eax, dword [0x141dc91b8]
and eax, dword [0x141dc91bc]
and eax, 0x1410200
cmp eax, 0x59b87c6f
ja 0x14005bd20
mov r10d, 0
test rdi, rdi
jne 0x14005bca0
jmp 0x14005bf12
mov r8, rax
nop
mov eax, dword [0x141dc9128]
imul eax, dword [0x141dc912c]
cmp eax, 0x1f5f72a8
je 0x14005bd50
xor esi, esi
xor ebp, ebp
mov r11d, 0x200
nop
mov r9d, ebp
sub r8, 1
jb 0x14005bf0c
lea rdi, [rcx + 1]
imul ebx, r9d, 0xa
seto bpl
movzx ecx, byte [rcx]
add ecx, 0xffffffd0
nop
mov eax, dword [0x141dc91c0]
xor edx, edx
div dword [0x141dc91c4]
imul eax, eax, 0xc529deaa
add eax, 0x4f6e46aa
cmp eax, 0xd4f3e6d
jb 0x14005bd90
cmp ecx, 9
ja 0x14005bf48
nop dword [rax]
test sil, sil
jne 0x14005bdc0
test bpl, bpl
jne 0x14005bf12
mov eax, dword [0x141dc91c8]
or eax, dword [0x141dc91cc]
and eax, 0xec67859
add eax, 0x8c06eb5e
or eax, 0xa6e31b85
mov ebp, ebx
add ebp, ecx
seto r14b
cmp eax, 0xbb6a316
jb 0x14005bdce
nop dword [rax + rax]
mov eax, dword [0x141dc91d0]
xor edx, edx
div dword [0x141dc91d4]
or eax, 0xffbeffcb
imul rax, rax, 0x7ee7292b
shr rax, 0x3d
cmp eax, 0x69712b9c
ja 0x14005be00
mov rcx, rdi
test r14b, r14b
je 0x14005bd70
jmp 0x14005bf12
mov esi, 1
mov edi, 0x93e46311
xor ebp, ebp
mov r11d, 0x300
nop dword [rax + rax]
mov r9d, ebp
mov eax, dword [0x141dc9178]
xor edx, edx
div dword [0x141dc917c]
mov eax, dword [0x141dc9180]
xor edx, edx
div dword [0x141dc9184]
add eax, 0xaae97b20
and eax, 0x74e4a17b
cmp eax, 0x24971764
je 0x14005be61
cmp r8, rsi
je 0x14005bf0c
mov eax, dword [0x141dc9188]
or eax, dword [0x141dc918c]
shr eax, 1
imul rax, rdi
shr rax, 0x3e
imul ebp, r9d, 0xa
seto r10b
cmp eax, 0xd83bb1c3
je 0x14005be89
movzx ebx, byte [rcx + rsi]
add ebx, 0xffffffd0
mov eax, dword [0x141dc9190]
xor edx, edx
div dword [0x141dc9194]
cmp ebx, 0xa
setae al
mov edx, dword [0x141dc9198]
xor edx, dword [0x141dc919c]
imul edx, edx, 0x93370cb
or edx, 0x43ff0f8c
cmp edx, 0x384e87ef
je 0x14005bec3
or al, r10b
jne 0x14005bf5e
inc rsi
sub ebp, ebx
mov r10d, 1
jno 0x14005be50
jmp 0x14005bf12
mov r11d, 0x100
jmp 0x14005bf12
xor r9d, r9d
xor r11d, r11d
xor r10d, r10d
or r11, r10
shl r9, 0x20
or r9, r11
nop dword [rax]
mov eax, dword [0x141dc91e8]
or eax, dword [0x141dc91ec]
and eax, 0x66865c0b
imul eax, eax, 0x50eb6e92
cmp eax, 0x7cb56f86
je 0x14005bf20
mov rax, r9
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov r11d, 0x100
jmp 0x14005bf12
mov r11d, 0x100
mov r10d, 1
jmp 0x14005bf12
mov r10d, 1
nop word cs:[rax + rax]
xor r11d, r11d
cmp ebx, 0xa
setb r11b
mov eax, dword [0x141dc9110]
xor eax, dword [0x141dc9114]
add eax, 0xa1f0c7ab
and eax, 0x3773338e
add eax, 0xc09c8318
shl r11, 9
or r11, 0x100
cmp eax, 0x6a454d32
jbe 0x14005bf70
jmp 0x14005bf12