Function at 0x180002940
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov edx, dword [0x18007f698]
mov rbx, rcx
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x18007faf4], edx
jle 0x180002bf6
lea rcx, [0x18007faf4]
call fcn.180061558
cmp dword [0x18007faf4], 0xffffffff
jne 0x180002bf6
mov eax, dword [0x18006abc0]
xor ecx, ecx
cmp dword [0x180079018], 2
movups xmm0, xmmword [0x18006aba0]
mov dword [rbp + 0x17], eax
movups xmm1, xmmword [0x18006abb0]
movzx eax, byte [0x18006abc4]
movups xmmword [rbp - 9], xmm0
mov byte [rbp + 0x1b], al
movups xmmword [rbp + 7], xmm1
jl 0x180002b3d
movdqa xmm0, xmmword [0x18006d320]
lea rdx, [rbp - 5]
movdqa xmm5, xmmword [0x18006d2b0]
mov eax, 5
movdqa xmm4, xmmword [0x18006d440]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm7
movdqa xmm7, xmmword [0x18006d2f0]
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0x60], xmm8
movdqa xmmword [rbp - 0x19], xmm0
mov r8d, dword [rbp - 0x19]
movd xmm8, eax
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
paddd xmm1, xmm2
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 [0x18006d300]
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
paddd xmm1, xmm3
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 [0x18006d300]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x20
jl 0x180002a20
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
cmp ecx, 0x25
jge 0x180002b7f
movsxd rax, ecx
lea r8, [rbp - 9]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
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, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x39
xor byte [r8 - 1], al
cmp ecx, 0x25
jl 0x180002b50
movzx eax, word [0x18006aa48]
lea rdx, [rbp - 9]
movsd xmm0, qword [str.ZVRYSJ]
lea rcx, [rbp - 0x19]
movsd qword [rbp - 0x19], xmm0
xor byte [rbp - 0x18], 0x3a
xor byte [rbp - 0x17], 0x3b
xor byte [rbp - 0x16], 0x3c
xor byte [rbp - 0x15], 0x3d
xor byte [rbp - 0x14], 0x3e
xor byte [rbp - 0x13], 0x3f
xor byte [rbp - 0x12], 0x40
mov word [rbp - 0x11], ax
movzx eax, byte [0x18006aa4a]
xor byte [rbp - 0x11], 0x41
xor al, 0x43
xor byte [rbp - 0x10], 0x42
mov byte [rbp - 0xf], al
mov byte [rbp - 0x19], 0x63
call fcn.180001130
lea rcx, [0x18007faf4]
movsxd rdx, dword [rax + 1]
add rax, 5
add rax, rdx
mov qword [0x18007faa0], rax
call fcn.1800614ec
mov edx, pe_nt_image_headers64
mov rcx, rbx
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rbp
jmp qword [0x18007faa0]