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 0x1400470ae
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 0x1400473af
movups xmm3, xmmword [0x14018f3b8]
xor ecx, ecx
mov r10d, dword [0x14019d010]
movdqa xmm7, xmmword [0x140190320]
movdqa xmm6, xmmword [str.33338888]
movdqa xmm4, xmmword [0x1401907a0]
movdqa xmm5, xmmword [0x140190250]
pextrw eax, xmm3, 7
movups xmmword [rbp - 0x29], xmm3
test ax, ax
je 0x140046f1e
mov r8d, ecx
cmp r10d, 2
jl 0x140046ee0
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
paddd xmm2, xmm5
psrad xmm2, 5
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 [0x140190270]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 0x140046f1e
lea r9, [rbp - 0x29]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
mul r8d
shr edx, 5
movzx eax, dx
imul edx, eax, 0x33
movzx eax, r8w
inc r8d
sub ax, dx
add ax, 0x36
xor word [r9 - 2], ax
cmp r8d, 8
jl 0x140046ef0
movups xmm0, xmmword [str.u_WJ_epR___3b__f]
movups xmm1, xmmword [0x14018f2d0]
movups xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [0x14018f2e0]
movups xmmword [rbp - 9], xmm1
movups xmmword [rbp + 7], xmm0
movsd xmm0, qword [0x14018f2f0]
movsd qword [rbp + 0x17], xmm0
cmp r10d, 2
jl 0x140047054
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
paddd xmm1, xmm2
psrad xmm1, 5
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
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
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
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 0x140046f60
cmp ecx, 0x1c
jge 0x140047093
movsxd rax, ecx
lea r8, [rbp - 0x19]
lea r8, [r8 + rax*2]
nop
mov eax, 0xa0a0a0a1
lea r8, [r8 + 2]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x33
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x36
xor word [r8 - 2], ax
cmp ecx, 0x1c
jl 0x140047060
mov r9d, 0x40
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x19]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1400473af
movups xmm5, xmmword [0x14018f3b8]
xor ecx, ecx
mov r10d, dword [0x14019d010]
movdqa xmm7, xmmword [str.33338888]
movdqa xmm4, xmmword [0x1401907a0]
movdqa xmm6, xmmword [0x140190250]
pextrw eax, xmm5, 7
movaps xmmword [rsp + 0x70], xmm8
movdqa xmm8, xmmword [0x140190320]
movups xmmword [rbp - 0x29], xmm5
test ax, ax
je 0x14004720e
mov r8d, ecx
cmp r10d, 2
jl 0x1400471d5
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
paddd xmm2, xmm6
psrad xmm2, 5
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 [0x140190270]
xorps xmm3, xmm1
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movq qword [rbp - 0x29], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 0x14004720e
lea r9, [rbp - 0x29]
nop dword [rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
mul r8d
shr edx, 5
movzx eax, dx
imul edx, eax, 0x33
movzx eax, r8w
inc r8d
sub ax, dx
add ax, 0x36
xor word [r9 - 2], ax
cmp r8d, 8
jl 0x1400471e0
movups xmm0, xmmword [str.u_WJ_epR___3b__f]
movups xmm1, xmmword [0x14018f2d0]
movups xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [0x14018f2e0]
movups xmmword [rbp - 9], xmm1
movups xmmword [rbp + 7], xmm0
movsd xmm0, qword [0x14018f2f0]
movsd qword [rbp + 0x17], xmm0
cmp r10d, 2
jl 0x140047346
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
paddd xmm1, xmm2
psrad xmm1, 5
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
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 0x140047250
cmp ecx, 0x1c
jge 0x140047393
movsxd rax, ecx
lea r8, [rbp - 0x19]
lea r8, [r8 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 2]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x33
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x36
xor word [r8 - 2], ax
cmp ecx, 0x1c
jl 0x140047360
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