Function at 0x140104560
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
mov rax, qword [0x1401de080]
xor rax, rsp
mov qword [rbp - 0x60], rax
mov rax, qword [0x1403ca138]
movss xmm1, dword [rax + 0x159c]
movss xmm0, dword [rax + 0x15ac]
addss xmm1, xmm1
addss xmm1, dword [rax + 0x1980]
addss xmm1, xmm0
addss xmm1, xmm0
xorps xmm11, xmm11
mov dword [rsp + 0x20], 0
xorps xmm1, xmmword [0x1401c0490]
movss dword [rsp + 0x24], xmm1
movups xmm0, xmmword [str.d_KUWPTPX]
movups xmmword [rsp + 0x50], xmm0
movdqa xmm14, xmmword [0x1401bfd60]
xor r14d, r14d
mov r15d, dword [reloc.WS2_32.dll_accept]
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x1401047a0
cmp r15d, 2
jl 0x140104763
movdqa xmm4, xmmword [0x1401bfcc0]
mov edx, r14d
movdqa xmm3, xmmword [0x1401c02a0]
movdqa xmm5, xmmword [0x1401bfcf0]
movdqa xmm0, xmmword [0x1401bfe00]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x54]
mov r8d, dword [rsp + 0x30]
nop dword [rax]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm14
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm14
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x10
jl 0x140104680
jmp 0x1401047a0
lea r9, [rsp + 0x50]
mov r8d, r14d
nop dword [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x140104770
mov r9d, 0x8800
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.140098010
mov dword [rsp + 0x20], 0x40800000
mov dword [rsp + 0x24], 0x3f800000
lea rdx, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_listen
call fcn.140090360
mov r13d, r14d
mov rcx, qword [0x1403cc0c8]
mov r8, qword [0x1403cc0c0]
sub rcx, r8
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
movss xmm10, dword [0x1401bfb18]
add rdx, rax
je 0x140104a06
mov r9, r14
movdqa xmm13, xmmword [0x1401c0230]
mov r12, r14
movss xmm12, dword [0x1401bf7bc]
movabs r15, 0x6666666666666667
nop dword [rax]
nop dword [rax + rax]
movups xmm6, xmmword [r8 + r12 + 0x40]
lea rbx, [r9 + r9*4]
shl rbx, 4
lea rdx, [r8 + 0x20]
add rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.14002e900
nop
mov rdx, qword [0x1403cc0c0]
add rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.14002e900
nop
lea rsi, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rsi, qword [rbp - 0x80]
lea rdi, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdi, qword [rsp + 0x60]
movdqa xmmword [rsp + 0x30], xmm6
lea rcx, [rsp + 0x30]
call fcn.14008faa0
movzx ecx, al
xorps xmm9, xmm9
cvtsi2ss xmm9, rcx
mulss xmm9, xmm12
mov ecx, eax
shr ecx, 8
movzx ecx, cl
xorps xmm8, xmm8
cvtsi2ss xmm8, rcx
mulss xmm8, xmm12
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xorps xmm7, xmm7
cvtsi2ss xmm7, rcx
mulss xmm7, xmm12
shr eax, 0x18
xorps xmm6, xmm6
cvtsi2ss xmm6, rax
mulss xmm6, xmm12
mov rbx, qword [0x1403ca138]
mov dword [rsp + 0x30], r14d
movups xmm0, xmmword [rbx + 0x1624]
movups xmmword [rsp + 0x34], xmm0
lea rcx, [rbx + 0x1d58]
lea rdx, [rsp + 0x30]
call fcn.1400a4d20
shufps xmm9, xmm9, 0xe1
movss xmm9, xmm8
shufps xmm9, xmm9, 0xc6
movss xmm9, xmm7
shufps xmm9, xmm9, 0x27
movss xmm9, xmm6
shufps xmm9, xmm9, 0x39
movups xmmword [rsp + 0x50], xmm9
movups xmmword [rbx + 0x1624], xmm9
xor edx, edx
mov r8d, 1
mov rcx, rdi
call fcn.1400b9b40
mov r9, qword [0x1403ca138]
movsxd rax, dword [r9 + 0x1d58]
lea r8, [rax + rax*4]
mov rdx, qword [r9 + 0x1d60]
movsxd rax, dword [rdx + r8*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rdx + r8*4 - 0x10]
movups xmmword [r9 + rax*8 + 0x1624], xmm0
dec dword [r9 + 0x1d58]
movaps xmm1, xmm10
movaps xmm0, xmm11
call fcn.14009dc40
movdqa xmmword [rsp + 0x30], xmm13
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400ba190
nop
lea rcx, [rbp - 0x80]
call fcn.14002ed40
nop
lea rcx, [rsp + 0x60]
call fcn.14002ed40
inc r13d
lea r12, [r12 + 0x50]
movsxd r9, r13d
mov rcx, qword [0x1403cc0c8]
mov r8, qword [0x1403cc0c0]
sub rcx, r8
mov rax, r15
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r9, rdx
jb 0x140104840
mov r15d, dword [reloc.WS2_32.dll_accept]
mov rcx, qword [0x1403ca138]
movsxd rax, dword [rcx + 0x1d68]
lea rdx, [rax + rax*2]
mov r8, qword [rcx + 0x1d70]
movsxd rax, dword [r8 + rdx*4 - 0xc]
lea r10, [rax + rax*2]
lea rax, [0x1401aca00]
mov r9d, dword [rax + r10*4 + 8]
cmp dword [rax + r10*4], 8
jne 0x140104a73
mov eax, dword [rax + r10*4 + 4]
cmp eax, 1
jne 0x140104a54
mov eax, dword [r8 + rdx*4 - 8]
mov dword [r9 + rcx + 0x1560], eax
jmp 0x140104a73
cmp eax, 2
jne 0x140104a73
mov eax, dword [r8 + rdx*4 - 8]
mov dword [r9 + rcx + 0x1560], eax
mov eax, dword [r8 + rdx*4 - 4]
mov dword [r9 + rcx + 0x1564], eax
dec dword [rcx + 0x1d68]
call fcn.1400980b0
mov rcx, qword [0x1403ca138]
mov rax, qword [rcx + 0x1c30]
mov byte [rax + 0x90], 1
mov rax, qword [rcx + 0x1c30]
mov qword [rsp + 0x20], 0
cmp byte [rax + 0x93], 0
jne 0x140104ac3
movaps xmm1, xmm10
lea rcx, [rsp + 0x20]
call fcn.14009d910
mov qword [rsp + 0x20], 0
mov eax, dword [0x1401be398]
mov dword [rsp + 0x58], eax
movzx eax, byte [0x1401be39c]
movsd xmm0, qword [0x1401be390]
mov byte [rsp + 0x5c], al
movsd qword [rsp + 0x50], xmm0
mov r8d, r14d
cmp r15d, 2
jl 0x140104bd9
movdqa xmm4, xmmword [0x1401c02a0]
movdqa xmm3, xmmword [0x1401bfcc0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401bfcf0]
psubd xmm3, xmm0
andps xmm3, xmm14
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [0x1401bfe00]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [0x1401be390]
xorps xmm3, xmm0
movd dword [rsp + 0x50], xmm3
movdqa xmm2, xmmword [0x1401bfce0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401bfcf0]
psubd xmm2, xmm0
andps xmm2, xmm14
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x54]
xorps xmm2, xmm1
movd dword [rsp + 0x54], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x140104bf0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400babc0
test al, al
je 0x140104c6e
mov rdi, qword [0x1403cc0c8]
mov rbx, qword [0x1403cc0c0]
cmp rbx, rdi
je 0x140104c6e
lea rcx, [rbx + 0x20]
call fcn.14002ed40
mov rcx, rbx
call fcn.14002ed40
add rbx, 0x50
cmp rbx, rdi
jne 0x140104c46
mov rax, qword [0x1403cc0c0]
mov qword [0x1403cc0c8], rax
movaps xmm1, xmm10
movaps xmm0, xmm11
call fcn.14009dc40
mov qword [rsp + 0x20], 0
movsd xmm0, qword [str.tWICeSZ_t_B]
movsd qword [rsp + 0x50], xmm0
mov eax, dword [0x1401be9c8]
mov dword [rsp + 0x58], eax
cmp byte [0x1401be9cb], 0
je 0x140104de0
mov r8d, r14d
cmp r15d, 2
jl 0x140104d9c
movdqa xmm4, xmmword [0x1401c02a0]
movdqa xmm3, xmmword [0x1401bfcc0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401bfcf0]
psubd xmm3, xmm0
andps xmm3, xmm14
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [0x1401bfe00]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [str.tWICeSZ_t_B]
xorps xmm3, xmm0
movd dword [rsp + 0x50], xmm3
movdqa xmm2, xmmword [0x1401bfce0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401bfcf0]
psubd xmm2, xmm0
andps xmm2, xmm14
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x54]
xorps xmm2, xmm1
movd dword [rsp + 0x54], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop word [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x140104db0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400babc0
test al, al
je 0x140104e28
mov rdx, qword [0x1403ca248]
lea rcx, [rsp + 0x60]
call fcn.14003cc60
nop
mov rcx, rax
call fcn.1400f05b0
nop
lea rcx, [rsp + 0x60]
call fcn.14002ed40
movsd xmm0, qword [str.tWICelQ___bC]
movsd qword [rsp + 0x50], xmm0
jmp 0x140104e36
movsd xmm2, qword [str.tWICelQ___bC]
movsd qword [rsp + 0x50], xmm2
mov eax, dword [0x1401be7c0]
mov dword [rsp + 0x58], eax
movzx eax, byte [0x1401be7c4]
mov byte [rsp + 0x5c], al
mov qword [rsp + 0x20], 0
movaps xmm1, xmm10
movaps xmm0, xmm11
call fcn.14009dc40
cmp r15d, 2
jl 0x140104f51
movdqa xmm4, xmmword [0x1401c02a0]
movdqa xmm3, xmmword [0x1401bfcc0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401bfcf0]
psubd xmm3, xmm0
andps xmm3, xmm14
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [0x1401bfe00]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [str.tWICelQ___bC]
xorps xmm3, xmm0
movd dword [rsp + 0x50], xmm3
movdqa xmm2, xmmword [0x1401bfce0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401bfcf0]
psubd xmm2, xmm0
andps xmm2, xmm14
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x54]
xorps xmm2, xmm1
movd dword [rsp + 0x54], xmm2
mov r14d, 8
movsxd rax, r14d
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
mov eax, 0x5397829d
imul r14d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r14b
sub al, cl
add al, 0x37
xor byte [r8], al
inc r14d
lea r8, [r8 + 1]
cmp r14d, 0xd
jl 0x140104f60
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400babc0
test al, al
je 0x140104fc8
mov rdx, qword [0x1403ca240]
lea rcx, [rsp + 0x60]
call fcn.14003cc60
nop
mov rcx, rax
call fcn.1400f05b0
nop
lea rcx, [rsp + 0x60]
call fcn.14002ed40
mov rcx, qword [rbp - 0x60]
xor rcx, rsp
call fcn.140176e00
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret