Function at 0x18003bea0
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.180041150
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 [0x180165f30]
xor ebx, ebx
cmp byte [0x180165f35], bl
movsd xmm0, qword [str.tVUACE_J]
mov edi, dword [0x18016d018]
mov dword [rsp + 0x28], eax
lea r14d, [rbx + 5]
movzx eax, word [0x180165f34]
lea r15d, [rbx + 0x1f]
mov word [rsp + 0x2c], ax
movsd qword [rsp + 0x20], xmm0
je 0x18003c0d4
mov r8d, ebx
cmp edi, 2
jl 0x18003c095
movdqa xmm2, xmmword [0x1801661c0]
mov r8d, 8
movdqa xmm3, xmmword [0x1801661e0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x180166330]
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
paddd xmm1, xmm2
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 [str.tVUACE_J]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x180166230]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.2222222222222222]
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
paddd xmm1, xmm3
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.2222222222222222]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
mov eax, 0xa0a0a0a1
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, 0x33
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x18003c0a0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.180039170
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 [0x180165f35], bl
mov eax, dword [0x180165f30]
movsd xmm0, qword [str.tVUACE_J]
mov dword [rsp + 0x28], eax
movzx eax, word [0x180165f34]
mov word [rsp + 0x2c], ax
movsd qword [rsp + 0x20], xmm0
je 0x18003c2c4
mov r8d, ebx
cmp edi, 2
jl 0x18003c278
movdqa xmm2, xmmword [0x1801661c0]
mov r8d, 8
movdqa xmm3, xmmword [0x1801661e0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x180166330]
movdqa xmm0, xmm2
mov eax, dword [str.2222222222222222]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r14d
movd xmm5, r15d
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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 [str.tVUACE_J]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x20], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
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]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
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, 0x33
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x18003c290
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x1f60]
call fcn.180039170
lea r8, [0x180000000]
mov rdx, rsi
cmp esi, 7
ja case.default.0x18003c2f6
movsxd rax, edx
mov ecx, dword [r8 + rax*4 + 0x3c7f0]
add rcx, r8
jmp rcx
cmp byte [0x18016d953], bl
sete byte [0x18016d953]
jmp case.default.0x18003c2f6
cmp byte [0x18016d952], bl
sete byte [0x18016d952]
jmp case.default.0x18003c2f6
cmp byte [0x18016d957], bl
sete byte [0x18016d957]
jmp case.default.0x18003c2f6
cmp byte [0x18016d954], bl
sete byte [0x18016d954]
jmp case.default.0x18003c2f6
cmp byte [0x18016d955], bl
sete byte [0x18016d955]
jmp case.default.0x18003c2f6
cmp byte [0x18016d956], bl
sete byte [0x18016d956]
jmp case.default.0x18003c2f6
cmp byte [0x18016d951], bl
sete byte [0x18016d951]
jmp case.default.0x18003c2f6
cmp byte [0x18016d251], bl
sete byte [0x18016d251]
cmp sil, 7
je 0x18003c7b4
cmp edx, 7
ja case.default.0x18003c388
mov ecx, dword [r8 + rsi*4 + 0x3c810]
add rcx, r8
jmp rcx
movzx r8d, byte [0x18016d953]
jmp 0x18003c3e0
movzx r8d, byte [0x18016d952]
jmp 0x18003c3e0
movzx r8d, byte [0x18016d957]
jmp 0x18003c3e0
movzx r8d, byte [0x18016d954]
jmp 0x18003c3e0
movzx r8d, byte [0x18016d955]
jmp 0x18003c3e0
movzx r8d, byte [0x18016d956]
jmp 0x18003c3e0
movzx r8d, byte [0x18016d951]
jmp 0x18003c3e0
movzx r8d, byte [0x18016d251]
jmp 0x18003c3e0
movzx r8d, byte [rsp + 0x30]
movzx ecx, sil
call fcn.18003be10
mov r10, rax
test r8b, r8b
je 0x18003c5b5
mov eax, dword [0x180165ee0]
movsd xmm0, qword [0x180165ed8]
mov dword [rsp + 0x28], eax
movzx eax, word [0x180165ee4]
mov word [rsp + 0x2c], ax
movzx eax, byte [0x180165ee6]
mov byte [rsp + 0x2e], al
movsd qword [rsp + 0x20], xmm0
cmp edi, 2
jl 0x18003c53c
movdqa xmm2, xmmword [0x1801661c0]
mov ebx, 8
movdqa xmm3, xmmword [0x1801661e0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x180166330]
movdqa xmm0, xmm2
mov eax, dword [str.2222222222222222]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r14d
movd xmm5, r15d
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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 [0x180165ed8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x20], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
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 word [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, bl
inc ebx
sub al, cl
add al, 0x32
xor byte [r8 - 1], al
cmp ebx, 0xf
jl 0x18003c550
mov r8, r10
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1800391e0
mov rax, qword [0x18016ee40]
cmp rax, qword [0x18016ee48]
je 0x18003c5ab
lea rdx, [rsp + 0x50]
jmp 0x18003c78a
lea r8, [rsp + 0x50]
jmp 0x18003c7ac
movups xmm0, xmmword [0x180165fc0]
movups xmmword [rsp + 0x20], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x18003c75f
cmp edi, 2
jl 0x18003c725
movdqa xmm0, xmmword [str.2222222222222222]
lea rcx, [rsp + 0x24]
movdqa xmm5, xmmword [0x1801661c0]
movdqa xmm4, xmmword [0x180166330]
movdqa xmm7, xmmword [0x1801661f0]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x40]
movd xmm6, r14d
movd xmm8, r15d
nop dword [rax]
nop dword [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
paddd xmm1, xmm2
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
paddd xmm1, xmm3
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 0x18003c620
jmp 0x18003c75f
lea r9, [rsp + 0x20]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, bl
inc ebx
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp ebx, 0x10
jl 0x18003c730
mov r8, r10
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x1f60]
call fcn.1800391e0
mov rax, qword [0x18016ee40]
cmp rax, qword [0x18016ee48]
je 0x18003c7a5
lea rdx, [rbp + 0x1f60]
mov r8d, 0x2010
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
add qword [0x18016ee40], 0x2010
jmp 0x18003c7b4
lea r8, [rbp + 0x1f60]
mov rdx, rax
call fcn.18003fd50
mov rcx, qword [rbp + 0x3f70]
xor rcx, rsp
call fcn.180040130
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