Function at 0x180028fd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdi
movzx edx, byte [rcx + 0x7d]
mov r10, rcx
movzx edi, byte [rcx + 0x7e]
movzx eax, dl
and al, 0xc
neg al
movzx eax, dl
sbb r9b, r9b
sar al, 7
and al, 0x44
and r9b, 4
or r9b, al
mov eax, dword [rcx + 0x274]
neg eax
movzx eax, byte [r10 + 0x230]
sbb cl, cl
and al, 1
and cl, 0x25
shl al, 4
or r9b, cl
and dl, 3
or r9b, al
or r9b, dl
cmp dil, r9b
je 0x18002937e
mov qword [rsp + 0x10], rbx
lea rdx, [r10 + 0xc28]
mov qword [rsp + 0x18], rbp
movzx eax, r9b
and al, 0x30
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r14
lea r14, section..text
mov byte [r10 + 0x7e], r9b
cmp al, 0x10
jne 0x180029085
movzx eax, word [0x18006693e]
movzx ecx, word [0x180066944]
add rax, r14
movzx r8d, word [0x18006694a]
add rcx, r14
movzx r11d, word [0x180066952]
add r8, r14
movzx ebx, word [0x180066958]
jmp 0x1800290a9
mov rax, qword [rdx + 0x750]
mov rcx, qword [rdx + 0x768]
mov r8, qword [rdx + 0x780]
movzx r11d, word [0x180066954]
movzx ebx, word [0x18006695a]
lea rsi, [rbx + r14]
mov qword [rdx + 0x748], rax
lea rbp, [r11 + r14]
mov qword [rdx + 0x760], rcx
movzx ebx, r9b
mov qword [rdx + 0x778], r8
movzx r11d, r9b
xor bl, dil
and r11b, 4
test bl, 0x64
je 0x18002920e
test r11b, r11b
jne 0x1800291a4
mov rcx, rdx
lea rax, [rdx + 0x4d0]
mov r8d, 5
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub r8, 1
jne 0x180029100
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
mov rax, qword [rax + 0x40]
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm1
mov qword [rcx + 0x40], rax
test r9b, 2
je 0x18002926a
lea rax, [0x180004152]
mov qword [rdx + 0x248], rax
mov qword [rdx + 0x250], rax
mov qword [rdx + 0x258], rax
jmp 0x180029263
test r9b, 0x40
je 0x1800291b3
lea rcx, [0x1800042b9]
jmp 0x1800291c9
test r9b, 0x20
lea rcx, [0x18000415f]
lea rax, [0x180004137]
cmovne rcx, rax
mov rax, rdx
mov r8d, 0xb
nop dword [rax]
nop word [rax + rax]
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
lea rax, [rax + 0x40]
mov qword [rax - 0x28], rcx
mov qword [rax - 0x20], rcx
mov qword [rax - 0x18], rcx
mov qword [rax - 0x10], rcx
mov qword [rax - 8], rcx
sub r8, 1
jne 0x1800291e0
mov qword [rax], rcx
jmp 0x18002926a
test r11b, r11b
jne 0x18002926a
mov qword [rdx + 0x278], rax
mov qword [rdx + 0x290], rcx
mov qword [rdx + 0x2a8], r8
test r9b, 2
jne 0x180029183
mov rax, qword [rdx + 0x718]
mov qword [rdx + 0x248], rax
mov rax, qword [rdx + 0x720]
mov qword [rdx + 0x250], rax
mov rax, qword [rdx + 0x728]
mov qword [rdx + 0x258], rax
mov rax, qword [rdx + 0x730]
mov qword [rdx + 0x260], rax
test bl, 1
mov rbx, qword [rsp + 0x10]
je 0x1800292ee
lea rax, [rdx + 0x2c8]
test r9b, 1
jne 0x1800292ab
lea r8, [0x180066952]
mov r11d, 0x41
nop
movzx ecx, word [r8]
lea rax, [rax + 8]
add rcx, r14
lea r8, [r8 + 2]
mov qword [rax - 8], rcx
sub r11, 1
jne 0x180029290
jmp 0x1800292f4
lea rdx, [0x1800041dd]
mov ecx, 8
nop word [rax + rax]
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
lea rax, [rax + 0x40]
mov qword [rax - 0x28], rdx
mov qword [rax - 0x20], rdx
mov qword [rax - 0x18], rdx
mov qword [rax - 0x10], rdx
mov qword [rax - 8], rdx
sub rcx, 1
jne 0x1800292c0
mov qword [rax], rdx
jmp 0x180029302
test r9b, 1
jne 0x180029302
mov qword [rdx + 0x2c8], rbp
mov qword [rdx + 0x2e0], rsi
mov r14, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x18]
test r9b, 0x10
je 0x18002937e
test dil, 0x10
jne 0x18002937e
movzx eax, word [r10 + 0x800]
add ax, ax
dec ax
movzx ecx, ax
mov eax, ecx
shl ecx, 0x10
or ecx, eax
movd xmm0, ecx
pshufd xmm0, xmm0, 0
movups xmmword [r10 + 0xba8], xmm0
movups xmmword [r10 + 0xbb8], xmm0
movups xmmword [r10 + 0xbc8], xmm0
movups xmmword [r10 + 0xbd8], xmm0
movups xmmword [r10 + 0xbe8], xmm0
movups xmmword [r10 + 0xbf8], xmm0
movups xmmword [r10 + 0xc08], xmm0
movups xmmword [r10 + 0xc18], xmm0
pop rdi
ret