Function at 0x14006b660
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x100
lea rbp, [rsp + 0x20]
mov rax, qword [0x1400f6858]
xor rax, rbp
mov qword [rbp + 0xd8], rax
cmp dword [rbp + 0x100], 3
jge 0x14006b6a0
jmp 0x14006be6e
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x38]
mov rax, qword [rax]
mov qword [rbp], rax
mov rax, qword [rbp + 0xf0]
mov eax, dword [rax + 0x30]
and eax, 4
test eax, eax
je 0x14006bcaa
movss xmm0, dword [0x1400ceb64]
movss dword [rbp + 8], xmm0
mov eax, dword [rbp + 0x108]
and eax, 0xffffff
mov dword [rbp + 0xc], eax
mov eax, dword [rbp + 0x100]
sub eax, 2
imul eax, eax, 3
imul ecx, dword [rbp + 0x100], 6
add eax, ecx
mov dword [rbp + 0x10], eax
mov eax, dword [rbp + 0x100]
shl eax, 1
mov dword [rbp + 0x14], eax
mov r8d, dword [rbp + 0x14]
mov edx, dword [rbp + 0x10]
mov rcx, qword [rbp + 0xf0]
call fcn.140075f80
mov rax, qword [rbp + 0xf0]
mov eax, dword [rax + 0x48]
mov dword [rbp + 0x18], eax
mov rax, qword [rbp + 0xf0]
mov eax, dword [rax + 0x48]
inc eax
mov dword [rbp + 0x1c], eax
mov dword [rbp + 0x20], 2
jmp 0x14006b745
mov eax, dword [rbp + 0x20]
inc eax
mov dword [rbp + 0x20], eax
mov eax, dword [rbp + 0x100]
cmp dword [rbp + 0x20], eax
jge 0x14006b7ce
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rbp + 0xf0]
mov rcx, qword [rcx + 0x58]
movzx edx, word [rbp + 0x18]
mov word [rax + rcx], dx
mov eax, dword [rbp + 0x18]
mov ecx, dword [rbp + 0x20]
lea eax, [rax + rcx*2 - 2]
mov ecx, 2
imul rcx, rcx, 1
mov rdx, qword [rbp + 0xf0]
mov rdx, qword [rdx + 0x58]
mov word [rcx + rdx], ax
mov eax, dword [rbp + 0x18]
mov ecx, dword [rbp + 0x20]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 2
mov rdx, qword [rbp + 0xf0]
mov rdx, qword [rdx + 0x58]
mov word [rcx + rdx], ax
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x58]
add rax, 6
mov rcx, qword [rbp + 0xf0]
mov qword [rcx + 0x58], rax
jmp 0x14006b73d
movsxd rax, dword [rbp + 0x100]
shl rax, 3
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14006b7ef
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400c7880
sub rsp, rax
lea rax, [rsp + 0x20]
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x100]
dec eax
mov dword [rbp + 0x30], eax
mov dword [rbp + 0x34], 0
jmp 0x14006b835
mov eax, dword [rbp + 0x34]
mov dword [rbp + 0xd0], eax
mov eax, dword [rbp + 0x34]
inc eax
mov dword [rbp + 0x34], eax
mov eax, dword [rbp + 0xd0]
mov dword [rbp + 0x30], eax
mov eax, dword [rbp + 0x100]
cmp dword [rbp + 0x34], eax
jge 0x14006b934
movsxd rax, dword [rbp + 0x30]
mov rcx, qword [rbp + 0xf8]
lea rax, [rcx + rax*8]
mov qword [rbp + 0x38], rax
movsxd rax, dword [rbp + 0x34]
mov rcx, qword [rbp + 0xf8]
lea rax, [rcx + rax*8]
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x38]
movss xmm0, dword [rax]
subss xmm0, dword [rcx]
movss dword [rbp + 0x48], xmm0
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x38]
movss xmm0, dword [rax + 4]
subss xmm0, dword [rcx + 4]
movss dword [rbp + 0x4c], xmm0
movss xmm0, dword [rbp + 0x48]
mulss xmm0, dword [rbp + 0x48]
movss xmm1, dword [rbp + 0x4c]
mulss xmm1, dword [rbp + 0x4c]
addss xmm0, xmm1
movss dword [rbp + 0x50], xmm0
movss xmm0, dword [rbp + 0x50]
comiss xmm0, dword [0x1400cec40]
jbe 0x14006b8fd
movss xmm0, dword [rbp + 0x50]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x1400ceb64]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rbp + 0x54], xmm0
movss xmm0, dword [rbp + 0x48]
mulss xmm0, dword [rbp + 0x54]
movss dword [rbp + 0x48], xmm0
movss xmm0, dword [rbp + 0x4c]
mulss xmm0, dword [rbp + 0x54]
movss dword [rbp + 0x4c], xmm0
xor eax, eax
test eax, eax
jne 0x14006b896
movsxd rax, dword [rbp + 0x30]
mov rcx, qword [rbp + 0x28]
movss xmm0, dword [rbp + 0x4c]
movss dword [rcx + rax*8], xmm0
movss xmm0, dword [rbp + 0x48]
xorps xmm0, xmmword [0x1400cec30]
movsxd rax, dword [rbp + 0x30]
mov rcx, qword [rbp + 0x28]
movss dword [rcx + rax*8 + 4], xmm0
jmp 0x14006b81b
mov eax, dword [rbp + 0x100]
dec eax
mov dword [rbp + 0x58], eax
mov dword [rbp + 0x5c], 0
jmp 0x14006b962
mov eax, dword [rbp + 0x5c]
mov dword [rbp + 0xd0], eax
mov eax, dword [rbp + 0x5c]
inc eax
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0xd0]
mov dword [rbp + 0x58], eax
mov eax, dword [rbp + 0x100]
cmp dword [rbp + 0x5c], eax
jge 0x14006bc8d
movsxd rax, dword [rbp + 0x58]
mov rcx, qword [rbp + 0x28]
lea rax, [rcx + rax*8]
mov qword [rbp + 0x60], rax
movsxd rax, dword [rbp + 0x5c]
mov rcx, qword [rbp + 0x28]
lea rax, [rcx + rax*8]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x68]
movss xmm0, dword [rax]
addss xmm0, dword [rcx]
mulss xmm0, dword [0x1400cec48]
movss dword [rbp + 0x70], xmm0
mov rax, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x68]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rcx + 4]
mulss xmm0, dword [0x1400cec48]
movss dword [rbp + 0x74], xmm0
movss xmm0, dword [rbp + 0x70]
mulss xmm0, dword [rbp + 0x70]
movss xmm1, dword [rbp + 0x74]
mulss xmm1, dword [rbp + 0x74]
addss xmm0, xmm1
movss dword [rbp + 0x78], xmm0
movss xmm0, dword [0x1400cec48]
comiss xmm0, dword [rbp + 0x78]
jbe 0x14006ba05
movss xmm0, dword [0x1400cec48]
movss dword [rbp + 0x78], xmm0
movss xmm0, dword [0x1400ceb64]
divss xmm0, dword [rbp + 0x78]
movss dword [rbp + 0x7c], xmm0
movss xmm0, dword [rbp + 0x70]
mulss xmm0, dword [rbp + 0x7c]
movss dword [rbp + 0x70], xmm0
movss xmm0, dword [rbp + 0x74]
mulss xmm0, dword [rbp + 0x7c]
movss dword [rbp + 0x74], xmm0
xor eax, eax
test eax, eax
jne 0x14006b9cd
movss xmm0, dword [rbp + 0x70]
mulss xmm0, dword [0x1400cec48]
movss dword [rbp + 0x70], xmm0
movss xmm0, dword [rbp + 0x74]
mulss xmm0, dword [0x1400cec48]
movss dword [rbp + 0x74], xmm0
movsxd rax, dword [rbp + 0x5c]
mov rcx, qword [rbp + 0xf8]
movss xmm0, dword [rcx + rax*8]
subss xmm0, dword [rbp + 0x70]
mov eax, 0x14
imul rax, rax, 0
mov rcx, qword [rbp + 0xf0]
mov rcx, qword [rcx + 0x50]
movss dword [rcx + rax], xmm0
movsxd rax, dword [rbp + 0x5c]
mov rcx, qword [rbp + 0xf8]
movss xmm0, dword [rcx + rax*8 + 4]
subss xmm0, dword [rbp + 0x74]
mov eax, 0x14
imul rax, rax, 0
mov rcx, qword [rbp + 0xf0]
mov rcx, qword [rcx + 0x50]
movss dword [rcx + rax + 4], xmm0
mov eax, 0x14
imul rax, rax, 0
mov rcx, qword [rbp + 0xf0]
mov rcx, qword [rcx + 0x50]
mov rdx, qword [rbp]
mov qword [rcx + rax + 8], rdx
mov eax, 0x14
imul rax, rax, 0
mov rcx, qword [rbp + 0xf0]
mov rcx, qword [rcx + 0x50]
mov edx, dword [rbp + 0x108]
mov dword [rcx + rax + 0x10], edx
movsxd rax, dword [rbp + 0x5c]
mov rcx, qword [rbp + 0xf8]
movss xmm0, dword [rcx + rax*8]
addss xmm0, dword [rbp + 0x70]
mov eax, 0x14
imul rax, rax, 1
mov rcx, qword [rbp + 0xf0]
mov rcx, qword [rcx + 0x50]
movss dword [rcx + rax], xmm0
movsxd rax, dword [rbp + 0x5c]
mov rcx, qword [rbp + 0xf8]
movss xmm0, dword [rcx + rax*8 + 4]
addss xmm0, dword [rbp + 0x74]
mov eax, 0x14
imul rax, rax, 1
mov rcx, qword [rbp + 0xf0]
mov rcx, qword [rcx + 0x50]
movss dword [rcx + rax + 4], xmm0
mov eax, 0x14
imul rax, rax, 1
mov rcx, qword [rbp + 0xf0]
mov rcx, qword [rcx + 0x50]
mov rdx, qword [rbp]
mov qword [rcx + rax + 8], rdx
mov eax, 0x14
imul rax, rax, 1
mov rcx, qword [rbp + 0xf0]
mov rcx, qword [rcx + 0x50]
mov edx, dword [rbp + 0xc]
mov dword [rcx + rax + 0x10], edx
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x50]
add rax, 0x28
mov rcx, qword [rbp + 0xf0]
mov qword [rcx + 0x50], rax
mov eax, dword [rbp + 0x18]
mov ecx, dword [rbp + 0x5c]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 0
mov rdx, qword [rbp + 0xf0]
mov rdx, qword [rdx + 0x58]
mov word [rcx + rdx], ax
mov eax, dword [rbp + 0x18]
mov ecx, dword [rbp + 0x58]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 1
mov rdx, qword [rbp + 0xf0]
mov rdx, qword [rdx + 0x58]
mov word [rcx + rdx], ax
mov eax, dword [rbp + 0x1c]
mov ecx, dword [rbp + 0x58]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 2
mov rdx, qword [rbp + 0xf0]
mov rdx, qword [rdx + 0x58]
mov word [rcx + rdx], ax
mov eax, dword [rbp + 0x1c]
mov ecx, dword [rbp + 0x58]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 3
mov rdx, qword [rbp + 0xf0]
mov rdx, qword [rdx + 0x58]
mov word [rcx + rdx], ax
mov eax, dword [rbp + 0x1c]
mov ecx, dword [rbp + 0x5c]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 4
mov rdx, qword [rbp + 0xf0]
mov rdx, qword [rdx + 0x58]
mov word [rcx + rdx], ax
mov eax, dword [rbp + 0x18]
mov ecx, dword [rbp + 0x5c]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 5
mov rdx, qword [rbp + 0xf0]
mov rdx, qword [rdx + 0x58]
mov word [rcx + rdx], ax
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x58]
add rax, 0xc
mov rcx, qword [rbp + 0xf0]
mov qword [rcx + 0x58], rax
jmp 0x14006b948
movzx eax, word [rbp + 0x14]
mov rcx, qword [rbp + 0xf0]
add eax, dword [rcx + 0x48]
mov rcx, qword [rbp + 0xf0]
mov dword [rcx + 0x48], eax
jmp 0x14006be6e
mov eax, dword [rbp + 0x100]
sub eax, 2
imul eax, eax, 3
mov dword [rbp + 0x80], eax
mov eax, dword [rbp + 0x100]
mov dword [rbp + 0x84], eax
mov r8d, dword [rbp + 0x84]
mov edx, dword [rbp + 0x80]
mov rcx, qword [rbp + 0xf0]
call fcn.140075f80
mov dword [rbp + 0x88], 0
jmp 0x14006bcfb
mov eax, dword [rbp + 0x88]
inc eax
mov dword [rbp + 0x88], eax
mov eax, dword [rbp + 0x84]
cmp dword [rbp + 0x88], eax
jge 0x14006bd91
movsxd rax, dword [rbp + 0x88]
mov rcx, qword [rbp + 0xf8]
mov rax, qword [rcx + rax*8]
mov ecx, 0x14
imul rcx, rcx, 0
mov rdx, qword [rbp + 0xf0]
mov rdx, qword [rdx + 0x50]
mov qword [rdx + rcx], rax
mov eax, 0x14
imul rax, rax, 0
mov rcx, qword [rbp + 0xf0]
mov rcx, qword [rcx + 0x50]
mov rdx, qword [rbp]
mov qword [rcx + rax + 8], rdx
mov eax, 0x14
imul rax, rax, 0
mov rcx, qword [rbp + 0xf0]
mov rcx, qword [rcx + 0x50]
mov edx, dword [rbp + 0x108]
mov dword [rcx + rax + 0x10], edx
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x50]
add rax, 0x14
mov rcx, qword [rbp + 0xf0]
mov qword [rcx + 0x50], rax
jmp 0x14006bced
mov dword [rbp + 0x8c], 2
jmp 0x14006bdab
mov eax, dword [rbp + 0x8c]
inc eax
mov dword [rbp + 0x8c], eax
mov eax, dword [rbp + 0x100]
cmp dword [rbp + 0x8c], eax
jge 0x14006be53
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rbp + 0xf0]
mov rcx, qword [rcx + 0x58]
mov rdx, qword [rbp + 0xf0]
movzx edx, word [rdx + 0x48]
mov word [rax + rcx], dx
mov rax, qword [rbp + 0xf0]
mov eax, dword [rax + 0x48]
mov ecx, dword [rbp + 0x8c]
lea eax, [rax + rcx - 1]
mov ecx, 2
imul rcx, rcx, 1
mov rdx, qword [rbp + 0xf0]
mov rdx, qword [rdx + 0x58]
mov word [rcx + rdx], ax
mov rax, qword [rbp + 0xf0]
mov eax, dword [rax + 0x48]
add eax, dword [rbp + 0x8c]
mov ecx, 2
imul rcx, rcx, 2
mov rdx, qword [rbp + 0xf0]
mov rdx, qword [rdx + 0x58]
mov word [rcx + rdx], ax
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x58]
add rax, 6
mov rcx, qword [rbp + 0xf0]
mov qword [rcx + 0x58], rax
jmp 0x14006bd9d
movzx eax, word [rbp + 0x84]
mov rcx, qword [rbp + 0xf0]
add eax, dword [rcx + 0x48]
mov rcx, qword [rbp + 0xf0]
mov dword [rcx + 0x48], eax
mov rcx, qword [rbp + 0xd8]
xor rcx, rbp
call fcn.1400c78e0
lea rsp, [rbp + 0xe0]
pop rbp
ret