Function at 0x140056950
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0xb8
mov rax, qword [0x14049c380]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov eax, dword [0x1400c8f80]
xor ecx, ecx
movsd xmm0, qword [str.xSSYUuMYOR9A]
mov r8d, ecx
mov r10d, dword [reloc.WS2_32.dll_accept]
movdqa xmm3, xmmword [0x1400c9710]
movdqa xmm4, xmmword [0x1400c97b0]
movdqa xmm5, xmmword [0x1400c7530]
movaps xmmword [rsp + 0xa0], xmm6
movdqa xmm6, xmmword [0x1400c9700]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x1400c8f84]
movaps xmmword [rsp + 0x90], xmm7
movdqa xmm7, xmmword [0x1400c96f0]
mov byte [rsp + 0x4c], al
movsd qword [rsp + 0x40], xmm0
cmp r10d, 2
jl 0x140056a9c
movdqa xmm2, xmmword [0x1400c96e0]
movdqa xmm1, xmm5
punpckldq xmm1, xmm5
movdqa xmm0, xmm5
punpckhdq xmm0, xmm5
mov r8d, 8
pmuldq xmm1, xmm4
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm5
pmulld xmm0, xmm7
psubd xmm1, xmm0
movd xmm0, dword [str.xSSYUuMYOR9A]
andps xmm1, xmm6
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm3
xorps xmm1, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rsp + 0x40], xmm1
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x44]
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm3
xorps xmm2, xmm0
movd dword [rsp + 0x44], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x35
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x140056ab0
cmp byte [0x1400c8f71], cl
movups xmm0, xmmword [str.xSSYUuMYOR9]
movzx eax, word [0x1400c8f70]
mov word [rsp + 0x60], ax
movups xmmword [rsp + 0x50], xmm0
je 0x140056c4d
cmp r10d, 2
jl 0x140056c06
movdqa xmmword [rsp + 0x70], xmm3
lea rdx, [rsp + 0x54]
mov r8d, dword [rsp + 0x70]
nop
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movd dword [rdx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x140056b20
cmp ecx, 0x12
jge 0x140056c4d
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
inc ecx
sub al, dl
add al, 0x35
xor byte [r8 - 1], al
cmp ecx, 0x12
jl 0x140056c20
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_FindWindowA]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0xa0]
mov qword [0x14049cc70], rax
test rax, rax
jne 0x140056c91
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400bb7d0
add rsp, 0xb8
ret
movdqa xmm0, xmmword [0x1400c96a0]
lea rdx, [rsp + 0x70]
mov rcx, rax
mov qword [rsp + 0xb0], 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 [0x14049cc70]
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 [0x14049cc70]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14049cc70]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [rsp + 0xb0]
mov al, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400bb7d0
add rsp, 0xb8
ret