Function at 0x1800b4c70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 8], rcx
push rbp
push r13
lea rbp, [r11 - 0x118]
sub rsp, 0x208
lea eax, [r9 + 7]
mov r13, rdx
mov dword [rbp + 0x138], eax
mov r10, rcx
cmp r9d, eax
jae 0x1800b4fc1
mov qword [r11 + 0x10], rbx
lea edx, [r9 - 0xfa]
mov rbx, qword [rbp + 0x120]
xor r9d, r9d
mov qword [r11 - 0x18], rsi
mov ecx, eax
movzx esi, byte [rbp + 0x138]
mov qword [r11 - 0x20], rdi
movzx edi, byte [rbp + 0x138]
mov qword [r11 - 0x28], r12
mov r12, qword [rbp + 0x120]
mov qword [r11 - 0x30], r14
movzx r14d, byte [rbp + 0x138]
mov qword [r11 - 0x38], r15
lea r11, [0x180000000]
mov r15, qword [rbp + 0x120]
movaps xmmword [rsp + 0x1d0], xmm6
mov dword [rsp + 0x30], edx
cmp edx, 0xb
ja case.default.0x1800b4d1b
mov ecx, dword [r11 + rdx*4 + 0xb4fd0]
add rcx, r11
jmp rcx
movzx edi, byte [rbp + 0xc0]
movzx r14d, byte [rbp + 0xc1]
jmp case.0x1800b4d1b.2
cmp qword [r8 + 0x18], 0x10
mov r15, r9
mov rcx, r8
jb 0x1800b4d41
mov rcx, qword [r8]
mov eax, dword [r8 + 0x10]
xor r9d, r9d
mov dword [rsp + 0x40], eax
lea r8, [rbp - 0x40]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 0xaa
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.180060d10
mov r10, qword [rbp + 0x120]
jmp 0x1800b4f57
cmp r15, qword [r13 + 0x10]
jae 0x1800b4dfb
nop
mov eax, 0x10d
cmp eax, 0x10d
je 0x1800b4de2
cmp eax, 0xc58c
je 0x1800b4dc4
cmp eax, 0x18a0b
je 0x1800b4db2
cmp eax, 0x24e8a
jne 0x1800b4de5
movzx ecx, sil
movzx edx, byte [rcx + rbx]
xor byte [r12 + r15], dl
inc r15
jmp 0x1800b4de5
movzx edx, r14b
movzx ecx, dil
movzx esi, byte [rdx + rbx]
add sil, byte [rcx + rbx]
jmp 0x1800b4de5
movzx r8d, dil
movzx r9d, byte [r8 + rbx]
add r14b, r9b
movzx edx, r14b
movzx ecx, byte [rdx + rbx]
mov byte [r8 + rbx], cl
mov byte [rdx + rbx], r9b
jmp 0x1800b4de5
inc dil
add eax, 0xc47f
cmp eax, 0x311fc
jbe 0x1800b4d85
cmp r15, qword [r13 + 0x10]
jb 0x1800b4d80
mov edx, dword [rsp + 0x30]
mov byte [rbp + 0xc0], dil
jmp case.0x1800b4d1b.2
mov byte [rbp + 0xc1], r14b
jmp case.0x1800b4d1b.2
cmp qword [r13 + 0x18], 0x10
lea rbx, [rbp - 0x40]
mov r12, r13
jb case.0x1800b4d1b.2
mov r12, qword [r13]
jmp case.0x1800b4d1b.2
mov rax, qword [rbp + 0x148]
mov ecx, 0x10d
mov rdx, qword [rax]
mov rax, qword [rbp + 0x140]
mov r8, qword [rax]
mov eax, ecx
sub eax, 0x10d
je 0x1800b4e72
sub eax, 3
je 0x1800b4e5c
cmp eax, 1
je 0x1800b4e6b
jmp 0x1800b4e61
mov dword [rsp + 0x60], r9d
inc ecx
cmp ecx, 0x110
jb 0x1800b4e47
movaps xmm6, xmmword [rsp + 0x60]
jmp 0x1800b4ea9
mov qword [rsp + 0x50], rdx
lea r9, [rsp + 0x40]
mov qword [rsp + 0x40], r8
lea rcx, [rsp + 0x60]
lea r8, [rsp + 0x50]
mov edx, 0xc9
call fcn.1800b9360
xor r9d, r9d
movups xmm6, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm6
movups xmmword [rsp + 0x70], xmm0
mov rdx, qword [rbp + 0x130]
mov ecx, 0x10d
mov r8, qword [r13]
mov rdx, qword [rdx]
nop dword [rax]
mov eax, ecx
sub eax, 0x10d
je 0x1800b4ee9
sub eax, 3
je 0x1800b4ed5
cmp eax, 1
je 0x1800b4ee3
jmp 0x1800b4ed9
mov dword [rbp - 0x80], r9d
inc ecx
cmp ecx, 0x110
jb 0x1800b4ec0
movaps xmm1, xmmword [rbp - 0x80]
jmp 0x1800b4f1a
mov qword [rsp + 0x40], rdx
lea r9, [rsp + 0x50]
mov qword [rsp + 0x50], r8
lea rcx, [rbp - 0x80]
lea r8, [rsp + 0x40]
mov edx, 0xc9
call fcn.1800b9360
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
movups xmmword [rbp - 0x70], xmm0
lea r9, [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm6
mov r8d, 0xfd
movdqa xmmword [rsp + 0x50], xmm1
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.1800b5000
mov r10, qword [rbp + 0x120]
movups xmm0, xmmword [rbp - 0x60]
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [r10], xmm0
movups xmmword [r10 + 0x10], xmm1
mov edx, dword [rsp + 0x30]
lea r11, [0x180000000]
mov ecx, dword [rbp + 0x138]
mov r8, qword [rbp + 0x130]
inc edx
mov dword [rsp + 0x30], edx
mov r9d, 0
lea eax, [rdx + 0xfa]
cmp eax, ecx
jb 0x1800b4d07
movaps xmm6, xmmword [rsp + 0x1d0]
mov r14, qword [rsp + 0x1e8]
mov r12, qword [rsp + 0x1f0]
mov rdi, qword [rsp + 0x1f8]
mov rsi, qword [rsp + 0x200]
mov rbx, qword [rsp + 0x228]
mov r15, qword [rsp + 0x1e0]
mov rax, r10
add rsp, 0x208
pop r13
pop rbp
ret