Function at 0x18006ab70
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x78
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movsd xmm0, qword [0x1800d5c20]
mov rdx, rax
ucomisd xmm0, qword [0x1800c2ba8]
jp 0x18006abc9
jne 0x18006abc9
lea rcx, [rax + 0xb5022d4]
lea r9, [rax + 0xb501e68]
mov qword [0x1800d6918], rcx
lea rcx, [rax + 0xb4d1e04]
mov qword [0x1800d6910], r9
mov qword [0x1800d6928], rcx
mov qword [0x1800d6920], r9
jmp 0x18006af4f
ucomisd xmm0, qword [0x1800c2b68]
jp 0x18006ac11
jne 0x18006ac11
lea r9, [rax + 0x6ad0958]
add rax, 0x6ad0be4
mov qword [0x1800d6918], rax
lea rcx, [rdx + 0x6ab25bc]
lea rax, [rdx + 0x6ad09d8]
mov qword [0x1800d6910], r9
mov qword [0x1800d6920], rax
mov qword [0x1800d6928], rcx
jmp 0x18006af4f
ucomisd xmm0, qword [0x1800c2b50]
jp 0x18006ac59
jne 0x18006ac59
lea r9, [rax + 0x5cd2b88]
add rax, 0x5cd2e90
mov qword [0x1800d6918], rax
lea rcx, [rdx + 0x5cbc4ac]
lea rax, [rdx + 0x5cd2cb8]
mov qword [0x1800d6910], r9
mov qword [0x1800d6920], rax
mov qword [0x1800d6928], rcx
jmp 0x18006af4f
cmp dword [0x1800d5c28], 0x13
jne 0x18006ae76
mov eax, dword [0x1800bfd40]
xor r8d, r8d
cmp dword [0x1800d4018], 2
movups xmm0, xmmword [0x1800bfd20]
mov dword [rsp + 0x50], eax
movups xmm1, xmmword [0x1800bfd30]
movzx eax, byte [0x1800bfd44]
movups xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x54], al
movups xmmword [rsp + 0x40], xmm1
jl 0x18006adf4
movdqa xmm0, xmmword [0x1800c2da0]
lea rcx, [rsp + 0x34]
movdqa xmm5, xmmword [0x1800c2cc0]
movdqa xmm4, xmmword [0x1800c2e00]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
movaps xmmword [rsp + 0x60], xmm7
movdqa xmm7, xmmword [0x1800c2cf0]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 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 r8d, 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, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800c2d70]
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
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 [0x1800c2d70]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x20
jl 0x18006ace0
movaps xmm7, xmmword [rsp + 0x60]
cmp r8d, 0x25
jge 0x18006ae34
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop
mov eax, 0x92492493
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, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9 - 1], al
cmp r8d, 0x25
jl 0x18006ae00
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x80]
call fcn.18001e960
mov rcx, rax
mov r9, qword [rax]
test r9, r9
je 0x18006ae62
movsxd rax, dword [r9 + 1]
add r9, 5
add r9, rax
mov qword [rcx], r9
movsd xmm0, qword [0x1800d5c20]
mov qword [0x1800d6910], r9
jmp 0x18006af48
ucomisd xmm0, qword [0x1800c2b30]
jp 0x18006aebe
jne 0x18006aebe
lea r9, [rax + 0x416a840]
add rax, 0x416aab8
mov qword [0x1800d6918], rax
lea rcx, [rdx + 0x41624c8]
lea rax, [rdx + 0x416a93c]
mov qword [0x1800d6910], r9
mov qword [0x1800d6920], rax
mov qword [0x1800d6928], rcx
jmp 0x18006af4f
ucomisd xmm0, qword [0x1800c2b28]
jp 0x18006af03
jne 0x18006af03
lea r9, [rax + 0x3e5496c]
add rax, 0x3e54bcc
mov qword [0x1800d6918], rax
lea rcx, [rdx + 0x3e4d768]
lea rax, [rdx + 0x3e54a68]
mov qword [0x1800d6910], r9
mov qword [0x1800d6920], rax
mov qword [0x1800d6928], rcx
jmp 0x18006af4f
ucomisd xmm0, qword [0x1800c2b18]
jp 0x18006af41
jne 0x18006af41
lea r9, [rax + 0x3decfc8]
add rax, 0x3ded158
lea rcx, [rdx + 0x3de5ce8]
mov qword [0x1800d6918], rax
mov qword [0x1800d6910], r9
mov qword [0x1800d6920], r9
mov qword [0x1800d6928], rcx
jmp 0x18006af4f
mov r9, qword [0x1800d6910]
mov rcx, qword [0x1800d6928]
test r9, r9
je 0x18006af81
xor r8d, r8d
lea rdx, [fcn.180050960]
mov rcx, r9
call fcn.180081c40
mov rcx, qword [0x1800d6910]
call fcn.180081ed8
movsd xmm0, qword [0x1800d5c20]
mov rcx, qword [0x1800d6928]
mov rax, qword [0x1800d6918]
test rax, rax
je 0x18006afba
xor r8d, r8d
lea rdx, [fcn.180050960]
mov rcx, rax
call fcn.180081c40
mov rcx, qword [0x1800d6918]
call fcn.180081ed8
movsd xmm0, qword [0x1800d5c20]
mov rcx, qword [0x1800d6928]
mov rax, qword [0x1800d6920]
test rax, rax
je 0x18006aff3
xor r8d, r8d
lea rdx, [fcn.180050960]
mov rcx, rax
call fcn.180081c40
mov rcx, qword [0x1800d6920]
call fcn.180081ed8
movsd xmm0, qword [0x1800d5c20]
mov rcx, qword [0x1800d6928]
test rcx, rcx
je 0x18006b03c
comisd xmm0, xmmword [0x1800c2ba8]
lea rdx, [0x18006ab30]
jb 0x18006b019
mov qword [0x1800d6938], rcx
lea r8, [0x1800d6938]
jmp 0x18006b027
mov qword [0x1800d6930], rcx
lea r8, [0x1800d6930]
call fcn.180081c40
mov rcx, qword [0x1800d6928]
add rsp, 0x78
jmp fcn.180081ed8
add rsp, 0x78
ret