Function at 0x1800d3370
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x108]
sub rsp, 0x200
mov rax, qword [0x18023c800]
xor rax, rsp
mov qword [rbp + 0x48], rax
cmp byte [0x18023c110], 0
je 0x1800d3b55
mov qword [r11 + 8], rbx
lea rcx, [rbp + 0x20]
mov qword [r11 - 0x18], r15
mov edx, 2
movaps xmmword [r11 - 0x28], xmm6
movaps xmmword [r11 - 0x78], xmm11
mov dword [rbp + 0x20], 0x43960000
mov dword [rbp + 0x24], 0x43960000
call fcn.180025f60
mov rax, qword [0x1801b87f0]
xor r15d, r15d
cmp byte [reloc.WS2_32.dll_gethostname], r15b
mov qword [rbp + 0x20], rax
je 0x1800d3510
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1800d34cf
movdqa xmm2, xmmword [0x1801bab60]
movdqa xmm4, xmmword [0x1801bac50]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801bab80]
psubd xmm2, xmm0
movd xmm0, dword [rbp + 0x20]
andps xmm2, xmmword [0x1801babe0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1801bad00]
xorps xmm2, xmm0
movd dword [rbp + 0x20], xmm2
movdqa xmm2, xmmword [0x1801bab70]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801bab80]
psubd xmm2, xmm0
movd xmm0, dword [rbp + 0x24]
andps xmm2, xmmword [0x1801babe0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1801bad00]
xorps xmm2, xmm0
movd dword [rbp + 0x24], xmm2
jmp 0x1800d3510
lea r9, [rbp + 0x20]
mov r8d, r15d
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x1800d34e0
mov r8d, 0x107
lea rdx, [0x18023c110]
lea rcx, [rbp + 0x20]
call fcn.18000d420
call fcn.180017980
lea rcx, [rbp + 0x20]
mov rbx, rax
call fcn.1800179d0
lea rcx, [rbp + 0x28]
call fcn.1800179f0
movdqa xmm0, xmmword [0x1801badb0]
lea rcx, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
call fcn.180012540
movss xmm0, dword [rbp + 0x28]
lea r8, [rbp + 0x30]
addss xmm0, dword [rbp + 0x20]
movss xmm1, dword [rbp + 0x2c]
lea rdx, [rbp + 0x20]
addss xmm1, dword [rbp + 0x24]
mov dword [rsp + 0x28], r15d
mov r9d, eax
mov rcx, rbx
movss dword [rbp + 0x30], xmm0
movss xmm0, dword [0x1801a17c8]
movss dword [rsp + 0x20], xmm0
movss dword [rbp + 0x34], xmm1
call fcn.18002e4d0
movdqa xmm0, xmmword [0x1801badf0]
lea rcx, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
call fcn.180012540
movss xmm1, dword [rbp + 0x24]
lea r8, [rbp + 0x30]
movss xmm2, dword [rbp + 0x28]
lea rdx, [rsp + 0x30]
movss xmm0, dword [rbp + 0x2c]
mov r9d, eax
movss xmm11, dword [0x1801a17b8]
addss xmm0, xmm1
movss xmm6, dword [0x1801a17bc]
mov rcx, rbx
mulss xmm2, xmm11
movss dword [rsp + 0x34], xmm1
movss dword [rbp + 0x34], xmm0
addss xmm2, dword [rbp + 0x20]
movss dword [rsp + 0x20], xmm6
movss dword [rbp + 0x30], xmm2
movss dword [rsp + 0x30], xmm2
call fcn.18002d3d0
movdqa xmm0, xmmword [0x1801badf0]
lea rcx, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
call fcn.180012540
movss xmm2, dword [rbp + 0x20]
lea r8, [rbp + 0x30]
movss xmm1, dword [rbp + 0x2c]
lea rdx, [rsp + 0x30]
movss xmm0, dword [rbp + 0x28]
mov r9d, eax
mulss xmm1, xmm11
addss xmm0, xmm2
mov rcx, rbx
movss dword [rsp + 0x30], xmm2
movss dword [rsp + 0x20], xmm6
addss xmm1, dword [rbp + 0x24]
movss dword [rbp + 0x30], xmm0
movss dword [rbp + 0x34], xmm1
movss dword [rsp + 0x34], xmm1
call fcn.18002d3d0
cmp qword [0x18023d4c8], r15
je 0x1800d3b2f
mov rbx, qword [0x18023d4d0]
test rbx, rbx
je 0x1800d3b2f
mov qword [rsp + 0x220], rdi
mov rdi, qword [0x180240170]
mov qword [rsp + 0x1f8], r14
mov r14, qword [0x180240178]
cmp rdi, r14
je 0x1800d3b1f
movaps xmmword [rsp + 0x1c0], xmm8
xorps xmm8, xmm8
movaps xmmword [rsp + 0x180], xmm12
movss xmm12, dword [0x1801a17cc]
mov qword [rsp + 0x218], rsi
movaps xmmword [rsp + 0x1d0], xmm7
movaps xmmword [rsp + 0x1b0], xmm9
movaps xmmword [rsp + 0x1a0], xmm10
movaps xmmword [rsp + 0x170], xmm13
movaps xmmword [rsp + 0x160], xmm14
movaps xmmword [rsp + 0x150], xmm15
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800d3ac3
comiss xmm8, dword [rcx + 0x280]
jb 0x1800d3737
cmp byte [0x18023c118], r15b
je 0x1800d3ac3
cmp rcx, rbx
je 0x1800d3ac3
movsd xmm0, qword [rbx + 0x90]
movsd xmm13, qword [rcx + 0x90]
movaps xmm3, xmm0
movss xmm1, dword [rbx + 0x98]
movaps xmm2, xmm0
subss xmm1, dword [rcx + 0x98]
mov rax, qword [0x18023ffd0]
subss xmm2, xmm13
shufps xmm3, xmm3, 0x55
movsd qword [rsp + 0x40], xmm13
movss xmm14, dword [rsp + 0x44]
mov rsi, qword [rax + rcx]
subss xmm3, xmm14
mulss xmm2, xmm2
mulss xmm1, xmm1
movsd qword [rbp + 0x30], xmm0
xorps xmm0, xmm0
mulss xmm3, xmm3
addss xmm3, xmm2
addss xmm3, xmm1
ucomiss xmm0, xmm3
ja 0x1800d37b8
xorps xmm0, xmm0
sqrtss xmm0, xmm3
jmp 0x1800d37c0
movaps xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x1801a7f44]
comiss xmm1, xmm0
jbe 0x1800d3ac3
movss xmm15, dword [0x18023c114]
lea rcx, [rsp + 0x70]
call fcn.1800179d0
lea rcx, [rsp + 0x78]
movss xmm10, dword [rax + 4]
call fcn.1800179d0
movss xmm9, dword [rax]
mov rax, qword [0x18023ff58]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1800d3815
movaps xmm9, xmm8
movaps xmm10, xmm8
jmp 0x1800d3978
mov rax, qword [0x18023ff78]
mov rdx, qword [rax]
test rdx, rdx
jne 0x1800d3831
movaps xmm9, xmm8
movaps xmm10, xmm8
jmp 0x1800d3978
mov rax, qword [rcx + 8]
test rax, rax
jne 0x1800d3847
movaps xmm9, xmm8
movaps xmm10, xmm8
jmp 0x1800d3978
movsd xmm0, qword [rdx + 0x3d0]
lea rcx, [0x18023d940]
movsd xmm6, qword [rax + 0x90]
movaps xmm1, xmm0
mov eax, dword [rax + 0x98]
movaps xmm2, xmm0
mov dword [rbp + 0x38], eax
mov eax, dword [rdx + 0x3d8]
shufps xmm1, xmm1, 0x55
mov dword [rbp + 0x38], eax
movsd qword [rbp + 0x30], xmm0
call fcn.180072690
movaps xmm7, xmm0
movsd qword [rbp + 0x30], xmm6
mulss xmm7, dword [0x1801bab00]
subss xmm13, xmm6
movaps xmm1, xmm6
shufps xmm1, xmm1, 0x55
divss xmm7, dword [0x1801ad098]
subss xmm14, xmm1
mulss xmm7, dword [0x1801baa40]
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm6, xmm0
movaps xmm0, xmm7
mulss xmm6, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movss xmm2, dword [rbp + 0x28]
lea rax, [rbp + 0x44]
movaps xmm4, xmm0
mulss xmm2, xmm11
lea rcx, [rsp + 0x38]
mulss xmm4, xmm15
lea rdx, [rsp + 0x30]
movaps xmm3, xmm6
mulss xmm6, xmm13
subss xmm2, dword [0x1801a7f20]
movaps xmm1, xmm4
mulss xmm3, xmm14
mulss xmm1, xmm13
movaps xmm0, xmm2
mulss xmm4, xmm14
xorps xmm0, xmmword [0x1801a7fb0]
subss xmm3, xmm1
movaps xmm1, xmm2
movss dword [rbp + 0x40], xmm2
xorps xmm1, xmmword [0x1801a7fb0]
addss xmm4, xmm6
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x30], xmm1
comiss xmm0, xmm3
movss dword [rbp + 0x44], xmm3
movss dword [rbp + 0x30], xmm4
cmovbe rcx, rax
lea rax, [rbp + 0x30]
comiss xmm1, xmm4
cmovbe rdx, rax
lea rax, [rbp + 0x40]
comiss xmm3, xmm2
cmovbe rax, rcx
comiss xmm4, xmm2
subss xmm9, dword [rax]
lea rax, [rbp + 0x40]
cmovbe rax, rdx
subss xmm10, dword [rax]
cmp byte [0x18023c112], r15b
je 0x1800d3a1b
test rsi, rsi
jne 0x1800d3a1b
call fcn.180017980
movdqa xmm0, xmmword [0x1801a1990]
lea rcx, [rbp - 0x80]
movups xmmword [rbp - 0x80], xmm0
mov rbx, rax
call fcn.180012540
movss xmm2, dword [rbp + 0x28]
lea r8, [rsp + 0x50]
movss xmm1, dword [rbp + 0x2c]
lea rdx, [rsp + 0x58]
movss xmm6, dword [0x1801a17d4]
mov r9d, eax
mulss xmm2, xmm11
mov rcx, rbx
mov dword [rsp + 0x28], r15d
mulss xmm1, xmm11
addss xmm2, xmm9
movss dword [rsp + 0x20], xmm6
addss xmm1, xmm10
movaps xmm0, xmm2
movss dword [rsp + 0x58], xmm2
addss xmm0, xmm12
movss dword [rsp + 0x5c], xmm1
movss dword [rsp + 0x50], xmm0
movaps xmm0, xmm1
addss xmm0, xmm12
movss dword [rsp + 0x54], xmm0
call fcn.18002e4d0
jmp 0x1800d3a23
movss xmm6, dword [0x1801a17d4]
cmp byte [reloc.WS2_32.dll_accept], r15b
je 0x1800d3abc
test rsi, rsi
je 0x1800d3abc
call fcn.180017980
movdqa xmm0, xmmword [0x1801bae20]
lea rcx, [rbp - 0x70]
movups xmmword [rbp - 0x70], xmm0
mov rbx, rax
call fcn.180012540
movss xmm2, dword [rbp + 0x28]
lea r8, [rsp + 0x60]
movss xmm1, dword [rbp + 0x2c]
lea rdx, [rsp + 0x68]
mulss xmm2, xmm11
mov r9d, eax
mov rcx, rbx
mov dword [rsp + 0x28], r15d
mulss xmm1, xmm11
addss xmm2, xmm9
movss dword [rsp + 0x20], xmm6
addss xmm1, xmm10
movaps xmm0, xmm2
movss dword [rsp + 0x68], xmm2
addss xmm0, xmm12
movss dword [rsp + 0x6c], xmm1
movss dword [rsp + 0x60], xmm0
movaps xmm0, xmm1
addss xmm0, xmm12
movss dword [rsp + 0x64], xmm0
call fcn.18002e4d0
mov rbx, qword [0x18023d4d0]
sub rdi, 0xffffffffffffff80
cmp rdi, r14
jne 0x1800d3714
movaps xmm15, xmmword [rsp + 0x150]
movaps xmm14, xmmword [rsp + 0x160]
movaps xmm13, xmmword [rsp + 0x170]
movaps xmm12, xmmword [rsp + 0x180]
movaps xmm10, xmmword [rsp + 0x1a0]
movaps xmm9, xmmword [rsp + 0x1b0]
movaps xmm8, xmmword [rsp + 0x1c0]
movaps xmm7, xmmword [rsp + 0x1d0]
mov rsi, qword [rsp + 0x218]
mov rdi, qword [rsp + 0x220]
mov r14, qword [rsp + 0x1f8]
call fcn.180013710
movaps xmm11, xmmword [rsp + 0x190]
movaps xmm6, xmmword [rsp + 0x1e0]
mov r15, qword [rsp + 0x1f0]
mov rbx, qword [rsp + 0x210]
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.18019d700
add rsp, 0x200
pop rbp
ret