Function at 0x140012cc0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [r11 - 0x48]
sub rsp, 0x120
movaps xmmword [r11 - 0x38], xmm6
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rbp], rax
xorps xmm0, xmm0
mov qword [r11 + 0x10], rsi
mov esi, dword [0x14006a098]
xor eax, eax
mov qword [rbp - 0x10], rax
xor r15d, r15d
cmp byte [0x14005cabd], r15b
mov r14, rcx
mov dword [rbp - 8], eax
mov eax, dword [0x14005cab8]
movups xmmword [rbp - 0x60], xmm0
mov dword [rsp + 0x50], eax
movzx eax, word [0x14005cabc]
movups xmmword [rbp - 0x50], xmm0
mov word [rsp + 0x54], ax
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [str._hKUXYNM]
movups xmmword [rsp + 0x40], xmm0
je 0x140012ecd
mov ecx, r15d
cmp esi, 2
jl 0x140012e94
movdqa xmm0, xmmword [0x14005ced0]
lea rdx, [rsp + 0x40]
movdqa xmm5, xmmword [0x14005ce70]
movdqa xmm4, xmmword [0x14005cee0]
movdqa xmm6, xmmword [0x14005ce90]
movdqa xmmword [rsp + 0x30], xmm0
mov r8d, dword [rsp + 0x30]
nop dword [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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14005cec0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 8], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14005cec0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
cmp ecx, 0x10
jl 0x140012d90
cmp ecx, 0x16
jge 0x140012ecd
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
inc ecx
sub al, dl
add al, 0x36
xor byte [r8 - 1], al
cmp ecx, 0x16
jl 0x140012ea0
mov r12, 0xffffffffffffffff
mov dword [rsp + 0x28], r15d
mov r9d, r12d
mov qword [rsp + 0x20], r15
lea r8, [rsp + 0x40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, r12
mov rcx, rax
call fcn.14004e1ac
mov r9d, r12d
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r9, rdi
xor r8d, r8d
mov edx, 0xc2
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rdi
call fcn.14004de50
lea r9, [rbp - 0x60]
mov dword [rbp - 0x4c], 0xff
mov edx, 0x444
lea r8d, [r12 + 2]
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
movups xmm0, xmmword [str._uXQ]
movzx eax, word [0x14005c918]
cmp esi, 2
movups xmm1, xmmword [0x14005c8f0]
mov rsi, qword [rsp + 0x158]
mov r8d, r15d
movups xmmword [rsp + 0x58], xmm0
mov word [rbp - 0x70], ax
movups xmm0, xmmword [0x14005c900]
movups xmmword [rsp + 0x68], xmm1
movups xmmword [rsp + 0x78], xmm0
movsd xmm0, qword [0x14005c910]
movsd qword [rbp - 0x78], xmm0
jl 0x1400130e7
movdqa xmm0, xmmword [0x14005ced0]
lea rcx, [rsp + 0x58]
movdqa xmm5, xmmword [0x14005ce70]
movdqa xmm4, xmmword [0x14005cee0]
movdqa xmm6, xmmword [0x14005ce90]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
nop
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14005cec0]
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14005cec0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
cmp r8d, 0x38
jl 0x140012fe0
cmp r8d, 0x3a
jge 0x140013131
movsxd rax, r8d
lea r9, [rsp + 0x58]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x3a
jl 0x140013100
mov dword [rsp + 0x28], r15d
lea r8, [rsp + 0x58]
mov r9d, r12d
mov qword [rsp + 0x20], r15
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, r12
mov rcx, rax
call fcn.14004e1ac
mov r9d, r12d
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r9, rdi
xor r8d, r8d
mov edx, 0xc2
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rdi
call fcn.14004de50
mov al, 1
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14004de30
mov rbx, qword [rsp + 0x160]
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x120
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret