Function at 0x180026fb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
sub rsp, 0x288
mov rax, qword [0x1800923a0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea eax, [rcx + 0x11a]
mov qword [rsp + 0x78], r8
mov qword [rsp + 0x70], rdx
mov r10, r8
mov r9, rdx
cmp ecx, eax
jae 0x18002735e
mov qword [r11 + 8], rbx
lea edx, [rcx - 0x16]
mov rbx, qword [rsp + 0x80]
mov r8d, 6
mov qword [r11 - 8], rbp
movzx ebp, byte [rsp + 0x50]
mov qword [r11 - 0x10], rsi
movzx esi, byte [rsp + 0x50]
mov qword [r11 - 0x18], rdi
mov rdi, qword [rsp + 0x70]
mov qword [r11 - 0x20], r12
xor r12d, r12d
mov qword [r11 - 0x28], r13
mov r13d, dword [rsp + 0x58]
mov qword [r11 - 0x30], r14
movzx r14d, byte [rsp + 0x50]
mov qword [r11 - 0x38], r15
mov r15, qword [rsp + 0x70]
movaps xmmword [r11 - 0x48], xmm6
movaps xmmword [r11 - 0x58], xmm7
movaps xmmword [r11 - 0x68], xmm8
movaps xmmword [r11 - 0x78], xmm9
movsd xmm9, qword [0x18008bf20]
movaps xmmword [r11 - 0x88], xmm10
movsd xmm10, qword [0x18008be68]
movaps xmmword [r11 - 0x98], xmm11
movsd xmm11, qword [0x18008be28]
movaps xmmword [r11 - 0xa8], xmm12
movsd xmm12, qword [0x18008bf30]
movaps xmmword [r11 - 0xb8], xmm13
movsd xmm13, qword [0x18008bdf0]
movaps xmmword [r11 - 0xc8], xmm14
movsd xmm14, qword [0x18008bf40]
movaps xmmword [r11 - 0xd8], xmm15
lea r11, [0x180000000]
movsd xmm15, qword [0x18008bda0]
mov dword [rsp + 0x54], edx
mov qword [rsp + 0x60], r8
cmp edx, 0xf5
ja case.0x1800270f0.6
movzx eax, byte [r11 + rdx + 0x273e8]
mov ecx, dword [r11 + rax*4 + 0x273cc]
add rcx, r11
jmp rcx
cmp qword [r9 + 0x18], 0x10
mov rdi, r12
mov r8, r9
jb 0x180027102
mov r8, qword [r9]
mov eax, dword [r9 + 0x10]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x48], r12
xor r9d, r9d
mov qword [rsp + 0x40], r12
xor edx, edx
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x114
call fcn.180056e60
mov r10, qword [rsp + 0x78]
lea r11, [0x180000000]
mov edx, dword [rsp + 0x54]
mov r8, qword [rsp + 0x60]
jmp case.0x1800270f0.6
cmp rdi, qword [r10 + 0x10]
jae 0x1800271e6
nop word [rax + rax]
mov r9d, 0xd1
mov eax, r9d
sub eax, 0xd1
je 0x1800271ad
sub eax, 1
je 0x18002719b
cmp eax, 1
jne 0x1800271cb
movzx eax, sil
movzx ecx, byte [rax + rbx]
xor byte [r15 + rdi], cl
inc rdi
jmp 0x1800271cb
movzx ecx, r14b
movzx eax, bpl
movzx esi, byte [rcx + rbx]
add sil, byte [rax + rbx]
jmp 0x1800271cb
inc bpl
movzx r8d, bpl
movzx edx, byte [r8 + rbx]
add r14b, dl
movzx ecx, r14b
movzx eax, byte [rcx + rbx]
mov byte [r8 + rbx], al
mov byte [rcx + rbx], dl
inc r9d
cmp r9d, 0xd4
jb 0x180027176
cmp rdi, qword [r10 + 0x10]
jb 0x180027170
mov edx, dword [rsp + 0x54]
mov r8, qword [rsp + 0x60]
mov byte [rsp + 0x190], bpl
jmp case.0x1800270f0.6
test r13d, r13d
js 0x1800272a8
mov ebx, dword [rsp + 0x58]
mov r13, r10
movd xmm8, ebx
cvtdq2pd xmm8, xmm8
nop dword [rax]
xorps xmm7, xmm7
cvtsi2sd xmm7, r12d
movaps xmm0, xmm7
mulsd xmm0, xmm9
divsd xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
mulsd xmm0, xmm10
movaps xmm6, xmm11
subsd xmm6, xmm0
movaps xmm0, xmm7
mulsd xmm0, xmm12
divsd xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
mulsd xmm7, xmm14
mulsd xmm0, xmm13
divsd xmm7, xmm8
addsd xmm6, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
mulsd xmm0, xmm15
inc r12d
subsd xmm6, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm6
movss dword [r13], xmm0
add r13, 4
cmp r12d, ebx
jle 0x180027210
mov rbx, qword [rsp + 0x80]
lea r11, [0x180000000]
mov r10, qword [rsp + 0x78]
mov edx, dword [rsp + 0x54]
mov r13d, dword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
xor r12d, r12d
mov r9, qword [rsp + 0x70]
add edx, 0x2f
sub r8, 1
mov dword [rsp + 0x54], edx
mov qword [rsp + 0x60], r8
jne 0x1800270d0
movaps xmm15, xmmword [rsp + 0x1b0]
movaps xmm14, xmmword [rsp + 0x1c0]
movaps xmm13, xmmword [rsp + 0x1d0]
movaps xmm12, xmmword [rsp + 0x1e0]
movaps xmm11, xmmword [rsp + 0x1f0]
movaps xmm10, xmmword [rsp + 0x200]
movaps xmm9, xmmword [rsp + 0x210]
movaps xmm8, xmmword [rsp + 0x220]
movaps xmm7, xmmword [rsp + 0x230]
movaps xmm6, xmmword [rsp + 0x240]
mov r15, qword [rsp + 0x250]
mov r14, qword [rsp + 0x258]
mov r13, qword [rsp + 0x260]
mov r12, qword [rsp + 0x268]
mov rdi, qword [rsp + 0x270]
mov rsi, qword [rsp + 0x278]
mov rbp, qword [rsp + 0x280]
mov rbx, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.180077c10
add rsp, 0x288
ret
cmp qword [r10 + 0x18], 0x10
lea rbx, [rsp + 0x90]
movzx ebp, byte [rsp + 0x190]
mov r15, r10
movzx r14d, byte [rsp + 0x191]
mov qword [rsp + 0x80], rbx
jb case.0x1800270f0.6
mov r15, qword [r10]
jmp case.0x1800270f0.6
mov byte [rsp + 0x191], r14b
jmp case.0x1800270f0.6
mov r13d, dword [r9]
dec r13d
mov dword [rsp + 0x58], r13d
jmp case.0x1800270f0.6