Function at 0x18003be60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x3fb0]
mov eax, 0x40b0
call fcn.180041040
sub rsp, rax
movaps xmmword [rsp + 0x40a0], xmm6
movaps xmmword [rsp + 0x4090], xmm7
movaps xmmword [rsp + 0x4080], xmm8
mov rax, qword [0x18016d010]
xor rax, rsp
mov qword [rbp + 0x3f70], rax
movzx esi, byte [0x18016d96d]
mov dword [rsp + 0x50], 1
mov dword [rbp + 0x1f54], 0x708
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
xor edx, edx
lea rcx, [rsp + 0x54]
mov r8d, 0x1000
mov qword [rbp + 0x1f58], rax
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0xf54]
mov r8d, 0x1000
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x180165f10]
xor ebx, ebx
cmp byte [0x180165f15], bl
movsd xmm0, qword [0x180165f08]
mov edi, dword [0x18016d018]
mov dword [rsp + 0x28], eax
lea r14d, [rbx + 4]
movzx eax, word [0x180165f14]
lea r15d, [rbx + 0x1f]
mov word [rsp + 0x2c], ax
movsd qword [rsp + 0x20], xmm0
je 0x18003c091
mov r8d, ebx
cmp edi, 2
jl 0x18003c04d
movdqa xmm2, xmmword [0x1801661c0]
mov r8d, 8
movdqa xmm4, xmmword [0x180166310]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1801661e0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r14d
movd xmm5, r15d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801661f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x180165f08]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x180166230]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.4444444444444444]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x20], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801661f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x24]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180166230]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.4444444444444444]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop dword [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x18003c060
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.180039160
mov dword [rbp + 0x1f60], 3
mov dword [rbp + 0x3f64], 0x708
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
xor edx, edx
lea rcx, [rbp + 0x1f64]
mov r8d, 0x1000
mov qword [rbp + 0x3f68], rax
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x2f64]
mov r8d, 0x1000
call sub.VCRUNTIME140.dll_memset
cmp byte [0x180165f15], bl
mov eax, dword [0x180165f10]
movsd xmm0, qword [0x180165f08]
mov dword [rsp + 0x28], eax
movzx eax, word [0x180165f14]
mov word [rsp + 0x2c], ax
movsd qword [rsp + 0x20], xmm0
je 0x18003c271
mov r8d, ebx
cmp edi, 2
jl 0x18003c22d
movdqa xmm2, xmmword [0x1801661c0]
mov r8d, 8
movdqa xmm4, xmmword [0x180166310]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1801661e0]
movdqa xmm0, xmm2
mov eax, dword [str.4444444444444444]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r14d
movd xmm5, r15d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801661f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x180166230]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x180165f08]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x20], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801661f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180166230]
movd xmm1, dword [rsp + 0x24]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x24], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop dword [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x18003c240
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x1f60]
call fcn.180039160
lea r8, [0x180000000]
mov rdx, rsi
cmp esi, 7
ja case.default.0x18003c2a3
movsxd rax, edx
mov ecx, dword [r8 + rax*4 + 0x3c790]
add rcx, r8
jmp rcx
cmp byte [0x18016d953], bl
sete byte [0x18016d953]
jmp case.default.0x18003c2a3
cmp byte [0x18016d952], bl
sete byte [0x18016d952]
jmp case.default.0x18003c2a3
cmp byte [0x18016d957], bl
sete byte [0x18016d957]
jmp case.default.0x18003c2a3
cmp byte [0x18016d954], bl
sete byte [0x18016d954]
jmp case.default.0x18003c2a3
cmp byte [0x18016d955], bl
sete byte [0x18016d955]
jmp case.default.0x18003c2a3
cmp byte [0x18016d956], bl
sete byte [0x18016d956]
jmp case.default.0x18003c2a3
cmp byte [0x18016d951], bl
sete byte [0x18016d951]
jmp case.default.0x18003c2a3
cmp byte [0x18016d251], bl
sete byte [0x18016d251]
cmp sil, 7
je 0x18003c752
cmp edx, 7
ja case.default.0x18003c335
mov ecx, dword [r8 + rsi*4 + 0x3c7b0]
add rcx, r8
jmp rcx
movzx r8d, byte [0x18016d953]
jmp 0x18003c38d
movzx r8d, byte [0x18016d952]
jmp 0x18003c38d
movzx r8d, byte [0x18016d957]
jmp 0x18003c38d
movzx r8d, byte [0x18016d954]
jmp 0x18003c38d
movzx r8d, byte [0x18016d955]
jmp 0x18003c38d
movzx r8d, byte [0x18016d956]
jmp 0x18003c38d
movzx r8d, byte [0x18016d951]
jmp 0x18003c38d
movzx r8d, byte [0x18016d251]
jmp 0x18003c38d
movzx r8d, byte [rsp + 0x30]
movzx ecx, sil
call fcn.18003bdd0
mov r10, rax
test r8b, r8b
je 0x18003c553
mov eax, dword [0x180165fd0]
movsd xmm0, qword [0x180165fc8]
mov dword [rsp + 0x28], eax
movzx eax, word [0x180165fd4]
mov word [rsp + 0x2c], ax
movzx eax, byte [0x180165fd6]
mov byte [rsp + 0x2e], al
movsd qword [rsp + 0x20], xmm0
cmp edi, 2
jl 0x18003c4e1
movdqa xmm2, xmmword [0x1801661c0]
mov ebx, 8
movdqa xmm4, xmmword [0x180166310]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1801661e0]
movdqa xmm0, xmm2
mov eax, dword [str.4444444444444444]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r14d
movd xmm5, r15d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801661f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x180166230]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x180165fc8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x20], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801661f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180166230]
movd xmm1, dword [rsp + 0x24]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x24], xmm2
movsxd rax, ebx
lea r8, [rsp + 0x20]
add r8, rax
nop dword [rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, bl
inc ebx
sub al, cl
add al, 0x34
xor byte [r8 - 1], al
cmp ebx, 0xf
jl 0x18003c4f0
mov r8, r10
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1800391d0
mov rax, qword [0x18016ee40]
cmp rax, qword [0x18016ee48]
je 0x18003c549
lea rdx, [rsp + 0x50]
jmp 0x18003c728
lea r8, [rsp + 0x50]
jmp 0x18003c74a
movups xmm0, xmmword [0x180165fb8]
movups xmmword [rsp + 0x20], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x18003c6fd
cmp edi, 2
jl 0x18003c6bd
movdqa xmm0, xmmword [str.4444444444444444]
lea rcx, [rsp + 0x24]
movdqa xmm5, xmmword [0x1801661c0]
movdqa xmm4, xmmword [0x180166310]
movdqa xmm7, xmmword [0x1801661f0]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x40]
movd xmm6, r14d
movd xmm8, r15d
nop dword [rax]
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
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x180166230]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180166230]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x18003c5c0
jmp 0x18003c6fd
lea r9, [rsp + 0x20]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, bl
inc ebx
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp ebx, 0x10
jl 0x18003c6d0
mov r8, r10
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x1f60]
call fcn.1800391d0
mov rax, qword [0x18016ee40]
cmp rax, qword [0x18016ee48]
je 0x18003c743
lea rdx, [rbp + 0x1f60]
mov r8d, 0x2010
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
add qword [0x18016ee40], 0x2010
jmp 0x18003c752
lea r8, [rbp + 0x1f60]
mov rdx, rax
call fcn.18003fc40
mov rcx, qword [rbp + 0x3f70]
xor rcx, rsp
call fcn.180040020
lea r11, [rsp + 0x40b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret