Function at 0x14004f540
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r14
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xd0
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x1409b0280]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov edi, dword [reloc.WS2_32.dll_accept]
lea rbx, [0x1409ee304]
xor r14d, r14d
mov qword [r11 + 8], rsi
cmp byte [rbx + 1], 0
je 0x14004fbd2
cmp byte [rbx], 0
jne 0x14004fbd2
movups xmm0, xmmword [0x140983920]
movups xmm1, xmmword [0x140983930]
mov eax, dword [0x140983978]
movups xmmword [rbp - 0x29], xmm0
movups xmm0, xmmword [0x140983940]
movups xmmword [rbp - 9], xmm0
movups xmm0, xmmword [0x140983960]
movups xmmword [rbp + 0x17], xmm0
movsd xmm0, qword [0x140983970]
movups xmmword [rbp - 0x19], xmm1
movups xmm1, xmmword [0x140983950]
mov dword [rbp + 0x2f], eax
mov rax, qword [str.DYWYSE_]
movsd qword [rbp + 0x27], xmm0
movups xmmword [rbp + 7], xmm1
mov qword [rbp - 0x39], rax
call fcn.14003c030
cmp byte [rbp - 0x32], 0
mov r10, rax
je 0x14004f732
cmp edi, 2
jl 0x14004f6fa
movdqa xmm2, xmmword [0x140986240]
movdqa xmm4, xmmword [0x140986570]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140986290]
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
pmulld xmm0, xmmword [0x1409862a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x39]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140986360]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140986430]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x39], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1409862a0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x35]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140986360]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140986430]
xorps xmm2, xmm0
movd dword [rbp - 0x35], xmm2
jmp 0x14004f732
lea r9, [rbp - 0x39]
xor r8d, r8d
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, 8
jl 0x14004f701
cmp byte [rbp + 0x32], 0
je 0x14004f8c2
xor r8d, r8d
cmp edi, 2
jl 0x14004f887
movdqa xmm0, xmmword [0x140986430]
lea rcx, [rbp - 0x25]
movdqa xmm5, xmmword [0x140986240]
movdqa xmm4, xmmword [0x140986570]
movdqa xmm6, xmmword [0x1409862a0]
movdqa xmmword [rbp - 0x49], xmm0
mov edx, dword [rbp - 0x49]
nop dword [rax]
nop dword [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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140986360]
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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140986360]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x58
jl 0x14004f780
cmp r8d, 0x5c
jge 0x14004f8c2
movsxd rax, r8d
lea r9, [rbp - 0x29]
add r9, 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, 0x5c
jl 0x14004f891
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x29]
xor ecx, ecx
call r10
cmp byte [rbp + 0x32], 0
jne 0x14004fa5d
xor ecx, ecx
cmp edi, 2
jl 0x14004fa24
movdqa xmm0, xmmword [0x140986430]
lea rdx, [rbp - 0x25]
movdqa xmm5, xmmword [0x140986240]
movdqa xmm4, xmmword [0x140986570]
movdqa xmm6, xmmword [0x1409862a0]
movdqa xmmword [rbp - 0x49], xmm0
mov r8d, dword [rbp - 0x49]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140986360]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140986360]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x58
jl 0x14004f920
cmp ecx, 0x5c
jge 0x14004fa5d
movsxd rax, ecx
lea r8, [rbp - 0x29]
add r8, rax
nop
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
inc ecx
sub al, dl
add al, 0x37
xor byte [r8 - 1], al
cmp ecx, 0x5c
jl 0x14004fa30
cmp byte [rbp - 0x32], 0
jne 0x14004fba1
cmp edi, 2
jl 0x14004fb68
movdqa xmm2, xmmword [0x140986240]
movdqa xmm4, xmmword [0x140986570]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140986290]
movdqa xmm0, xmm2
mov eax, dword [0x140986430]
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
pmulld xmm0, xmmword [0x1409862a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140986360]
movd xmm1, dword [rbp - 0x39]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
movd dword [rbp - 0x39], xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1409862a0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140986360]
movd xmm1, dword [rbp - 0x35]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x35], xmm2
jmp 0x14004fba1
lea r9, [rbp - 0x39]
xor r8d, r8d
nop
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, 8
jl 0x14004fb70
call fcn.140039b70
cmp byte [0x14098200d], 0
mov rsi, rax
movzx ecx, word [0x14098200c]
mov word [rbp - 0x59], cx
je 0x14004fbc5
xor byte [rbp - 0x58], 0x38
mov byte [rbp - 0x59], Ordinal_50
lea rcx, [rbp - 0x59]
call fcn.1401753dc
mov ecx, eax
call rsi
inc r14d
add rbx, 0x30
cmp r14d, 0x1e
jb 0x14004f582
mov rsi, qword [rsp + 0xe0]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14015a1f0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret