Function at 0x1400026b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov ecx, 0x100
call fcn.140009d08
mov qword [rbp - 0x18], rax
lea rcx, [rax + 0x100]
mov qword [rbp - 8], rcx
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
movups xmmword [rax + 0x70], xmm0
movups xmmword [rax + 0x80], xmm0
movups xmmword [rax + 0x90], xmm0
movups xmmword [rax + 0xa0], xmm0
movups xmmword [rax + 0xb0], xmm0
movups xmmword [rax + 0xc0], xmm0
movups xmmword [rax + 0xd0], xmm0
movups xmmword [rax + 0xe0], xmm0
movups xmmword [rax + 0xf0], xmm0
mov qword [rbp - 0x10], rcx
xor eax, eax
nop dword [rax + rax]
mov rcx, qword [rbp - 0x18]
mov byte [rcx + rax], al
mov rcx, qword [rbp - 0x18]
lea edx, [rax + 1]
mov byte [rcx + rax + 1], dl
mov rcx, qword [rbp - 0x18]
lea edx, [rax + 2]
mov byte [rcx + rax + 2], dl
mov rcx, qword [rbp - 0x18]
lea edx, [rax + 3]
mov byte [rcx + rax + 3], dl
add rax, 4
cmp rax, 0x100
jne 0x140002750
xor ecx, ecx
xor r10d, r10d
jmp 0x1400027ca
movsx eax, byte [rax + rdx]
lea edx, [r10 + rax]
add edx, 0xff
add r10d, eax
cmovns edx, r10d
and edx, 0xffffff00
sub r10d, edx
movsxd rax, r10d
movzx edx, byte [r8 + rax]
mov byte [r8 + rcx], dl
mov byte [r8 + rax], r9b
inc rcx
cmp rcx, 0x100
je 0x140002809
mov r8, qword [rbp - 0x18]
movzx r9d, byte [r8 + rcx]
mov r11, qword [rbx + 0x10]
mov rax, rcx
or rax, r11
shr rax, 0x20
je 0x1400027f0
mov rax, rcx
xor edx, edx
div r11
jmp 0x1400027f7
mov eax, ecx
xor edx, edx
div r11d
add r10d, r9d
cmp qword [rbx + 0x18], 0x10
mov rax, rbx
jb 0x140002790
mov rax, qword [rbx]
jmp 0x140002790
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
mov rbx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
mov r14, rdi
jb 0x140002824
mov r14, qword [rdi]
test rbx, rbx
js 0x140002989
cmp rbx, 0xf
ja 0x140002850
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 0xf
movups xmm0, xmmword [r14]
movups xmmword [rsi], xmm0
test rbx, rbx
jne 0x1400028c2
jmp 0x140002943
mov qword [rsi + 0x18], 0xf
mov rax, rbx
or rax, 0xf
cmp rax, 0x17
mov r15d, 0x16
cmovae r15, rax
cmp r15, 0xfff
jb 0x140002890
lea rcx, [r15 + 0x28]
call fcn.140009d08
mov rcx, rax
add rcx, 0x27
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x14000289c
lea rcx, [r15 + 1]
call fcn.140009d08
mov rcx, rax
mov qword [rsi], rcx
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], r15
inc rbx
mov rdx, r14
mov r8, rbx
call fcn.14000c250
mov rbx, qword [rdi + 0x10]
test rbx, rbx
je 0x140002943
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x1400028e6
movzx r9d, r9b
movzx r8d, byte [r8 + r9]
xor byte [r10 + rax], r8b
inc rax
cmp qword [rdi + 0x10], rax
jbe 0x140002943
lea r8d, [rcx + 1]
lea r9d, [rcx + 0x100]
test r8d, r8d
cmovns r9d, r8d
and r9d, 0xffffff00
neg r9d
add ecx, r9d
inc ecx
movsxd r11, ecx
mov r8, qword [rbp - 0x18]
movzx r9d, byte [r8 + r11]
add dl, r9b
movzx r10d, dl
movzx ebx, byte [r8 + r10]
mov byte [r8 + r11], bl
mov byte [r8 + r10], r9b
mov r8, qword [rbp - 0x18]
movzx r9d, byte [r8 + r10]
mov r10, rsi
add r9b, byte [r8 + r11]
cmp qword [rsi + 0x18], 0x10
jb 0x1400028d0
mov r10, qword [rsi]
jmp 0x1400028d0
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140002979
mov rdx, qword [rbp - 8]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140002974
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x14000298e
add rdx, 0x27
mov rcx, rax
call fcn.140009d4c
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
call fcn.140004f90
call fcn.14000e234
int3