Function at 0x140011090
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0xc8
mov rax, qword [0x140142f00]
xor rax, rsp
mov qword [rsp + 0xa0], rax
lea rdx, str.MedalOverlay
lea rcx, str.MedalOverlayClass
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x140150b90], rax
mov rcx, rax
test rax, rax
jne 0x1400112d5
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmm0, xmmword [0x14012b580]
mov eax, dword [0x14012b5b8]
movups xmm1, xmmword [0x14012b590]
mov dword [rsp + 0x78], eax
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x14012b5a0]
movups xmmword [rsp + 0x50], xmm1
movups xmmword [rsp + 0x60], xmm0
movsd xmm0, qword [0x14012b5b0]
movsd qword [rsp + 0x70], xmm0
jl 0x140011256
movdqa xmm0, xmmword [0x14012ca10]
lea rdx, [rsp + 0x44]
movdqa xmm4, xmmword [0x14012c8a0]
movdqa xmm3, xmmword [0x14012ce20]
movdqa xmm5, xmmword [0x14012c9a0]
movdqa xmmword [rsp + 0x80], xmm0
mov r8d, dword [rsp + 0x80]
movaps xmmword [rsp + 0xb0], xmm6
movdqa xmm6, xmmword [0x14012c9d0]
nop
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm4
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
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, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
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, 0x38
jl 0x140011160
movaps xmm6, xmmword [rsp + 0xb0]
cmp ecx, 0x3c
jge 0x1400112a1
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x38
add dl, cl
inc ecx
xor byte [r8 - 1], dl
cmp ecx, 0x3c
jl 0x140011270
mov r9d, 0x40
lea r8, [0x140126066]
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1401004c0
add rsp, 0xc8
ret
mov eax, dword [0x140150b84]
xor r9d, r9d
mov dword [rsp + 0x30], 0x40
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, 0xffffffffffffffff
mov eax, dword [0x140150b78]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140150b90]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov rcx, qword [0x140150b90]
mov edx, 0xffffffec
mov r8d, 0x80020
call qword [sym.imp.USER32.dll_SetWindowLongA]
movdqa xmm0, xmmword [0x14012c820]
lea rdx, [rsp + 0x90]
mov rcx, qword [0x140150b90]
movdqu xmmword [rsp + 0x90], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x140150b90]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140150b90]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x140150b90]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov al, 1
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1401004c0
add rsp, 0xc8
ret