Function at 0x14005d4e0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xc0
mov rax, qword [0x140297540]
movaps xmmword [r11 - 0x38], xmm8
movaps xmm8, xmm2
movaps xmmword [r11 - 0x48], xmm9
movaps xmm9, xmm1
movaps xmmword [r11 - 0x58], xmm10
movaps xmm10, xmm0
cmp byte [rax + 0x73], 0
je 0x14005db56
mov rax, qword [0x140297440]
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
xor esi, esi
mov qword [r11 + 0x18], rdi
or dword [rax + 0x49e8], 3
cmp byte [0x14023be97], sil
mov qword [rax + 0x49f8], rsi
mov qword [rax + 0x4a00], rsi
mov dword [rax + 0x49ec], 2
movsd xmm0, qword [rax + 0x10]
movaps xmmword [r11 - 0x18], xmm6
movsd qword [rax + 0x4a08], xmm0
mov dword [rax + 0x49f0], 2
mov rax, qword [0x14023be90]
movaps xmmword [r11 - 0x28], xmm7
mov qword [rbp - 0x29], rax
movaps xmmword [r11 - 0x68], xmm11
je 0x14005d6c3
cmp dword [reloc.WS2_32.dll_accept], 2
mov r8d, esi
jl 0x14005d681
movdqa xmm2, xmmword [0x14023e780]
movdqa xmm4, xmmword [0x14023eca0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.9999]
psubd xmm2, xmm0
movd xmm0, dword [rbp - 0x29]
andps xmm2, xmmword [0x14023e800]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14023e850]
xorps xmm2, xmm0
movd dword [rbp - 0x29], xmm2
movdqa xmm2, xmmword [0x14023e7a0]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.9999]
psubd xmm2, xmm0
movd xmm0, dword [rbp - 0x25]
andps xmm2, xmmword [0x14023e800]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14023e850]
xorps xmm2, xmm0
movd dword [rbp - 0x25], xmm2
jmp 0x14005d6c3
lea r9, [rbp - 0x29]
nop word [rax + rax]
mov eax, 0x1f7047dd
lea r9, [r9 + 1]
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x14005d690
xor edx, edx
lea rcx, [rbp - 0x29]
mov r8d, 0x209f
call fcn.1400c1150
mov rcx, qword [0x140297440]
movaps xmm7, xmm10
movdqa xmm0, xmmword [0x14023e880]
addss xmm7, xmm8
movaps xmm6, xmm9
movss dword [rbp - 0x21], xmm10
addss xmm6, xmm8
movss dword [rbp - 0x1d], xmm9
mov rax, qword [rcx + 0x4038]
movups xmmword [rbp - 0x19], xmm0
mov byte [rax + 0xc0], 1
mov rax, qword [rcx + 0x4038]
lea rcx, [rbp - 0x19]
movss dword [rbp - 0x29], xmm7
movss dword [rbp - 0x25], xmm6
mov rbx, qword [rax + 0x2a8]
call fcn.1400b7360
xorps xmm11, xmm11
mov dword [rsp + 0x28], esi
mov r9d, eax
movss dword [rsp + 0x20], xmm11
lea rdx, [rbp - 0x21]
mov rcx, rbx
lea r8, [rbp - 0x29]
call fcn.1400db620
movdqa xmm0, xmmword [0x14023e8c0]
lea rcx, [rbp - 0x19]
movups xmmword [rbp - 0x19], xmm0
movss dword [rbp - 0x21], xmm7
movss dword [rbp - 0x1d], xmm6
movss dword [rbp - 0x29], xmm10
movss dword [rbp - 0x25], xmm9
call fcn.1400b7360
movss xmm6, dword [0x14023e4ac]
lea r8, [rbp - 0x21]
movss dword [rsp + 0x30], xmm6
lea rdx, [rbp - 0x29]
mov r9d, eax
movss dword [rsp + 0x20], xmm11
mov rcx, rbx
call fcn.1400db510
mov rax, qword [0x140297440]
mov qword [rbp - 0x19], rsi
mov dword [rbp - 0x11], esi
movss xmm0, dword [rax + 0x38f0]
mov rax, qword [0x140297540]
movss dword [rbp - 0xd], xmm0
mov ecx, dword [rax + 0x74]
mov r8d, dword [rax + 0x78]
mov eax, dword [rax + 0x7c]
cdq
movd xmm0, ecx
sub eax, edx
cvtdq2ps xmm0, xmm0
sar eax, 1
add ecx, eax
add eax, r8d
movd xmm1, r8d
cvtdq2ps xmm1, xmm1
movss dword [rbp - 0x21], xmm0
movss dword [rbp - 0x1d], xmm1
movd xmm0, ecx
lea rcx, [rbp - 0x19]
movd xmm1, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbp - 0x29], xmm0
movss dword [rbp - 0x25], xmm1
call fcn.1400b7360
mov r9d, eax
movss dword [rsp + 0x20], xmm6
lea rdx, [rbp - 0x29]
mov rcx, rbx
lea r8, [rbp - 0x21]
call fcn.1400db3b0
mov qword [rbp - 0x19], rsi
mov dword [rbp - 0x11], esi
mov rdx, qword [0x140297540]
mov rax, qword [0x140297440]
mov r9d, dword [rdx + 0x74]
movss xmm0, dword [rax + 0x38f0]
mov r8d, dword [rdx + 0x78]
mov eax, dword [rdx + 0x7c]
movss dword [rbp - 0xd], xmm0
movd xmm1, r8d
lea ecx, [r9 + rax]
cdq
movd xmm0, ecx
sub eax, edx
cvtdq2ps xmm0, xmm0
sar eax, 1
cvtdq2ps xmm1, xmm1
lea ecx, [rax + r9]
add eax, r8d
movss dword [rbp - 0x21], xmm0
movss dword [rbp - 0x1d], xmm1
movd xmm0, ecx
lea rcx, [rbp - 0x19]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x25], xmm1
movss dword [rbp - 0x29], xmm0
call fcn.1400b7360
mov r9d, eax
movss dword [rsp + 0x20], xmm6
lea rdx, [rbp - 0x29]
mov rcx, rbx
lea r8, [rbp - 0x21]
call fcn.1400db3b0
mov rax, qword [0x140297440]
mov r8, qword [0x140297540]
mov qword [rbp - 0x19], rsi
mov dword [rbp - 0x11], esi
movss xmm0, dword [rax + 0x38f0]
mov eax, dword [r8 + 0x7c]
mov r9d, dword [r8 + 0x74]
movss dword [rbp - 0xd], xmm0
lea ecx, [r9 + rax]
cdq
movd xmm0, ecx
sub eax, edx
cvtdq2ps xmm0, xmm0
sar eax, 1
lea rcx, [rbp - 0x19]
add eax, dword [r8 + 0x78]
movss dword [rbp - 0x21], xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movd xmm0, r9d
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x1d], xmm1
movss dword [rbp - 0x29], xmm0
movss dword [rbp - 0x25], xmm1
call fcn.1400b7360
mov r9d, eax
movss dword [rsp + 0x20], xmm6
lea rdx, [rbp - 0x29]
mov rcx, rbx
lea r8, [rbp - 0x21]
call fcn.1400db3b0
mov r8, qword [0x140297540]
mov rax, qword [0x140297440]
mov qword [rbp - 0x19], rsi
mov dword [rbp - 0x11], esi
mov ecx, dword [r8 + 0x74]
movss xmm0, dword [rax + 0x38f0]
mov eax, dword [r8 + 0x7c]
cdq
movss dword [rbp - 0xd], xmm0
sub eax, edx
sar eax, 1
add ecx, eax
movd xmm1, ecx
mov ecx, dword [r8 + 0x78]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
movss dword [rbp - 0x21], xmm1
cvtdq2ps xmm0, xmm0
add eax, ecx
lea rcx, [rbp - 0x19]
movss dword [rbp - 0x29], xmm1
movss dword [rbp - 0x1d], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x25], xmm0
call fcn.1400b7360
mov r9d, eax
movss dword [rsp + 0x20], xmm6
lea rdx, [rbp - 0x29]
mov rcx, rbx
lea r8, [rbp - 0x21]
call fcn.1400db3b0
mov rax, qword [0x140297440]
mov r8, qword [0x140297540]
mov qword [rbp - 0x19], rsi
mov dword [rbp - 0x11], esi
movss xmm0, dword [rax + 0x38f0]
mov r9d, dword [r8 + 0x7c]
mov eax, r9d
mov ecx, dword [r8 + 0x74]
cdq
movss dword [rbp - 0xd], xmm0
sub eax, edx
mov edx, dword [r8 + 0x78]
sar eax, 1
add ecx, eax
add eax, edx
movd xmm1, ecx
lea ecx, [rdx + r9]
movd xmm0, ecx
lea rcx, [rbp - 0x19]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbp - 0x1d], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x21], xmm1
movss dword [rbp - 0x25], xmm0
movss dword [rbp - 0x29], xmm1
call fcn.1400b7360
mov r9d, eax
movss dword [rsp + 0x20], xmm6
lea rdx, [rbp - 0x29]
mov rcx, rbx
lea r8, [rbp - 0x21]
call fcn.1400db3b0
mov rax, qword [0x140297440]
lea rcx, [rbp - 0x19]
mov dword [rbp - 0x19], 0x3f800000
mov dword [rbp - 0x15], 0x3f800000
mov dword [rbp - 0x11], 0x3f800000
movss xmm0, dword [rax + 0x38f0]
movss dword [rbp - 0xd], xmm0
call fcn.1400b7360
movsd xmm1, qword [0x14023e4e0]
xorps xmm0, xmm0
ucomisd xmm0, xmm1
mov edi, eax
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0xb0]
ja 0x14005daab
sqrtpd xmm0, xmm1
jmp 0x14005dab3
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
mulsd xmm0, qword [0x14023e4e8]
xorps xmm2, xmm2
movss xmm1, dword [0x14023e470]
mulss xmm8, xmm1
cvtsd2ss xmm2, xmm0
movaps xmm0, xmm8
addss xmm8, xmm9
addss xmm0, xmm10
movss dword [rbp - 0x1d], xmm8
movss dword [rbp - 0x21], xmm0
test edi, 0xff000000
je 0x14005db33
comiss xmm1, xmm2
ja 0x14005db33
movss xmm0, dword [0x14023e588]
lea rdx, [rbp - 0x21]
mov dword [rsp + 0x28], 0x3e7
xorps xmm3, xmm3
mov rcx, rbx
movss dword [rsp + 0x20], xmm0
call fcn.1400da840
mov r8d, dword [rbx + 0x78]
mov r9d, edi
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.1400d9d70
mov dword [rbx + 0x78], esi
call fcn.1400c3660
movaps xmm11, xmmword [rsp + 0x60]
mov rdi, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
lea r11, [rsp + 0xc0]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop rbp
ret