Function at 0x14009d5b0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x2e0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x1400d5040]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
xor r15d, r15d
mov rdi, qword [0x1400ec260]
movups xmm0, xmmword [str.__AFD]
movups xmmword [rsp + 0x90], xmm0
movups xmm1, xmmword [str.UYERZ6_.m__0G]
movups xmmword [rsp + 0xa0], xmm1
movsd xmm0, qword [0x1400b5520]
movsd qword [rsp + 0xb0], xmm0
movzx eax, word [0x1400b5528]
mov word [rsp + 0xb8], ax
mov ebx, r15d
cmp dword [0x1400d5088], 2
jl 0x14009d75a
movdqa xmm5, xmmword [0x1400b5aa0]
movdqa xmm4, xmmword [0x1400b5c90]
movdqa xmm6, xmmword [str.44445555]
movdqa xmm7, xmmword [0x1400b5b50]
lea rcx, [rsp + 0x90]
nop word [rax + rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [rbx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add ebx, 8
lea rcx, [rcx + 0x10]
cmp ebx, 0x10
jl 0x14009d670
cmp ebx, 0x15
jge 0x14009d7a0
movsxd rax, ebx
lea r8, [rsp + 0x90]
lea r8, [r8 + rax*2]
nop dword [rax]
mov eax, 0x4ec4ec4f
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, bx
sub ax, cx
add ax, 0x33
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x15
jl 0x14009d770
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x80], r15
lea rax, [rsp + 0x90]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14009d7d0
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x68]
call fcn.140006650
nop
lea r9, [rsp + 0x2a2]
mov ecx, 0x1bb
nop dword [rax + rax]
sub r9, 2
mov eax, 0xcccccccd
mul ecx
mov ebx, edx
shr ebx, 3
movzx eax, bx
shl ax, 2
lea edx, [rax + rbx]
add dx, dx
sub cx, dx
add cx, 0x30
mov word [r9], cx
mov ecx, ebx
test ebx, ebx
jne 0x14009d800
lea r8, [rsp + 0x2a2]
mov rdx, r9
lea rcx, [rsp + 0x158]
call fcn.140027ef0
nop
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rsp + 0x78]
sub rax, rcx
cmp rax, 1
jb 0x14009dd6e
lea r9, [rsp + 0x68]
cmp qword [rsp + 0x80], 7
cmova r9, qword [rsp + 0x68]
mov qword [rsp + 0x30], 1
lea rax, [0x1400a9fe0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x138]
call fcn.140025040
nop
lea r9, [rsp + 0x158]
lea r8, [rsp + 0x138]
lea rcx, [rsp + 0x118]
call fcn.140024e20
lea rdx, [rsp + 0x118]
lea rcx, [0x1400d5108]
call fcn.14000e460
lea rcx, [rsp + 0x118]
call fcn.14000f410
nop
lea rcx, [rsp + 0x138]
call fcn.14000f410
nop
lea rcx, [rsp + 0x158]
call fcn.14000f410
nop
lea rcx, [rsp + 0x68]
call fcn.14000f410
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x268], xmm0
xor eax, eax
xor ecx, ecx
cpuid
mov dword [rsp + 0x268], eax
mov dword [rsp + 0x26c], ebx
mov dword [rsp + 0x270], ecx
mov dword [rsp + 0x274], edx
movdqu xmm1, xmmword [rsp + 0x268]
movdqa xmm0, xmm1
psrldq xmm0, 8
paddw xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
paddw xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 2
paddw xmm1, xmm0
movd eax, xmm1
movzx edx, ax
lea rcx, [rsp + 0x1b8]
call fcn.140001770
nop
lea rcx, [rsp + 0x230]
call fcn.1400a0110
mov rbx, rax
lea rcx, [rsp + 0x210]
call fcn.14009fe30
nop
mov r8d, 1
lea rdx, [0x1400b5438]
mov rcx, rax
call fcn.14004b7a0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xf8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x108], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r9, rbx
lea r8, [rsp + 0xf8]
lea rcx, [rsp + 0x198]
call fcn.14009e700
nop
mov r8d, 1
lea rdx, [0x1400b5438]
lea rcx, [rsp + 0x198]
call fcn.14004b7a0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xd8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xe8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea r9, [rsp + 0x1b8]
lea r8, [rsp + 0xd8]
lea rcx, [rsp + 0x178]
call fcn.14009e700
nop
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0x1f0]
call fcn.1400a0330
mov rdx, rax
lea rcx, [0x1400d52a8]
call fcn.14000e640
lea rcx, [rsp + 0x1f0]
call fcn.14000f500
nop
lea rcx, [rsp + 0x178]
call fcn.14000f500
nop
lea rcx, [rsp + 0xd8]
call fcn.14000f500
nop
lea rcx, [rsp + 0x198]
call fcn.14000f500
nop
lea rcx, [rsp + 0xf8]
call fcn.14000f500
nop
lea rcx, [rsp + 0x210]
call fcn.14000f500
nop
lea rcx, [rsp + 0x230]
call fcn.14000f500
nop
lea rcx, [rsp + 0x1b8]
call fcn.14000f500
mov edx, 8
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400ec2e0], eax
jle 0x14009db1d
lea rcx, [0x1400ec2e0]
call fcn.1400a1718
cmp dword [0x1400ec2e0], 0xffffffff
jne 0x14009db1d
call fcn.140049ce0
nop
lea rcx, [0x1400ec2e0]
call fcn.1400a16ac
cmp byte [0x1400ec194], 0
jne 0x14009db81
movsd xmm0, qword [0x1400b5590]
movsd qword [rsp + 0x40], xmm0
movzx eax, byte [0x1400b5598]
mov byte [rsp + 0x40], 0x6c
xor byte [rsp + 0x41], 0x34
xor byte [rsp + 0x42], 0x35
xor byte [rsp + 0x43], 0x36
xor byte [rsp + 0x44], 0x37
xor byte [rsp + 0x45], 0x38
xor byte [rsp + 0x46], 0x39
xor byte [rsp + 0x47], 0x3a
xor al, 0x3b
mov byte [rsp + 0x48], al
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1400981d0
test al, al
je 0x14009db81
mov byte [0x1400ec194], 1
cmp byte [0x1400ec0a6], 0
jne 0x14009db94
call fcn.14009a330
jmp 0x14009dd26
lea rcx, [rsp + 0xc8]
call fcn.140006f80
mov rdi, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x14009dd74
call fcn.140003020
cmp eax, 2
je 0x14009dd79
mov rdi, qword [rdi]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov rcx, qword [rdi + 0x178]
sub rcx, qword [rdi + 0x170]
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14009dcae
movabs rax, 0x333333333333333
cmp rdx, rax
ja 0x14009dd9a
lea rcx, [rsp + 0x50]
call fcn.1400414e0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
mov r14, qword [rdi + 0x178]
mov rdi, qword [rdi + 0x170]
xorps xmm0, xmm0
movups xmmword [rsp + 0x250], xmm0
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x250], rbx
mov qword [rsp + 0x258], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x260], rax
cmp rdi, r14
je 0x14009dca9
mov qword [rsp + 0xc0], rbx
mov rdx, rdi
mov rcx, rbx
call fcn.14000e710
nop
mov eax, dword [rdi + 0x20]
mov dword [rbx + 0x20], eax
lea rcx, [rbx + 0x28]
lea rdx, [rdi + 0x28]
call fcn.14000e710
mov rax, qword [rdi + 0x48]
mov qword [rbx + 0x48], rax
add rbx, 0x50
mov qword [rsp + 0x258], rbx
add rdi, 0x50
jmp 0x14009dc63
mov qword [rsp + 0x58], rbx
lea rcx, [0x1400ec218]
call fcn.14000ee20
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [0x1400ec218], xmm0
movsd xmm1, qword [rsp + 0x60]
movsd qword [0x1400ec228], xmm1
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
lea rcx, [rsp + 0x50]
call fcn.14000ee20
nop
mov rbx, qword [rsp + 0xd0]
test rbx, rbx
je 0x14009dd21
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14009dd21
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x14009dd21
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
call fcn.14009ca00
cmp byte [0x1400ec0a8], 0
je 0x14009dd36
mov byte [0x1400ec0a8], 0
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1400a1650
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
ret
call fcn.1400013f0
nop
call fcn.1400022d0
lea rcx, [rsp + 0x1d8]
call fcn.140001900
lea rdx, [0x1400d02a8]
lea rcx, [rsp + 0x1d8]
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.140027b40
int3