Function at 0x14026e810
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
sub rsp, 0x130
mov rsi, rcx
mov eax, dword [0x1405d1aa0]
mov ecx, dword [0x1405d43d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x26838]
jg 0x14026ea72
mov rcx, qword [0x1405d1a90]
mov rax, qword [rsi + 0x18]
cmp qword [rsi + 0x20], 0x10
jb 0x14026e858
mov rsi, qword [rsi + 8]
jmp 0x14026e85c
add rsi, 8
test rcx, rcx
sete dl
mov r8, qword [0x140584e28]
movabs r9, 0xa812e1e268cb204f
xor r9, r8
movabs r10, 0x2812e1e268cb204f
and r10, r8
lea r8, [r9 + r10*2]
movabs r9, 0x4d74c427665f77e5
add r9, r8
cmp rax, r9
sete r8b
or r8b, dl
jne 0x14026ea28
movabs rdx, 0xf587a609cf2a9843
add rdx, qword [0x140584e28]
cmp qword [0x1405d1a98], rdx
jbe 0x14026e8c7
mov rdx, qword [0x1405d1a80]
jmp 0x14026e8ce
lea rdx, [0x1405d1a80]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x120], xmm0
movaps xmmword [rsp + 0x110], xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov r9, rcx
not r9
mov r8d, r9d
and r8d, 7
mov r10, rcx
and r10, 0xfffffffffffffff8
or r10, r8
and r9, 0xfffffffffffffff8
or r9, r10
mov r10, r9
not r10
movabs r11, 0xf587a609cf2a9834
add r11, qword [0x140584e28]
mov r8, rdx
cmp r10, r11
jne 0x14026ea33
cmp rcx, 8
jb 0x14026e9f4
add rdx, rcx
nop dword [rax]
movzx ecx, byte [r8]
mov byte [rsp + rcx + 0x30], 1
movzx ecx, byte [r8 + 1]
mov byte [rsp + rcx + 0x30], 1
movzx ecx, byte [r8 + 2]
mov byte [rsp + rcx + 0x30], 1
movzx ecx, byte [r8 + 3]
movzx r9d, byte [0x140584e34]
add r9b, 0x72
mov byte [rsp + rcx + 0x30], r9b
movzx ecx, byte [r8 + 4]
mov byte [rsp + rcx + 0x30], 1
movzx ecx, byte [r8 + 5]
mov byte [rsp + rcx + 0x30], 1
movzx ecx, byte [r8 + 6]
mov byte [rsp + rcx + 0x30], 1
movzx ecx, byte [r8 + 7]
mov byte [rsp + rcx + 0x30], 1
add r8, 8
cmp r8, rdx
jne 0x14026e990
test rax, rax
jle 0x14026ea28
add rax, rsi
inc rsi
xor ecx, ecx
nop word cs:[rax + rax]
movzx edx, byte [rsi - 1]
cmp byte [rsp + rdx + 0x30], 0
jne 0x14026ea6a
cmp rsi, rax
jae 0x14026ea28
dec rcx
inc rsi
jmp 0x14026ea10
xor eax, eax
add rsp, 0x130
pop rsi
ret
lea r8, [rdx + 1]
mov r10, 0xfffffffffffffffe
sub r10, r9
nop word cs:[rax + rax]
movzx r9d, byte [r8 - 1]
mov byte [rsp + r9 + 0x30], 1
sub r10, 1
jb 0x14026e983
inc r8
jmp 0x14026ea50
test rcx, rcx
sete al
jmp 0x14026ea2a
mov dword [rsp + 0x28], 0x30444f19
mov dword [rsp + 0x20], 0x790a6c13
lea rdx, [0x1405d1aa0]
mov ecx, 1
xor r8d, r8d
xor r9d, r9d
call fcn.1402762e0
cmp dword [0x1405d1aa0], 0xffffffff
jne 0x14026e840
mov qword [0x1405d1a98], 0xf
mov qword [0x1405d1a90], 1
mov byte [0x1405d1a80], 0x5c
movzx eax, byte [0x140584e34]
add al, 0x71
mov byte [0x1405d1a81], al
lea rax, [0x140489448]
mov qword [0x1405d1a78], rax
lea rcx, [0x1402758c0]
mov edx, 0x243c7059
mov r8d, 0xf35f354a
call fcn.14011dd90
mov dword [rsp + 0x28], 0x30444f19
mov dword [rsp + 0x20], 0x790a6c13
lea rdx, [0x1405d1aa0]
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call fcn.1402762e0
jmp 0x14026e840