Function at 0x18003ba80
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.1800409e0
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 [0x18016d96c]
mov r14d, 1
mov dword [rsp + 0x50], r14d
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 [0x180165de8]
lea r15d, [r14 + 0x1e]
movsd xmm0, qword [str._OIO_L__b__E]
xor ebx, ebx
cmp byte [0x180165ded], bl
mov edi, dword [0x18016d018]
mov dword [rsp + 0x28], eax
movzx eax, word [0x180165dec]
mov word [rsp + 0x2c], ax
movsd qword [rsp + 0x20], xmm0
je 0x18003bcb0
mov r8d, ebx
cmp edi, 2
jl 0x18003bc6c
movdqa xmm2, xmmword [0x1801660e0]
mov r8d, 8
movdqa xmm4, xmmword [0x180166160]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x180166100]
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 [0x180166110]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str._OIO_L__b__E]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x180166150]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180166170]
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 [0x180166110]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x24]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180166150]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180166170]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x18003bc80
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 [0x180165ded], bl
mov eax, dword [0x180165de8]
movsd xmm0, qword [str._OIO_L__b__E]
mov dword [rsp + 0x28], eax
movzx eax, word [0x180165dec]
mov word [rsp + 0x2c], ax
movsd qword [rsp + 0x20], xmm0
je 0x18003be90
mov r8d, ebx
cmp edi, 2
jl 0x18003be4c
movdqa xmm2, xmmword [0x1801660e0]
mov r8d, 8
movdqa xmm4, xmmword [0x180166160]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x180166100]
movdqa xmm0, xmm2
mov eax, dword [0x180166170]
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 [0x180166110]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x180166150]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str._OIO_L__b__E]
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 [0x180166110]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180166150]
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 word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x18003be60
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x1f60]
call fcn.180039160
lea r8, [0x180000000]
mov rdx, rsi
cmp esi, 5
ja case.default.0x18003bebe
movsxd rax, edx
mov ecx, dword [r8 + rax*4 + 0x3c37c]
add rcx, r8
jmp rcx
cmp byte [0x18016d952], bl
sete byte [0x18016d952]
jmp case.default.0x18003bebe
cmp byte [0x18016d956], bl
sete byte [0x18016d956]
jmp case.default.0x18003bebe
cmp byte [0x18016d954], bl
sete byte [0x18016d954]
jmp case.default.0x18003bebe
cmp byte [0x18016d955], bl
sete byte [0x18016d955]
jmp case.default.0x18003bebe
cmp byte [0x18016d951], bl
sete byte [0x18016d951]
jmp case.default.0x18003bebe
cmp byte [0x18016d251], bl
sete byte [0x18016d251]
cmp sil, 5
je 0x18003c341
cmp edx, 5
ja case.default.0x18003bf32
mov ecx, dword [r8 + rsi*4 + 0x3c394]
add rcx, r8
jmp rcx
movzx r8d, byte [0x18016d952]
jmp 0x18003bf76
movzx r8d, byte [0x18016d956]
jmp 0x18003bf76
movzx r8d, byte [0x18016d954]
jmp 0x18003bf76
movzx r8d, byte [0x18016d955]
jmp 0x18003bf76
movzx r8d, byte [0x18016d951]
jmp 0x18003bf76
movzx r8d, byte [0x18016d251]
jmp 0x18003bf76
movzx r8d, byte [rsp + 0x30]
movzx ecx, sil
call fcn.18003ba10
mov r10, rax
test r8b, r8b
je 0x18003c142
mov eax, dword [0x180165f10]
movsd xmm0, qword [0x180165f08]
mov dword [rsp + 0x28], eax
movzx eax, word [0x180165f14]
mov word [rsp + 0x2c], ax
movzx eax, byte [0x180165f16]
mov byte [rsp + 0x2e], al
movsd qword [rsp + 0x20], xmm0
cmp edi, 2
jl 0x18003c0ca
movdqa xmm2, xmmword [0x1801660e0]
mov ebx, 8
movdqa xmm4, xmmword [0x180166160]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x180166100]
movdqa xmm0, xmm2
mov eax, dword [0x180166170]
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 [0x180166110]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x180166150]
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 [0x180166110]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180166150]
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, 0x94f2095
lea r8, [r8 + 1]
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, bl
inc ebx
sub al, cl
add al, 0x38
xor byte [r8 - 1], al
cmp ebx, 0xf
jl 0x18003c0e0
mov r8, r10
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1800391d0
mov rax, qword [0x18016ee40]
cmp rax, qword [0x18016ee48]
je 0x18003c138
lea rdx, [rsp + 0x50]
jmp 0x18003c317
lea r8, [rsp + 0x50]
jmp 0x18003c339
movups xmm0, xmmword [0x180165ec0]
movups xmmword [rsp + 0x20], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x18003c2ec
cmp edi, 2
jl 0x18003c2ad
movdqa xmm0, xmmword [0x180166170]
lea rcx, [rsp + 0x24]
movdqa xmm5, xmmword [0x1801660e0]
movdqa xmm4, xmmword [0x180166160]
movdqa xmm7, xmmword [0x180166110]
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 [0x180166150]
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 [0x180166150]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x18003c1b0
jmp 0x18003c2ec
lea r9, [rsp + 0x20]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, bl
inc ebx
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp ebx, 0x10
jl 0x18003c2c0
mov r8, r10
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x1f60]
call fcn.1800391d0
mov rax, qword [0x18016ee40]
cmp rax, qword [0x18016ee48]
je 0x18003c332
lea rdx, [rbp + 0x1f60]
mov r8d, 0x2010
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
add qword [0x18016ee40], 0x2010
jmp 0x18003c341
lea r8, [rbp + 0x1f60]
mov rdx, rax
call fcn.18003f5e0
mov rcx, qword [rbp + 0x3f70]
xor rcx, rsp
call fcn.18003f9c0
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