Function at 0x140051dd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
cmp byte [0x1400dbd51], 0
movsd xmm0, qword [str.YL_VW]
movzx eax, word [0x1400dbd50]
movsd qword [rbp - 0x40], xmm0
mov word [rbp - 0x38], ax
je 0x140051e26
xor byte [rbp - 0x3f], 0x38
xor byte [rbp - 0x3e], 0x39
xor byte [rbp - 0x3d], 0x3a
xor byte [rbp - 0x3c], 0x3b
xor byte [rbp - 0x3b], 0x3c
xor byte [rbp - 0x3a], 0x3d
xor byte [rbp - 0x39], 0x3e
xor byte [rbp - 0x38], 0x3f
xor byte [rbp - 0x37], 0x40
mov byte [rbp - 0x40], WSASetLastError
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
je 0x1400525e9
movups xmm3, xmmword [str.yLk_ZXkWM44__t__:0J]
mov edx, dword [0x1400dbd40]
mov qword [rsp + 0x70], rbx
xor ebx, ebx
cmp byte [0x1400dbd43], bl
mov qword [rsp + 0x78], rsi
mov esi, dword [reloc.WS2_32.dll_accept]
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm7
movdqa xmm7, xmmword [0x1400dc6e0]
movups xmmword [rbp - 0x36], xmm3
mov dword [rbp - 0x26], edx
je 0x1400520ae
mov ecx, ebx
cmp esi, 2
jl 0x140052078
movdqa xmm4, xmmword [0x1400dcb20]
movdqa xmm2, xmmword [0x1400dc650]
movdqa xmm5, xmmword [str.55559999]
movdqa xmm1, xmm2
movdqa xmm6, xmmword [0x1400dc730]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd eax, xmm3
movdqa xmm3, xmmword [0x1400dc680]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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 - 0x36], xmm2
movdqa xmm2, xmmword [0x1400dc670]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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 - 0x32]
andps xmm2, xmm7
pmuldq xmm1, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x32], xmm2
movdqa xmm2, xmmword [0x1400dc690]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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 - 0x2e]
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
pmuldq xmm1, xmm4
paddb xmm3, xmm6
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rbp - 0x2e], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movdqa xmm3, xmmword [0x1400dc6a0]
andps xmm2, xmm7
movd xmm0, dword [rbp - 0x2a]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
packuswb xmm2, xmm2
packuswb xmm2, xmm2
pmuldq xmm1, xmm4
paddb xmm2, xmm6
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x2a], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
movd xmm0, edx
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm6
xorps xmm3, xmm0
movd dword [rbp - 0x26], xmm3
jmp 0x1400520ae
lea r8, [rbp - 0x36]
nop dword [rax]
mov eax, 0x3521cfb3
lea r8, [r8 + 1]
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul edx, eax, 0x35
movzx eax, cl
inc ecx
sub al, dl
add al, 0x37
xor byte [r8 - 1], al
cmp ecx, 0x14
jl 0x140052080
lea rdx, [rbp - 0x36]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [0x1400dbd80]
mov r8d, ebx
movups xmm6, xmmword [str.yLnHRHXhV257___b_3K]
movzx ecx, byte [rax + 4]
movzx eax, byte [0x1400dbd84]
mov byte [rbp - 0x22], al
mov dword [0x140175254], ecx
mov dword [rbp - 0x26], edx
movups xmmword [rbp - 0x36], xmm6
cmp esi, 2
jl 0x1400522f2
movdqa xmm4, xmmword [0x1400dcb20]
movdqa xmm3, xmmword [0x1400dc650]
movdqa xmm2, xmmword [0x1400dc670]
movdqa xmm1, xmm3
movdqa xmm5, xmmword [str.55559999]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
mov ecx, dword [0x1400dc730]
punpckldq xmm1, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd eax, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, ecx
paddb xmm3, xmm0
movd xmm0, eax
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rbp - 0x36], xmm3
movdqa xmm3, xmmword [0x1400dc680]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x32]
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
xorps xmm2, xmm1
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rbp - 0x32], xmm2
movdqa xmm2, xmmword [0x1400dc690]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x2e]
pmulld xmm0, xmm5
psubd xmm3, xmm0
movd xmm0, ecx
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movdqa xmm0, xmm2
xorps xmm3, xmm1
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movd dword [rbp - 0x2e], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
movdqa xmm3, xmmword [0x1400dc6a0]
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x2a]
mov r8d, reloc.WS2_32.dll_sendto
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
xorps xmm2, xmm1
movdqa xmm1, xmm3
pmuldq xmm0, xmm4
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rbp - 0x2a], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, edx
pmulld xmm0, xmm5
psubd xmm3, xmm0
movd xmm0, ecx
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
xorps xmm3, xmm1
movd dword [rbp - 0x26], xmm3
mov eax, r8d
lea r9, [rbp - 0x36]
add r9, rax
nop dword [rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9 - 1], al
cmp r8d, 0x15
jl 0x140052300
lea rdx, [rbp - 0x36]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movups xmm6, xmmword [str.yLhONDhV257___b_3K]
mov edx, dword [0x1400dbd68]
cmp esi, 2
mov rsi, qword [rsp + 0x78]
movzx ecx, byte [rax + 4]
movzx eax, byte [0x1400dbd6c]
mov byte [rbp - 0x22], al
mov dword [0x14017524c], ecx
movups xmmword [rbp - 0x36], xmm6
mov dword [rbp - 0x26], edx
jl 0x140052576
movdqa xmm4, xmmword [0x1400dcb20]
movdqa xmm3, xmmword [0x1400dc650]
movdqa xmm2, xmmword [0x1400dc670]
movdqa xmm1, xmm3
movdqa xmm5, xmmword [str.55559999]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
mov ecx, dword [0x1400dc730]
punpckldq xmm1, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd eax, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm5
psubd xmm3, xmm0
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, ecx
paddb xmm3, xmm0
movd xmm0, eax
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rbp - 0x36], xmm3
movdqa xmm3, xmmword [0x1400dc680]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x32]
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
xorps xmm2, xmm1
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rbp - 0x32], xmm2
movdqa xmm2, xmmword [0x1400dc690]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x2e]
pmulld xmm0, xmm5
psubd xmm3, xmm0
movd xmm0, ecx
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movdqa xmm0, xmm2
xorps xmm3, xmm1
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movd dword [rbp - 0x2e], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
movdqa xmm3, xmmword [0x1400dc6a0]
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x2a]
mov ebx, reloc.WS2_32.dll_sendto
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
xorps xmm2, xmm1
movdqa xmm1, xmm3
pmuldq xmm0, xmm4
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rbp - 0x2a], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, edx
pmulld xmm0, xmm5
psubd xmm3, xmm0
movd xmm0, ecx
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
xorps xmm3, xmm1
movd dword [rbp - 0x26], xmm3
movaps xmm7, xmmword [rsp + 0x40]
lea r8, [rbp - 0x36]
movaps xmm6, xmmword [rsp + 0x50]
mov eax, ebx
add r8, rax
nop dword [rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, bl
inc ebx
sub al, cl
add al, 0x37
xor byte [r8 - 1], al
cmp ebx, 0x15
jl 0x140052590
mov rbx, qword [rsp + 0x70]
lea rdx, [rbp - 0x36]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movzx ecx, byte [rax + 4]
mov al, 1
mov dword [0x140175250], ecx
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret