Function at 0x1402af100
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
sub rsp, 0x130
mov rsi, rcx
mov eax, dword [0x140613890]
mov ecx, dword [0x1406161d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x26838]
jg 0x1402af362
mov rcx, qword [0x140613880]
mov rax, qword [rsi + 0x18]
cmp qword [rsi + 0x20], 0x10
jb 0x1402af148
mov rsi, qword [rsi + 8]
jmp 0x1402af14c
add rsi, 8
test rcx, rcx
sete dl
mov r8, qword [0x1405c6be8]
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 0x1402af318
movabs rdx, 0xf587a609cf2a9843
add rdx, qword [0x1405c6be8]
cmp qword [0x140613888], rdx
jbe 0x1402af1b7
mov rdx, qword [0x140613870]
jmp 0x1402af1be
lea rdx, [0x140613870]
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 [0x1405c6be8]
mov r8, rdx
cmp r10, r11
jne 0x1402af323
cmp rcx, 8
jb 0x1402af2e4
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 [0x1405c6bf4]
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 0x1402af280
test rax, rax
jle 0x1402af318
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 0x1402af35a
cmp rsi, rax
jae 0x1402af318
dec rcx
inc rsi
jmp 0x1402af300
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 0x1402af273
inc r8
jmp 0x1402af340
test rcx, rcx
sete al
jmp 0x1402af31a
mov dword [rsp + 0x28], 0x30444f19
mov dword [rsp + 0x20], 0x790a6c13
lea rdx, [0x140613890]
mov ecx, 1
xor r8d, r8d
xor r9d, r9d
call fcn.1402b6bd0
cmp dword [0x140613890], 0xffffffff
jne 0x1402af130
mov qword [0x140613888], 0xf
mov qword [0x140613880], 1
mov byte [0x140613870], 0x5c
movzx eax, byte [0x1405c6bf4]
add al, 0x71
mov byte [0x140613871], al
lea rax, [0x1404ca498]
mov qword [0x140613868], rax
lea rcx, [0x1402b61b0]
mov edx, 0x243c7059
mov r8d, 0xf35f354a
call fcn.14015eaf0
mov dword [rsp + 0x28], 0x30444f19
mov dword [rsp + 0x20], 0x790a6c13
lea rdx, [0x140613890]
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call fcn.1402b6bd0
jmp 0x1402af130