Function at 0x140046d20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
cmp qword [rcx + 0x18], 7
mov esi, r8d
mov rbx, rdx
jbe 0x140046d4c
mov rcx, qword [rcx]
movaps xmmword [rsp + 0x90], xmm6
xor edx, edx
mov r8d, 1
movaps xmmword [rsp + 0x80], xmm7
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14004709c
cmp qword [rbx + 0x18], 0xf
jbe 0x140046d80
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140046dca
mov edx, 0x15e
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Beep]
mov r9d, esi
mov r8, rdi
mov rdx, rbx
mov ecx, 3
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_PostThreadMessageW]
jmp 0x14004737d
movups xmm3, xmmword [str.dXZZAY8]
xor ecx, ecx
mov r10d, dword [0x14019f010]
movdqa xmm7, xmmword [0x1401924d0]
movdqa xmm6, xmmword [str.4444::::]
movdqa xmm4, xmmword [0x140192910]
movdqa xmm5, xmmword [0x140192400]
pextrw eax, xmm3, 7
movups xmmword [rbp - 0x29], xmm3
test ax, ax
je 0x140046f0e
mov r8d, ecx
cmp r10d, 2
jl 0x140046ed8
movdqa xmm2, xmm5
movdqa xmm0, xmm5
punpckhdq xmm0, xmm5
pmuldq xmm0, xmm4
punpckldq xmm2, xmm5
pmuldq xmm2, xmm4
shufps xmm2, xmm0, 0xdd
movdqa xmm0, xmm5
psrad xmm2, 4
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmm6
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x140192420]
paddw xmm2, xmm7
xorps xmm2, xmm1
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
movdqa xmm1, xmm3
pmuldq xmm0, xmm4
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movq qword [rbp - 0x29], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp - 0x21]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm7
xorps xmm2, xmm0
movq qword [rbp - 0x21], xmm2
jmp 0x140046f0e
lea r9, [rbp - 0x29]
nop dword [rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 2]
mul r8d
shr edx, 4
movzx eax, dx
imul edx, eax, 0x34
movzx eax, r8w
inc r8d
sub ax, dx
add ax, 0x31
xor word [r9 - 2], ax
cmp r8d, 8
jl 0x140046ee0
movups xmm0, xmmword [0x140191100]
movups xmm1, xmmword [0x140191110]
movups xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [0x140191120]
movups xmmword [rbp - 9], xmm1
movups xmmword [rbp + 7], xmm0
movsd xmm0, qword [0x140191130]
movsd qword [rbp + 0x17], xmm0
cmp r10d, 2
jl 0x14004703c
lea rdx, [rbp - 0x19]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm5
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x18
jl 0x140046f50
cmp ecx, 0x1c
jge 0x140047081
movsxd rax, ecx
lea r8, [rbp - 0x19]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x34
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x31
xor word [r8 - 2], ax
cmp ecx, 0x1c
jl 0x140047050
mov r9d, 0x40
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x19]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x14004737d
movups xmm5, xmmword [str.dXZZAY8]
xor ecx, ecx
mov r10d, dword [0x14019f010]
movdqa xmm7, xmmword [str.4444::::]
movdqa xmm4, xmmword [0x140192910]
movdqa xmm6, xmmword [0x140192400]
pextrw eax, xmm5, 7
movaps xmmword [rsp + 0x70], xmm8
movdqa xmm8, xmmword [0x1401924d0]
movups xmmword [rbp - 0x29], xmm5
test ax, ax
je 0x1400471ee
mov r8d, ecx
cmp r10d, 2
jl 0x1400471bb
movdqa xmm2, xmm6
movdqa xmm0, xmm6
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm4
punpckldq xmm2, xmm6
pmuldq xmm2, xmm4
shufps xmm2, xmm0, 0xdd
movdqa xmm0, xmm6
psrad xmm2, 4
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
movq xmm2, xmm8
pmulld xmm1, xmm7
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm1, xmm5
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x140192420]
xorps xmm3, xmm1
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm1, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movq qword [rbp - 0x29], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp - 0x21]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rbp - 0x21], xmm3
jmp 0x1400471ee
lea r9, [rbp - 0x29]
nop
mov eax, 0x4ec4ec4f
lea r9, [r9 + 2]
mul r8d
shr edx, 4
movzx eax, dx
imul edx, eax, 0x34
movzx eax, r8w
inc r8d
sub ax, dx
add ax, 0x31
xor word [r9 - 2], ax
cmp r8d, 8
jl 0x1400471c0
movups xmm0, xmmword [0x140191100]
movups xmm1, xmmword [0x140191110]
movups xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [0x140191120]
movups xmmword [rbp - 9], xmm1
movups xmmword [rbp + 7], xmm0
movsd xmm0, qword [0x140191130]
movsd qword [rbp + 0x17], xmm0
cmp r10d, 2
jl 0x14004731e
lea rdx, [rbp - 0x19]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm6
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm6
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x18
jl 0x140047230
cmp ecx, 0x1c
jge 0x140047361
movsxd rax, ecx
lea r8, [rbp - 0x19]
lea r8, [r8 + rax*2]
nop dword [rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x34
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x31
xor word [r8 - 2], ax
cmp ecx, 0x1c
jl 0x140047330
mov r9d, 0x40
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x19]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [rsp + 0x90]
mov rsp, r11
pop rbp
ret