Function at 0x1400d0480
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x140320c20]
xor rax, rsp
mov qword [rbp + 0x40], rax
movdqa xmm0, xmmword [0x14029fce0]
lea r11d, [rcx*8]
movdqa xmm1, xmmword [0x14029fcf0]
xor r10d, r10d
movdqa xmmword [rbp - 0x30], xmm0
mov eax, 0xf79e
movdqa xmm0, xmmword [0x14029fd10]
mov ebx, ecx
movdqa xmmword [rbp - 0x20], xmm1
or r11d, 7
movdqa xmm1, xmmword [str.usthaeoy]
mov r8d, 0x64
movdqa xmmword [rbp - 0x10], xmm0
mov r9d, r10d
movdqa xmm0, xmmword [0x14029fd00]
movdqa xmmword [rbp], xmm1
movdqa xmm1, xmmword [0x14029fcd0]
movdqa xmmword [rbp + 0x10], xmm0
movdqa xmmword [rbp + 0x20], xmm1
mov dword [rsp], 0x7050000
mov dword [rsp + 4], 0x7430738
mov dword [rsp + 8], 0x7880763
mov dword [rsp + 0xc], 0x7cb0794
mov dword [rsp + 0x10], 0x7f807e8
mov dword [rsp + 0x14], 0x83e080c
mov dword [rsp + 0x18], 0x89e0878
mov dword [rsp + 0x1c], 0x8ee08d8
mov dword [rsp + 0x20], 0x94f0928
mov dword [rsp + 0x24], 0x9b809a8
mov dword [rsp + 0x28], 0xa2409d4
mov dword [rsp + 0x2c], 0xaac0a6c
mov dword [rsp + 0x30], 0xb1a0ade
mov dword [rsp + 0x34], 0xb8a0b4e
mov dword [rsp + 0x38], 0xbb80ba8
mov dword [rsp + 0x3c], 0xd080bd4
mov dword [rsp + 0x40], 0xe700d80
mov dword [rsp + 0x44], 0xe900e80
mov dword [rsp + 0x48], 0xf380ea0
mov dword [rsp + 0x4c], 0xf580f48
mov dword [rsp + 0x50], 0xfa80f80
mov dword [rsp + 0x54], 0x100a0fc8
mov dword [rsp + 0x58], 0x104a102a
mov dword [rsp + 0x5c], 0x108a106a
mov dword [rsp + 0x60], 0x10c810aa
mov dword [rsp + 0x64], 0x10f810d8
mov dword [rsp + 0x68], 0x11481138
mov dword [rsp + 0x6c], 0x11981178
mov dword [rsp + 0x70], 0x18361804
mov dword [rsp + 0x74], 0x18881878
mov dword [rsp + 0x78], 0x191d18d8
mov dword [rsp + 0x7c], 0x19811969
mov dword [rbp - 0x80], 0xf01cf008
mov dword [rbp - 0x7c], 0xf098f05e
mov dword [rbp - 0x78], 0xf0f8f0ca
mov dword [rbp - 0x74], 0xf11ef108
mov dword [rbp - 0x70], 0xf168f158
mov dword [rbp - 0x6c], 0xf1b8f18c
mov dword [rbp - 0x68], 0xf1fcf1da
mov dword [rbp - 0x64], 0xf2aaf22e
mov dword [rbp - 0x60], 0xf2f8f2ca
mov dword [rbp - 0x5c], 0xf35ef30a
mov dword [rbp - 0x58], 0xf3eaf39c
mov dword [rbp - 0x54], 0xf448f40e
mov dword [rbp - 0x50], 0xf478f45a
mov dword [rbp - 0x4c], 0xf4b0f48c
mov dword [rbp - 0x48], 0xf4c0f4b8
mov dword [rbp - 0x44], 0xf50af4c8
mov dword [rbp - 0x40], 0xf64af5cc
mov dword [rbp - 0x3c], 0xf72af66a
mov word [rbp - 0x38], ax
mov dword [rbp + 0x30], 0x756f6965
mov byte [rbp + 0x34], 0x79
nop dword [rax]
lea eax, [r9 + r8]
cdq
sub eax, edx
sar eax, 1
movsxd rcx, eax
movzx edx, word [rsp + rcx*2]
cmp r11d, edx
jb 0x1400d043e
mov r10d, eax
lea r9d, [rax + 1]
jmp 0x1400d0442
lea r8d, [rax - 1]
cmp r8d, r9d
jge 0x1400d0420
movsxd rdx, r10d
movzx eax, word [rsp + rdx*2]
mov ecx, eax
and eax, 7
shr ecx, 3
add ecx, eax
mov eax, ebx
cmp ebx, ecx
jg 0x1400d0463
movsx eax, byte [rbp + rdx - 0x30]
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140215090
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rbp
ret
push rbx
sub rsp, 0x20
mov ebx, edx
mov r8d, ecx
cmp ecx, 0x80
jge 0x1400d04a8
lea eax, [rcx - 0x41]
cmp eax, 0x19
ja 0x1400d0562
lea eax, [rcx + 0x20]
add rsp, 0x20
pop rbx
ret
cmp r8d, 0x10000
jge 0x1400d0554
xor r10d, r10d
mov qword [rsp + 0x30], rdi
or r11d, 0xffffffff
lea rdi, [0x140000000]
mov r9d, 0xa2
nop
lea eax, [r10 + r9]
cdq
sub eax, edx
sar eax, 1
movsxd rcx, eax
movzx edx, word [rdi + rcx*4 + 0x291e20]
cmp r8d, edx
js 0x1400d04f2
mov r11d, eax
lea r10d, [rax + 1]
jmp 0x1400d04f6
lea r9d, [rax - 1]
cmp r9d, r10d
jge 0x1400d04d0
test r11d, r11d
js 0x1400d053e
movsxd rax, r11d
lea rdx, [rax*4 + 0x291e20]
movzx ecx, word [rdx + rdi]
movzx eax, byte [rdx + rdi + 3]
add eax, ecx
cmp r8d, eax
jge 0x1400d053e
movzx eax, byte [rdx + rdi + 2]
xor ecx, r8d
and ecx, eax
and ecx, 1
test cl, cl
jne 0x1400d053e
shr rax, 1
movzx eax, word [rdi + rax*2 + 0x291600]
add eax, r8d
movzx r8d, ax
mov rdi, qword [rsp + 0x30]
test ebx, ebx
je 0x1400d0562
mov ecx, r8d
add rsp, 0x20
pop rbx
jmp 0x1400d0200
lea eax, [rcx - 0x10400]
cmp eax, 0x27
lea eax, [rcx + 0x28]
jbe 0x1400d0565
mov eax, r8d
add rsp, 0x20
pop rbx
ret