Function at 0x1401e1130
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x190
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movaps xmmword [rax - 0xb8], xmm13
movaps xmmword [rax - 0xc8], xmm14
mov rax, qword [0x140284028]
xor rax, rsp
mov qword [rbp - 8], rax
mov dword [rsp + 0x48], r8d
mov r14, rdx
mov r15, rcx
mov qword [rbp - 0x50], rdx
xor ebx, ebx
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x40]
call fcn.14023a0a0
test eax, eax
je 0x1401e13ab
mov rdi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x1401e136f
mov r13, rdi
mov r12d, ebx
nop dword [rax]
mov rsi, qword [r13 + 0x28]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, 0xffffffff
mov r8, rsi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.140218030
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rcx, qword [rbp - 0x48]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rcx
mov r9d, 0xffffffff
mov r8, rsi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop
mov rax, qword [rbp - 0x38]
mov rcx, rax
movsxd r8, dword [rsp + 0x48]
sub rcx, r8
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
cmp rax, rcx
jb 0x1401e16b8
sub rax, rcx
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rdx, qword [rbp - 0x48]
add rdx, rcx
lea rcx, [rbp - 0x28]
call fcn.1401d50a0
nop
mov rsi, qword [r14 + 0x10]
mov r9, r14
mov rdi, qword [r14 + 0x18]
cmp rdi, 0x10
jb 0x1401e12bb
mov r9, qword [r14]
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rcx, qword [rbp - 0x48]
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, qword [rbp - 0x38]
call fcn.14021d370
cmp rax, 0xffffffffffffffff
je 0x1401e133d
mov r9, r14
cmp rdi, 0x10
jb 0x1401e12ec
mov r9, qword [r14]
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rcx, qword [rbp - 0x28]
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, qword [rbp - 0x18]
call fcn.14021d370
cmp rax, 0xffffffffffffffff
je 0x1401e133d
mov rax, qword [r15 + 8]
cmp rax, qword [r15 + 0x10]
je 0x1401e132e
lea rdx, [rbp - 0x48]
mov rcx, rax
call fcn.140218140
add qword [r15 + 8], 0x20
jmp 0x1401e133d
lea r8, [rbp - 0x48]
mov rdx, rax
mov rcx, r15
call fcn.140222d60
mov eax, dword [r13 + 8]
test eax, eax
je 0x1401e1391
mov rdi, qword [rsp + 0x40]
lea r13, [rdi + rax]
lea rcx, [rbp - 0x28]
call fcn.140219ac0
nop
lea rcx, [rbp - 0x48]
call fcn.140219ac0
inc r12
cmp r12, qword [rsp + 0x50]
jb 0x1401e11e0
test rdi, rdi
je 0x1401e1659
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1401e1659
lea rcx, [rbp - 0x28]
call fcn.140219ac0
nop
lea rcx, [rbp - 0x48]
call fcn.140219ac0
mov rdi, qword [rsp + 0x40]
jmp 0x1401e136f
movups xmm0, xmmword [str._a648vn63:_]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x1402715c0]
movups xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [0x1402715d0]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x1402715e0]
movups xmmword [rbp - 0x70], xmm1
movsd xmm0, qword [0x1402715f0]
movsd qword [rbp - 0x60], xmm0
mov eax, dword [0x1402715f8]
mov dword [rbp - 0x58], eax
cmp dword [0x140284008], 2
jl 0x1401e15ee
movdqa xmm9, xmmword [0x140272810]
movdqa xmm6, xmmword [0x1402728d0]
mov eax, 3
movd xmm10, eax
movdqa xmm7, xmmword [0x140272910]
mov eax, 6
movd xmm11, eax
movdqa xmm12, xmmword [0x140272840]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm13, xmmword [0x140272920]
movdqa xmm14, xmmword [str.BBBBBBBB]
lea rcx, [rsp + 0x60]
nop dword [rax]
nop word [rax + rax]
movd xmm5, ebx
pshufd xmm5, xmm5, 0
paddd xmm5, xmm9
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
psrad xmm4, xmm10
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm11
movdqa xmm1, xmm2
psrld xmm1, xmm8
paddd xmm1, xmm2
pmulld xmm1, xmm13
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movdqa xmm2, xmm4
psrld xmm2, xmm8
paddd xmm2, xmm4
pmulld xmm2, xmm12
psubd xmm5, xmm2
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm3, xmm2
movq xmm0, xmm14
paddw xmm3, xmm0
movq xmm0, qword [rcx]
pxor xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [rbx + 4]
movd xmm5, eax
pshufd xmm5, xmm5, 0
paddd xmm5, xmm9
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
psrad xmm4, xmm10
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm11
movdqa xmm1, xmm2
psrld xmm1, xmm8
paddd xmm1, xmm2
pmulld xmm1, xmm13
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movdqa xmm2, xmm4
psrld xmm2, xmm8
paddd xmm2, xmm4
pmulld xmm2, xmm12
psubd xmm5, xmm2
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm3, xmm2
movq xmm0, xmm14
paddw xmm3, xmm0
movq xmm0, qword [rcx + 8]
pxor xmm3, xmm0
movq qword [rcx + 8], xmm3
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 0x10]
cmp ebx, 0x20
jl 0x1401e1460
cmp eax, 0x26
jge 0x1401e164e
movsxd rax, ebx
lea r9, [rsp + 0x60]
lea r9, [r9 + rax*2]
mov r10d, 0xff8e
mov eax, 0x13e22cbd
imul ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul r8d, eax, 0x67
mov eax, 0x8fb823ef
imul ebx
add edx, ebx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx ecx, dx
imul ecx, r10d
sub cx, r8w
lea eax, [rbx + 0x21]
add ax, ax
add cx, ax
xor word [r9], cx
inc ebx
lea r9, [r9 + 2]
cmp ebx, 0x26
jl 0x1401e1600
lea rcx, [rsp + 0x60]
call fcn.1401ba450
nop
mov rcx, r14
call fcn.140219ac0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140240c60
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14021a870
nop
int3