Function at 0x180099c50
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
call fcn.1800994e0
test al, al
jne 0x180099c82
call fcn.1800986c0
test al, al
je 0x18009a133
call fcn.1800112a0
xor ecx, ecx
cmp dword [rax], 1
jne 0x180099e75
movups xmm0, xmmword [0x180150e10]
movups xmmword [rbp - 0x76], xmm0
movups xmm1, xmmword [0x180150e20]
movups xmmword [rbp - 0x66], xmm1
movups xmm0, xmmword [0x180150e30]
movups xmmword [rbp - 0x56], xmm0
movups xmm1, xmmword [str._rWTD]
movups xmmword [rbp - 0x46], xmm1
movsd xmm0, qword [0x180150e50]
movsd qword [rbp - 0x36], xmm0
movzx eax, word [0x180150e58]
mov word [rbp - 0x2e], ax
movzx eax, byte [0x180150e5a]
mov byte [rbp - 0x2c], al
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x180099e30
movdqa xmm5, xmmword [0x180151790]
movdqa xmm4, xmmword [0x180151970]
mov eax, 4
movd xmm6, eax
movdqa xmm7, xmmword [0x1801517b0]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x1801518c0]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rbp - 0x72]
mov r8d, dword [rsp + 0x20]
nop
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
andps xmm2, xmmword [0x1801518a0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801518a0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x48
jl 0x180099d30
cmp ecx, 0x4b
jge 0x180099e6c
movsxd rax, ecx
lea r8, [rbp - 0x76]
add r8, rax
nop word [rax + rax]
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x4b
jl 0x180099e40
lea rdx, [rbp - 0x76]
jmp 0x18009a041
movups xmm0, xmmword [str.mZCE]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x180151078]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x180151088]
movups xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [str.DW_WY_I]
movsd qword [rbp - 0x80], xmm0
movzx eax, word [0x1801510a0]
mov word [rbp - 0x78], ax
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x18009a001
movdqa xmm5, xmmword [0x180151790]
movdqa xmm4, xmmword [0x180151970]
mov eax, 4
movd xmm6, eax
movdqa xmm7, xmmword [0x1801517b0]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x1801518c0]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x54]
mov r8d, dword [rsp + 0x20]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
andps xmm2, xmmword [0x1801518a0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801518a0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x38
jl 0x180099f01
cmp ecx, 0x3a
jge 0x18009a03c
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x3a
jl 0x18009a010
lea rdx, [rsp + 0x50]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x18009a060
lea rcx, [rsp + 0x30]
call fcn.180006940
nop
movsd xmm0, qword [str.fPECYKNRRZ_]
movsd qword [rsp + 0x20], xmm0
movzx ecx, word [0x180150f10]
mov word [rsp + 0x28], cx
movzx eax, byte [0x180150f12]
mov byte [rsp + 0x20], 0x52
xor byte [rsp + 0x21], 0x35
xor byte [rsp + 0x22], 0x36
xor byte [rsp + 0x23], 0x37
xor byte [rsp + 0x24], 0x38
xor byte [rsp + 0x25], 0x39
xor byte [rsp + 0x26], 0x3a
xor byte [rsp + 0x27], 0x3b
xor cl, 0x3c
mov byte [rsp + 0x28], cl
xor byte [rsp + 0x29], 0x3d
xor al, 0x3e
mov byte [rsp + 0x2a], al
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
mov r9d, 1
lea r8, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call fcn.18009a160
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x18009a133
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009a12e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009a14f
call fcn.1800afc8c
lea r11, [rsp + 0x110]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret
call fcn.1800bbb24
int3