Function at 0x1800713d0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xb90
movsxd rdi, dword [rcx + 0x70]
lea rdx, [0x18002dde0]
mov rbx, rcx
shl rdi, 5
add rdi, qword [rcx + 0x58]
mov r8d, 0xb65
lea rcx, [rsp + 0x20]
call fcn.18007feb0
xor r8d, r8d
movabs r9, 0xa0a0a0a0a0a0a0a1
nop word [rax + rax]
mov rax, r9
mul r8
shr rdx, 5
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [rsp + r8 + 0x20], al
inc r8
cmp r8, 0xb65
jb 0x180071420
test byte [rbx + 4], 2
mov esi, dword [rbx + 0x28]
jne 0x180071808
mov qword [rsp + 0xba0], rbp
xor r10d, r10d
mov qword [rsp + 0xba8], r14
xor ebp, ebp
mov r14d, 0xff
xor r11d, r11d
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rdi + 6]
movzx ecx, word [rdi + 4]
add eax, r10d
imul eax, esi
movzx r8d, byte [rsp + rbp + 0x20]
add eax, r11d
add ecx, eax
mov rax, qword [rbx + 0x18]
movsxd rdx, ecx
xor ecx, ecx
cmp r8b, 0x2e
cmove ecx, r14d
mov byte [rdx + rax], cl
xor ecx, ecx
mov rax, qword [rbx + 0x18]
cmp r8b, 0x58
movzx r8d, byte [rsp + rbp + 0x21]
cmove ecx, r14d
mov byte [rdx + rax + 0x6d], cl
xor edx, edx
movzx eax, word [rdi + 6]
movzx r9d, word [rdi + 4]
add eax, r10d
imul eax, esi
add eax, r11d
add r9d, eax
mov rax, qword [rbx + 0x18]
cmp r8b, 0x2e
movsxd rcx, r9d
cmove edx, r14d
mov byte [rcx + rax + 1], dl
xor edx, edx
cmp r8b, 0x58
lea eax, [r9 + 0x6e]
movzx r8d, byte [rsp + rbp + 0x22]
cmove edx, r14d
movsxd rcx, eax
mov rax, qword [rbx + 0x18]
mov byte [rcx + rax], dl
xor edx, edx
movzx eax, word [rdi + 6]
movzx r9d, word [rdi + 4]
add eax, r10d
imul eax, esi
add eax, r11d
add r9d, eax
mov rax, qword [rbx + 0x18]
cmp r8b, 0x2e
movsxd rcx, r9d
cmove edx, r14d
mov byte [rcx + rax + 2], dl
xor edx, edx
cmp r8b, 0x58
lea eax, [r9 + 0x6f]
movzx r8d, byte [rsp + rbp + 0x23]
movsxd rcx, eax
cmove edx, r14d
mov rax, qword [rbx + 0x18]
mov byte [rcx + rax], dl
xor edx, edx
movzx eax, word [rdi + 6]
movzx r9d, word [rdi + 4]
add eax, r10d
imul eax, esi
add eax, r11d
add r9d, eax
mov rax, qword [rbx + 0x18]
cmp r8b, 0x2e
movsxd rcx, r9d
cmove edx, r14d
mov byte [rcx + rax + 3], dl
xor edx, edx
lea eax, [r9 + 0x70]
cmp r8b, 0x58
movsxd rcx, eax
mov rax, qword [rbx + 0x18]
cmove edx, r14d
mov byte [rcx + rax], dl
movzx eax, word [rdi + 6]
add eax, r10d
imul eax, esi
movzx r9d, word [rdi + 4]
add eax, r11d
add r9d, eax
movzx r8d, byte [rsp + rbp + 0x24]
mov rax, qword [rbx + 0x18]
xor edx, edx
cmp r8b, 0x2e
movsxd rcx, r9d
cmove edx, r14d
mov byte [rcx + rax + 4], dl
xor edx, edx
cmp r8b, 0x58
lea eax, [r9 + 0x71]
movzx r8d, byte [rsp + rbp + 0x25]
cmove edx, r14d
movsxd rcx, eax
mov rax, qword [rbx + 0x18]
mov byte [rcx + rax], dl
xor edx, edx
movzx eax, word [rdi + 6]
movzx r9d, word [rdi + 4]
add eax, r10d
imul eax, esi
add eax, r11d
add r9d, eax
mov rax, qword [rbx + 0x18]
cmp r8b, 0x2e
movsxd rcx, r9d
cmove edx, r14d
mov byte [rcx + rax + 5], dl
xor edx, edx
cmp r8b, 0x58
lea eax, [r9 + 0x72]
movzx r8d, byte [rsp + rbp + 0x26]
cmove edx, r14d
movsxd rcx, eax
mov rax, qword [rbx + 0x18]
mov byte [rcx + rax], dl
xor edx, edx
movzx eax, word [rdi + 6]
movzx r9d, word [rdi + 4]
add eax, r10d
imul eax, esi
add eax, r11d
add r9d, eax
mov rax, qword [rbx + 0x18]
cmp r8b, 0x2e
movsxd rcx, r9d
cmove edx, r14d
mov byte [rcx + rax + 6], dl
xor edx, edx
lea eax, [r9 + 0x73]
cmp r8b, 0x58
movzx r8d, byte [rsp + rbp + 0x27]
movsxd rcx, eax
cmove edx, r14d
mov rax, qword [rbx + 0x18]
mov byte [rcx + rax], dl
xor edx, edx
movzx eax, word [rdi + 6]
movzx r9d, word [rdi + 4]
add eax, r10d
imul eax, esi
add eax, r11d
add r9d, eax
mov rax, qword [rbx + 0x18]
cmp r8b, 0x2e
movsxd rcx, r9d
cmove edx, r14d
mov byte [rcx + rax + 7], dl
lea eax, [r9 + 0x74]
movsxd rcx, eax
xor edx, edx
mov rax, qword [rbx + 0x18]
cmp r8b, 0x58
cmove edx, r14d
mov byte [rcx + rax], dl
movzx eax, word [rdi + 6]
movzx r9d, word [rdi + 4]
add eax, r10d
imul eax, esi
movzx r8d, byte [rsp + rbp + 0x28]
add eax, r11d
add r9d, eax
xor edx, edx
mov rax, qword [rbx + 0x18]
cmp r8b, 0x2e
movsxd rcx, r9d
cmove edx, r14d
mov byte [rcx + rax + 8], dl
xor edx, edx
cmp r8b, 0x58
lea eax, [r9 + 0x75]
movzx r8d, byte [rsp + rbp + 0x29]
cmove edx, r14d
movsxd rcx, eax
mov rax, qword [rbx + 0x18]
mov byte [rcx + rax], dl
xor edx, edx
movzx eax, word [rdi + 6]
movzx r9d, word [rdi + 4]
add eax, r10d
imul eax, esi
add eax, r11d
add r9d, eax
mov rax, qword [rbx + 0x18]
cmp r8b, 0x2e
movsxd rcx, r9d
cmove edx, r14d
mov byte [rcx + rax + 9], dl
xor edx, edx
cmp r8b, 0x58
lea eax, [r9 + 0x76]
movzx r8d, byte [rsp + rbp + 0x2a]
cmove edx, r14d
movsxd rcx, eax
mov rax, qword [rbx + 0x18]
mov byte [rcx + rax], dl
xor edx, edx
movzx eax, word [rdi + 6]
movzx r9d, word [rdi + 4]
add eax, r10d
imul eax, esi
add eax, r11d
add r9d, eax
mov rax, qword [rbx + 0x18]
cmp r8b, 0x2e
movsxd rcx, r9d
cmove edx, r14d
mov byte [rcx + rax + 0xa], dl
xor edx, edx
cmp r8b, 0x58
lea eax, [r9 + 0x77]
movzx r8d, byte [rsp + rbp + 0x2b]
cmove edx, r14d
movsxd rcx, eax
mov rax, qword [rbx + 0x18]
mov byte [rcx + rax], dl
xor edx, edx
movzx eax, word [rdi + 6]
movzx r9d, word [rdi + 4]
add eax, r10d
imul eax, esi
add eax, r11d
add r9d, eax
mov rax, qword [rbx + 0x18]
cmp r8b, 0x2e
movsxd rcx, r9d
cmove edx, r14d
mov byte [rcx + rax + 0xb], dl
xor edx, edx
lea eax, [r9 + 0x78]
cmp r8b, 0x58
movsxd rcx, eax
mov rax, qword [rbx + 0x18]
cmove edx, r14d
add rbp, 0xc
add r11d, 0xc
mov byte [rcx + rax], dl
cmp r11d, 0x6c
jl 0x180071480
inc r10d
cmp r10d, 0x1b
jl 0x180071471
mov r14, qword [rsp + 0xba8]
mov rbp, qword [rsp + 0xba0]
jmp 0x180071840
movzx eax, word [rdi + 4]
movzx edx, word [rdi + 6]
imul edx, esi
add edx, eax
lea eax, [rdx + rsi]
movsxd rcx, eax
mov rax, qword [rbx + 0x18]
mov byte [rcx + rax + 1], 0xff
mov rax, qword [rbx + 0x18]
mov byte [rcx + rax], 0xff
mov rax, qword [rbx + 0x18]
movsxd rcx, edx
mov byte [rax + rcx + 1], 0xff
mov rax, qword [rbx + 0x18]
mov byte [rcx + rax], 0xff
movzx eax, word [rdi + 4]
lea r11, [rsp + 0xb90]
mov rsi, qword [r11 + 0x28]
movd xmm2, eax
movzx eax, word [rdi + 6]
cvtdq2ps xmm2, xmm2
movd xmm1, eax
addss xmm2, dword [0x180004c48]
cvtdq2ps xmm1, xmm1
mulss xmm2, dword [rbx + 0x30]
addss xmm1, dword [0x180004c48]
movss dword [rbx + 0x38], xmm2
mulss xmm1, dword [rbx + 0x34]
movss dword [rbx + 0x3c], xmm1
mov rbx, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret