Function at 0x1400aa400
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, 0xc0
lea rbp, [rsp + 0x20]
mov rax, qword [0x140428080]
xor rax, rbp
mov qword [rbp + 0x98], rax
cmp dword [rbp + 0xc0], 3
jge 0x1400aa440
jmp 0x1400aac09
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax + 0x38]
mov rax, qword [rax]
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0xb0]
mov eax, dword [rax + 0x30]
and eax, 4
test eax, eax
je 0x1400aaa78
mov rax, qword [rbp + 0xb0]
movss xmm0, dword [rax + 0xc0]
movss dword [rbp + 0x48], xmm0
mov eax, dword [rbp + 0xc8]
and eax, 0xffffff
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0xc0]
sub eax, 2
imul eax, eax, 3
imul ecx, dword [rbp + 0xc0], 6
add eax, ecx
mov dword [rbp + 0x58], eax
mov eax, dword [rbp + 0xc0]
shl eax, 1
mov dword [rbp + 0x4c], eax
mov r8d, dword [rbp + 0x4c]
mov edx, dword [rbp + 0x58]
mov rcx, qword [rbp + 0xb0]
call fcn.1400a7f30
mov rax, qword [rbp + 0xb0]
mov eax, dword [rax + 0x34]
mov dword [rbp + 0xc], eax
mov rax, qword [rbp + 0xb0]
mov eax, dword [rax + 0x34]
inc eax
mov dword [rbp + 0x34], eax
mov dword [rbp + 0x10], 2
jmp 0x1400aa4ec
mov eax, dword [rbp + 0x10]
inc eax
mov dword [rbp + 0x10], eax
mov eax, dword [rbp + 0xc0]
cmp dword [rbp + 0x10], eax
jge 0x1400aa575
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rbp + 0xb0]
mov rcx, qword [rcx + 0x50]
movzx edx, word [rbp + 0xc]
mov word [rax + rcx], dx
mov eax, dword [rbp + 0xc]
mov ecx, dword [rbp + 0x10]
lea eax, [rax + rcx*2 - 2]
mov ecx, 2
imul rcx, rcx, 1
mov rdx, qword [rbp + 0xb0]
mov rdx, qword [rdx + 0x50]
mov word [rcx + rdx], ax
mov eax, dword [rbp + 0xc]
mov ecx, dword [rbp + 0x10]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 2
mov rdx, qword [rbp + 0xb0]
mov rdx, qword [rdx + 0x50]
mov word [rcx + rdx], ax
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax + 0x50]
add rax, 6
mov rcx, qword [rbp + 0xb0]
mov qword [rcx + 0x50], rax
jmp 0x1400aa4e4
movsxd rax, dword [rbp + 0xc0]
shl rax, 3
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1400aa596
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140159890
sub rsp, rax
lea rax, [rsp + 0x20]
mov qword [rbp + 0x50], rax
mov eax, dword [rbp + 0xc0]
dec eax
mov dword [rbp + 0x28], eax
mov dword [rbp + 0x14], 0
jmp 0x1400aa5d6
mov eax, dword [rbp + 0x14]
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x14]
inc eax
mov dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x5c]
mov dword [rbp + 0x28], eax
mov eax, dword [rbp + 0xc0]
cmp dword [rbp + 0x14], eax
jge 0x1400aa6de
movsxd rax, dword [rbp + 0x28]
mov rcx, qword [rbp + 0xb8]
lea rax, [rcx + rax*8]
mov qword [rbp + 0x80], rax
movsxd rax, dword [rbp + 0x14]
mov rcx, qword [rbp + 0xb8]
lea rax, [rcx + rax*8]
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
mov rcx, qword [rbp + 0x80]
movss xmm0, dword [rax]
subss xmm0, dword [rcx]
movss dword [rbp + 0x1c], xmm0
mov rax, qword [rbp + 0x78]
mov rcx, qword [rbp + 0x80]
movss xmm0, dword [rax + 4]
subss xmm0, dword [rcx + 4]
movss dword [rbp + 0x18], xmm0
movss xmm0, dword [rbp + 0x1c]
mulss xmm0, dword [rbp + 0x1c]
movss xmm1, dword [rbp + 0x18]
mulss xmm1, dword [rbp + 0x18]
addss xmm0, xmm1
movss dword [rbp + 0x3c], xmm0
movss xmm0, dword [rbp + 0x3c]
comiss xmm0, dword [0x140417608]
jbe 0x1400aa6a7
movss xmm0, dword [rbp + 0x3c]
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x140417938]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rbp + 0x40], xmm0
movss xmm0, dword [rbp + 0x1c]
mulss xmm0, dword [rbp + 0x40]
movss dword [rbp + 0x1c], xmm0
movss xmm0, dword [rbp + 0x18]
mulss xmm0, dword [rbp + 0x40]
movss dword [rbp + 0x18], xmm0
xor eax, eax
test eax, eax
jne 0x1400aa640
movsxd rax, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x50]
movss xmm0, dword [rbp + 0x18]
movss dword [rcx + rax*8], xmm0
movss xmm0, dword [rbp + 0x1c]
xorps xmm0, xmmword [0x140417d50]
movsxd rax, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x50]
movss dword [rcx + rax*8 + 4], xmm0
jmp 0x1400aa5c2
mov eax, dword [rbp + 0xc0]
dec eax
mov dword [rbp + 0x20], eax
mov dword [rbp], 0
jmp 0x1400aa706
mov eax, dword [rbp]
mov dword [rbp + 0x60], eax
mov eax, dword [rbp]
inc eax
mov dword [rbp], eax
mov eax, dword [rbp + 0x60]
mov dword [rbp + 0x20], eax
mov eax, dword [rbp + 0xc0]
cmp dword [rbp], eax
jge 0x1400aaa5b
movsxd rax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x50]
lea rax, [rcx + rax*8]
mov qword [rbp + 0x88], rax
movsxd rax, dword [rbp]
mov rcx, qword [rbp + 0x50]
lea rax, [rcx + rax*8]
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x90]
movss xmm0, dword [rax]
addss xmm0, dword [rcx]
mulss xmm0, dword [0x1404177e0]
movss dword [rbp + 4], xmm0
mov rax, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x90]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rcx + 4]
mulss xmm0, dword [0x1404177e0]
movss dword [rbp + 8], xmm0
movss xmm0, dword [rbp + 4]
mulss xmm0, dword [rbp + 4]
movss xmm1, dword [rbp + 8]
mulss xmm1, dword [rbp + 8]
addss xmm0, xmm1
movss dword [rbp + 0x30], xmm0
movss xmm0, dword [0x1404177e0]
comiss xmm0, dword [rbp + 0x30]
jbe 0x1400aa7bb
movss xmm0, dword [0x1404177e0]
movss dword [rbp + 0x30], xmm0
movss xmm0, dword [0x140417938]
divss xmm0, dword [rbp + 0x30]
movss dword [rbp + 0x44], xmm0
movss xmm0, dword [rbp + 4]
mulss xmm0, dword [rbp + 0x44]
movss dword [rbp + 4], xmm0
movss xmm0, dword [rbp + 8]
mulss xmm0, dword [rbp + 0x44]
movss dword [rbp + 8], xmm0
xor eax, eax
test eax, eax
jne 0x1400aa783
movss xmm0, dword [rbp + 0x48]
mulss xmm0, dword [0x1404177e0]
movss xmm1, dword [rbp + 4]
mulss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rbp + 4], xmm0
movss xmm0, dword [rbp + 0x48]
mulss xmm0, dword [0x1404177e0]
movss xmm1, dword [rbp + 8]
mulss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rbp + 8], xmm0
movsxd rax, dword [rbp]
mov rcx, qword [rbp + 0xb8]
movss xmm0, dword [rcx + rax*8]
subss xmm0, dword [rbp + 4]
mov eax, reloc.WS2_32.dll_sendto
imul rax, rax, 0
mov rcx, qword [rbp + 0xb0]
mov rcx, qword [rcx + 0x48]
movss dword [rcx + rax], xmm0
movsxd rax, dword [rbp]
mov rcx, qword [rbp + 0xb8]
movss xmm0, dword [rcx + rax*8 + 4]
subss xmm0, dword [rbp + 8]
mov eax, reloc.WS2_32.dll_sendto
imul rax, rax, 0
mov rcx, qword [rbp + 0xb0]
mov rcx, qword [rcx + 0x48]
movss dword [rcx + rax + 4], xmm0
mov eax, reloc.WS2_32.dll_sendto
imul rax, rax, 0
mov rcx, qword [rbp + 0xb0]
mov rcx, qword [rcx + 0x48]
mov rdx, qword [rbp + 0x70]
mov qword [rcx + rax + 8], rdx
mov eax, reloc.WS2_32.dll_sendto
imul rax, rax, 0
mov rcx, qword [rbp + 0xb0]
mov rcx, qword [rcx + 0x48]
mov edx, dword [rbp + 0xc8]
mov dword [rcx + rax + 0x10], edx
movsxd rax, dword [rbp]
mov rcx, qword [rbp + 0xb8]
movss xmm0, dword [rcx + rax*8]
addss xmm0, dword [rbp + 4]
mov eax, reloc.WS2_32.dll_sendto
imul rax, rax, 1
mov rcx, qword [rbp + 0xb0]
mov rcx, qword [rcx + 0x48]
movss dword [rcx + rax], xmm0
movsxd rax, dword [rbp]
mov rcx, qword [rbp + 0xb8]
movss xmm0, dword [rcx + rax*8 + 4]
addss xmm0, dword [rbp + 8]
mov eax, reloc.WS2_32.dll_sendto
imul rax, rax, 1
mov rcx, qword [rbp + 0xb0]
mov rcx, qword [rcx + 0x48]
movss dword [rcx + rax + 4], xmm0
mov eax, reloc.WS2_32.dll_sendto
imul rax, rax, 1
mov rcx, qword [rbp + 0xb0]
mov rcx, qword [rcx + 0x48]
mov rdx, qword [rbp + 0x70]
mov qword [rcx + rax + 8], rdx
mov eax, reloc.WS2_32.dll_sendto
imul rax, rax, 1
mov rcx, qword [rbp + 0xb0]
mov rcx, qword [rcx + 0x48]
mov edx, dword [rbp + 0x64]
mov dword [rcx + rax + 0x10], edx
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax + 0x48]
add rax, 0x28
mov rcx, qword [rbp + 0xb0]
mov qword [rcx + 0x48], rax
mov eax, dword [rbp + 0xc]
mov ecx, dword [rbp]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 0
mov rdx, qword [rbp + 0xb0]
mov rdx, qword [rdx + 0x50]
mov word [rcx + rdx], ax
mov eax, dword [rbp + 0xc]
mov ecx, dword [rbp + 0x20]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 1
mov rdx, qword [rbp + 0xb0]
mov rdx, qword [rdx + 0x50]
mov word [rcx + rdx], ax
mov eax, dword [rbp + 0x34]
mov ecx, dword [rbp + 0x20]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 2
mov rdx, qword [rbp + 0xb0]
mov rdx, qword [rdx + 0x50]
mov word [rcx + rdx], ax
mov eax, dword [rbp + 0x34]
mov ecx, dword [rbp + 0x20]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 3
mov rdx, qword [rbp + 0xb0]
mov rdx, qword [rdx + 0x50]
mov word [rcx + rdx], ax
mov eax, dword [rbp + 0x34]
mov ecx, dword [rbp]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 4
mov rdx, qword [rbp + 0xb0]
mov rdx, qword [rdx + 0x50]
mov word [rcx + rdx], ax
mov eax, dword [rbp + 0xc]
mov ecx, dword [rbp]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 5
mov rdx, qword [rbp + 0xb0]
mov rdx, qword [rdx + 0x50]
mov word [rcx + rdx], ax
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax + 0x50]
add rax, 0xc
mov rcx, qword [rbp + 0xb0]
mov qword [rcx + 0x50], rax
jmp 0x1400aa6f2
movzx eax, word [rbp + 0x4c]
mov rcx, qword [rbp + 0xb0]
add eax, dword [rcx + 0x34]
mov rcx, qword [rbp + 0xb0]
mov dword [rcx + 0x34], eax
jmp 0x1400aac09
mov eax, dword [rbp + 0xc0]
sub eax, 2
imul eax, eax, 3
mov dword [rbp + 0x68], eax
mov eax, dword [rbp + 0xc0]
mov dword [rbp + 0x38], eax
mov r8d, dword [rbp + 0x38]
mov edx, dword [rbp + 0x68]
mov rcx, qword [rbp + 0xb0]
call fcn.1400a7f30
mov dword [rbp + 0x2c], 0
jmp 0x1400aaab4
mov eax, dword [rbp + 0x2c]
inc eax
mov dword [rbp + 0x2c], eax
mov eax, dword [rbp + 0x38]
cmp dword [rbp + 0x2c], eax
jge 0x1400aab41
movsxd rax, dword [rbp + 0x2c]
mov rcx, qword [rbp + 0xb8]
mov rax, qword [rcx + rax*8]
mov ecx, reloc.WS2_32.dll_sendto
imul rcx, rcx, 0
mov rdx, qword [rbp + 0xb0]
mov rdx, qword [rdx + 0x48]
mov qword [rdx + rcx], rax
mov eax, reloc.WS2_32.dll_sendto
imul rax, rax, 0
mov rcx, qword [rbp + 0xb0]
mov rcx, qword [rcx + 0x48]
mov rdx, qword [rbp + 0x70]
mov qword [rcx + rax + 8], rdx
mov eax, reloc.WS2_32.dll_sendto
imul rax, rax, 0
mov rcx, qword [rbp + 0xb0]
mov rcx, qword [rcx + 0x48]
mov edx, dword [rbp + 0xc8]
mov dword [rcx + rax + 0x10], edx
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax + 0x48]
add rax, 0x14
mov rcx, qword [rbp + 0xb0]
mov qword [rcx + 0x48], rax
jmp 0x1400aaaac
mov dword [rbp + 0x24], 2
jmp 0x1400aab52
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0xc0]
cmp dword [rbp + 0x24], eax
jge 0x1400aabf1
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rbp + 0xb0]
mov rcx, qword [rcx + 0x50]
mov rdx, qword [rbp + 0xb0]
movzx edx, word [rdx + 0x34]
mov word [rax + rcx], dx
mov rax, qword [rbp + 0xb0]
mov eax, dword [rax + 0x34]
mov ecx, dword [rbp + 0x24]
lea eax, [rax + rcx - 1]
mov ecx, 2
imul rcx, rcx, 1
mov rdx, qword [rbp + 0xb0]
mov rdx, qword [rdx + 0x50]
mov word [rcx + rdx], ax
mov rax, qword [rbp + 0xb0]
mov eax, dword [rax + 0x34]
add eax, dword [rbp + 0x24]
mov ecx, 2
imul rcx, rcx, 2
mov rdx, qword [rbp + 0xb0]
mov rdx, qword [rdx + 0x50]
mov word [rcx + rdx], ax
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax + 0x50]
add rax, 6
mov rcx, qword [rbp + 0xb0]
mov qword [rcx + 0x50], rax
jmp 0x1400aab4a
movzx eax, word [rbp + 0x38]
mov rcx, qword [rbp + 0xb0]
add eax, dword [rcx + 0x34]
mov rcx, qword [rbp + 0xb0]
mov dword [rcx + 0x34], eax
mov rcx, qword [rbp + 0x98]
xor rcx, rbp
call fcn.140158b00
lea rsp, [rbp + 0xa0]
pop rbp
ret