Function at 0x14008ac90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbx, qword [rsp + 0x48]
xor r14d, r14d
mov eax, r14d
mov r9d, r14d
mov r10d, r14d
mov r8d, r14d
mov rcx, qword [rbx + 0x70]
cmp byte [rcx + 0xec], 2
jne 0x14008aa85
mov eax, dword [rcx + 0xe0]
lea r8d, [r14 + 1]
mov r9d, dword [rcx + 0xe4]
mov r10d, dword [rcx + 0xe8]
mov rcx, qword [rbx + 0x78]
cmp byte [rcx + 0xec], 2
jne 0x14008aaa9
add eax, dword [rcx + 0xe0]
inc r8d
add r9d, dword [rcx + 0xe4]
add r10d, dword [rcx + 0xe8]
mov rcx, qword [rbx + 0x80]
cmp byte [rcx + 0xec], 2
jne 0x14008aad0
add eax, dword [rcx + 0xe0]
inc r8d
add r9d, dword [rcx + 0xe4]
add r10d, dword [rcx + 0xe8]
mov rcx, qword [rbx + 0x88]
cmp byte [rcx + 0xec], 2
jne 0x14008aaf7
add eax, dword [rcx + 0xe0]
inc r8d
add r9d, dword [rcx + 0xe4]
add r10d, dword [rcx + 0xe8]
mov rcx, qword [rbx + 0x90]
cmp byte [rcx + 0xec], 2
jne 0x14008ab1e
add eax, dword [rcx + 0xe0]
inc r8d
add r9d, dword [rcx + 0xe4]
add r10d, dword [rcx + 0xe8]
mov rcx, qword [rbx + 0x98]
cmp byte [rcx + 0xec], 2
jne 0x14008ab45
add eax, dword [rcx + 0xe0]
inc r8d
add r9d, dword [rcx + 0xe4]
add r10d, dword [rcx + 0xe8]
mov rcx, qword [rbx + 0xa0]
cmp byte [rcx + 0xec], 2
jne 0x14008ab6c
add eax, dword [rcx + 0xe0]
inc r8d
add r9d, dword [rcx + 0xe4]
add r10d, dword [rcx + 0xe8]
mov rcx, qword [rbx + 0xa8]
cmp byte [rcx + 0xec], 2
jne 0x14008ab93
add eax, dword [rcx + 0xe0]
inc r8d
add r9d, dword [rcx + 0xe4]
add r10d, dword [rcx + 0xe8]
mov r11d, r14d
mov esi, r14d
mov ebp, r14d
test r8d, r8d
je 0x14008abc3
mov ecx, r8d
shr ecx, 1
add eax, ecx
cdq
idiv r8d
mov r11d, eax
lea eax, [rcx + r9]
cdq
idiv r8d
mov esi, eax
lea eax, [rcx + r10]
cdq
idiv r8d
mov ebp, eax
mov rdi, qword [rsp + 0x40]
movd xmm0, r11d
cvtdq2ps xmm0, xmm0
movss xmm1, dword [rdi + 0x1ac]
mulss xmm0, xmm1
cvttss2si edx, xmm0
cmp edx, 8
jl 0x14008abf1
cmp edx, 0x60
jle 0x14008abf6
mov edx, 0x60
jmp 0x14008abf6
mov edx, 8
movd xmm0, esi
mov eax, r14d
cvtdq2ps xmm0, xmm0
mov r9d, 0x10
mulss xmm0, xmm1
cvttss2si ecx, xmm0
test ecx, ecx
cmovns eax, ecx
cmp eax, r9d
jle 0x14008ac1d
mov ecx, r9d
jmp 0x14008ac23
test ecx, ecx
cmovs ecx, r14d
movd xmm0, ebp
mov eax, r14d
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si r8d, xmm0
test r8d, r8d
cmovns eax, r8d
cmp eax, r9d
jg 0x14008ac4c
test r8d, r8d
mov r9d, r8d
cmovs r9d, r14d
lea r8, [rbx + 0xf0]
mov dword [rbx + 0xf4], ecx
mov dword [r8], edx
mov rcx, rdi
mov rdx, rbx
mov dword [rbx + 0xf8], r9d
call fcn.14008be80
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
jmp 0x14008ac90
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x130
movaps xmmword [rax - 0x48], xmm6
mov rax, qword [0x1401b2190]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rdi, qword [rbp + 0x78]
xorps xmm0, xmm0
mov rcx, qword [rbp + 0x70]
xor r8d, r8d
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rdi
mov edx, dword [rdi + 8]
mov eax, dword [rdi + 0xc]
mov dword [rbp - 0x48], eax
imul eax, edx
mov dword [rbp - 0x44], edx
mov rdx, rdi
movups xmmword [rbp - 0x28], xmm0
mov dword [rbp + 8], r8d
movups xmmword [rbp - 0x18], xmm0
mov dword [rbp - 0x78], eax
movups xmmword [rbp - 8], xmm0
mov dword [rbp - 0x4c], r8d
mov dword [rsp + 0x78], r8d
call fcn.14008b3d0
mov edx, 0x34
lea r8, [rdi + 0xfc]
mov r9d, edx
lea rcx, [rbp - 0x28]
call fcn.140076000
mov eax, dword [rbp - 0x20]
add rdi, 0x70
mov r14d, dword [rbp + 8]
mov r13, rdi
mov r15d, dword [rbp + 4]
mov ecx, dword [rbp]
mov edx, dword [rbp - 4]
mov r8d, dword [rbp - 8]
mov r9d, dword [rbp - 0xc]
mov r10d, dword [rbp - 0x10]
mov r11d, dword [rbp - 0x14]
mov esi, dword [rbp - 0x18]
mov r12d, dword [rbp - 0x1c]
mov dword [rbp - 0x7c], eax
mov eax, dword [rbp - 0x24]
mov dword [rbp - 0x80], eax
mov eax, dword [rbp - 0x28]
mov qword [rbp - 0x38], rdi
mov edi, 8
mov dword [rsp + 0x7c], eax
mov rax, qword [rbp - 0x58]
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x40], rdi
mov dword [rbp - 0x68], r14d
mov dword [rbp - 0x6c], r15d
mov dword [rsp + 0x74], ecx
mov dword [rsp + 0x70], edx
mov dword [rsp + 0x6c], r8d
mov dword [rsp + 0x68], r9d
mov dword [rsp + 0x64], r10d
mov dword [rsp + 0x60], r11d
mov dword [rbp - 0x70], esi
mov dword [rbp - 0x74], r12d
nop word [rax + rax]
mov rbx, qword [r13]
cmp rbx, rax
je 0x14008af2f
cmp byte [rbx + 0xec], 2
jne 0x14008af2f
cmp byte [rbx + 0x140], 0
movsxd rsi, dword [rbx + 8]
mov r12d, dword [rbx + 0xc]
jne 0x14008ae4c
mov rax, qword [rbp - 0x60]
mov rdi, qword [rbx + 0x60]
mov r15, qword [rax + 0x178]
test r12d, r12d
jle 0x14008ae3d
mov r14d, r12d
nop dword [rax]
nop word [rax + rax]
mov r9, rsi
mov r8d, 0xff
mov rdx, rsi
mov rcx, rdi
call fcn.14011a560
add rdi, r15
sub r14, 1
jne 0x14008ae00
mov r14d, dword [rbp - 0x68]
mov ecx, dword [rsp + 0x74]
mov edx, dword [rsp + 0x70]
mov r8d, dword [rsp + 0x6c]
mov r9d, dword [rsp + 0x68]
mov r10d, dword [rsp + 0x64]
mov r11d, dword [rsp + 0x60]
mov rdi, qword [rbp - 0x40]
mov r15d, dword [rbp - 0x6c]
mov byte [rbx + 0x140], 1
mov eax, dword [rbx + 0xfc]
cmp eax, 0xffffffff
jne 0x14008ae85
mov rcx, qword [rbp - 0x60]
mov rdx, rbx
call fcn.14008b3d0
mov eax, dword [rbx + 0xfc]
mov ecx, dword [rsp + 0x74]
mov edx, dword [rsp + 0x70]
mov r8d, dword [rsp + 0x6c]
mov r9d, dword [rsp + 0x68]
mov r10d, dword [rsp + 0x64]
mov r11d, dword [rsp + 0x60]
add dword [rsp + 0x7c], eax
mov eax, dword [rbp - 0x80]
add eax, dword [rbx + 0x100]
add r11d, dword [rbx + 0x110]
add r10d, dword [rbx + 0x114]
add r9d, dword [rbx + 0x118]
add r8d, dword [rbx + 0x11c]
mov dword [rbp - 0x80], eax
mov eax, dword [rbp - 0x7c]
add eax, dword [rbx + 0x104]
imul r12d, esi
mov esi, dword [rbp - 0x70]
add esi, dword [rbx + 0x10c]
mov dword [rbp - 0x7c], eax
mov eax, dword [rbx + 0x108]
add dword [rsp + 0x78], r12d
mov r12d, dword [rbp - 0x74]
add edx, dword [rbx + 0x120]
mov dword [rbp - 0x70], esi
mov dword [rsp + 0x60], r11d
lea r12d, [r12 + rax*2]
mov dword [rsp + 0x64], r10d
mov eax, dword [rbx + 0x124]
mov dword [rbp - 0x74], r12d
mov dword [rsp + 0x68], r9d
mov dword [rsp + 0x6c], r8d
lea ecx, [rcx + rax*2]
mov dword [rsp + 0x70], edx
mov eax, dword [rbx + 0x128]
mov dword [rsp + 0x74], ecx
lea r15d, [r15 + rax*2]
mov eax, dword [rbx + 0x12c]
mov dword [rbp - 0x6c], r15d
lea r14d, [r14 + rax*2]
mov rax, qword [rbp - 0x58]
mov dword [rbp - 0x68], r14d
add r13, 8
sub rdi, 1
mov qword [rbp - 0x40], rdi
jne 0x14008adb0
mov rdi, qword [rbp - 0x60]
mov ebx, dword [rbp - 0x78]
add esi, dword [rdi + 0x1cc]
add r9d, dword [rdi + 0x1d8]
add r8d, dword [rdi + 0x1dc]
add edx, dword [rdi + 0x1e0]
add r10d, dword [rdi + 0x1d4]
mov eax, dword [rdi + 0x1b8]
add eax, dword [rsp + 0x78]
add r12d, dword [rdi + 0x1c8]
add ebx, eax
mov eax, dword [rsp + 0x7c]
add eax, dword [rdi + 0x1bc]
add r11d, dword [rdi + 0x1d0]
add ecx, dword [rdi + 0x1e4]
add r15d, dword [rdi + 0x1e8]
add r14d, dword [rdi + 0x1ec]
mov dword [rbp - 0x28], eax
mov eax, dword [rbp - 0x80]
add eax, dword [rdi + 0x1c0]
mov dword [rbp - 0x24], eax
mov eax, dword [rbp - 0x7c]
add eax, dword [rdi + 0x1c4]
mov dword [rbp - 0x18], esi
mov rsi, qword [rbp - 0x58]
mov dword [rbp - 0xc], r9d
mov r9d, ebx
mov dword [rbp - 8], r8d
lea r8, [rbp - 0x28]
mov dword [rbp - 4], edx
mov dword [rbp - 0x10], r10d
lea rdx, [rsi + 0x130]
mov dword [rbp - 0x20], eax
mov r10, rdi
mov dword [rbp - 0x1c], r12d
mov dword [rbp - 0x14], r11d
mov dword [rbp], ecx
mov dword [rbp + 4], r15d
mov dword [rbp + 8], r14d
call fcn.14008b630
mov r13d, 0xff
lea r9, [rsi + 0x70]
nop word [rax + rax]
mov rax, qword [r9]
cmp rax, rsi
je 0x14008b134
cmp byte [rax + 0xec], 2
jne 0x14008b134
movsxd rcx, dword [rax + 8]
mov r15d, dword [rax + 0xc]
mov r14, rcx
mov rbx, qword [rax + 0x20]
mov r11, qword [rax + 0x18]
mov rdi, qword [rax + 0x10]
xor eax, eax
movss xmm3, dword [rdx]
mov r8d, eax
movss xmm4, dword [rsi + 0x134]
movss xmm5, dword [rsi + 0x138]
movss xmm6, dword [rsi + 0x13c]
test r15d, r15d
jle 0x14008b11b
mov r12, qword [r10 + 0x150]
mov esi, r15d
test r14, r14
jle 0x14008b0f5
mov r9, rdi
mov r10, rbx
sub r9, r11
mov rcx, r11
sub r10, r11
mov rdx, r14
nop dword [rax + rax]
movzx eax, byte [r9 + rcx]
xorps xmm2, xmm2
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2ss xmm2, eax
movzx eax, byte [rcx]
cvtsi2ss xmm0, eax
movzx eax, byte [r10 + rcx]
mulss xmm2, xmm3
cvtsi2ss xmm1, eax
mulss xmm0, xmm4
mulss xmm1, xmm5
addss xmm2, xmm0
addss xmm2, xmm1
addss xmm2, xmm6
cvttss2si eax, xmm2
cmp eax, 0xff
jle 0x14008b0dc
mov eax, 0xff
jmp 0x14008b0e2
test eax, eax
cmovs eax, dword [rbp - 0x4c]
movzx eax, al
inc rcx
add r8d, eax
sub rdx, 1
jne 0x14008b090
mov r10, qword [rbp - 0x60]
add r11, qword [r10 + 0x158]
add rdi, r12
add rbx, qword [r10 + 0x160]
sub rsi, 1
jne 0x14008b074
mov rsi, qword [rbp - 0x58]
mov ecx, r14d
mov r9, qword [rbp - 0x38]
imul r15d, ecx
mov eax, r8d
cdq
idiv r15d
lea rdx, [rsi + 0x130]
cmp eax, r13d
cmovl r13d, eax
add r9, 8
sub qword [rbp - 0x30], 1
mov qword [rbp - 0x38], r9
jne 0x14008b010
lea eax, [r13 - 2]
cmp eax, 0xfc
ja 0x14008b1a7
movss xmm2, dword [0x140194aa8]
movd xmm0, r13d
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movaps xmm1, xmm2
movaps xmm0, xmm2
mulss xmm1, dword [rdx]
movss dword [rdx], xmm1
movaps xmm1, xmm2
mulss xmm0, dword [rsi + 0x134]
movss dword [rsi + 0x134], xmm0
mulss xmm1, dword [rsi + 0x138]
movss dword [rsi + 0x138], xmm1
mulss xmm2, dword [rsi + 0x13c]
movss dword [rsi + 0x13c], xmm2
mov eax, dword [rbp - 0x48]
mov rcx, qword [r10 + 0x160]
mov r9, qword [r10 + 0x150]
mov r8, qword [rsi + 0x10]
mov dword [rsp + 0x50], eax
mov eax, dword [rbp - 0x44]
mov dword [rsp + 0x48], eax
mov rax, qword [r10 + 0x210]
mov qword [rsp + 0x40], rdx
mov rdx, qword [r10 + 0x178]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsi + 0x20]
mov qword [rsp + 0x30], rcx
mov rcx, qword [r10 + 0x158]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsi + 0x18]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsi + 0x60]
call qword [case.0x14008f836.32]
mov dword [rsi + 0x108], eax
mov byte [rsi + 0x141], 1
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140126360
mov rbx, qword [rsp + 0x180]
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret