Function at 0x1400408b0
Capabilities:
Create thread
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x58]
sub rsp, 0x150
movaps xmmword [rax - 0x18], xmm6
lea r8, [0x1400407b0]
movaps xmmword [rax - 0x28], xmm7
xor edi, edi
movaps xmmword [rax - 0x38], xmm8
xor r9d, r9d
mov qword [rsp + 0x28], rdi
xor edx, edx
xor ecx, ecx
mov qword [rax + 8], rbx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rax, qword [sym.imp.USER32.dll_DefWindowProcA]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0x50
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
call qword [sym.imp.USER32.dll_LoadIconA]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x20], rax
call qword [sym.imp.USER32.dll_LoadCursorA]
movups xmm1, xmmword [str.cXSWNIeyENS_31D]
mov ebx, dword [reloc.WS2_32.dll_accept]
lea esi, [rdi + 5]
mov qword [rbp - 0x18], rax
xorps xmm0, xmm0
movzx eax, byte [0x1400d71e8]
mov r8d, edi
mov byte [rsp + 0x70], al
lea r14d, [rdi + 0x1f]
movdqu xmmword [rbp - 0x10], xmm0
movups xmmword [rsp + 0x60], xmm1
cmp ebx, 2
jl 0x140040ac1
movdqa xmm0, xmmword [0x1400d79f0]
lea rcx, [rsp + 0x64]
movdqa xmm5, xmmword [0x1400d7930]
movdqa xmm4, xmmword [0x1400d7f00]
movdqa xmm7, xmmword [0x1400d7960]
movdqa xmmword [rbp - 0x80], xmm0
mov edx, dword [rbp - 0x80]
movd xmm6, esi
movd xmm8, r14d
nop word [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
paddd xmm1, xmm2
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
pand xmm2, xmmword [0x1400d7980]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
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
pand xmm2, xmmword [0x1400d7980]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1400409b0
cmp r8d, 0x11
jge 0x140040b04
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [rax]
mov eax, 0x92492493
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 ecx, eax, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 0x11
jl 0x140040ad0
lea rax, [rsp + 0x60]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp], rax
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rbp + 8], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_RegisterClassExA]
movzx eax, byte [0x1400d71e8]
mov r8d, edi
mov byte [rsp + 0x70], al
movups xmm0, xmmword [str.cXSWNIeyENS_31D]
movups xmmword [rsp + 0x60], xmm0
cmp ebx, 2
jl 0x140040cb1
movdqa xmm0, xmmword [0x1400d79f0]
lea rcx, [rsp + 0x64]
movdqa xmm5, xmmword [0x1400d7930]
movdqa xmm4, xmmword [0x1400d7f00]
movdqa xmm7, xmmword [0x1400d7960]
movdqa xmmword [rbp - 0x80], xmm0
mov edx, dword [rbp - 0x80]
movd xmm6, esi
movd xmm8, r14d
nop dword [rax]
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
paddd xmm1, xmm2
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
pand xmm2, xmmword [0x1400d7980]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
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
pand xmm2, xmmword [0x1400d7980]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140040ba0
cmp r8d, 0x11
jge 0x140040cf4
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [rax]
mov eax, 0x92492493
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 ecx, eax, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 0x11
jl 0x140040cc0
movups xmm0, xmmword [str.cXSWNIeyENS_31D]
movzx eax, byte [0x1400d71e8]
cmp ebx, 2
mov rbx, qword [rsp + 0x160]
mov ecx, edi
movups xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x50], al
jl 0x140040e6e
movdqa xmm0, xmmword [0x1400d79f0]
lea rdx, [rbp - 0x5c]
movdqa xmm5, xmmword [0x1400d7930]
movdqa xmm4, xmmword [0x1400d7f00]
movdqa xmm7, xmmword [0x1400d7960]
movdqa xmmword [rbp - 0x80], xmm0
mov r8d, dword [rbp - 0x80]
movd xmm6, esi
movd xmm8, r14d
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, 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
pand xmm2, xmmword [0x1400d7980]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
pxor 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, 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, r8d
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400d7980]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
pxor xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x140040d60
cmp ecx, 0x11
jge 0x140040eaf
movsxd rax, ecx
lea r8, [rbp - 0x60]
add r8, rax
nop dword [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
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x34
xor byte [r8 - 1], al
cmp ecx, 0x11
jl 0x140040e80
mov rax, qword [rbp - 0x28]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x58], rdi
lea rdx, [rbp - 0x60]
mov qword [rsp + 0x50], rax
mov r9d, 0x80000000
mov eax, dword [rbp - 0x64]
xor ecx, ecx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], eax
mov eax, dword [rbp - 0x68]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp - 0x6c]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp - 0x70]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, 0xffffffec
mov r8d, 0x800a0
mov rcx, rax
mov qword [0x1400ead20], rax
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x1400ead20]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x1400d78b0]
lea rdx, [rbp + 0x10]
mov rcx, qword [0x1400ead20]
movdqu xmmword [rbp + 0x10], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x1400ead20]
mov edx, esi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400ead20]
call qword [sym.imp.USER32.dll_UpdateWindow]
lea r11, [rsp + 0x150]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret