Function at 0x14008a640
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
xchg r13, rbx
mov qword [rsp + 0x18], r13
xchg r13, rbx
xchg r11, rsi
mov qword [rsp + 0x20], r11
xchg r11, rsi
nop
sub rsp, 8
mov qword [rsp], rdi
sub rsp, 0x74956f33
add rsp, 0x74956e93
movdqa xmm0, xmmword [0x140004390]
xor esi, esi
mov dword [rsp - 0x18], ecx
movdqa xmm1, xmmword [0x140004300]
mov r8, rdx
xchg rbp, rsp
movdqu xmmword [rbp + 0x20], xmm0
xchg rsp, rbp
xchg rcx, rbx
mov rcx, rbx
xchg rcx, rbx
mov edi, esi
mov dword [rsp - 0x20], 0xd83f11
movdqa xmm0, xmmword [0x140004310]
mov eax, esi
xchg rsp, r10
movdqu xmmword [r10 + 0x30], xmm1
xchg rsp, r10
movdqa xmm1, xmmword [0x140004320]
xchg r9, r9
xchg r11, rsp
movdqu xmmword [r11 + 0x40], xmm0
xchg r11, rsp
xchg rsp, rsi
movdqu xmmword [rsi + 0x50], xmm1
xchg rsi, rsp
nop word [rax + rax]
mov ecx, edi
mov rbp, rbp
lea rax, [rax + 4]
mov edx, 0x54422a3c
sub edx, 0x204cbf1c
add edx, 0x88ce74f
sub edx, 0x2e5ffa39
inc rdi
xchg r14, r14
rol edx, cl
xor edx, dword [rsp + rax + 0x1c]
mov dword [rsp + rax + 0x5c], edx
xchg r13, r13
cmp rdi, 0x10
jb 0x14008a6e6
cmp dword [rbx + 4], 8
mov dword [rsp - 0x34], 0x74661ae3
jne 0x14008a7fd
movzx ecx, byte [r8]
lea r9, [rsp + 0x60]
movzx eax, byte [r8 + 1]
mov r12, r12
lea rdx, [rsp + 0xb0]
shl cx, 4
shl cx, 1
shl cx, 2
shl cx, 1
or cx, ax
movzx eax, byte [r8 + 3]
mov dword [rsp - 0x14], 0x6c24296a
mov word [rsp + 0xb6], cx
movzx ecx, byte [r8 + 2]
shl cx, 4
shl cx, 1
shl cx, 3
or cx, ax
movzx eax, byte [r8 + 5]
mov rbx, rbx
mov word [rsp + 0xb4], cx
movzx ecx, byte [r8 + 4]
shl cx, 3
shl cx, 5
or cx, ax
movzx eax, byte [r8 + 7]
mov dword [rsp - 0x44], 0x3c6d82bb
mov word [rsp + 0xb2], cx
movzx ecx, byte [r8 + 6]
xor r8d, r8d
xchg rdx, rdx
shl cx, 2
shl cx, 6
or cx, ax
mov word [rsp + 0xb0], cx
mov dword [rsp - 0x18], 0x4d11d6f2
xchg rcx, rbx
mov rbx, rcx
xchg rcx, rbx
call fcn.14008a390
mov dword [rsp - 0x2c], 0x7838b717
jmp 0x14008a91c
cmp dword [rbx], esi
jle 0x14008a91c
xchg rbp, rbp
xchg r13, rbp
mov qword [rsp + 0xb8], r13
xchg r13, rbp
lea rdi, [r8 + 2]
mov r9, r9
mov ebp, esi
nop
movzx ecx, byte [rdi - 2]
mov dword [rsp - 0x14], 0xc5a220
lea r9, [rsp + 0x60]
movzx eax, byte [rdi - 1]
lea rdx, [rsp + 0xb0]
shl cx, 3
shl cx, 1
shl cx, 2
shl cx, 1
shl cx, 1
mov r8d, ebp
mov dword [rsp - 0x2c], ebx
or cx, ax
movzx eax, byte [rdi]
mov word [rsp + 0xb6], cx
movzx ecx, byte [rdi + 1]
xchg rbx, rbx
shl ax, 8
or cx, ax
movzx eax, byte [rdi + 3]
mov rsp, rsp
mov word [rsp + 0xb4], cx
movzx ecx, byte [rdi + 2]
shl cx, 6
shl cx, 1
shl cx, 1
or cx, ax
movzx eax, byte [rdi + 5]
mov word [rsp + 0xb2], cx
xchg rsp, rsp
movzx ecx, byte [rdi + 4]
shl cx, 8
or cx, ax
mov word [rsp + 0xb0], cx
mov dword [rsp - 0x14], ebx
mov rcx, rbx
call fcn.14008a390
mov r8d, dword [rbx + 4]
lea r9, [rsp + 0x80]
xchg r10, r10
sub r8d, ebp
lea rdx, [rsp + 0xb0]
sub r8d, 8
xchg rbx, r15
mov rcx, r15
xchg rbx, r15
call fcn.14008a390
xchg rsi, rsi
inc esi
lea rdi, [rdi + 8]
nop
sub ebp, 0x736bad9c
add ebp, 0x736bada4
cmp esi, dword [rbx]
mov dword [rsp - 0x3c], esi
jl 0x14008a821
xchg rbx, rbp
mov rbx, qword [rsp + 0xb8]
xchg rbp, rbx
lea r11, [rsp + 0xa0]
xor eax, eax
mov rsp, rsp
xchg rbp, rbx
mov rbp, qword [r11 + 0x20]
xchg rbp, rbx
lea rdi, [rsp + 0x60]
mov rsi, qword [r11 + 0x28]
mov rbx, rbx
mov ecx, 0x11e2b84e
add ecx, 0x234d237f
sub ecx, 0x11c80df2
sub ecx, 0x2367cd9b
rep stosb byte [rdi], al
xchg rsp, r14
mov r14, r11
xchg r14, rsp
nop
mov rdi, qword [rsp]
add rsp, 8
ret