Function at 0x1800011b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r12, r8
mov qword [rsp + 0x28], r8
mov r15, rcx
mov qword [rsp + 0x20], rcx
xor edi, edi
mov r13, qword [r9]
mov rbp, qword [rdx + 8]
mov rcx, qword [rdx]
mov qword [rsp + 0x20], rcx
mov r14, qword [r9 + 8]
sub r14, r13
mov rbx, rbp
mov rax, rbp
sub rax, rcx
cmp rax, r14
jl 0x18000124b
mov r12, rbp
sub r12, r14
mov rsi, rcx
mov r8, r14
mov rdx, rcx
mov rcx, r13
call fcn.180011490
test eax, eax
je 0x18000123e
cmp rsi, r12
je 0x180001241
inc rsi
mov r8, r14
mov rdx, rsi
mov rcx, r13
call fcn.180011490
test eax, eax
jne 0x180001224
mov rbx, rsi
mov r12, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
cmp rbx, rbp
je 0x1800014b8
sub r14, rcx
add rbx, r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
add rbx, rcx
mov rsi, rdi
mov qword [rsp + 0x38], rdi
mov r14, rdi
mov qword [rsp + 0x40], rdi
mov r13, rdi
mov qword [rsp + 0x48], rdi
sub rbp, rbx
je 0x1800012f6
movabs rax, 0x7fffffffffffffff
cmp rbp, rax
ja 0x1800014f1
cmp rbp, 0x1000
jb 0x1800012c7
lea rcx, [rbp + 0x27]
cmp rcx, rbp
jbe 0x1800014f7
call fcn.180001b90
test rax, rax
je 0x1800014eb
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1800012d2
mov rcx, rbp
call fcn.180001b90
mov rsi, rax
mov qword [rsp + 0x38], rsi
lea r14, [rsi + rbp]
mov r13, r14
mov qword [rsp + 0x48], r14
mov r8, rbp
mov rdx, rbx
mov rcx, rsi
call fcn.180010e10
mov qword [rsp + 0x40], r14
mov ecx, 0x100
call fcn.180001b90
mov rbx, rax
xor edx, edx
mov r8d, 0x100
mov rcx, rax
call fcn.180010a50
mov ebp, dword [r12 + 8]
sub ebp, dword [r12]
movdqa xmm2, xmmword [0x1800199c0]
mov ecx, 8
lea rdx, [rbx + 8]
movdqa xmm3, xmmword [0x1800199d0]
nop word [rax + rax]
lea eax, [rcx - 8]
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
andps xmm0, xmm3
packuswb xmm0, xmm0
packuswb xmm0, xmm0
movd dword [rdx - 8], xmm0
lea eax, [rcx - 4]
movd xmm1, eax
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
andps xmm1, xmm3
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [rdx - 4], xmm1
movd xmm0, ecx
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
andps xmm0, xmm3
packuswb xmm0, xmm0
packuswb xmm0, xmm0
movd dword [rdx], xmm0
lea eax, [rcx + 4]
movd xmm1, eax
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
andps xmm1, xmm3
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [rdx + 4], xmm1
add ecx, 0x10
lea rdx, [rdx + 0x10]
lea eax, [rcx - 8]
cmp eax, 0x100
jl 0x180001340
mov r8d, edi
mov r9d, edi
mov r10, rbx
nop word [rax + rax]
movzx r11d, byte [r10]
mov eax, r9d
cdq
idiv ebp
movsxd rcx, edx
mov rax, qword [r12]
movzx edx, byte [rcx + rax]
add r8d, edx
add r8d, r11d
and r8d, 0x800000ff
jge 0x180001411
dec r8d
or r8d, 0xffffff00
inc r8d
movsxd rcx, r8d
movzx eax, byte [rcx + rbx]
mov byte [r10], al
mov byte [rcx + rbx], r11b
inc r9d
inc r10
cmp r9d, 0x100
jl 0x1800013e0
mov eax, edi
mov r11, r14
sub r11, rsi
je 0x180001498
mov r8, rsi
nop dword [rax + rax]
lea ecx, [rdi + 1]
and ecx, 0x800000ff
jge 0x180001455
dec ecx
or ecx, 0xffffff00
inc ecx
movsxd rdi, ecx
movzx r10d, byte [rdi + rbx]
add eax, r10d
and eax, 0x800000ff
jge 0x180001470
dec eax
or eax, 0xffffff00
inc eax
movsxd rdx, eax
movzx ecx, byte [rdx + rbx]
mov byte [rdi + rbx], cl
mov byte [rdx + rbx], r10b
movzx edx, byte [rdi + rbx]
add rdx, r10
movzx ecx, dl
movzx edx, byte [rcx + rbx]
xor byte [r8], dl
inc r8
sub r11, 1
jne 0x180001440
mov qword [r15], rsi
mov qword [r15 + 8], r14
mov qword [r15 + 0x10], r13
test rbx, rbx
je 0x1800014b6
mov edx, 0x100
mov rcx, rbx
call fcn.180001bcc
nop
jmp 0x1800014c3
mov qword [r15], rdi
mov qword [r15 + 8], rdi
mov qword [r15 + 0x10], rdi
mov rax, r15
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180001b70
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800079cc
int3
call fcn.180001a40
int3
call fcn.180001110
int3