Function at 0x1800126e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
test r8d, r8d
je 0x180012989
mov rsi, rdx
mov rdi, rcx
lea r15, [rcx + 0xf0]
mov ebx, r8d
lea r12, [rcx + 0xff]
lea r13, [rcx + 0xfe]
lea rax, [rcx + 0xfd]
mov qword [rsp + 0x88], rax
lea rax, [rcx + 0xfc]
mov qword [rsp + 0x80], rax
lea rax, [rcx + 0xfb]
mov qword [rsp + 0x78], rax
lea rax, [rcx + 0xfa]
mov qword [rsp + 0x70], rax
lea rax, [rcx + 0xf9]
mov qword [rsp + 0x68], rax
lea rax, [rcx + 0xf8]
mov qword [rsp + 0x60], rax
lea rax, [rcx + 0xf7]
mov qword [rsp + 0x58], rax
lea rax, [rcx + 0xf6]
mov qword [rsp + 0x50], rax
lea rax, [rcx + 0xf5]
mov qword [rsp + 0x48], rax
lea rax, [rcx + 0xf4]
mov qword [rsp + 0x40], rax
lea rax, [rcx + 0xf3]
mov qword [rsp + 0x38], rax
lea rax, [rcx + 0xf2]
mov qword [rsp + 0x30], rax
lea rax, [rcx + 0xf1]
mov qword [rsp + 0x28], rax
mov eax, 0x10
xor ebp, ebp
lea r14, [rsp + 0x90]
jmp 0x1800127f1
inc al
mov byte [rcx], al
xor eax, eax
mov ecx, eax
movzx ecx, byte [rsp + rcx + 0x90]
xor byte [rsi + rbp], cl
inc rbp
inc eax
cmp rbx, rbp
je 0x180012989
cmp eax, 0x10
jne 0x1800127d6
movups xmm0, xmmword [r15]
movaps xmmword [rsp + 0x90], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.180012170
movzx eax, byte [rdi + 0xff]
mov rcx, r12
cmp al, 0xff
jne 0x1800127d0
mov byte [r12], 0
movzx eax, byte [r13]
mov rcx, r13
cmp al, 0xff
jne 0x1800127d0
mov byte [r13], 0
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x1800127d0
mov rax, qword [rsp + 0x88]
mov byte [rax], 0
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x1800127d0
mov rax, qword [rsp + 0x80]
mov byte [rax], 0
mov rcx, qword [rsp + 0x78]
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x1800127d0
mov rax, qword [rsp + 0x78]
mov byte [rax], 0
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x1800127d0
mov rax, qword [rsp + 0x70]
mov byte [rax], 0
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x1800127d0
mov rax, qword [rsp + 0x68]
mov byte [rax], 0
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x1800127d0
mov rax, qword [rsp + 0x60]
mov byte [rax], 0
mov rcx, qword [rsp + 0x58]
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x1800127d0
mov rax, qword [rsp + 0x58]
mov byte [rax], 0
mov rcx, qword [rsp + 0x50]
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x1800127d0
mov rax, qword [rsp + 0x50]
mov byte [rax], 0
mov rcx, qword [rsp + 0x48]
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x1800127d0
mov rax, qword [rsp + 0x48]
mov byte [rax], 0
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x1800127d0
mov rax, qword [rsp + 0x40]
mov byte [rax], 0
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x1800127d0
mov rax, qword [rsp + 0x38]
mov byte [rax], 0
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x1800127d0
mov rax, qword [rsp + 0x30]
mov byte [rax], 0
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x1800127d0
mov rax, qword [rsp + 0x28]
mov byte [rax], 0
movzx eax, byte [r15]
mov rcx, r15
cmp al, 0xff
jne 0x1800127d0
mov byte [r15], 0
jmp 0x1800127d4
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret