Function at 0x140057b10
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0xa8
mov rax, qword [0x14042a740]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov eax, dword [0x14006a540]
xor ecx, ecx
movsd xmm0, qword [str.t___QqI_3._E]
mov r8d, ecx
mov r10d, dword [0x14042a790]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x14006a544]
mov byte [rsp + 0x4c], al
movaps xmmword [rsp + 0x90], xmm6
movsd qword [rsp + 0x40], xmm0
cmp r10d, 2
jl 0x140057c6e
movdqa xmm2, xmmword [0x140068e60]
mov r8d, 8
movdqa xmm3, xmmword [0x14006acb0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x14006ad70]
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, xmmword [0x14006acc0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.t___QqI_3._E]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14006acd0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.9999999999999999]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x40], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14006acc0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x44]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14006acd0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.9999999999999999]
xorps xmm2, xmm0
movd dword [rsp + 0x44], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x140057c80
cmp byte [0x14006a531], cl
movups xmm0, xmmword [str.t___QqI_3._]
movzx eax, word [0x14006a530]
mov word [rsp + 0x60], ax
movups xmmword [rsp + 0x50], xmm0
je 0x140057e6f
cmp r10d, 2
jl 0x140057e2c
movdqa xmm0, xmmword [str.9999999999999999]
lea rdx, [rsp + 0x54]
movdqa xmm5, xmmword [0x140068e60]
movdqa xmm4, xmmword [0x14006ad70]
movdqa xmm6, xmmword [0x14006acc0]
movdqa xmmword [rsp + 0x70], xmm0
mov r8d, dword [rsp + 0x70]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
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
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14006acd0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], 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
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14006acd0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x140057d20
cmp ecx, 0x12
jge 0x140057e6f
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
inc ecx
sub al, dl
add al, 0x39
xor byte [r8 - 1], al
cmp ecx, 0x12
jl 0x140057e40
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_FindWindowA]
movaps xmm6, xmmword [rsp + 0x90]
mov qword [0x14042ad20], rax
test rax, rax
jne 0x140057eab
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14005e880
add rsp, 0xa8
ret
movdqa xmm0, xmmword [0x14006ac70]
lea rdx, [rsp + 0x70]
mov rcx, rax
mov qword [rsp + 0xa0], rbx
movdqu xmmword [rsp + 0x70], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, qword [0x14042ad20]
xor r9d, r9d
mov dword [rsp + 0x30], 0x40
xor r8d, r8d
mov dword [rsp + 0x28], ebx
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x14042ad20]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14042ad20]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [rsp + 0xa0]
mov al, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14005e880
add rsp, 0xa8
ret