Function at 0x140023930
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xc0
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
mov rax, qword [0x140030040]
xor rax, rsp
mov qword [rbp + 0x27], rax
movups xmm3, xmmword [0x14002be90]
xor ebx, ebx
movzx eax, byte [0x14002bea8]
movsd xmm0, qword [0x14002bea0]
mov ecx, ebx
movdqa xmm7, xmmword [0x14002c5e0]
mov qword [r11 + 8], rsi
mov esi, dword [0x140030010]
mov qword [r11 + 0x10], rdi
movsd qword [rbp - 0x29], xmm0
mov byte [rbp - 0x21], al
movups xmmword [rbp - 0x39], xmm3
cmp esi, 2
jl 0x140023bee
movdqa xmm4, xmmword [0x14002c620]
movdqa xmm2, xmmword [0x14002c560]
movdqa xmm5, xmmword [0x14002c590]
movdqa xmm1, xmm2
movdqa xmm6, xmmword [0x14002c630]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd eax, xmm3
movdqa xmm3, xmmword [0x14002c5a0]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 2
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
psubb xmm2, xmm6
xorps xmm2, xmm0
movd dword [rbp - 0x39], xmm2
movdqa xmm2, xmmword [0x14002c570]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 2
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmm5
psubd xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm0, dword [rbp - 0x35]
andps xmm2, xmm7
pmuldq xmm1, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
psubb xmm2, xmm6
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x35], xmm2
movdqa xmm2, xmmword [0x14002c5b0]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 2
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rbp - 0x31]
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
pmuldq xmm1, xmm4
psubb xmm3, xmm6
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rbp - 0x31], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 2
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movdqa xmm3, xmmword [0x14002c5c0]
andps xmm2, xmm7
movd xmm0, dword [rbp - 0x2d]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
mov ecx, 0x18
packuswb xmm2, xmm2
packuswb xmm2, xmm2
psubb xmm2, xmm6
pmuldq xmm1, xmm4
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x2d], xmm2
movdqa xmm2, xmmword [0x14002c5d0]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 2
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rbp - 0x29]
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
pmuldq xmm1, xmm4
psubb xmm3, xmm6
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rbp - 0x29], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 2
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, dword [rbp - 0x25]
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
psubb xmm2, xmm6
xorps xmm2, xmm0
movd dword [rbp - 0x25], xmm2
mov eax, ecx
lea r8, [rbp - 0x39]
add r8, rax
nop word [rax + rax]
mov eax, 0x66666667
lea r8, [r8 + 1]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
shl al, 2
add dl, al
movzx eax, cl
add dl, dl
inc ecx
sub al, dl
sub al, 0x75
xor byte [r8 - 1], al
cmp ecx, 0x19
jl 0x140023c00
lea rcx, [rbp - 0x39]
call fcn.140001010
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rax
mov byte [rbp - 0x21], al
call fcn.140016cf0
mov ecx, 0xd2
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x140028d1d], bl
movups xmm0, xmmword [0x140028d00]
mov eax, dword [0x140028d18]
mov dword [rbp - 1], eax
movzx eax, word [0x140028d1c]
movups xmmword [rbp - 0x19], xmm0
mov word [rbp + 3], ax
movsd xmm0, qword [0x140028d10]
movsd qword [rbp - 9], xmm0
je 0x140023df1
mov ecx, ebx
cmp esi, 2
jl 0x140023db6
movdqa xmm0, xmmword [0x14002c630]
lea rdx, [rbp - 0x19]
movdqa xmm5, xmmword [0x14002c560]
movdqa xmm4, xmmword [0x14002c620]
movdqa xmm6, xmmword [0x14002c590]
movdqa xmmword [rbp - 0x49], xmm0
mov r8d, dword [rbp - 0x49]
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
movdqa xmm0, xmm2
pmuldq xmm1, xmm4
punpckhdq xmm0, xmm2
add ecx, 8
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 2
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
psubb 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, 2
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
psubb xmm3, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm3, xmm0
movd dword [rdx - 4], xmm3
cmp ecx, 0x18
jl 0x140023cd0
cmp ecx, 0x1e
jge 0x140023df1
movsxd rax, ecx
lea r8, [rbp - 0x19]
add r8, rax
mov eax, 0x66666667
lea r8, [r8 + 1]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
shl al, 2
add dl, al
movzx eax, cl
add dl, dl
inc ecx
sub al, dl
sub al, 0x75
xor byte [r8 - 1], al
cmp ecx, 0x1e
jl 0x140023dc0
lea rcx, [rbp - 0x19]
call fcn.140001010
xor eax, eax
xorps xmm0, xmm0
mov ecx, 1
mov qword [rbp - 9], rax
movups xmmword [rbp - 0x19], xmm0
mov dword [rbp - 1], eax
mov word [rbp + 3], ax
call fcn.140025ff0
xor ecx, ecx
mov qword [rbp - 0x49], rax
mov rdi, rax
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov rcx, rdi
call fcn.140002630
movups xmm0, xmmword [0x14002a750]
mov eax, dword [0x14002a768]
cmp esi, 2
mov rdi, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0xd0]
movups xmmword [rbp + 7], xmm0
mov dword [rbp + 0x1f], eax
movsd xmm0, qword [0x14002a760]
movzx eax, byte [0x14002a76c]
movsd qword [rbp + 0x17], xmm0
mov byte [rbp + 0x23], al
jl 0x140023f94
movdqa xmm0, xmmword [0x14002c630]
lea rcx, [rbp + 7]
movdqa xmm5, xmmword [0x14002c560]
movdqa xmm4, xmmword [0x14002c620]
movdqa xmm6, xmmword [0x14002c590]
movdqa xmmword [rbp - 0x49], xmm0
mov edx, dword [rbp - 0x49]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 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
movdqa xmm0, xmm2
pmuldq xmm1, xmm4
punpckhdq xmm0, xmm2
add ebx, 8
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 2
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, edx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
psubb 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, 2
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
movd xmm0, edx
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
psubb xmm3, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm3, xmm0
movd dword [rcx - 4], xmm3
cmp ebx, 0x18
jl 0x140023eb0
cmp ebx, 0x1d
jge 0x140023fd0
movsxd rax, ebx
lea rcx, [rbp + 7]
add rcx, rax
nop
mov eax, 0x66666667
lea rcx, [rcx + 1]
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
shl al, 2
add dl, al
movzx eax, bl
add dl, dl
inc ebx
sub al, dl
sub al, 0x75
xor byte [rcx - 1], al
cmp ebx, 0x1d
jl 0x140023fa0
lea rcx, [rbp + 7]
call fcn.140001010
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140025fd0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret