Function at 0x140017fc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x14003a040]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rbx, rcx
lea rcx, str.Msftedit.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor edi, edi
lea r8, str._n_Info_...
mov qword [rsp + 0x58], rdi
lea rdx, str.RICHEDIT50W
mov qword [rsp + 0x50], rax
mov r9d, 0x503008c4
mov qword [rsp + 0x48], rdi
mov ecx, 0x200
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], 0x2a8
mov dword [rsp + 0x30], 0x258
mov dword [rsp + 0x28], 0x78
mov dword [rsp + 0x20], 0xa
call qword [sym.imp.USER32.dll_CreateWindowExW]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov qword [0x14003b480], rax
mov edx, 0x443
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x14003b480]
lea r9, [rsp + 0xb0]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xb0], xmm0
xor r8d, r8d
mov edx, 0x444
movups xmmword [rsp + 0xc0], xmm0
mov dword [rsp + 0xb0], 0x5c
mov dword [rsp + 0xb4], 0x40000000
mov dword [rsp + 0xc4], 0xff00
movups xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0x100], rax
movups xmmword [rsp + 0xe0], xmm0
mov dword [rsp + 0x108], eax
movups xmmword [rsp + 0xf0], xmm0
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x14003a0a0], 2
movups xmm0, xmmword [str.o__qXP_nua_v_.__3_jebcCE]
movups xmm1, xmmword [0x140030250]
movups xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [0x140030260]
movups xmmword [rsp + 0x80], xmm1
movups xmm1, xmmword [0x140030270]
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm1
jl 0x14001827b
movdqa xmm0, xmmword [0x140030c90]
lea rcx, [rsp + 0x70]
movdqa xmm5, xmmword [0x140030c40]
mov edx, edi
movdqa xmm4, xmmword [0x140030ca0]
movaps xmmword [rsp + 0x130], xmm6
movdqa xmm6, xmmword [0x140030c60]
movdqa xmmword [rsp + 0x60], xmm0
mov r8d, dword [rsp + 0x60]
movaps xmmword [rsp + 0x120], xmm7
movdqa xmm7, xmmword [0x140030c70]
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 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
paddd xmm3, xmm5
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
add edx, 8
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
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
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
movd xmm0, r8d
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm3, xmm0
movd dword [rcx - 4], xmm3
cmp edx, 0x40
jl 0x140018180
movaps xmm7, xmmword [rsp + 0x120]
movaps xmm6, xmmword [rsp + 0x130]
jmp 0x1400182bf
lea r8, [rsp + 0x70]
mov ecx, edi
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
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, 0x39
movzx eax, cl
inc ecx
sub al, dl
add al, 0x38
xor byte [r8 - 1], al
cmp ecx, 0x40
jl 0x140018290
mov rsi, 0xffffffffffffffff
mov dword [rsp + 0x28], edi
mov r9d, esi
mov qword [rsp + 0x20], rdi
lea r8, [rsp + 0x70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovb rax, rsi
mov rcx, rax
call fcn.14002869c
mov r9d, esi
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, qword [0x14003b480]
mov r9, rdi
xor r8d, r8d
mov edx, 0xc2
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rdi
call fcn.140028340
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140028320
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret