Function at 0x1800384a0
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.18003dc10
sub rsp, rax
movaps xmmword [rsp + 0x40a0], xmm6
movaps xmmword [rsp + 0x4090], xmm7
movaps xmmword [rsp + 0x4080], xmm8
mov rax, qword [0x180169010]
xor rax, rsp
mov qword [rbp + 0x3f70], rax
movzx esi, byte [0x1801699f5]
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 [0x180161638]
xor ebx, ebx
cmp byte [0x18016163d], bl
movsd xmm0, qword [0x180161630]
mov edi, dword [0x180169018]
mov dword [rsp + 0x28], eax
lea r14d, [rbx + 5]
movzx eax, word [0x18016163c]
lea r15d, [rbx + 0x1f]
mov word [rsp + 0x2c], ax
movsd qword [rsp + 0x20], xmm0
je 0x1800386e4
mov r8d, ebx
cmp edi, 2
jl 0x180038699
movdqa xmm2, xmmword [0x180161920]
mov r8d, 8
movdqa xmm3, xmmword [0x180161940]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x180161d70]
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 [0x180161950]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x180161630]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x180161960]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
pxor 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 [0x180161950]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x24]
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180161960]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
pxor xmm2, xmm0
movd dword [rsp + 0x24], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8d3dcb09
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, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x1800386b0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.180035aa0
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 [0x18016163d], bl
mov eax, dword [0x180161638]
movsd xmm0, qword [0x180161630]
mov dword [rsp + 0x28], eax
movzx eax, word [0x18016163c]
mov word [rsp + 0x2c], ax
movsd qword [rsp + 0x20], xmm0
je 0x1800388d4
mov r8d, ebx
cmp edi, 2
jl 0x18003888c
movdqa xmm2, xmmword [0x180161920]
mov r8d, 8
movdqa xmm3, xmmword [0x180161940]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x180161d70]
movdqa xmm0, xmm2
mov eax, dword [str.0000000000000000]
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 [0x180161950]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x180161960]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x180161630]
pxor 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 [0x180161950]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180161960]
movd xmm1, dword [rsp + 0x24]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
pxor xmm2, xmm1
movd dword [rsp + 0x24], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
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, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x1800388a0
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x1f60]
call fcn.180035aa0
lea r8, [0x180000000]
mov rdx, rsi
cmp esi, 7
ja case.default.0x180038906
movsxd rax, edx
mov ecx, dword [r8 + rax*4 + 0x38e00]
add rcx, r8
jmp rcx
cmp byte [0x180169993], bl
sete byte [0x180169993]
jmp case.default.0x180038906
cmp byte [0x180169992], bl
sete byte [0x180169992]
jmp case.default.0x180038906
cmp byte [0x1801699f3], bl
sete byte [0x1801699f3]
jmp case.default.0x180038906
cmp byte [0x1801699f0], bl
sete byte [0x1801699f0]
jmp case.default.0x180038906
cmp byte [0x1801699f1], bl
sete byte [0x1801699f1]
jmp case.default.0x180038906
cmp byte [0x1801699f2], bl
sete byte [0x1801699f2]
jmp case.default.0x180038906
cmp byte [0x180169991], bl
sete byte [0x180169991]
jmp case.default.0x180038906
cmp byte [0x180169251], bl
sete byte [0x180169251]
cmp sil, 7
je 0x180038dc4
cmp edx, 7
ja case.default.0x180038998
mov ecx, dword [r8 + rsi*4 + 0x38e20]
add rcx, r8
jmp rcx
movzx r8d, byte [0x180169993]
jmp 0x1800389f0
movzx r8d, byte [0x180169992]
jmp 0x1800389f0
movzx r8d, byte [0x1801699f3]
jmp 0x1800389f0
movzx r8d, byte [0x1801699f0]
jmp 0x1800389f0
movzx r8d, byte [0x1801699f1]
jmp 0x1800389f0
movzx r8d, byte [0x1801699f2]
jmp 0x1800389f0
movzx r8d, byte [0x180169991]
jmp 0x1800389f0
movzx r8d, byte [0x180169251]
jmp 0x1800389f0
movzx r8d, byte [rsp + 0x30]
movzx ecx, sil
call fcn.180038410
mov r10, rax
test r8b, r8b
je 0x180038bc5
mov eax, dword [0x180161658]
movsd xmm0, qword [0x180161650]
mov dword [rsp + 0x28], eax
movzx eax, word [0x18016165c]
mov word [rsp + 0x2c], ax
movzx eax, byte [0x18016165e]
mov byte [rsp + 0x2e], al
movsd qword [rsp + 0x20], xmm0
cmp edi, 2
jl 0x180038b50
movdqa xmm2, xmmword [0x180161920]
mov ebx, 8
movdqa xmm3, xmmword [0x180161940]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x180161d70]
movdqa xmm0, xmm2
mov eax, dword [str.0000000000000000]
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 [0x180161950]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x180161960]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x180161650]
pxor 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 [0x180161950]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180161960]
movd xmm1, dword [rsp + 0x24]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
pxor xmm2, xmm1
movd dword [rsp + 0x24], xmm2
movsxd rax, ebx
lea r8, [rsp + 0x20]
add r8, rax
nop dword [rax + rax]
mov eax, 0x8d3dcb09
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, 0x3a
movzx eax, bl
inc ebx
sub al, cl
add al, 0x30
xor byte [r8 - 1], al
cmp ebx, 0xf
jl 0x180038b60
mov r8, r10
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.180035b10
mov rax, qword [0x18016ae80]
cmp rax, qword [0x18016ae88]
je 0x180038bbb
lea rdx, [rsp + 0x50]
jmp 0x180038d9a
lea r8, [rsp + 0x50]
jmp 0x180038dbc
movups xmm0, xmmword [0x1801616c0]
movups xmmword [rsp + 0x20], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x180038d6f
cmp edi, 2
jl 0x180038d39
movdqa xmm0, xmmword [str.0000000000000000]
lea rcx, [rsp + 0x24]
movdqa xmm5, xmmword [0x180161920]
movdqa xmm4, xmmword [0x180161d70]
movdqa xmm7, xmmword [0x180161950]
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
pand xmm2, xmmword [0x180161960]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor 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
pand xmm2, xmmword [0x180161960]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x180038c30
jmp 0x180038d6f
lea r9, [rsp + 0x20]
nop
mov eax, 0x8d3dcb09
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, 0x3a
movzx eax, bl
inc ebx
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp ebx, 0x10
jl 0x180038d40
mov r8, r10
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x1f60]
call fcn.180035b10
mov rax, qword [0x18016ae80]
cmp rax, qword [0x18016ae88]
je 0x180038db5
lea rdx, [rbp + 0x1f60]
mov r8d, 0x2010
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
add qword [0x18016ae80], 0x2010
jmp 0x180038dc4
lea r8, [rbp + 0x1f60]
mov rdx, rax
call fcn.18003c570
mov rcx, qword [rbp + 0x3f70]
xor rcx, rsp
call fcn.18003c980
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