Function at 0x140048f80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1401d7410]
mov rbx, r8
movss xmm0, dword [0x140184a98]
mov rdi, rdx
mov r11, rcx
mov r8d, 0xc116b
comiss xmm0, dword [rax + 0x118]
jbe 0x14004923a
movss xmm0, dword [0x140184a94]
comiss xmm0, dword [rax + 0x11c]
jbe 0x14004923a
mov ecx, dword [0x1401d7e28]
cmp ecx, 0xffffffff
je 0x140049058
movss xmm3, dword [0x140184924]
mov edx, ecx
mov r8d, 0xc116f
and edx, 2
je 0x140048ff7
movaps xmm4, xmm3
jmp 0x140048ffa
xorps xmm4, xmm4
and ecx, 1
jne 0x140049002
xorps xmm3, xmm3
movss xmm0, dword [0x140184a08]
test edx, edx
je 0x140049019
movss xmm2, dword [rax + 0x14]
subss xmm2, xmm0
jmp 0x14004901c
movaps xmm2, xmm0
test ecx, ecx
je 0x14004902b
movss xmm1, dword [rax + 0x10]
subss xmm1, xmm0
jmp 0x14004902e
movaps xmm1, xmm0
movss dword [rax + 0x1ae4], xmm1
movss dword [rax + 0x1ae8], xmm2
movss dword [rax + 0x1aec], xmm3
movss dword [rax + 0x1af0], xmm4
mov dword [rax + 0x1ac8], 1
cmp byte [0x140184893], 0
movups xmm0, xmmword [str.wZWLTO]
mov dword [rax + 0x1b28], 0x3d4ccccd
mov dword [rax + 0x1ae0], 1
mov eax, dword [0x140184890]
movups xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x18], eax
movsd xmm0, qword [0x140184888]
movsd qword [rbp - 0x20], xmm0
je 0x140049231
xor r9d, r9d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400491ec
movdqa xmm0, xmmword [str.6666666666666666]
lea rcx, [rbp - 0x2c]
movdqa xmm5, xmmword [0x140184bb0]
movdqa xmm4, xmmword [0x140184cf0]
movdqa xmmword [rbp - 0x40], xmm0
mov edx, dword [rbp - 0x40]
movaps xmmword [rsp + 0x50], xmm6
movdqa xmm6, xmmword [0x140184bd0]
nop dword [rax + rax]
movd xmm2, r9d
lea eax, [r9 + 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 r9d, 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 [0x140184c40]
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 [0x140184c40]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r9d, 0x18
jl 0x1400490e0
movaps xmm6, xmmword [rsp + 0x50]
cmp r9d, 0x1c
jge 0x140049231
movsxd rax, r9d
lea r10, [rbp - 0x30]
add r10, rax
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r10, [r10 + 1]
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r9b
inc r9d
sub al, cl
add al, 0x36
xor byte [r10 - 1], al
cmp r9d, 0x1c
jl 0x140049200
lea rcx, [rbp - 0x30]
jmp 0x140049321
mov ecx, dword [0x1401d7e28]
cmp ecx, 0xffffffff
je 0x1400492c0
movss xmm3, dword [0x140184924]
mov edx, ecx
mov r8d, 0xc116f
and edx, 2
je 0x14004925f
movaps xmm4, xmm3
jmp 0x140049262
xorps xmm4, xmm4
and ecx, 1
jne 0x14004926a
xorps xmm3, xmm3
movss xmm0, dword [0x140184a08]
test edx, edx
je 0x140049281
movss xmm2, dword [rax + 0x14]
subss xmm2, xmm0
jmp 0x140049284
movaps xmm2, xmm0
test ecx, ecx
je 0x140049293
movss xmm1, dword [rax + 0x10]
subss xmm1, xmm0
jmp 0x140049296
movaps xmm1, xmm0
movss dword [rax + 0x1ae4], xmm1
movss dword [rax + 0x1ae8], xmm2
movss dword [rax + 0x1aec], xmm3
movss dword [rax + 0x1af0], xmm4
mov dword [rax + 0x1ac8], 1
cmp byte [0x140183e29], 0
movsd xmm0, qword [str.aVLHV_OU_]
mov dword [rax + 0x1b28], 0x3eb33333
mov dword [rax + 0x1ae0], 1
movzx eax, word [0x140183e28]
mov word [rbp - 0x38], ax
movsd qword [rbp - 0x40], xmm0
je 0x14004931d
xor byte [rbp - 0x3f], 0x37
xor byte [rbp - 0x3e], 0x38
xor byte [rbp - 0x3d], 0x39
xor byte [rbp - 0x3c], 0x3a
xor byte [rbp - 0x3b], 0x3b
xor byte [rbp - 0x3a], 0x3c
xor byte [rbp - 0x39], 0x3d
xor byte [rbp - 0x38], 0x3e
xor byte [rbp - 0x37], 0x3f
mov byte [rbp - 0x40], 0x57
lea rcx, [rbp - 0x40]
mov rdx, r11
call fcn.14000b840
test al, al
je 0x14004933d
mov rdx, rdi
mov rcx, rbx
call fcn.1400279f0
call fcn.14000e740
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret