Function at 0x1400408a8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140101388]
xor rax, rsp
mov qword [rbp], rax
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [rbp - 0x20]
call fcn.140045454
nop
movups xmm0, xmmword [str.BtJ_OYiVM__]
movups xmmword [rbp - 0x40], xmm0
mov al, byte [0x1400b7518]
mov byte [rbp - 0x30], al
xor edi, edi
mov r8d, edi
lea r9, [rbp - 0x40]
mov r10d, 0x3521cfb3
mov eax, r10d
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x35
mov al, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0x11
jl 0x1400408ff
movsd xmm0, qword [str._BSTU]
movsd qword [rbp - 0x50], xmm0
movzx eax, word [0x1400b7500]
mov word [rbp - 0x48], ax
cmp byte [0x1400b7501], dil
je 0x140040983
mov r8d, edi
lea r9, [rbp - 0x50]
mov eax, r10d
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x35
mov al, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0xa
jl 0x140040955
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140101a48], rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rdi
lea rcx, [0x14003f040]
mov qword [rsp + 0x20], rcx
or r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0x1fffff
xor ecx, ecx
call rax
mov dword [rsp + 0x64], edi
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x68], rdi
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rbp - 0x70], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x78], rdi
lea rax, [0x14003f408]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rax, qword [rbp - 0x20]
mov qword [rbp - 0x60], rax
mov dword [rsp + 0x60], 3
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
je 0x140040b65
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rdx, qword [rbp - 0x20]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov r9d, 0x80000000
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x1401020a0], rax
mov edx, 5
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [0x1400b6f58]
mov rcx, qword [0x1401020a0]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, 0xffffffec
mov r8d, 0x800a0
mov rcx, qword [0x1401020a0]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rbp - 0x40]
call fcn.140045454
cmp qword [rax + 0x18], 0x10
jb 0x140040af8
mov rax, qword [rax]
mov rdx, rax
mov rcx, qword [0x1401020a0]
call qword [sym.imp.USER32.dll_SetWindowTextA]
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140040b46
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040b41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140040b41
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ace70
movdqa xmm0, xmmword [0x1400b7af0]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], dil
mov rcx, qword [0x1401020a0]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140040ba3
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040b9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140040b9e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ace70
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400ace50
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret