Function at 0x14004f190
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r12
push rbp
push r14
push r15
lea rbp, [r11 - 0x5f]
sub rsp, 0xf0
movaps xmmword [r11 - 0x28], xmm6
movaps xmmword [r11 - 0x38], xmm7
movaps xmmword [r11 - 0x48], xmm8
mov rax, qword [0x1409c0280]
xor rax, rsp
mov qword [rbp + 7], rax
mov edi, dword [reloc.WS2_32.dll_accept]
lea rbx, [0x1409fe2d4]
xor r14d, r14d
mov qword [r11 + 8], rsi
lea r15d, [r14 + 5]
lea r12d, [r14 + 0x1f]
nop dword [rax + rax]
cmp byte [rbx + 1], 0
je 0x14004f8a9
cmp byte [rbx], 0
jne 0x14004f8a9
movups xmm0, xmmword [str.DYWYSE]
movups xmm1, xmmword [0x140995440]
mov eax, dword [0x140995488]
movups xmmword [rbp - 0x59], xmm0
movups xmm0, xmmword [0x140995450]
movups xmmword [rbp - 0x49], xmm1
movups xmm1, xmmword [0x140995460]
movups xmmword [rbp - 0x39], xmm0
movups xmm0, xmmword [0x140995470]
movups xmmword [rbp - 0x29], xmm1
movsd xmm1, qword [0x140995480]
mov dword [rbp - 1], eax
mov rax, qword [str.DYWYSE_]
movups xmmword [rbp - 0x19], xmm0
movsd qword [rbp - 9], xmm1
mov qword [rbp - 0x69], rax
call fcn.14003c1b0
cmp byte [rbp - 0x62], 0
mov r10, rax
je 0x14004f3b5
cmp edi, 2
jl 0x14004f37a
movdqa xmm2, xmmword [0x14099d990]
movdqa xmm3, xmmword [0x14099d9e0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x14099deb0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r15d
movd xmm5, r12d
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14099da10]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x69]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x14099da90]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14099db40]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x69], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14099da10]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x65]
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14099da90]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14099db40]
pxor xmm2, xmm0
movd dword [rbp - 0x65], xmm2
jmp 0x14004f3b5
lea r9, [rbp - 0x69]
xor r8d, r8d
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x14004f381
cmp byte [rbp + 2], 0
je 0x14004f554
xor r8d, r8d
cmp edi, 2
jl 0x14004f512
movdqa xmm0, xmmword [0x14099db40]
lea rcx, [rbp - 0x55]
movdqa xmm5, xmmword [0x14099d990]
movdqa xmm4, xmmword [0x14099deb0]
movdqa xmm7, xmmword [0x14099da10]
movdqa xmmword [rbp - 0x79], xmm0
mov edx, dword [rbp - 0x79]
movd xmm6, r15d
movd xmm8, r12d
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
paddd xmm1, xmm2
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 [0x14099da90]
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
paddd xmm1, xmm3
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 [0x14099da90]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x58
jl 0x14004f401
cmp r8d, 0x5c
jge 0x14004f554
movsxd rax, r8d
lea r9, [rbp - 0x59]
add r9, rax
nop dword [rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9 - 1], al
cmp r8d, 0x5c
jl 0x14004f520
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x59]
xor ecx, ecx
call r10
cmp byte [rbp + 2], 0
jne 0x14004f70f
xor ecx, ecx
cmp edi, 2
jl 0x14004f6ce
movdqa xmm0, xmmword [0x14099db40]
lea rdx, [rbp - 0x55]
movdqa xmm5, xmmword [0x14099d990]
movdqa xmm4, xmmword [0x14099deb0]
movdqa xmm7, xmmword [0x14099da10]
movdqa xmmword [rbp - 0x79], xmm0
mov r8d, dword [rbp - 0x79]
movd xmm6, r15d
movd xmm8, r12d
nop dword [rax]
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
paddd xmm1, xmm2
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 [0x14099da90]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
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, r8d
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14099da90]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
pxor xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x58
jl 0x14004f5c0
cmp ecx, 0x5c
jge 0x14004f70f
movsxd rax, ecx
lea r8, [rbp - 0x59]
add r8, rax
nop dword [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x37
xor byte [r8 - 1], al
cmp ecx, 0x5c
jl 0x14004f6e0
cmp byte [rbp - 0x62], 0
jne 0x14004f874
cmp edi, 2
jl 0x14004f82c
movdqa xmm2, xmmword [0x14099d990]
movdqa xmm3, xmmword [0x14099d9e0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x14099deb0]
movdqa xmm0, xmm2
mov eax, dword [0x14099db40]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r15d
movd xmm5, r12d
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14099da10]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14099da90]
movd xmm1, dword [rbp - 0x69]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
pxor xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rbp - 0x69], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14099da10]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14099da90]
movd xmm1, dword [rbp - 0x65]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
pxor xmm2, xmm1
movd dword [rbp - 0x65], xmm2
jmp 0x14004f874
lea r9, [rbp - 0x69]
xor r8d, r8d
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x14004f840
call fcn.140039cf0
cmp byte [0x140993b1d], 0
mov rsi, rax
movzx ecx, word [0x140993b1c]
mov word [rsp + 0x20], cx
je 0x14004f89b
xor byte [rsp + 0x21], 0x38
mov byte [rsp + 0x20], Ordinal_50
lea rcx, [rsp + 0x20]
call fcn.140182a90
mov ecx, eax
call rsi
inc r14d
add rbx, 0x30
cmp r14d, 0x1e
jb 0x14004f1f0
mov rsi, qword [rsp + 0x110]
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140167e90
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret