Function at 0x1400534d0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
mov rax, qword [0x1400d7400]
xor rax, rsp
mov qword [rbp - 0x40], rax
movsd xmm0, qword [str.WWUYyA_KVZE]
xor ebx, ebx
movzx eax, byte [0x1400b98d4]
mov r8d, ebx
mov edi, dword [0x1400d7458]
mov ecx, dword [0x1400b98d0]
movdqa xmm6, xmmword [0x1400b9e50]
movdqa xmm9, xmmword [0x1400b9e80]
movdqa xmm8, xmmword [str.7777]
movdqa xmm3, xmmword [0x1400b9e70]
movdqa xmm2, xmmword [0x1400680d0]
movdqa xmm4, xmmword [0x1400b9e00]
movdqa xmm5, xmmword [0x1400b9df0]
movsd qword [rsp + 0x50], xmm0
mov dword [rsp + 0x58], ecx
mov byte [rsp + 0x5c], al
cmp edi, 2
jl 0x140053695
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckldq xmm1, xmm2
mov r8d, 0xc
pmuldq xmm1, xmm3
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm8
psubd xmm1, xmm0
movd xmm0, dword [str.WWUYyA_KVZE]
andps xmm1, xmm6
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm9
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd dword [rsp + 0x50], xmm1
movdqa xmm1, xmm5
punpckldq xmm1, xmm5
pmuldq xmm1, xmm3
punpckhdq xmm0, xmm5
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm5
pmulld xmm0, xmm8
psubd xmm1, xmm0
movd xmm0, dword [rsp + 0x54]
andps xmm1, xmm6
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm9
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd dword [rsp + 0x54], xmm1
movdqa xmm1, xmm4
punpckldq xmm1, xmm4
pmuldq xmm1, xmm3
punpckhdq xmm0, xmm4
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm4
pmulld xmm0, xmm8
psubd xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm6
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm9
xorps xmm1, xmm0
movd dword [rsp + 0x58], xmm1
mov eax, r8d
lea r9, [rsp + 0x50]
add r9, rax
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x1400536a0
cmp byte [0x1400b98c1], bl
movups xmm7, xmmword [0x1400b98b0]
movzx eax, word [0x1400b98c0]
mov word [rsp + 0x70], ax
movups xmmword [rsp + 0x60], xmm7
je 0x1400538c0
mov r8d, ebx
cmp edi, 2
jl 0x140053885
movdqa xmm1, xmm2
movd ecx, xmm9
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
movd eax, xmm7
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm5
pmulld xmm0, xmm8
psubd xmm2, xmm0
punpckldq xmm1, xmm5
pmuldq xmm1, xmm3
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm0, eax
xorps xmm2, xmm0
movdqa xmm0, xmm5
punpckhdq xmm0, xmm5
pmuldq xmm0, xmm3
movd dword [rsp + 0x60], xmm2
movdqa xmm2, xmmword [0x1400b9e10]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x64]
pmulld xmm0, xmm8
psubd xmm5, xmm0
movd xmm0, ecx
andps xmm5, xmm6
packuswb xmm5, xmm5
packuswb xmm5, xmm5
paddb xmm5, xmm0
movdqa xmm0, xmm4
punpckhdq xmm0, xmm4
xorps xmm5, xmm1
pmuldq xmm0, xmm3
movdqa xmm1, xmm4
punpckldq xmm1, xmm4
pmuldq xmm1, xmm3
movd dword [rsp + 0x64], xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rsp + 0x68]
pmulld xmm0, xmm8
psubd xmm4, xmm0
movd xmm0, ecx
andps xmm4, xmm6
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm4, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
xorps xmm4, xmm1
pmuldq xmm0, xmm3
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movd dword [rsp + 0x68], xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
movd xmm1, dword [rsp + 0x6c]
mov r8d, 0x10
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x6c], xmm2
mov eax, r8d
lea r9, [rsp + 0x60]
add r9, rax
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x140053890
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call qword [0x1400d77a8]
mov qword [0x1400d7860], rax
test rax, rax
jne 0x140053a94
mov eax, dword [0x1400b9908]
mov dword [rbp - 0x58], eax
movzx eax, word [0x1400b990c]
mov word [rbp - 0x54], ax
movzx eax, byte [0x1400b990e]
mov byte [rsp + 0x40], bl
mov byte [rbp - 0x52], al
movups xmm0, xmmword [0x1400b98d8]
movups xmm1, xmmword [0x1400b98e8]
movups xmmword [rsp + 0x78], xmm0
movups xmm0, xmmword [0x1400b98f8]
movups xmmword [rbp - 0x78], xmm1
movups xmmword [rbp - 0x68], xmm0
cmp edi, 2
jl 0x140053a44
movdqa xmm0, xmmword [0x1400b9e80]
lea rcx, [rsp + 0x7c]
movdqa xmm4, xmmword [0x1400680d0]
movdqa xmm3, xmmword [0x1400b9e70]
movdqa xmm5, xmmword [str.7777]
movdqa xmmword [rsp + 0x50], xmm0
mov edx, dword [rsp + 0x50]
nop dword [rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x30
jl 0x140053960
cmp ebx, 0x37
jge 0x140053a7c
movsxd rax, ebx
lea r8, [rsp + 0x78]
add r8, rax
nop
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, bl
inc ebx
sub al, cl
add al, 0x31
xor byte [r8 - 1], al
cmp ebx, 0x37
jl 0x140053a50
mov r9d, 0x40
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r10, qword [0x1400d77f0]
xor r9d, r9d
mov rcx, qword [0x1400d7860]
xor r8d, r8d
mov dword [rsp + 0x30], 0x40
mov rdx, 0xffffffffffffffff
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
call r10
test eax, eax
je 0x140053b88
mov rax, qword [0x1400d7768]
mov r9d, 2
mov rcx, qword [0x1400d7860]
mov r8b, 0xff
xor edx, edx
call rax
test eax, eax
je 0x140053b88
mov rcx, qword [0x1400d7860]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov r9, qword [0x1400d7788]
mov edx, 0xffffffec
mov rcx, qword [0x1400d7860]
or eax, 0x20
mov r8d, eax
call r9
test eax, eax
je 0x140053b88
movdqa xmm0, xmmword [0x1400b9dd0]
lea rdx, [rbp - 0x50]
mov rcx, qword [0x1400d7860]
movdqu xmmword [rbp - 0x50], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
test eax, eax
js 0x140053b88
mov rcx, qword [0x1400d7860]
mov edx, 5
call qword [0x1400d77f8]
mov rcx, qword [0x1400d7860]
call qword [0x1400d7810]
mov rcx, qword [0x1400d7860]
xor edx, edx
call qword [0x1400d77f8]
mov al, 1
jmp 0x140053b8a
xor al, al
mov rcx, qword [rbp - 0x40]
xor rcx, rsp
call fcn.14005e020
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rbp
ret