Function at 0x140008290
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 - 0x58]
sub rsp, 0x130
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
mov rax, qword [0x14003a040]
xor rax, rsp
mov qword [rbp], rax
movdqa xmm6, xmmword [0x140030c70]
xorps xmm0, xmm0
xor eax, eax
mov qword [r11 + 0x10], rsi
mov esi, dword [0x14003a0a0]
xor r15d, r15d
cmp byte [0x14003053d], r15b
mov r14, rcx
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], eax
mov eax, dword [0x140030538]
movups xmmword [rbp - 0x60], xmm0
mov dword [rsp + 0x50], eax
movzx eax, word [0x14003053c]
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.53jIS_L3a__0e__.FFM]
movups xmmword [rsp + 0x40], xmm0
je 0x14000849f
mov ecx, r15d
cmp esi, 2
jl 0x14000845e
movdqa xmm0, xmmword [0x140030c90]
lea rdx, [rsp + 0x40]
movdqa xmm5, xmmword [0x140030c40]
movdqa xmm4, xmmword [0x140030ca0]
movdqa xmm7, xmmword [0x140030c60]
movdqa xmmword [rsp + 0x30], xmm0
mov r8d, dword [rsp + 0x30]
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
paddd xmm3, xmm5
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
add ecx, 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, xmm7
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
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
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
movd xmm0, r8d
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm3, xmm0
movd dword [rdx - 4], xmm3
cmp ecx, 0x10
jl 0x140008370
cmp ecx, 0x16
jge 0x14000849f
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop dword [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, 0x16
jl 0x140008470
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
cmovb rax, r12
mov rcx, rax
call fcn.14002869c
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.140028340
lea r9, [rbp - 0x60]
mov dword [rbp - 0x4c], 0xff
mov edx, 0x444
mov r8d, 1
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
movups xmm0, xmmword [str.53wZWX]
movzx eax, word [0x1400302d8]
cmp esi, 2
movups xmm1, xmmword [0x1400302b0]
mov rsi, qword [rsp + 0x168]
mov r8d, r15d
movups xmmword [rsp + 0x58], xmm0
mov word [rbp - 0x70], ax
movups xmm0, xmmword [0x1400302c0]
movups xmmword [rsp + 0x68], xmm1
movups xmmword [rsp + 0x78], xmm0
movsd xmm0, qword [0x1400302d0]
movsd qword [rbp - 0x78], xmm0
jl 0x1400086a2
movdqa xmm0, xmmword [0x140030c90]
lea rcx, [rsp + 0x58]
movdqa xmm5, xmmword [0x140030c40]
movdqa xmm4, xmmword [0x140030ca0]
movdqa xmm7, xmmword [0x140030c60]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
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
paddd xmm3, xmm5
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
add r8d, 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, xmm7
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
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, xmm7
psubd xmm3, xmm0
movd xmm0, edx
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm3, xmm0
movd dword [rcx - 4], xmm3
cmp r8d, 0x38
jl 0x1400085b1
cmp r8d, 0x3a
jge 0x1400086e4
movsxd rax, r8d
lea r9, [rsp + 0x58]
add r9, rax
nop dword [rax]
mov eax, 0x8fb823ef
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, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0x3a
jl 0x1400086b0
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
cmovb rax, r12
mov rcx, rax
call fcn.14002869c
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.140028340
mov al, 1
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140028320
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret