Function at 0x180009490
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x148
cmp qword [0x18033ee30], 0
jne 0x1800095c0
lea rax, [rsp + 0xb0]
lea rcx, [0x18006f4e0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x4e
rep movsb byte [rdi], byte [rsi]
mov eax, 2
imul rax, rax, 0x26
movzx eax, word [rsp + rax + 0xb0]
test eax, eax
je 0x1800094f1
mov dword [rsp + 0x2c], 1
jmp 0x1800094f9
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
movzx eax, al
test eax, eax
je 0x180009562
mov dword [rsp + 0x24], 0
jmp 0x180009522
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x27
jge 0x180009562
movsxd rax, dword [rsp + 0x24]
movzx eax, word [rsp + rax*2 + 0xb0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x24]
cdq
mov ecx, 0xb
idiv ecx
mov eax, edx
add eax, 0x67
mov ecx, dword [rsp + 0x30]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x24]
mov word [rsp + rcx*2 + 0xb0], ax
jmp 0x180009518
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
xor r9d, r9d
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.18003e720
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [0x18033ee30], rax
mov dword [rsp + 0x28], 0
jmp 0x1800095a8
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x27
jge 0x1800095c0
movsxd rax, dword [rsp + 0x28]
xor ecx, ecx
mov word [rsp + rax*2 + 0xb0], cx
jmp 0x18000959e
xorps xmm0, xmm0
movss dword [rsp + 0xa4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xa8], xmm0
mov rax, qword [rsp + 0x168]
movss xmm0, dword [rax]
movss dword [rsp + 0x40], xmm0
mov rax, qword [rsp + 0x168]
movss xmm0, dword [rax + 4]
movss dword [rsp + 0x44], xmm0
mov rax, qword [rsp + 0x168]
movss xmm0, dword [rax + 8]
movss dword [rsp + 0x48], xmm0
mov rax, qword [rsp + 0x168]
movss xmm0, dword [rax + 0xc]
movss dword [rsp + 0x4c], xmm0
lea rax, [rsp + 0x84]
lea rcx, [rsp + 0x40]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x170]
movss xmm0, dword [rax]
movss dword [rsp + 0x50], xmm0
mov rax, qword [rsp + 0x170]
movss xmm0, dword [rax + 4]
movss dword [rsp + 0x54], xmm0
mov rax, qword [rsp + 0x170]
movss xmm0, dword [rax + 8]
movss dword [rsp + 0x58], xmm0
mov rax, qword [rsp + 0x170]
movss xmm0, dword [rax + 0xc]
movss dword [rsp + 0x5c], xmm0
lea rax, [rsp + 0x94]
lea rcx, [rsp + 0x50]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
xorps xmm0, xmm0
movss dword [rsp + 0x80], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xac], xmm0
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x100], rax
lea rax, [rsp + 0x108]
lea rcx, [rsp + 0x80]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x30
rep movsb byte [rdi], byte [rsi]
mov rax, qword [0x18033ee30]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x18000973c
mov eax, 8
imul rax, rax, 0x4f
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x100]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x160]
call qword [rsp + 0x78]
nop
add rsp, 0x148
pop rdi
pop rsi
ret