Function at 0x140047140
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [r11 - 0x68]
sub rsp, 0x140
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
movaps xmmword [r11 - 0x58], xmm8
mov rax, qword [0x14005a010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov eax, dword [0x140052928]
lea rsi, [rcx + 0x58]
movups xmm1, xmmword [0x140052918]
xor r13d, r13d
mov dword [rbp - 0x70], eax
xorps xmm0, xmm0
mov qword [rcx], r13
movups xmmword [rcx + 8], xmm0
lea r12, [rcx + 0x60]
mov qword [rcx + 0x70], r13
movups xmmword [rcx + 0x18], xmm0
lea rdi, [rcx + 0x68]
mov qword [rcx + 0x78], r13
movups xmmword [rcx + 0x28], xmm0
mov dword [rcx + 0x80], r13d
lea eax, [r13 + 4]
movups xmmword [rcx + 0x38], xmm0
mov word [rcx + 0x8c], r13w
mov rbx, rcx
movups xmmword [rcx + 0x48], xmm0
mov byte [rcx + 0x8e], r13b
mov r8d, r13d
movups xmm0, xmmword [0x140052908]
mov qword [rcx + 0x90], r13
mov qword [rcx + 0x98], r13
mov dword [rcx + 0xa0], r13d
lea ecx, [rax + 0x1b]
mov qword [rsi], r13
mov qword [r12], r13
mov qword [rdi], r13
mov r14d, dword [0x14005a018]
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm1
cmp r14d, 2
jl 0x14004735a
movdqa xmm5, xmmword [0x140052c30]
movdqa xmm4, xmmword [0x140052d60]
movdqa xmm7, xmmword [0x140052cb0]
movaps xmmword [r11 - 0x68], xmm9
movdqa xmm9, xmmword [0x140052d00]
movd xmm8, ecx
lea rcx, [rsp + 0x70]
movd xmm6, eax
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x10
jl 0x140047260
movaps xmm9, xmmword [rsp + 0x100]
cmp r8d, 0x12
jge 0x1400473a5
movsxd rax, r8d
lea r9, [rsp + 0x70]
lea r9, [r9 + rax*2]
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x32
xor word [r9 - 2], ax
cmp r8d, 0x12
jl 0x140047370
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rbx], rax
test rax, rax
je 0x14004770a
movdqa xmm0, xmmword [0x140052d90]
lea rdx, [rbp - 0x38]
mov rcx, rax
movdqu xmmword [rbp - 0x38], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [rbx]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov rcx, qword [rbx]
xor r9d, r9d
mov dword [rsp + 0x30], 0x4000
xor r8d, r8d
mov dword [rsp + 0x28], 0x5a0
xor edx, edx
mov dword [rsp + 0x20], 0xa00
call qword [sym.imp.USER32.dll_SetWindowPos]
test eax, eax
jne 0x1400475db
movzx eax, word [0x140052900]
mov r8d, r13d
mov word [rbp - 0x80], ax
movzx eax, byte [0x140052902]
mov byte [rbp - 0x7e], al
movups xmm0, xmmword [str.TR_YSS]
movups xmmword [rsp + 0x70], xmm0
cmp r14d, 2
jl 0x140047595
movdqa xmm0, xmmword [0x140052d20]
lea rcx, [rsp + 0x70]
movdqa xmm5, xmmword [0x140052c30]
mov eax, 4
movdqa xmm4, xmmword [0x140052d60]
movdqa xmm7, xmmword [0x140052cb0]
movdqa xmmword [rbp - 0x20], xmm0
mov edx, dword [rbp - 0x20]
movd xmm6, eax
mov eax, 0x1f
movd xmm8, eax
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 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 r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140052d10]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 8], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140052d10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
cmp r8d, 0x10
jl 0x140047490
cmp r8d, 0x13
jge 0x1400475d1
movsxd rax, r8d
lea r9, [rsp + 0x70]
add r9, 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 ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x13
jl 0x1400475a0
lea rcx, [rsp + 0x70]
call fcn.1400010d0
mov ecx, 0x18
call fcn.1400499f8
mov qword [rsp + 0x58], r12
xor ecx, ecx
xorps xmm0, xmm0
mov qword [rbp - 0x7c], r13
xor r9d, r9d
mov qword [rbp - 0x68], 2
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
lea edx, [rcx + 1]
mov qword [rbx + 0x98], rax
xor r8d, r8d
mov rax, qword [rbx]
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x20]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x50], 2
mov qword [rsp + 0x70], r13
mov dword [rbp - 0x80], 0x1c
mov dword [rsp + 0x78], 0xa5
mov dword [rsp + 0x7c], 1
mov dword [rbp - 0x6c], 0x20
mov qword [rbp - 0x74], 1
mov qword [rbp - 0x58], 1
mov dword [rbp - 0x20], 0xb000
mov dword [rbp - 0x1c], 0xa000
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jne 0x14004770a
mov rcx, qword [rdi]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x60], r13
lea r8, [0x140052960]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x1400476e1
mov rcx, qword [rsi]
lea r9, [rbx + 0x70]
xor r8d, r8d
mov rdx, rax
mov r10, qword [rcx]
call qword [r10 + 0x48]
mov rax, qword [rsp + 0x60]
mov r8, qword [rax]
mov rcx, rax
call qword [r8 + 0x10]
mov rcx, qword [rbx]
mov edx, 1
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, rbx
call fcn.140046760
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400499d0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret