Function at 0x14000d780
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
mov r10d, dword [0x14005c090]
xorps xmm0, xmm0
mov edx, dword [0x140048b00]
xor ecx, ecx
movdqa xmm5, xmmword [0x1400553b0]
mov r8d, ecx
movdqa xmm3, xmmword [0x140055410]
movdqa xmm4, xmmword [0x140055320]
movaps xmmword [rax - 0x18], xmm6
movdqa xmm6, xmmword [0x1400553a0]
movaps xmmword [rax - 0x28], xmm7
movdqa xmm7, xmmword [0x140055340]
movaps xmmword [rax - 0x38], xmm8
movdqa xmm8, xmmword [0x140055330]
movaps xmmword [rax - 0x48], xmm9
movzx eax, word [0x140048b04]
movdqa xmm9, xmmword [0x1400553d0]
mov word [rsp + 0x3c], ax
movzx eax, byte [0x140048b06]
mov byte [rsp + 0x3e], al
mov dword [rsp + 0x38], edx
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movsd xmm0, qword [str._RPP]
movsd qword [rsp + 0x30], xmm0
cmp r10d, 2
jl 0x14000d96d
movdqa xmm1, xmm4
movdqa xmm0, xmm4
punpckldq xmm1, xmm4
mov r8d, 0xc
pmuldq xmm1, xmm3
punpckhdq xmm0, xmm4
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm4
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm4
pmulld xmm0, xmm6
psubd xmm1, xmm0
movd xmm0, dword [str._RPP]
andps xmm1, xmm5
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm9
xorps xmm1, xmm0
movdqa xmm0, xmm8
movd dword [rsp + 0x30], xmm1
movdqa xmm1, xmm8
punpckldq xmm1, xmm8
pmuldq xmm1, xmm3
punpckhdq xmm0, xmm8
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm8
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm8
pmulld xmm0, xmm6
psubd xmm1, xmm0
movd xmm0, dword [rsp + 0x34]
andps xmm1, xmm5
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm9
xorps xmm1, xmm0
movdqa xmm0, xmm7
movd dword [rsp + 0x34], xmm1
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm3
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm7
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm7
pmulld xmm0, xmm6
psubd xmm1, xmm0
movd xmm0, edx
andps xmm1, xmm5
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm9
xorps xmm1, xmm0
movd dword [rsp + 0x38], xmm1
mov eax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax + rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0xf
jl 0x14000d980
cmp byte [0x140048b15], cl
lea rax, [rsp + 0x30]
movsd xmm0, qword [0x140048b08]
mov edx, dword [0x140048b10]
mov qword [rsp + 0x68], rax
movzx eax, word [0x140048b14]
mov word [rsp + 0x3c], ax
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], edx
je 0x14000db74
mov r8d, ecx
cmp r10d, 2
jl 0x14000db35
movd eax, xmm9
movdqa xmm1, xmm4
punpckldq xmm1, xmm4
movdqa xmm0, xmm4
pmuldq xmm1, xmm3
movdqa xmm2, xmm8
punpckhdq xmm0, xmm4
mov r8d, 0xc
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm4
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm4
pmulld xmm0, xmm6
psubd xmm1, xmm0
movd xmm0, eax
andps xmm1, xmm5
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm0
movd xmm0, dword [0x140048b08]
xorps xmm1, xmm0
movdqa xmm0, xmm8
movd dword [rsp + 0x30], xmm1
movdqa xmm1, xmm8
punpckhdq xmm0, xmm8
pmuldq xmm0, xmm3
punpckldq xmm1, xmm8
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm8
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x34]
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm7
xorps xmm2, xmm1
punpckhdq xmm0, xmm7
movd dword [rsp + 0x34], xmm2
movdqa xmm1, xmm7
pmuldq xmm0, xmm3
movdqa xmm2, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm7
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, edx
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x38], xmm2
mov eax, r8d
lea r9, [rsp + 0x30]
add r9, rax
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x14000db40
cmp byte [0x140048af5], cl
lea rax, [rsp + 0x30]
movsd xmm0, qword [str.aVZPN]
mov edx, dword [0x140048af0]
mov qword [rsp + 0x60], rax
movzx eax, word [0x140048af4]
mov word [rsp + 0x3c], ax
mov qword [rsp + 0x70], rcx
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], edx
je 0x14000dd44
mov r8d, ecx
cmp r10d, 2
jl 0x14000dcf8
movd eax, xmm9
movdqa xmm1, xmm4
punpckldq xmm1, xmm4
movdqa xmm0, xmm4
pmuldq xmm1, xmm3
mov r8d, 0xc
punpckhdq xmm0, xmm4
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm4
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm4
pmulld xmm0, xmm6
psubd xmm1, xmm0
movd xmm0, eax
andps xmm1, xmm5
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm0
movd xmm0, dword [str.aVZPN]
xorps xmm1, xmm0
movdqa xmm0, xmm8
punpckhdq xmm0, xmm8
movd dword [rsp + 0x30], xmm1
movdqa xmm1, xmm8
punpckldq xmm1, xmm8
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm8
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x34]
pmulld xmm0, xmm6
psubd xmm8, xmm0
movd xmm0, eax
andps xmm8, xmm5
packuswb xmm8, xmm8
packuswb xmm8, xmm8
paddb xmm8, xmm0
movdqa xmm0, xmm7
punpckhdq xmm0, xmm7
xorps xmm8, xmm1
movdqa xmm1, xmm7
pmuldq xmm0, xmm3
punpckldq xmm1, xmm7
pmuldq xmm1, xmm3
movd dword [rsp + 0x34], xmm8
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm7
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, edx
pmulld xmm0, xmm6
psubd xmm7, xmm0
movd xmm0, eax
andps xmm7, xmm5
packuswb xmm7, xmm7
packuswb xmm7, xmm7
paddb xmm7, xmm0
xorps xmm7, xmm1
movd dword [rsp + 0x38], xmm7
mov eax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x14000dd10
cmp byte [0x140048ae5], cl
lea rax, [rsp + 0x30]
movups xmm0, xmmword [str.ZG_EE_r]
mov qword [rbp - 0x80], rax
mov eax, dword [0x140048ae0]
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x58], eax
movsd xmm0, qword [0x140048ad8]
movzx eax, word [0x140048ae4]
movsd qword [rsp + 0x50], xmm0
mov word [rsp + 0x5c], ax
mov qword [rbp - 0x58], rcx
je 0x14000dedf
cmp r10d, 2
jl 0x14000de9e
movdqa xmmword [rsp + 0x30], xmm9
lea rdx, [rsp + 0x44]
mov r8d, dword [rsp + 0x30]
nop dword [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm4
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movd dword [rdx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x14000ddb0
cmp ecx, 0x1e
jge 0x14000dedf
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop dword [rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0x1e
jl 0x14000deb0
lea rax, [rsp + 0x40]
lea rcx, [0x14005d500]
mov qword [rbp - 0x48], rax
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14000df05
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x14005d54c], 0x7fffffff
jne 0x14000df27
mov ecx, 6
mov dword [0x14005d54c], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov r8d, dword [0x14005d550]
lea rcx, [0x14008f848]
lea eax, [r8 + 1]
mov dword [0x14005d550], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.140016210
mov qword [0x14008f840], rax
lea rcx, [0x14005d500]
mov eax, 1
xchg byte [0x14005f1ea], al
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rcx, qword [0x14008f700]
test rcx, rcx
je 0x14000df83
add rcx, 0x58
call qword [sym.imp.MSVCP140.dll__Cnd_broadcast]
lea r11, [rsp + 0x110]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rbp
ret