Function at 0x14004de10
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rcx, qword [0x140117840]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rdi
mov rax, qword [rcx + 0x40a0]
mov byte [rax + 0xcc], 1
mov rax, qword [rcx + 0x40a0]
movss xmm1, dword [rax + 0x28]
movss xmm0, dword [rax + 0x2c]
subss xmm1, dword [rax + 0x98]
subss xmm0, dword [rax + 0x9c]
mov byte [rax + 0x159], 1
addss xmm1, dword [0x140102800]
addss xmm0, dword [0x140102818]
movss dword [rax + 0x118], xmm1
movss dword [rax + 0x11c], xmm0
call fcn.140015b50
movzx ecx, word [0x140101ee8]
mov eax, dword [str.u_UWM:]
cmp dword [0x140117874], 0
mov dword [rbp + 0x10], eax
movzx eax, byte [0x140101eea]
sete r9b
xor byte [rbp + 0x11], 0x35
xor al, 0x3a
xor byte [rbp + 0x12], 0x36
xor byte [rbp + 0x13], 0x37
mov word [rbp + 0x14], cx
xor cl, 0x38
xor byte [rbp + 0x15], 0x39
mov byte [rbp + 0x14], cl
lea rcx, [rbp + 0x10]
mov byte [rbp + 0x10], 0x41
mov byte [rbp + 0x16], al
call fcn.140036450
xor ebx, ebx
test al, al
je 0x14004dedf
mov dword [0x140117874], ebx
mov rcx, qword [0x140117840]
mov rax, qword [rcx + 0x40a0]
mov byte [rax + 0xcc], 1
mov rax, qword [rcx + 0x40a0]
cmp byte [rax + 0xcf], bl
jne 0x14004df18
movss xmm1, dword [0x1401028a8]
lea rcx, [rbp + 0x10]
mov qword [rbp + 0x10], rbx
call fcn.1400156f0
cmp dword [0x140117874], 1
mov rax, qword [str.bEBYUI_rz_]
mov edi, dword [reloc.WS2_32.dll_accept]
sete r9b
cmp byte [0x14010200f], bl
movaps xmmword [rsp + 0x30], xmm6
mov qword [rbp + 0x10], rax
je 0x14004e05b
mov r8d, ebx
cmp edi, 2
jl 0x14004e02d
movdqa xmm2, xmmword [0x140102990]
movdqa xmm4, xmmword [0x140102fa0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, 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 [str.1111]
psubd xmm2, xmm0
movd xmm0, dword [rbp + 0x10]
andps xmm2, xmmword [0x140102a00]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140102a40]
xorps xmm2, xmm0
movd dword [rbp + 0x10], xmm2
movdqa xmm2, xmmword [0x1401029a0]
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
pmulld xmm0, xmmword [str.1111]
psubd xmm2, xmm0
movd xmm0, dword [rbp + 0x14]
andps xmm2, xmmword [0x140102a00]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140102a40]
xorps xmm2, xmm0
movd dword [rbp + 0x14], xmm2
jmp 0x14004e05b
lea r10, [rbp + 0x10]
mov eax, 0x5397829d
lea r10, [r10 + 1]
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r10 - 1], al
cmp r8d, 8
jl 0x14004e031
lea rcx, [rbp + 0x10]
call fcn.140036450
test al, al
je 0x14004e075
mov eax, 1
mov dword [0x140117874], eax
jmp 0x14004e07b
mov eax, dword [0x140117874]
movsd xmm0, qword [str.w_ECWTSA_IWP.A]
cmp eax, 2
movzx eax, word [0x140101f94]
mov ecx, dword [0x140101f90]
sete r9b
cmp byte [0x140101f95], bl
movsd qword [rbp - 0x20], xmm0
mov dword [rbp - 0x18], ecx
mov word [rbp - 0x14], ax
je 0x14004e23d
cmp edi, 2
jl 0x14004e200
movdqa xmm5, xmmword [0x140102fa0]
mov ebx, recv
movdqa xmm3, xmmword [0x140102990]
movdqa xmm2, xmmword [0x1401029a0]
movdqa xmm1, xmm3
movdqa xmm6, xmmword [str.1111]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
movdqa xmm4, xmmword [0x140102a00]
mov eax, dword [0x140102a40]
punpckldq xmm1, xmm3
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm6
psubd xmm3, xmm0
punpckldq xmm1, xmm2
andps xmm3, xmm4
pmuldq xmm1, xmm5
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [str.w_ECWTSA_IWP.A]
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
movd dword [rbp - 0x20], xmm3
movdqa xmm3, xmmword [0x1401029b0]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x1c]
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
xorps xmm2, xmm1
movdqa xmm1, xmm3
pmuldq xmm0, xmm5
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movd dword [rbp - 0x1c], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, ecx
pmulld xmm0, xmm6
psubd xmm3, xmm0
movd xmm0, eax
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
xorps xmm3, xmm1
movd dword [rbp - 0x18], xmm3
mov eax, ebx
lea r8, [rbp - 0x20]
add r8, rax
nop dword [rax]
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, bl
inc ebx
sub al, cl
add al, 0x34
xor byte [r8 - 1], al
cmp ebx, 0xe
jl 0x14004e210
lea rcx, [rbp - 0x20]
call fcn.140036450
movaps xmm6, xmmword [rsp + 0x30]
test al, al
mov eax, dword [0x140102360]
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov dword [rbp + 0x10], eax
movzx eax, byte [0x140102364]
je 0x14004e279
mov ecx, 2
mov r9b, 0
mov dword [0x140117874], ecx
jmp 0x14004e284
cmp dword [0x140117874], 3
sete r9b
xor byte [rbp + 0x11], 0x35
lea rcx, [rbp + 0x10]
xor byte [rbp + 0x12], 0x36
xor al, 0x38
xor byte [rbp + 0x13], 0x37
mov byte [rbp + 0x14], al
mov byte [rbp + 0x10], Ordinal_79
call fcn.140036450
test al, al
je 0x14004e2b0
mov dword [0x140117874], 3
add rsp, 0x40
pop rbp
jmp fcn.140015c90