Function at 0x140036020
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x130
movaps xmmword [rax - 0x48], xmm6
mov r13, rcx
movsd xmm6, qword [0x140212b30]
xorps xmm5, xmm5
xorps xmm4, xmm4
xorps xmm3, xmm3
movaps xmm2, xmm3
movaps xmm1, xmm3
mulsd xmm2, qword [0x1402127f8]
movaps xmm0, xmm3
mulsd xmm1, qword [0x14020d200]
mulsd xmm0, xmm3
mulsd xmm2, xmm3
mulsd xmm1, xmm3
subsd xmm2, xmm0
addsd xmm1, qword [0x140212470]
divsd xmm2, xmm1
addsd xmm4, xmm2
comisd xmm4, xmmword [0x140212690]
jbe 0x1400360ab
movaps xmm0, xmm3
mulsd xmm0, qword [0x140211f68]
subsd xmm4, xmm0
addsd xmm3, qword [0x14020c380]
comisd xmm6, xmm3
ja 0x140036059
comisd xmm5, xmm4
jbe 0x1400360ce
call 0x1400496d1
call fcn.1400496e3
jmp 0x1400366d0
xor eax, eax
lea rcx, [rsp + 0x20]
lea esi, [rax + 1]
mov byte [rcx], al
add eax, esi
add rcx, rsi
cmp eax, 0x100
jb 0x1400360d8
xor r10d, r10d
mov r9d, 0xff
xor cl, cl
xor ebx, ebx
mov r11d, esi
cmp r9d, esi
jbe 0x140036108
lea r11d, [r11*2 + 1]
cmp r11d, r9d
jb 0x1400360fb
movzx eax, cl
mov dl, byte [rsp + rax + 0x20]
mov eax, r10d
test r10d, r10d
je 0x140036151
sub eax, esi
je 0x140036147
sub eax, esi
je 0x14003613d
cmp eax, esi
je 0x140036133
lea ecx, [r10 - 4]
lea rax, [fcn.1400496e3]
mov al, byte [rcx + rax]
jmp 0x140036156
cvttsd2si rax, xmm4
shr eax, 0x18
jmp 0x140036156
cvttsd2si rax, xmm4
shr eax, 0x10
jmp 0x140036156
cvttsd2si rax, xmm4
shr eax, 8
jmp 0x140036156
cvttsd2si rax, xmm4
add al, dl
lea r8d, [r10 + 1]
movzx edx, al
cmp r8d, 0x23
lea eax, [rdx + 0x23]
movzx ecx, al
cmovb ecx, edx
sbb r10d, r10d
movzx edi, cl
and r10d, r8d
mov eax, edi
add ebx, esi
and eax, r11d
cmp ebx, 0xb
jbe 0x140036188
xor edx, edx
div r9d
mov eax, edx
mov cl, dil
cmp eax, r9d
ja 0x140036108
je 0x1400361b3
mov edx, eax
mov ecx, r9d
mov al, byte [rsp + rdx + 0x20]
xor byte [rsp + rcx + 0x20], al
mov al, byte [rsp + rcx + 0x20]
xor byte [rsp + rdx + 0x20], al
mov al, byte [rsp + rdx + 0x20]
xor byte [rsp + rcx + 0x20], al
mov cl, dil
add r9d, 0xffffffff
jne 0x1400360f1
movzx r10d, byte [rsp + rdi + 0x20]
lea r13, [0x1400496d1]
movzx edx, byte [rsp + 0x27]
movzx r14d, byte [rsp + 0x21]
mov r12b, byte [rsp + 0x25]
movzx r11d, byte [rsp + r10 + 0x20]
mov cl, byte [r13 + rsi]
mov r15b, byte [rsp + r14 + 0x20]
add cl, 0x34
add r15b, byte [rsp + 0x23]
add r14b, sil
mov bl, byte [r13]
sub bl, sil
movzx r9d, r15b
mov sil, byte [r13 + 2]
add r15b, r11b
shl bl, 4
dec sil
or bl, cl
shl sil, 4
mov al, byte [rsp + r9 + 0x20]
mov byte [rsp + r10 + 0x20], al
mov al, byte [rsp + rdx + 0x20]
mov byte [rsp + r9 + 0x20], al
movzx ecx, r14b
inc r14b
mov al, byte [rsp + rcx + 0x20]
mov byte [rsp + rdx + 0x20], al
mov byte [rsp + rcx + 0x20], r11b
add r12b, byte [rsp + r11 + 0x20]
movzx eax, r12b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + r10 + 0x20]
add rcx, rax
movzx r10d, r15b
movzx eax, byte [rsp + rdx + 0x20]
add rcx, rax
movzx eax, cl
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + r9 + 0x20]
add rax, r11
movzx r9d, bl
movzx eax, al
mov dl, byte [rsp + rcx + 0x20]
xor dl, byte [rsp + rax + 0x20]
lea rax, [r13]
xor dl, bl
mov r13d, 3
movzx ebx, byte [rsp + r9 + 0x20]
movzx r8d, dl
mov cl, byte [rax + r13]
mov al, byte [rsp + r10 + 0x20]
add cl, 0x34
mov byte [rsp + r9 + 0x20], al
or sil, cl
mov al, byte [rsp + r8 + 0x20]
mov byte [rsp + r10 + 0x20], al
movzx ecx, r14b
mov al, byte [rsp + rcx + 0x20]
mov byte [rsp + r8 + 0x20], al
mov byte [rsp + rcx + 0x20], bl
add r12b, byte [rsp + rbx + 0x20]
movzx eax, r12b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + r9 + 0x20]
add rcx, rax
movzx eax, byte [rsp + r8 + 0x20]
add rcx, rax
movzx eax, cl
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + r10 + 0x20]
add rax, rbx
movzx eax, al
mov dl, byte [rsp + rcx + 0x20]
lea rcx, [0x1400496d1]
xor dl, byte [rsp + rax + 0x20]
mov rax, qword [rbp + 0x70]
xor dl, sil
mov byte [rax], dl
mov dil, byte [rcx + 4]
dec dil
mov cl, byte [rcx + 5]
add r15b, bl
mov rbx, qword [rbp + 0x70]
add cl, 0x34
movzx r8d, dl
inc r14b
movzx r9d, sil
lea rsi, [0x1400496d1]
movzx r10d, r15b
add rsi, 6
shl dil, 4
or dil, cl
movzx ecx, r14b
movzx r11d, byte [rsp + r9 + 0x20]
inc r14b
mov al, byte [rsp + r10 + 0x20]
add r15b, r11b
mov byte [rsp + r9 + 0x20], al
mov al, byte [rsp + r8 + 0x20]
mov byte [rsp + r10 + 0x20], al
mov al, byte [rsp + rcx + 0x20]
mov byte [rsp + r8 + 0x20], al
mov byte [rsp + rcx + 0x20], r11b
add r12b, byte [rsp + r11 + 0x20]
movzx eax, r12b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + r9 + 0x20]
add rcx, rax
movzx r9d, r15b
movzx eax, byte [rsp + r8 + 0x20]
add rcx, rax
movzx r8d, dil
movzx eax, cl
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + r10 + 0x20]
movzx r10d, byte [rsp + r8 + 0x20]
add rax, r11
movzx eax, al
mov dl, byte [rsp + rcx + 0x20]
xor dl, byte [rsp + rax + 0x20]
xor dl, dil
mov byte [rbx + 1], dl
mov al, byte [rsi]
mov cl, byte [rsi + 1]
dec al
shl al, 4
add cl, 0x34
or cl, al
movzx edx, dl
mov al, byte [rsp + r9 + 0x20]
mov byte [rsp + r8 + 0x20], al
mov byte [rbp + 0x78], cl
mov al, byte [rsp + rdx + 0x20]
mov byte [rsp + r9 + 0x20], al
movzx ecx, r14b
mov al, byte [rsp + rcx + 0x20]
mov byte [rsp + rdx + 0x20], al
mov byte [rsp + rcx + 0x20], r10b
add r12b, byte [rsp + r10 + 0x20]
movzx eax, r12b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + r8 + 0x20]
add rcx, rax
movzx eax, byte [rsp + rdx + 0x20]
add rcx, rax
movzx eax, cl
movzx ecx, byte [rsp + r9 + 0x20]
add rcx, r10
movzx edx, byte [rsp + rax + 0x20]
movzx eax, cl
mov r8b, byte [rsp + rdx + 0x20]
mov dl, byte [rbp + 0x78]
xor r8b, byte [rsp + rax + 0x20]
xor r8b, dl
mov qword [rbp + 0x78], 2
mov byte [rbx + 2], r8b
movzx r8d, r8b
lea rsi, [rsi + 2]
mov al, byte [rsi]
add r15b, r10b
mov r11b, byte [rsi + 1]
dec al
shl al, 4
add r11b, 0x34
or r11b, al
movzx r9d, dl
movzx r10d, r15b
inc r14b
movzx ecx, r14b
inc r13
movzx edi, byte [rsp + r9 + 0x20]
mov al, byte [rsp + r10 + 0x20]
mov edx, edi
mov byte [rsp + r9 + 0x20], al
mov dl, r11b
mov al, byte [rsp + r8 + 0x20]
mov byte [rsp + r10 + 0x20], al
mov al, byte [rsp + rcx + 0x20]
mov byte [rsp + r8 + 0x20], al
mov byte [rsp + rcx + 0x20], dil
add r12b, byte [rsp + rdi + 0x20]
movzx eax, r12b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + r9 + 0x20]
add rcx, rax
movzx eax, byte [rsp + r8 + 0x20]
add rcx, rax
movzx eax, cl
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + r10 + 0x20]
add rax, rdi
movzx eax, al
mov r8b, byte [rsp + rcx + 0x20]
xor r8b, byte [rsp + rax + 0x20]
xor r8b, r11b
test r13, r13
jle 0x1400364f7
mov byte [rbx + r13 - 1], r8b
sub qword [rbp + 0x78], 1
mov r10b, dil
jne 0x140036450
mov r13, qword [rbp + 0x70]
lea rsi, [0x1400496d1]
mov cl, byte [rsi + 0xc]
add r15b, dil
mov bl, byte [rsi + 0xd]
dec cl
shl cl, 4
add bl, 0x34
or bl, cl
movzx r9d, dl
movzx r10d, r15b
inc r14b
movzx r8d, r8b
movzx ecx, r14b
inc r14b
movzx r11d, byte [rsp + r9 + 0x20]
mov al, byte [rsp + r10 + 0x20]
add r15b, r11b
mov byte [rsp + r9 + 0x20], al
mov al, byte [rsp + r8 + 0x20]
mov byte [rsp + r10 + 0x20], al
mov al, byte [rsp + rcx + 0x20]
mov byte [rsp + r8 + 0x20], al
mov byte [rsp + rcx + 0x20], r11b
add r12b, byte [rsp + r11 + 0x20]
movzx eax, r12b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + r9 + 0x20]
add rcx, rax
movzx r9d, bl
movzx eax, byte [rsp + r8 + 0x20]
add rcx, rax
movzx eax, cl
movzx edi, byte [rsp + r9 + 0x20]
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + r10 + 0x20]
add rax, r11
movzx r10d, r15b
movzx eax, al
mov dl, byte [rsp + rcx + 0x20]
xor dl, byte [rsp + rax + 0x20]
mov al, byte [rsp + r10 + 0x20]
xor dl, bl
mov byte [rsp + r9 + 0x20], al
mov byte [r13 + 5], dl
mov cl, byte [rsi + 0xe]
mov sil, byte [rsi + 0xf]
dec cl
shl cl, 4
add sil, 0x34
or sil, cl
movzx r8d, dl
movzx ecx, r14b
mov al, byte [rsp + r8 + 0x20]
mov byte [rsp + r10 + 0x20], al
mov al, byte [rsp + rcx + 0x20]
mov byte [rsp + r8 + 0x20], al
mov byte [rsp + rcx + 0x20], dil
add r12b, byte [rsp + rdi + 0x20]
movzx eax, r12b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + r9 + 0x20]
add rcx, rax
movzx eax, byte [rsp + r8 + 0x20]
add rcx, rax
movzx eax, cl
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + r10 + 0x20]
add rax, rdi
movzx eax, al
mov dl, byte [rsp + rcx + 0x20]
xor dl, byte [rsp + rax + 0x20]
lea rax, [0x1400496d1]
xor dl, sil
mov byte [r13 + 6], dl
mov bl, byte [rax + 0x11]
mov al, byte [rax + 0x10]
add bl, 0x34
dec al
shl al, 4
or bl, al
movzx r8d, dl
add r15b, dil
movzx r10d, r15b
inc r14b
movzx r9d, sil
movzx ecx, r14b
mov al, byte [rsp + r10 + 0x20]
movzx r11d, byte [rsp + r9 + 0x20]
mov byte [rsp + r9 + 0x20], al
mov al, byte [rsp + r8 + 0x20]
mov byte [rsp + r10 + 0x20], al
mov al, byte [rsp + rcx + 0x20]
mov byte [rsp + r8 + 0x20], al
mov byte [rsp + rcx + 0x20], r11b
add r12b, byte [rsp + r11 + 0x20]
movzx eax, r12b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + r9 + 0x20]
add rcx, rax
movzx eax, byte [rsp + r8 + 0x20]
add rcx, rax
movzx eax, cl
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + r10 + 0x20]
add rax, r11
movzx eax, al
mov dl, byte [rsp + rcx + 0x20]
xor dl, byte [rsp + rax + 0x20]
xor dl, bl
mov byte [r13 + 7], dl
mov byte [r13 + 8], 0
lea r11, [rsp + 0x130]
mov rax, r13
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret