Function at 0x18009a390
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xc0
movups xmm3, xmmword [0x180182a18]
xor ebx, ebx
movsd xmm0, qword [0x180182a28]
cmp byte [0x180182a2f], bl
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x180143490]
mov qword [r11 + 8], rdi
mov edi, dword [reloc.WS2_32.dll_accept]
movups xmmword [rbp - 0x39], xmm3
movsd qword [rbp - 0x29], xmm0
je 0x18009a693
mov r8d, ebx
cmp edi, 2
jl 0x18009a659
movdqa xmm4, xmmword [0x180184b70]
movdqa xmm2, xmmword [0x18013cb90]
movdqa xmm5, xmmword [str.8888]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd eax, xmm3
movdqa xmm3, xmmword [0x1801433f0]
movaps xmmword [r11 - 0x18], xmm6
movdqa xmm6, xmmword [str.6666666666666666]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
xorps xmm2, xmm0
movd dword [rbp - 0x39], xmm2
movdqa xmm2, xmmword [0x1801433e0]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmulld xmm0, xmm5
psubd xmm2, xmm0
pmuldq xmm1, xmm4
movd xmm0, dword [rbp - 0x35]
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x35], xmm2
movdqa xmm2, xmmword [0x180143400]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rbp - 0x31]
andps xmm3, xmm7
packuswb xmm3, xmm3
pmuldq xmm1, xmm4
packuswb xmm3, xmm3
paddb xmm3, xmm6
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rbp - 0x31], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm3, xmmword [0x180143410]
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmm5
psubd xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm0, dword [rbp - 0x2d]
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
pmuldq xmm1, xmm4
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x2d], xmm2
movdqa xmm2, xmmword [0x180143420]
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rbp - 0x29]
andps xmm3, xmm7
packuswb xmm3, xmm3
pmuldq xmm1, xmm4
packuswb xmm3, xmm3
paddb xmm3, xmm6
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rbp - 0x29], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, dword [rbp - 0x25]
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movaps xmm6, xmmword [r11 - 0x18]
xorps xmm2, xmm0
movd dword [rbp - 0x25], xmm2
jmp 0x18009a693
lea r9, [rbp - 0x39]
nop dword [rax]
mov eax, 0x24924925
lea r9, [r9 + 1]
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x18
jl 0x18009a660
lea rcx, [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movups xmm0, xmmword [0x180182a30]
cmp edi, 2
movups xmm1, xmmword [0x180182a40]
mov r9, rax
movzx eax, word [0x180182a78]
mov rdi, qword [rsp + 0xd0]
movups xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [0x180182a50]
movups xmmword [rbp + 7], xmm0
movsd xmm0, qword [0x180182a70]
movups xmmword [rbp - 9], xmm1
movups xmm1, xmmword [0x180182a60]
movsd qword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x17], xmm1
mov word [rbp + 0x2f], ax
jl 0x18009a81c
movdqa xmm0, xmmword [str.6666666666666666]
lea rcx, [rbp - 0x15]
movdqa xmm4, xmmword [0x18013cb90]
movdqa xmm3, xmmword [0x180184b70]
movdqa xmm5, xmmword [str.8888]
movdqa xmmword [rbp - 0x49], xmm0
mov edx, dword [rbp - 0x49]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x48
jl 0x18009a730
cmp ebx, 0x4a
jge 0x18009a85f
movsxd rax, ebx
lea r8, [rbp - 0x19]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, bl
inc ebx
sub al, cl
add al, 0x36
xor byte [r8 - 1], al
cmp ebx, 0x4a
jl 0x18009a830
lea rdx, [rbp - 0x19]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov ecx, 0x8d50e33a
call rbx
mov ecx, 0x637f4c75
mov qword [0x1802b4410], rax
call rbx
movabs rcx, 0xb346476ef1a64897
mov qword [0x1802b4418], rax
call rbx
movabs rcx, 0xb1632e9a5f988d11
mov qword [0x1802b4420], rax
call rbx
movabs rcx, 0xfb92a102f1c4dfa3
mov qword [0x1802b4428], rax
call rbx
movabs rcx, 0x1dd55701034110e5
mov qword [0x1802b4430], rax
call rbx
movabs rcx, 0x47d6f43d77935c75
mov qword [0x1802b4438], rax
call rbx
movabs rcx, 0xd796cb5ba8f20e32
mov qword [0x1802b4440], rax
call rbx
mov rbx, qword [rsp + 0xd8]
movaps xmm7, xmmword [rsp + 0xa0]
mov qword [0x1802b4448], rax
add rsp, 0xc0
pop rbp
ret