Function at 0x10002b7a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3c0
mov rax, qword [0x10005c100]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
xor ebx, ebx
mov r15, r9
mov qword [rsp + 0x20], r8
mov r14d, edx
mov r13, rcx
lea r12d, [rbx + 0x14]
mov rsi, rbx
mov edi, dword [r13 + 0x2ec0]
mov edx, 4
mov rcx, r13
shr edi, 0x1c
call fcn.100029e3c
mov byte [rsp + rsi + 0xd0], dil
inc rsi
cmp rsi, r12
jl 0x10002b7e0
cmp dword [r13 + 0x2ecc], ebx
je 0x10002b817
xor eax, eax
jmp 0x10002bbfd
mov ecx, ebx
lea rax, [rsp + 0xd0]
cmp byte [rax], 0x11
jae 0x10002ba23
inc ecx
inc rax
cmp ecx, r12d
jb 0x10002b821
xor edx, edx
lea rcx, [rsp + 0x80]
lea r8d, [rdx + 0x44]
call fcn.100039740
lea rdx, [rsp + 0xd0]
mov rcx, r12
movzx eax, byte [rdx]
inc rdx
inc dword [rsp + rax*4 + 0x80]
sub rcx, 1
jne 0x10002b852
mov dword [rsp + 0x34], ebx
lea edi, [rcx + 1]
mov rdx, rbx
lea r9d, [rcx + 0x10]
mov eax, dword [rsp + rdx + 0x84]
mov ecx, r9d
add rdx, 4
sub ecx, edi
inc edi
shl eax, cl
add eax, dword [rsp + rdx + 0x30]
mov dword [rsp + rdx + 0x34], eax
cmp edi, r9d
jbe 0x10002b873
mov r10d, 0x10000
cmp dword [rsp + 0x74], r10d
je 0x10002b8c5
cmp dword [rsp + 0x74], ebx
jne 0x10002ba23
lea rcx, [rsp + 0x1b0]
xor edx, edx
mov r8d, 0x200
call fcn.100039740
jmp 0x10002ba23
mov edi, 1
mov r8, rbx
lea ebp, [rdi + 7]
shr dword [rsp + r8 + 0x34], 8
mov ecx, ebp
mov edx, 1
sub ecx, edi
inc edi
add r8, 4
shl edx, cl
mov dword [rsp + r8 + 0x80], edx
cmp edi, ebp
jbe 0x10002b8d0
movsxd rax, edi
cmp edi, r9d
ja 0x10002b91d
lea r8, [rsp + rax*4 + 0x80]
mov ecx, r9d
mov edx, 1
sub ecx, edi
inc edi
shl edx, cl
mov dword [r8], edx
add r8, 4
cmp edi, r9d
jbe 0x10002b903
mov ecx, dword [rsp + 0x54]
mov esi, 0x100
shr ecx, 8
cmp ecx, r10d
je 0x10002b946
mov r8d, esi
xor edx, edx
sub r8d, ecx
lea rcx, [rsp + rcx*2 + 0x1b0]
add r8, r8
call fcn.100039740
mov r11d, r12d
mov r8d, ebx
movsxd rax, r8d
mov cl, byte [rsp + rax + 0xd0]
cmp cl, bl
je 0x10002ba17
movzx r10d, cl
mov edx, dword [rsp + r10*4 + 0x30]
mov eax, dword [rsp + r10*4 + 0x80]
lea r9d, [rdx + rax]
cmp cl, bpl
ja 0x10002b9a4
cmp r9d, esi
ja 0x10002ba23
movsxd rax, edx
cmp edx, r9d
jae 0x10002b99d
mov ecx, r9d
lea rdi, [rsp + rax*2 + 0x1b0]
movsx rax, r8w
sub ecx, edx
rep stosw word [rdi], ax
mov dword [rsp + r10*4 + 0x30], r9d
jmp 0x10002ba17
mov rax, rdx
mov dword [rsp + r10*4 + 0x30], r9d
movzx r9d, cl
shr rax, 8
sub r9d, ebp
shl edx, 8
lea rdi, [rsp + rax*2 + 0x1b0]
cmp word [rdi], bx
jne 0x10002b9e7
movsxd rax, r11d
mov word [rsp + rax*4 + 0xf2], bx
mov word [rsp + rax*4 + 0xf0], bx
movzx eax, r11w
neg ax
inc r11d
mov word [rdi], ax
cmp dx, bx
jge 0x10002b9fa
movsx ecx, word [rdi]
mov eax, 1
add ecx, ecx
sub eax, ecx
jmp 0x10002ba01
movsx eax, word [rdi]
neg eax
add eax, eax
cdqe
add edx, edx
add r9d, 0xffffffff
lea rdi, [rsp + rax*2 + 0xf0]
jne 0x10002b9c2
mov word [rdi], r8w
inc r8d
cmp r8d, r12d
jl 0x10002b94c
cmp r14d, ebx
mov esi, ebx
jle 0x10002bbf1
mov edx, dword [r13 + 0x2ec0]
mov rax, rdx
shr rax, 0x18
movzx edi, word [rsp + rax*2 + 0x1b0]
cmp di, bx
jge 0x10002ba72
mov ecx, 0x800000
neg di
movsx rax, di
test ecx, edx
je 0x10002ba63
mov di, word [rsp + rax*4 + 0xf2]
jmp 0x10002ba6b
mov di, word [rsp + rax*4 + 0xf0]
shr ecx, 1
cmp di, bx
jl 0x10002ba4e
movsx rbp, di
mov rcx, r13
movzx edx, byte [rsp + rbp + 0xd0]
call fcn.100029e3c
cmp dword [r13 + 0x2ecc], ebx
jne 0x10002b810
movsxd r12, esi
cmp di, 0x11
jne 0x10002babc
mov edi, dword [r13 + 0x2ec0]
mov edx, 4
mov rcx, r13
shr edi, 0x1c
call fcn.100029e3c
movzx edx, dil
add edx, 4
jmp 0x10002bae0
cmp di, 0x12
jne 0x10002bb0c
mov edi, dword [r13 + 0x2ec0]
mov edx, 5
mov rcx, r13
shr edi, 0x1b
call fcn.100029e3c
movzx edx, dil
add edx, 0x14
lea eax, [rdx + rsi]
cmp eax, r14d
jl 0x10002baed
mov edx, r14d
sub edx, esi
cmp edx, ebx
jle 0x10002bbc6
mov edi, edx
mov r8d, edx
lea rcx, [r12 + r15]
xor edx, edx
call fcn.100039740
add esi, edi
jmp 0x10002bbc6
cmp di, 0x13
jne 0x10002bbca
mov edi, dword [r13 + 0x2ec0]
mov edx, 1
mov rcx, r13
shr edi, 0x1f
call fcn.100029e3c
movzx ebp, dil
add ebp, 4
lea eax, [rbp + rsi]
cmp eax, r14d
jl 0x10002bb42
mov ebp, r14d
sub ebp, esi
mov edi, dword [r13 + 0x2ec0]
mov rax, rdi
shr rax, 0x18
movzx ecx, word [rsp + rax*2 + 0x1b0]
cmp cx, bx
jge 0x10002bb86
mov edx, 0x800000
neg cx
movsx rax, cx
test edx, edi
je 0x10002bb77
mov cx, word [rsp + rax*4 + 0xf2]
jmp 0x10002bb7f
mov cx, word [rsp + rax*4 + 0xf0]
shr edx, 1
cmp cx, bx
jl 0x10002bb62
movsx rdi, cx
mov rcx, r13
movzx edx, byte [rsp + rdi + 0xd0]
call fcn.100029e3c
mov rax, qword [rsp + 0x20]
movzx edx, byte [r12 + rax]
sub rdx, rdi
cmp ebp, ebx
jle 0x10002bbc6
lea rax, [0x10000d1d0]
lea rcx, [r12 + r15]
mov r8d, ebp
mov dl, byte [rdx + rax + 0x11]
mov edi, ebp
call fcn.100039740
add esi, ebp
dec esi
jmp 0x10002bbe6
mov rax, qword [rsp + 0x20]
lea rcx, [0x10000d1d0]
movzx eax, byte [r12 + rax]
sub rax, rbp
mov al, byte [rax + rcx + 0x11]
mov byte [r12 + r15], al
inc esi
cmp esi, r14d
jl 0x10002ba2e
cmp dword [r13 + 0x2ecc], ebx
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.1000391d0
mov rbx, qword [rsp + 0x408]
add rsp, 0x3c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret