Function at 0x18001f7b4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x98
mov rax, qword [0x180067a78]
xor rax, rsp
mov qword [rbp + 7], rax
mov rax, qword [0x180067668]
mov r13, rdx
movzx r14d, byte [0x180067583]
mov edx, 0xd2
mov byte [rbp - 0x28], 0x7a
mov r12, rcx
mov qword [rbp - 0x11], rax
mov rdi, r8
movzx eax, byte [0x1800675bf]
mov ebx, 0xc8879933
mov word [rbp - 0x25], ax
movsx eax, word [0x180067670]
mov dword [rbp - 0x19], eax
movsxd rax, dword [str.hZn0]
mov qword [rbp - 0x11], rax
mov eax, dword [0x180067608]
mov qword [rbp - 0x11], rax
mov eax, dword [0x18006759c]
mov qword [rbp - 0x11], rax
movabs rax, 0xf4742f58790d8
mov qword [rbp - 0x21], rax
mov rax, qword [0x1800675d0]
movsx r15d, word [0x180067674]
mov byte [rbp - 0x29], al
mov word [rbp - 0x19], dx
mov byte [rbp - 0x29], 0x76
mov byte [rbp - 0x29], 0xd1
mov rax, qword [0x1800675e0]
mov byte [rbp - 0x29], 0x2f
mov byte [rbp - 0x29], 0xf2
mov rax, qword [0x180067620]
mov dword [rbp - 0x21], eax
mov al, byte [0x1800675f9]
mov byte [rbp - 0x29], al
mov eax, dword [0x180067630]
mov eax, dword [0x1800675cc]
mov dword [rbp - 0x21], eax
movsx eax, byte [0x1800675f8]
mov dword [rbp - 0x21], eax
mov rax, qword [0x180067640]
mov qword [rbp - 0x21], rax
mov eax, dword [0x1800675f0]
mov dword [rbp - 0x21], eax
movzx eax, word [0x180067584]
mov byte [rbp - 0x29], al
movzx ecx, word [rbp - 0x25]
mov esi, r9d
call fcn.180031868
mov rcx, qword [0x180067610]
xor edx, edx
test rcx, rcx
je 0x18001f936
movsx eax, al
mov byte [rbp - 0x29], 1
movzx ecx, byte [rbp - 0x28]
sub ax, cx
mov ecx, 0x66cc
sub ax, cx
xor ax, 0x7c
mov word [0x1800675fc], ax
mov al, byte [rbp - 0x28]
movzx ecx, byte [rbp - 0x29]
test ecx, ecx
je 0x18001f92b
cmp ecx, 1
jne 0x18001f936
mov eax, dword [0x180067618]
mov ecx, 0x4df4
mov qword [0x180067668], rax
movzx eax, word [rbp - 0x19]
sub cx, ax
add word [0x18006763c], cx
jmp 0x18001f936
movsx eax, word [0x18006756c]
and eax, ebx
sub ebx, eax
mov qword [rsp + 0x40], rdx
lea rcx, [0x18003f4b0]
mov qword [rsp + 0x38], rdx
mov r9, rdi
mov qword [rsp + 0x30], rdx
mov r8, r13
mov qword [rsp + 0x28], rdx
mov rdx, r12
mov qword [rsp + 0x20], rsi
call fcn.18001abb0
movabs rcx, 0x1564cdad940af
mov qword [0x180067600], rcx
mov r8, qword [0x180067600]
mov ecx, ebx
add r8, rcx
movsxd rcx, dword [0x1800675cc]
cmp rcx, r8
jne 0x18001f996
mov cl, byte [rbp - 0x28]
mov cl, byte [0x18006756f]
xor edx, edx
test rax, rax
jne 0x18001fa37
mov rax, qword [rbp - 0x11]
mov al, byte [rbp - 0x28]
movzx eax, byte [0x180067587]
not eax
cdqe
cmp rax, qword [0x180067668]
jb 0x18001f9c5
mov byte [0x18006762a], 0x93
jmp 0x18001f9db
mov eax, r15d
sub eax, ebx
not eax
test eax, eax
je 0x18001f9db
mov rax, r14
shr rax, 8
mov qword [rbp - 0x21], rax
mov dword [rbp - 9], 0x736e6d3b
mov rax, rdx
mov dword [rbp - 5], 0x746e651f
mov dword [rbp - 1], 0x3d636d
inc byte [rbp + rax - 9]
inc rax
cmp rax, 0xb
jb 0x18001f9f3
mov qword [rsp + 0x40], rdx
lea r9d, [rsi - 1]
mov qword [rsp + 0x38], rdx
lea r8, [rbp - 9]
mov qword [rsp + 0x30], rdx
lea rcx, [0x180041d60]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
mov rdx, rdi
call fcn.18001abb0
mov eax, 3
jmp 0x18001fa39
xor eax, eax
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.18003f550
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret