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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [r11 - 0x38]
sub rsp, 0x120
movaps xmmword [r11 - 0x28], xmm6
movaps xmmword [r11 - 0x38], xmm7
movaps xmmword [r11 - 0x48], xmm8
mov rax, qword [0x1400da080]
xor rax, rsp
mov qword [rbp - 0x20], rax
xor esi, esi
mov qword [r11 + 8], rbx
mov qword [rsp + 0x28], rsi
lea r8, [0x140003610]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [rsp + 0x74], esi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x58], rsi
call qword [sym.imp.GDI32.dll_GetStockObject]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x60], rax
call qword [sym.imp.USER32.dll_LoadCursorA]
movups xmm0, xmmword [0x1400c3f68]
mov ebx, dword [reloc.WS2_32.dll_accept]
lea r14d, [rsi + 4]
mov qword [rbp - 0x68], rax
lea rax, [0x140004060]
mov qword [rsp + 0x78], rax
mov r8d, esi
mov eax, dword [0x1400c3f78]
lea r15d, [rsi + 0x1f]
mov dword [rbp - 0x30], eax
movzx eax, word [0x1400c3f7c]
mov word [rbp - 0x2c], ax
movzx eax, byte [0x1400c3f7e]
mov byte [rbp - 0x2a], al
mov qword [rbp - 0x78], rsi
movups xmmword [rbp - 0x40], xmm0
cmp ebx, 2
jl 0x140003b99
movdqa xmm0, xmmword [0x1400ca800]
lea rcx, [rbp - 0x3c]
movdqa xmm5, xmmword [0x1400ca690]
movdqa xmm4, xmmword [0x1400cab60]
movdqa xmm7, xmmword [0x1400ca6c0]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
movd xmm6, r14d
movd xmm8, r15d
nop dword [rax]
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
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 [0x1400ca720]
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
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 [0x1400ca720]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140003a90
cmp r8d, 0x17
jge 0x140003be1
movsxd rax, r8d
lea r9, [rbp - 0x40]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 0x17
jl 0x140003bb0
lea rax, [rbp - 0x40]
mov dword [rsp + 0x70], 3
lea rcx, [rsp + 0x70]
mov qword [rbp - 0x50], rax
call qword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x140003dcd
cmp byte [0x1400c4149], sil
movups xmm0, xmmword [0x1400c4130]
movzx eax, word [0x1400c4148]
mov word [rbp - 0x28], ax
movups xmmword [rbp - 0x40], xmm0
movsd xmm0, qword [0x1400c4140]
movsd qword [rbp - 0x30], xmm0
je 0x140003dbd
mov ecx, esi
cmp ebx, 2
jl 0x140003d86
movdqa xmm0, xmmword [0x1400ca800]
lea rdx, [rbp - 0x3c]
movdqa xmm5, xmmword [0x1400ca690]
movdqa xmm4, xmmword [0x1400cab60]
movdqa xmm7, xmmword [0x1400ca6c0]
movdqa xmmword [rsp + 0x60], xmm0
mov r8d, dword [rsp + 0x60]
movd xmm6, r14d
movd xmm8, r15d
nop dword [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
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 [0x1400ca720]
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
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 [0x1400ca720]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
pxor xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x140003c80
cmp ecx, 0x1a
jge 0x140003dbd
movsxd rax, ecx
lea r8, [rbp - 0x40]
add r8, rax
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
inc ecx
sub al, dl
add al, 0x34
xor byte [r8 - 1], al
cmp ecx, 0x1a
jl 0x140003d90
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp - 0x40]
call fcn.140014840
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
mov edi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [0x1400c3f78]
cmp ebx, 2
movups xmm0, xmmword [0x1400c3f68]
mov rbx, qword [rsp + 0x140]
mov r9d, eax
mov dword [rbp - 0x30], ecx
movzx ecx, word [0x1400c3f7c]
mov word [rbp - 0x2c], cx
movzx ecx, byte [0x1400c3f7e]
mov byte [rbp - 0x2a], cl
mov ecx, esi
movups xmmword [rbp - 0x40], xmm0
jl 0x140003f66
movdqa xmm0, xmmword [0x1400ca800]
lea rdx, [rbp - 0x3c]
movdqa xmm5, xmmword [0x1400ca690]
movdqa xmm4, xmmword [0x1400cab60]
movdqa xmm7, xmmword [0x1400ca6c0]
movdqa xmmword [rsp + 0x60], xmm0
mov r8d, dword [rsp + 0x60]
movd xmm6, r14d
movd xmm8, r15d
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
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 [0x1400ca720]
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
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 [0x1400ca720]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
pxor xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x140003e60
cmp ecx, 0x17
jge 0x140003f9d
movsxd rax, ecx
lea r8, [rbp - 0x40]
add r8, rax
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
inc ecx
sub al, dl
add al, 0x34
xor byte [r8 - 1], al
cmp ecx, 0x17
jl 0x140003f70
mov qword [rsp + 0x58], rsi
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x50], rsi
xor r8d, r8d
mov qword [rsp + 0x48], rsi
xor ecx, ecx
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], r9d
mov r9d, 0x80000000
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rcx, rax
mov qword [0x1400db8a8], rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400db8a8]
lea rdx, [0x1400c42c0]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x1400db8a8]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x1400db8a8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.1400b0640
lea r11, [rsp + 0x120]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret