Function at 0x140040070
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, 0xd0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x140307b40]
xor rax, rsp
mov qword [rbp + 0x17], rax
movsd xmm0, qword [str.TVRXz_RJU_B_]
movsd qword [rbp - 0x29], xmm0
mov eax, dword [0x140050fc0]
mov dword [rbp - 0x21], eax
movzx eax, byte [0x140050fc4]
mov byte [rbp - 0x1d], al
xor r14d, r14d
mov r8d, r14d
movdqa xmm6, xmmword [0x140051270]
movdqa xmm3, xmmword [0x140051290]
movdqa xmm7, xmmword [0x140051260]
movdqa xmm4, xmmword [0x140051280]
movdqa xmm5, xmmword [0x14004fc30]
mov edi, dword [0x140307b98]
cmp edi, 2
jl 0x1400401c1
movdqa xmm1, xmm5
punpckldq xmm1, xmm5
pmuldq xmm1, xmm4
movdqa xmm0, xmm5
punpckhdq xmm0, xmm5
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
movdqa xmm1, xmm5
psubd xmm1, xmm0
andps xmm1, xmm6
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm3
movd xmm0, dword [str.TVRXz_RJU_B_]
xorps xmm1, xmm0
movd dword [rbp - 0x29], xmm1
movdqa xmm2, xmmword [0x140051250]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm3
movd xmm0, dword [rbp - 0x25]
xorps xmm2, xmm0
movd dword [rbp - 0x25], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x29]
add r9, rax
nop dword [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x1400401d0
movups xmm0, xmmword [str.TVRXz_RJU_B]
movups xmmword [rbp - 0x41], xmm0
movzx eax, word [0x140050fb0]
mov word [rbp - 0x31], ax
cmp byte [0x140050fb1], r14b
je 0x14004035b
mov ecx, r14d
cmp edi, 2
jl 0x140040324
movdqa xmmword [rbp - 0x19], xmm3
lea rdx, [rbp - 0x3d]
mov r8d, dword [rbp - 0x19]
nop dword [rax + rax]
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
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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 xmm2, eax
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
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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 0x140040240
cmp ecx, 0x12
jge 0x14004035b
movsxd rax, ecx
lea r8, [rbp - 0x41]
add r8, rax
nop
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x12
jl 0x140040330
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
lea rsi, [rbp + 0x5f]
movabs r15, 0xff00ff00ff00ff00
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], rsi
mov rbx, qword [rsi]
mov rax, rbx
xor rax, r15
mov qword [rbp - 0x19], rax
mov qword [rsi], r14
mov rax, qword [0x140307dd8]
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x41]
call rax
nop
mov qword [rsi], rbx
mov qword [0x140307f58], rax
test rax, rax
jne 0x140040565
mov eax, dword [0x140050fd8]
mov dword [rbp - 0x49], eax
movzx eax, byte [0x140050fdc]
mov byte [rbp - 0x49], 0x52
xor byte [rbp - 0x48], 0x31
xor byte [rbp - 0x47], 0x32
xor byte [rbp - 0x46], 0x33
xor al, 0x34
mov byte [rbp - 0x45], al
movups xmm0, xmmword [str.TVRX]
movups xmmword [rbp - 0x29], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x14004054f
cmp edi, 2
jl 0x140040511
movdqa xmm4, xmmword [0x14004fc30]
mov edx, r14d
movdqa xmm3, xmmword [0x140051280]
movdqa xmm5, xmmword [0x140051260]
movdqa xmm0, xmmword [0x140051290]
movdqa xmmword [rbp - 0x19], xmm0
lea rcx, [rbp - 0x25]
mov r8d, dword [rbp - 0x19]
nop word [rax + rax]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x10
jl 0x140040430
jmp 0x14004054f
lea r9, [rbp - 0x29]
mov r8d, r14d
nop dword [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x140040520
mov r9d, 0x40
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x29]
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 [0x140307f58]
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
lea rsi, [rbp + 0x5f]
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x31], rsi
mov rdi, qword [rsi]
mov rdx, rdi
xor rdx, r15
mov qword [rbp - 0x41], rdx
mov qword [rsi], r14
mov rax, qword [0x140307e20]
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, 0xffffffffffffffff
call rax
nop
mov qword [rsi], rdi
test eax, eax
je 0x1400406cb
mov rcx, qword [0x140307f58]
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
lea rbx, [rbp + 0x5f]
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x31], rbx
mov rax, rdi
xor rax, r15
mov qword [rbp - 0x41], rax
mov qword [rbx], r14
mov rax, qword [0x140307d98]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
call rax
nop
mov qword [rbx], rdi
test eax, eax
je 0x1400406cb
mov edx, 0xffffffec
mov rcx, qword [0x140307f58]
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov r8d, eax
or r8d, 0x20
mov rcx, qword [0x140307f58]
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
lea rdi, [rbp + 0x5f]
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x31], rdi
mov rbx, qword [rdi]
mov rax, rbx
xor rax, r15
mov qword [rbp - 0x41], rax
mov qword [rdi], r14
mov rax, qword [0x140307db8]
mov edx, 0xffffffec
call rax
nop
mov qword [rdi], rbx
test eax, eax
je 0x1400406cb
movdqa xmm0, xmmword [0x140051220]
movdqu xmmword [rbp + 7], xmm0
lea rdx, [rbp + 7]
mov rcx, qword [0x140307f58]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
test eax, eax
js 0x1400406cb
mov edx, 5
mov rcx, qword [0x140307f58]
call fcn.14003f4a0
mov rcx, qword [0x140307f58]
call fcn.14003f6c0
xor edx, edx
mov rcx, qword [0x140307f58]
call fcn.14003f4a0
mov al, 1
jmp 0x1400406cd
xor al, al
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140045b60
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret