Function at 0x140047e90
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1400d3c80]
xor rax, rsp
mov qword [rbp + 0x2f], rax
movsd xmm0, qword [str.xSSYUuMYOR9A]
movsd qword [rbp - 0x49], xmm0
mov eax, dword [0x1400b16c8]
mov dword [rbp - 0x41], eax
movzx eax, byte [0x1400b16cc]
mov byte [rbp - 0x3d], al
xor r14d, r14d
mov r8d, r14d
mov edi, dword [0x1400d3cd0]
cmp edi, 2
jl 0x140047ff7
movdqa xmm4, xmmword [0x1400b1f60]
movdqa xmm2, xmmword [0x140060020]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400b1e30]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b1e50]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400b1e60]
movd xmm0, dword [str.xSSYUuMYOR9A]
xorps xmm2, xmm0
movd dword [rbp - 0x49], xmm2
movdqa xmm3, xmmword [0x1400b1e20]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400b1e30]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b1e50]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400b1e60]
movd xmm0, dword [rbp - 0x45]
xorps xmm2, xmm0
movd dword [rbp - 0x45], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x49]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x140048010
movups xmm0, xmmword [0x1400b16a8]
movups xmmword [rbp - 0x61], xmm0
movzx eax, word [0x1400b16b8]
mov word [rbp - 0x51], ax
cmp byte [0x1400b16b9], r14b
je 0x1400481ee
mov ecx, r14d
cmp edi, 2
jl 0x1400481aa
movdqa xmm5, xmmword [0x140060020]
movdqa xmm4, xmmword [0x1400b1f60]
movdqa xmm6, xmmword [0x1400b1e30]
movdqa xmm0, xmmword [0x1400b1e60]
movdqa xmmword [rbp - 0x39], xmm0
lea rdx, [rbp - 0x5d]
mov r8d, dword [rbp - 0x39]
nop
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b1e50]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b1e50]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x1400480a0
cmp ecx, 0x12
jge 0x1400481ee
movsxd rax, ecx
lea r8, [rbp - 0x61]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x92492493
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
sub al, dl
add al, 0x35
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x12
jl 0x1400481c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
lea rsi, [rbp + 0x5f]
movabs r15, 0xff00ff00ff00ff00
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x29], rsi
mov rbx, qword [rsi]
mov rax, rbx
xor rax, r15
mov qword [rbp - 0x39], rax
mov qword [rsi], r14
mov rax, qword [0x1400d4490]
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x61]
call rax
nop
mov qword [rsi], rbx
mov qword [0x1400d42c0], rax
test rax, rax
jne 0x140048419
mov byte [rbp - 0x69], al
movups xmm0, xmmword [0x1400b16d0]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [0x1400b16e0]
movups xmmword [rbp - 9], xmm1
movups xmm0, xmmword [0x1400b16f0]
movups xmmword [rbp + 7], xmm0
movzx eax, word [0x1400b1700]
mov word [rbp + 0x17], ax
movzx eax, byte [0x1400b1702]
mov byte [rbp + 0x19], al
mov r8d, r14d
cmp edi, 2
jl 0x1400483be
movdqa xmm5, xmmword [0x140060020]
movdqa xmm4, xmmword [0x1400b1f60]
movdqa xmm6, xmmword [0x1400b1e30]
movdqa xmm0, xmmword [0x1400b1e60]
movdqa xmmword [rbp - 0x39], xmm0
lea rcx, [rbp - 0x15]
mov edx, dword [rbp - 0x39]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b1e50]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b1e50]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x30
jl 0x1400482b1
cmp r8d, 0x33
jge 0x140048403
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop dword [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x33
jl 0x1400483d0
mov r9d, 0x40
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x19]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r8d, eax
mov rcx, qword [0x1400d42c0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
lea rsi, [rbp + 0x5f]
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x51], rsi
mov rdi, qword [rsi]
mov rdx, rdi
xor rdx, r15
mov qword [rbp - 0x61], rdx
mov qword [rsi], r14
mov rax, qword [0x1400d44d8]
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [r9 - 1]
call rax
nop
mov qword [rsi], rdi
test eax, eax
je 0x14004857c
mov rcx, qword [0x1400d42c0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
lea rbx, [rbp + 0x5f]
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x51], rbx
mov rax, rdi
xor rax, r15
mov qword [rbp - 0x61], rax
mov qword [rbx], r14
mov rax, qword [0x1400d4450]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
call rax
nop
mov qword [rbx], rdi
test eax, eax
je 0x14004857c
mov edx, 0xffffffec
mov rcx, qword [0x1400d42c0]
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov r8d, eax
or r8d, 0x20
mov rcx, qword [0x1400d42c0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
lea rdi, [rbp + 0x5f]
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x51], rdi
mov rbx, qword [rdi]
mov rax, rbx
xor rax, r15
mov qword [rbp - 0x61], rax
mov qword [rdi], r14
mov rax, qword [0x1400d4470]
mov edx, 0xffffffec
call rax
nop
mov qword [rdi], rbx
test eax, eax
je 0x14004857c
movdqa xmm0, xmmword [0x1400b1df0]
movdqu xmmword [rbp + 0x1f], xmm0
lea rdx, [rbp + 0x1f]
mov rcx, qword [0x1400d42c0]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
test eax, eax
js 0x14004857c
mov edx, 5
mov rcx, qword [0x1400d42c0]
call fcn.14003e6c0
mov rcx, qword [0x1400d42c0]
call fcn.14003e950
xor edx, edx
mov rcx, qword [0x1400d42c0]
call fcn.14003e6c0
mov al, 1
jmp 0x14004857e
xor al, al
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140056850
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret