Function at 0x180001000
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x3f]
sub rsp, 0xa0
mov rax, qword [0x18000d040]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov eax, dword [0x18000b3b0]
xor ebx, ebx
cmp dword [0x18000d088], 2
mov rdi, r9
movups xmm0, xmmword [str._eDXLYOjTLK5_.]
mov rsi, qword [rbp + 0x7f]
mov ecx, ebx
mov dword [rbp - 0x11], eax
movzx eax, word [0x18000b3b4]
mov word [rbp - 0xd], ax
movzx eax, byte [0x18000b3b6]
mov byte [rbp - 0xb], al
mov qword [rbp - 1], rdx
mov qword [rbp + 0xf], 0x100
movups xmmword [rbp - 0x21], xmm0
jl 0x1800011c4
movdqa xmm0, xmmword [str.3333333333333333]
lea rdx, [rbp - 0x1d]
movdqa xmm5, xmmword [0x18000b5e0]
movdqa xmm4, xmmword [0x18000b640]
movdqa xmmword [rbp - 0x31], xmm0
mov r8d, dword [rbp - 0x31]
movaps xmmword [rsp + 0x90], xmm6
movdqa xmm6, xmmword [0x18000b600]
nop dword [rax]
nop dword [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
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x18000b610]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18000b610]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x1800010b0
movaps xmm6, xmmword [rsp + 0x90]
cmp ecx, 0x17
jge 0x180001201
movsxd rax, ecx
lea r8, [rbp - 0x21]
add r8, rax
nop
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x33
add dl, cl
inc ecx
xor byte [r8 - 1], dl
cmp ecx, 0x17
jl 0x1800011d0
cmp byte [0x18000b3d9], bl
movsd xmm0, qword [0x18000b3d0]
movzx eax, word [0x18000b3d8]
movsd qword [rbp - 0x31], xmm0
mov word [rbp - 0x29], ax
je 0x180001249
xor byte [rbp - 0x30], 0x34
xor byte [rbp - 0x2f], 0x35
xor byte [rbp - 0x2e], 0x36
xor byte [rbp - 0x2d], 0x37
xor byte [rbp - 0x2c], 0x38
xor byte [rbp - 0x2b], 0x39
xor byte [rbp - 0x2a], 0x3a
xor byte [rbp - 0x29], 0x3b
xor byte [rbp - 0x28], 0x3c
mov byte [rbp - 0x31], 0x4e
lea rcx, [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9, rdi
mov qword [rsp + 0x20], rsi
lea r8, [rbp + 0xf]
mov rcx, 0xffffffffffffffff
lea rdx, [rbp - 1]
call rax
test al, al
sete bl
mov eax, ebx
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.180009050
mov rbx, qword [rsp + 0xc0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret