Function at 0x140041db0
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 - 0x38]
sub rsp, 0x120
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
mov rax, qword [0x140159680]
xor rax, rsp
mov qword [rbp - 0x30], rax
movsd xmm0, qword [str.QQW_wO_IPG_]
movsd qword [rsp + 0x60], xmm0
mov ecx, dword [0x1400ad350]
mov dword [rsp + 0x68], ecx
movzx eax, byte [0x1400ad354]
mov byte [rsp + 0x6c], al
xor r15d, r15d
mov r8d, r15d
movdqa xmm6, xmmword [0x1400adb60]
movdqa xmm9, xmmword [0x1400adb70]
movdqa xmm8, xmmword [str.6666]
movdqa xmm3, xmmword [0x1400adc10]
movdqa xmm2, xmmword [0x14005c1d0]
movdqa xmm4, xmmword [0x1400adb10]
movdqa xmm5, xmmword [0x1400adb00]
mov edi, dword [0x1401596d8]
cmp edi, 2
jl 0x140041f7e
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
movdqa xmm1, xmm2
psubd xmm1, xmm0
andps xmm1, xmm6
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm9
movd xmm0, dword [str.QQW_wO_IPG_]
xorps xmm1, xmm0
movd dword [rsp + 0x60], xmm1
movdqa xmm1, xmm5
punpckldq xmm1, xmm5
pmuldq xmm1, xmm3
movdqa xmm0, xmm5
punpckhdq xmm0, xmm5
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
movdqa xmm1, xmm5
psubd xmm1, xmm0
andps xmm1, xmm6
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm9
movd xmm0, dword [rsp + 0x64]
xorps xmm1, xmm0
movd dword [rsp + 0x64], xmm1
movdqa xmm1, xmm4
punpckldq xmm1, xmm4
pmuldq xmm1, xmm3
movdqa xmm0, xmm4
punpckhdq xmm0, xmm4
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
movdqa xmm1, xmm4
psubd xmm1, xmm0
andps xmm1, xmm6
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm9
movd xmm0, ecx
xorps xmm1, xmm0
movd dword [rsp + 0x68], xmm1
mov r8d, 0xc
mov eax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x140041f90
movups xmm7, xmmword [0x1400ad330]
movups xmmword [rsp + 0x70], xmm7
movzx eax, word [0x1400ad340]
mov word [rbp - 0x80], ax
cmp byte [0x1400ad341], r15b
je 0x1400421b0
mov r8d, r15d
cmp edi, 2
jl 0x140042175
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd ecx, xmm9
movd xmm0, ecx
paddb xmm2, xmm0
movd eax, xmm7
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x70], xmm2
movdqa xmm1, xmm5
punpckldq xmm1, xmm5
pmuldq xmm1, xmm3
movdqa xmm0, xmm5
punpckhdq xmm0, xmm5
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm5, xmm0
andps xmm5, xmm6
packuswb xmm5, xmm5
packuswb xmm5, xmm5
movd xmm0, ecx
paddb xmm5, xmm0
movd xmm1, dword [rsp + 0x74]
xorps xmm5, xmm1
movd dword [rsp + 0x74], xmm5
movdqa xmm1, xmm4
punpckldq xmm1, xmm4
pmuldq xmm1, xmm3
movdqa xmm0, xmm4
punpckhdq xmm0, xmm4
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm4, xmm0
andps xmm4, xmm6
packuswb xmm4, xmm4
packuswb xmm4, xmm4
movd xmm0, ecx
paddb xmm4, xmm0
movd xmm1, dword [rsp + 0x78]
xorps xmm4, xmm1
movd dword [rsp + 0x78], xmm4
movdqa xmm2, xmmword [0x1400adb20]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x7c]
xorps xmm2, xmm1
movd dword [rsp + 0x7c], xmm2
mov r8d, 0x10
mov eax, r8d
lea r9, [rsp + 0x70]
add r9, rax
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x140042180
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rsi, [rbp + 0x38]
movabs r14, 0xff00ff00ff00ff00
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rsi
mov rbx, qword [rsi]
mov rax, rbx
xor rax, r14
mov qword [rsp + 0x48], rax
mov qword [rsi], r15
mov rax, qword [0x140159ed8]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call rax
nop
mov qword [rsi], rbx
mov qword [0x14015a058], rax
test rax, rax
jne 0x1400423b3
mov byte [rsp + 0x40], al
movups xmm0, xmmword [0x1400ad358]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [0x1400ad368]
movups xmmword [rbp - 0x68], xmm1
movups xmm0, xmmword [0x1400ad378]
movups xmmword [rbp - 0x58], xmm0
movzx eax, word [0x1400ad388]
mov word [rbp - 0x48], ax
movzx eax, byte [0x1400ad38a]
mov byte [rbp - 0x46], al
mov ecx, r15d
cmp edi, 2
jl 0x140042364
movdqa xmm4, xmmword [0x14005c1d0]
movdqa xmm3, xmmword [0x1400adc10]
movdqa xmm5, xmmword [str.6666]
movdqa xmm0, xmmword [0x1400adb70]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rbp - 0x74]
mov r8d, dword [rsp + 0x60]
nop dword [rax]
movd xmm2, ecx
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, 4
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 [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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, 4
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 [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x30
jl 0x140042280
cmp ecx, 0x33
jge 0x14004239c
movsxd rax, ecx
lea r8, [rbp - 0x78]
add r8, rax
nop
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
sub al, dl
add al, 0x33
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x33
jl 0x140042370
mov r9d, 0x40
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x78]
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 [0x14015a058]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rsi, [rbp + 0x38]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rsi
mov rdi, qword [rsi]
mov rdx, rdi
xor rdx, r14
mov qword [rsp + 0x48], rdx
mov qword [rsi], r15
mov rax, qword [0x140159f20]
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 0x140042525
mov rcx, qword [0x14015a058]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rbx, [rbp + 0x38]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rbx
mov rax, rdi
xor rax, r14
mov qword [rsp + 0x48], rax
mov qword [rbx], r15
mov rax, qword [0x140159e98]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
call rax
nop
mov qword [rbx], rdi
test eax, eax
je 0x140042525
mov edx, 0xffffffec
mov rcx, qword [0x14015a058]
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov r8d, eax
or r8d, 0x20
mov rcx, qword [0x14015a058]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdi, [rbp + 0x38]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rdi
mov rbx, qword [rdi]
mov rax, rbx
xor rax, r14
mov qword [rsp + 0x48], rax
mov qword [rdi], r15
mov rax, qword [0x140159eb8]
mov edx, 0xffffffec
call rax
nop
mov qword [rdi], rbx
test eax, eax
je 0x140042525
movdqa xmm0, xmmword [0x1400adad0]
movdqu xmmword [rbp - 0x40], xmm0
lea rdx, [rbp - 0x40]
mov rcx, qword [0x14015a058]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
test eax, eax
js 0x140042525
mov edx, 5
mov rcx, qword [0x14015a058]
call fcn.14003dda0
mov rcx, qword [0x14015a058]
call fcn.14003e030
xor edx, edx
mov rcx, qword [0x14015a058]
call fcn.14003dda0
mov al, 1
jmp 0x140042527
xor al, al
mov rcx, qword [rbp - 0x30]
xor rcx, rsp
call fcn.140052d00
lea r11, [rsp + 0x120]
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]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop rbp
ret