Function at 0x18000cec0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r14
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov rax, qword [0x180056060]
xor rax, rsp
mov qword [rbp - 0x28], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x180059cdc]
mov edx, 4
mov r14, qword [rax + rcx*8]
add r14, rdx
mov eax, dword [r14]
cmp dword [0x18005ac6c], eax
jle 0x18000cf94
lea rcx, [0x18005ac6c]
call fcn.18000fb10
cmp dword [0x18005ac6c], 0xffffffff
jne 0x18000cf94
movzx eax, word [0x18004ff10]
lea rcx, [rsp + 0x50]
movsd xmm0, qword [str.OPT_b]
movsd qword [rsp + 0x50], xmm0
xor byte [rsp + 0x51], 0x39
xor byte [rsp + 0x52], 0x3a
xor byte [rsp + 0x53], 0x3b
xor byte [rsp + 0x54], 0x3c
xor byte [rsp + 0x55], 0x3d
xor byte [rsp + 0x56], 0x3e
xor byte [rsp + 0x57], 0x3f
mov word [rsp + 0x58], ax
movzx eax, byte [0x18004ff12]
xor byte [rsp + 0x58], 0x40
xor al, 0x42
xor byte [rsp + 0x59], 0x41
mov byte [rsp + 0x5a], al
mov byte [rsp + 0x50], 0x77
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x18005ac6c]
mov qword [0x18005ac70], rax
call fcn.18000fab0
cmp qword [0x18005ac70], 0
mov qword [rsp + 0x130], rbx
mov qword [rsp + 0x138], rsi
mov qword [rsp + 0x140], rdi
movaps xmmword [rsp + 0x100], xmm6
movaps xmmword [rsp + 0xf0], xmm7
movaps xmmword [rsp + 0xe0], xmm8
jne 0x18000d1ae
cmp byte [0x18004fe25], 0
mov eax, dword [0x18004fe20]
movups xmm0, xmmword [str.vMWP]
mov dword [rsp + 0x70], eax
movzx eax, word [0x18004fe24]
movups xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x74], ax
je 0x18000d19d
xor ebx, ebx
cmp dword [0x180056070], 2
jl 0x18000d164
movdqa xmm0, xmmword [str.8888888888888888]
lea rcx, [rsp + 0x64]
movdqa xmm5, xmmword [0x18004ff20]
mov edi, 4
movdqa xmm4, xmmword [0x18004ff60]
mov esi, 0x1f
movdqa xmm7, xmmword [str.6666]
movdqa xmmword [rsp + 0x50], xmm0
mov edx, dword [rsp + 0x50]
movd xmm6, edi
movd xmm8, esi
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
pand xmm2, xmmword [0x18004ff40]
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
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 [0x18004ff40]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x18000d060
cmp ebx, 0x16
jge 0x18000d19d
movsxd rax, ebx
lea r8, [rsp + 0x60]
add r8, rax
nop
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, bl
inc ebx
sub al, cl
add al, 0x38
xor byte [r8 - 1], al
cmp ebx, 0x16
jl 0x18000d170
lea rcx, [rsp + 0x60]
call fcn.180001140
xor al, al
jmp 0x18000d620
mov eax, dword [r14]
xor ebx, ebx
cmp dword [0x18005ac78], eax
mov qword [rsp + 0x110], r15
mov r15d, dword [0x180056070]
lea edi, [rbx + 4]
lea esi, [rbx + 0x1f]
jle 0x18000d3d6
lea rcx, [0x18005ac78]
call fcn.18000fb10
cmp dword [0x18005ac78], 0xffffffff
jne 0x18000d3d6
mov eax, dword [str.1_:0_]
mov r8d, ebx
mov dword [rbp - 0x80], eax
movzx eax, word [0x18004fe4c]
mov word [rbp - 0x7c], ax
movups xmm0, xmmword [str.vMxSPNP3_6]
movups xmm1, xmmword [0x18004fe38]
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm1
cmp r15d, 2
jl 0x18000d369
movdqa xmm0, xmmword [str.8888888888888888]
lea rcx, [rsp + 0x64]
movdqa xmm5, xmmword [0x18004ff20]
movdqa xmm4, xmmword [0x18004ff60]
movdqa xmm7, xmmword [str.6666]
movdqa xmmword [rsp + 0x50], xmm0
mov edx, dword [rsp + 0x50]
movd xmm6, edi
movd xmm8, esi
nop
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
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 [0x18004ff40]
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
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 [0x18004ff40]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x20
jl 0x18000d260
cmp r8d, 0x26
jge 0x18000d3b1
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0x26
jl 0x18000d380
mov rcx, qword [0x18005ac70]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x18005ac78]
mov qword [0x18005ac80], rax
call fcn.18000fab0
mov rax, qword [0x18005ac80]
test rax, rax
jne 0x18000d5ab
cmp byte [0x18004feeb], bl
movups xmm0, xmmword [str.LTXHTQQ__6_54h__l_:_5XS]
mov eax, dword [0x18004fee8]
movsd xmm1, qword [0x18004fee0]
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x78], eax
movsd qword [rsp + 0x70], xmm1
je 0x18000d59d
cmp r15d, 2
jl 0x18000d564
movdqa xmm0, xmmword [str.8888888888888888]
lea rcx, [rsp + 0x64]
movdqa xmm5, xmmword [0x18004ff20]
movdqa xmm4, xmmword [0x18004ff60]
movdqa xmm7, xmmword [str.6666]
movdqa xmmword [rsp + 0x50], xmm0
mov edx, dword [rsp + 0x50]
movd xmm6, edi
movd xmm8, esi
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
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 [0x18004ff40]
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
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 [0x18004ff40]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x18
jl 0x18000d460
cmp ebx, 0x1c
jge 0x18000d59d
movsxd rax, ebx
lea r8, [rsp + 0x60]
add r8, rax
nop
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, bl
inc ebx
sub al, cl
add al, 0x38
xor byte [r8 - 1], al
cmp ebx, 0x1c
jl 0x18000d570
lea rcx, [rsp + 0x60]
call fcn.180001140
xor al, al
jmp 0x18000d618
lea rdx, [rbp - 0x30]
mov qword [0x18005ab98], rax
mov qword [rsp + 0x40], rdx
xorps xmm0, xmm0
lea rdx, [rbp - 0x70]
mov qword [rbp - 0x68], rbx
mov qword [rsp + 0x38], rdx
xorps xmm1, xmm1
mov edx, 0xc4a9fbe
mov byte [rsp + 0x30], bl
mov ecx, edx
mov qword [rsp + 0x28], 0xc4a9fbe
mov r9d, edx
mov qword [rbp - 0x60], rbx
mov r8d, edx
mov qword [rbp - 0x58], rbx
movdqu xmmword [rbp - 0x50], xmm0
movdqu xmmword [rbp - 0x40], xmm1
mov qword [rbp - 0x70], 0xc4a9fbe
mov qword [rsp + 0x20], 0xc4a9fbe
call rax
cmp qword [rbp - 0x58], 0x2000
sete al
mov r15, qword [rsp + 0x110]
movaps xmm8, xmmword [rsp + 0xe0]
movaps xmm7, xmmword [rsp + 0xf0]
movaps xmm6, xmmword [rsp + 0x100]
mov rdi, qword [rsp + 0x140]
mov rsi, qword [rsp + 0x138]
mov rbx, qword [rsp + 0x130]
mov rcx, qword [rbp - 0x28]
xor rcx, rsp
call fcn.18000f960
add rsp, 0x118
pop r14
pop rbp
ret