Function at 0x140001360
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
cmp word [0x1400054a2], 0
movups xmm0, xmmword [str.GPYZ]
mov eax, dword [0x1400054a0]
mov dword [rbp - 0x19], eax
movups xmmword [rbp - 0x29], xmm0
je 0x1400013c2
xor word [rbp - 0x27], 0x33
mov eax, 0x6e
xor word [rbp - 0x25], 0x34
xor word [rbp - 0x23], 0x35
xor word [rbp - 0x21], 0x36
xor word [rbp - 0x1f], 0x37
xor word [rbp - 0x1d], 0x38
xor word [rbp - 0x1b], 0x39
xor word [rbp - 0x19], 0x3a
xor word [rbp - 0x17], 0x3b
mov word [rbp - 0x29], ax
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r9, rax
test rax, rax
je 0x14000160e
movups xmm0, xmmword [0x140005458]
mov ecx, dword [0x140005488]
movups xmm1, xmmword [0x140005468]
movzx eax, word [0x14000548c]
movups xmmword [rbp - 0x11], xmm0
mov qword [rsp + 0xc0], rbx
xor ebx, ebx
cmp dword [0x140007018], 2
movups xmm0, xmmword [0x140005478]
mov dword [rbp + 0x1f], ecx
mov ecx, ebx
movups xmmword [rbp - 1], xmm1
mov word [rbp + 0x23], ax
movups xmmword [rbp + 0xf], xmm0
jl 0x14000159b
movdqa xmm0, xmmword [0x140005670]
lea rdx, [rbp - 0xd]
movdqa xmm5, xmmword [0x140005600]
mov eax, 1
movdqa xmm4, xmmword [0x140005660]
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm7
movdqa xmm7, xmmword [0x140005620]
movd xmm6, eax
mov eax, 0x1f
movdqa xmmword [rbp - 0x39], xmm0
mov r8d, dword [rbp - 0x39]
movaps xmmword [rsp + 0x80], xmm8
movd xmm8, eax
nop
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140005650]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140005650]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x30
jl 0x140001480
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0xa0]
cmp ecx, 0x36
jge 0x1400015dc
movsxd rax, ecx
lea r8, [rbp - 0x11]
add r8, rax
nop word [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0x36
jl 0x1400015b0
lea rdx, [rbp - 0x11]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x140007728], rax
mov ecx, 0xc0000001
cmove ebx, ecx
mov eax, ebx
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rbp
ret
mov eax, 0xc0000001
add rsp, 0xb0
pop rbp
ret