Function at 0x1800cd7e0
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 - 0x2e8]
sub rsp, 0x3c0
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
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x1802ebe40]
xor rax, rsp
mov qword [rbp + 0x210], rax
xor r13d, r13d
mov dword [rsp + 0x44], r13d
mov rcx, qword [0x1802efc00]
test rcx, rcx
je 0x1800ceca1
mov rax, qword [0x1802efc08]
mov r14, qword [rax + 8]
mov qword [rbp - 0x60], r14
test r14, r14
je 0x1800ceca1
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x1800ceca1
mov r15, qword [rax + 0x100]
mov qword [rsp + 0x78], r15
test r15, r15
je 0x1800ceca1
movsxd rbx, dword [rax + 0x108]
test ebx, ebx
je 0x1800ceca1
movsd xmm0, qword [r14 + 0x90]
movsd qword [rbp - 0x80], xmm0
mov eax, dword [r14 + 0x98]
mov dword [rbp - 0x78], eax
mov r8d, 8
mov rdx, r14
lea rcx, [rbp + 0x1c8]
call fcn.1800c3760
cmp byte [0x1802efdea], r13b
je 0x1800cd944
movss xmm7, dword [0x1802efdf0]
movss dword [rbp - 0x70], xmm7
movss xmm10, dword [0x1802efdf8]
movss dword [rbp - 0x6c], xmm10
movss xmm11, dword [0x1802efe00]
movss dword [rbp - 0x68], xmm11
movss dword [rbp - 0x80], xmm7
movss dword [rbp - 0x7c], xmm10
movss dword [rbp - 0x78], xmm11
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x70]
call fcn.1800e4710
movsd xmm0, qword [rax]
movsd qword [rbp + 0x1c8], xmm0
jmp 0x1800cd966
movss xmm11, dword [rbp - 0x78]
movss dword [rbp - 0x68], xmm11
movss xmm10, dword [rbp - 0x7c]
movss dword [rbp - 0x6c], xmm10
movss xmm7, dword [rbp - 0x80]
movss dword [rbp - 0x70], xmm7
call fcn.180018ba0
mov qword [rbp], rax
test ebx, ebx
jle 0x1800ceca1
mov qword [rbp - 0x58], rbx
xor eax, eax
mov qword [rbp + 0x68], rax
mov ecx, dword [reloc.WS2_32.dll_accept]
mov dword [rbp - 0x10], ecx
movdqa xmm0, xmmword [0x180173d80]
movdqa xmmword [rbp + 0x160], xmm0
movdqa xmm0, xmmword [0x180168ce0]
movups xmmword [rbp + 8], xmm0
movdqa xmm0, xmmword [0x1801b4d20]
movdqa xmmword [rbp + 0x180], xmm0
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rbp + 0x170], xmm0
movdqa xmm0, xmmword [str.4444]
movdqa xmmword [rbp + 0x150], xmm0
movdqa xmm1, xmmword [0x18016cbe0]
movdqa xmmword [rbp + 0x130], xmm1
movdqa xmm0, xmmword [0x1801b4e30]
movdqa xmmword [rbp + 0x140], xmm0
movdqa xmm0, xmmword [0x1801b4e20]
movups xmmword [rbp + 0x120], xmm0
movdqa xmm0, xmmword [0x180168e00]
movups xmmword [rbp + 0xc0], xmm0
movdqa xmm0, xmmword [0x1801b4d60]
movdqa xmmword [rbp + 0x110], xmm0
movdqa xmm0, xmmword [0x1801b4d70]
movdqa xmmword [rbp + 0x100], xmm0
movdqa xmm0, xmmword [0x1801b4d80]
movdqa xmmword [rbp + 0xf0], xmm0
movdqa xmm13, xmmword [0x180168cf0]
movzx edi, byte [rsp + 0x40]
movzx ebx, byte [rsp + 0x40]
movzx esi, byte [rsp + 0x40]
movdqa xmm14, xmmword [0x1801b4d40]
movsd xmm12, qword [str.333333]
movsd xmm15, qword [0x1801b4c60]
movss xmm8, dword [0x180168c00]
xorps xmm6, xmm6
mov rcx, qword [rbp - 0x58]
movss xmm9, dword [0x180168b78]
add rax, rax
mov r12, qword [r15 + rax*8]
mov qword [rsp + 0x70], r12
test r12, r12
je 0x1800cec45
cmp r12, r14
je 0x1800cec45
mov rax, qword [0x1801e8e50]
mov r15, qword [rax + r12]
test r15, r15
jne 0x1800cdad0
cmp byte [0x1802efdde], r15b
je 0x1800cec40
xor r14d, r14d
jmp 0x1800cdae0
mov rax, qword [0x1801e8e60]
mov r14, qword [rax + r15]
test r14, r14
jne 0x1800cdaed
cmp byte [0x1802efdde], 0
je 0x1800cec3c
movsd xmm2, qword [r12 + 0x90]
movaps xmm3, xmm11
subss xmm3, dword [r12 + 0x98]
movaps xmm4, xmm10
movaps xmm0, xmm2
shufps xmm0, xmm0, 0x55
subss xmm4, xmm0
movaps xmm1, xmm7
movsd qword [rbp + 0x70], xmm2
subss xmm1, xmm2
mulss xmm4, xmm4
mulss xmm1, xmm1
addss xmm4, xmm1
mulss xmm3, xmm3
addss xmm4, xmm3
xorps xmm0, xmm0
ucomiss xmm0, xmm4
ja 0x1800cdb45
xorps xmm0, xmm0
sqrtss xmm0, xmm4
jmp 0x1800cdb4d
movaps xmm0, xmm4
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
xorps xmm11, xmm11
cvtss2sd xmm11, xmm0
cmp byte [0x1802efddf], 0
jne 0x1800cdb76
movd xmm0, dword [0x1801e8e88]
cvtdq2pd xmm0, xmm0
comisd xmm11, xmm0
ja 0x1800cec38
movsd xmm0, qword [r12 + 0x90]
movsd qword [rbp + 0xb0], xmm0
mov eax, dword [r12 + 0x98]
mov dword [rbp + 0xb8], eax
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 8]
call fcn.1800e4710
movsd xmm0, qword [rbp - 8]
movsd qword [rbp + 0x70], xmm0
movq rcx, xmm0
call fcn.1800cee10
test al, al
je 0x1800cec38
xor r8d, r8d
mov rdx, r12
lea rcx, [rbp + 0x1d0]
call fcn.1800c3760
mov r8d, 8
mov rdx, r12
lea rcx, [rbp + 0x1f8]
call fcn.1800c3760
mov r8d, 1
mov rdx, r12
lea rcx, [rbp + 0x90]
call fcn.1800c3760
mov r8d, 2
mov rdx, r12
lea rcx, [rbp + 0x98]
call fcn.1800c3760
mov r8d, 5
mov rdx, r12
lea rcx, [rbp + 0x190]
call fcn.1800c3760
mov r8d, 6
mov rdx, r12
lea rcx, [rbp + 0x198]
call fcn.1800c3760
movss xmm0, dword [rbp + 0x94]
movaps xmm10, xmm0
movss xmm2, dword [rbp + 0x1d4]
subss xmm10, xmm2
movss xmm1, dword [rbp + 0x9c]
addss xmm1, xmm0
mulss xmm1, xmm9
subss xmm2, xmm1
andps xmm2, xmm13
cvtps2pd xmm0, xmm2
mulsd xmm0, xmm12
cvtpd2ps xmm12, xmm0
cvtps2pd xmm1, xmm12
divsd xmm1, xmm15
cvtpd2ps xmm15, xmm1
mov dword [rbp + 0x1c0], r14d
lea rdx, [rbp + 0x1c0]
lea rcx, [0x1802efe30]
call fcn.1800ab950
cmp byte [rax], 0
je 0x1800cdcb2
movups xmm0, xmmword [section..data]
jmp 0x1800cdcb6
movaps xmm0, xmm14
movups xmmword [rbp + 0x200], xmm0
cmp byte [0x1802efde8], 0
je 0x1800cdd54
call fcn.1800192a0
movss xmm6, dword [rax + 8]
movss xmm7, dword [rax + 0xc]
mulss xmm6, xmm9
mov rcx, qword [rbp + 0x1c8]
call fcn.1800cee10
test al, al
jne 0x1800cdcfc
movaps xmm0, xmm6
unpcklps xmm0, xmm7
movsd qword [rbp + 0x1c8], xmm0
cmp byte [0x1802efddd], 0
je 0x1800cdd18
mulss xmm7, xmm9
movaps xmm0, xmm6
unpcklps xmm0, xmm7
movsd qword [rbp + 0x1c8], xmm0
movss xmm6, dword [0x180250028]
lea rcx, [rbp + 0x200]
call fcn.180016140
movss dword [rsp + 0x20], xmm6
mov r9d, eax
lea r8, [rbp + 0x1f8]
lea rdx, [rbp + 0x1c8]
mov r14, qword [rbp]
mov rcx, r14
call fcn.18002bd30
xorps xmm6, xmm6
jmp 0x1800cdd58
mov r14, qword [rbp]
cmp byte [0x1802efde3], 0
je 0x1800cddc6
mov r8d, 7
mov rdx, r12
lea rcx, [rbp + 0xa0]
call fcn.1800c3760
lea rcx, [rbp + 0x200]
call fcn.180016140
movss xmm2, dword [rbp + 0xa4]
subss xmm2, dword [rbp + 0x1d4]
andps xmm2, xmm13
mulss xmm2, dword [0x18016d804]
movss xmm0, dword [0x180168ba0]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0x5a
mov r9d, eax
lea rdx, [rbp + 0x1d0]
mov rcx, r14
call fcn.18002a6b0
movss xmm14, dword [rbp - 4]
movss xmm13, dword [rbp - 8]
cmp byte [0x1802efde4], 0
je 0x1800ce0a0
movss xmm2, dword [r12 + 0x280]
subss xmm2, dword [0x1801b4c88]
mov rax, qword [0x1801e8e78]
movss xmm0, dword [rax + r12]
subss xmm0, dword [0x1801b4c88]
divss xmm2, xmm0
mulss xmm2, xmm8
movaps xmm1, xmm2
divss xmm1, xmm8
mulss xmm1, xmm12
movaps xmm0, xmm6
maxss xmm0, xmm1
movaps xmm9, xmm12
minss xmm9, xmm0
movaps xmm1, xmm6
maxss xmm1, xmm2
movdqa xmm0, xmmword [0x1801b4de0]
movaps xmm6, xmm0
movss xmm2, dword [0x180168dec]
comiss xmm1, xmm2
ja 0x1800cdf36
comiss xmm1, dword [0x18016d840]
jbe 0x1800cde6a
comiss xmm2, xmm1
jbe 0x1800cde6a
movdqa xmm6, xmmword [0x1801b4dc0]
jmp 0x1800cdf36
movss xmm0, dword [0x180168bfc]
comiss xmm1, xmm0
jbe 0x1800cde91
movss xmm2, dword [0x180168de4]
comiss xmm2, xmm1
jbe 0x1800cde91
movdqa xmm6, xmmword [0x1801b4db0]
jmp 0x1800cdf36
movss xmm2, dword [0x180168de0]
comiss xmm1, xmm2
jbe 0x1800cdeb0
comiss xmm0, xmm1
jbe 0x1800cdeb0
movdqa xmm6, xmmword [0x1801b4df0]
jmp 0x1800cdf36
movss xmm0, dword [0x180168bf4]
comiss xmm1, xmm0
jbe 0x1800cdecc
comiss xmm2, xmm1
jbe 0x1800cdecc
movdqa xmm6, xmmword [0x1801b4da0]
jmp 0x1800cdf36
movss xmm2, dword [0x180168bec]
comiss xmm1, xmm2
jbe 0x1800cdee8
comiss xmm0, xmm1
jbe 0x1800cdee8
movdqa xmm6, xmmword [0x1801b4d90]
jmp 0x1800cdf36
movss xmm0, dword [0x180168be0]
comiss xmm1, xmm0
jbe 0x1800cdf04
comiss xmm2, xmm1
jbe 0x1800cdf04
movdqa xmm6, xmmword [rbp + 0xf0]
jmp 0x1800cdf36
movss xmm2, dword [0x180168bd0]
comiss xmm1, xmm2
jbe 0x1800cdf20
comiss xmm0, xmm1
jbe 0x1800cdf20
movdqa xmm6, xmmword [rbp + 0x100]
jmp 0x1800cdf36
comiss xmm1, dword [0x180168bc0]
jbe 0x1800cdf36
comiss xmm2, xmm1
jbe 0x1800cdf36
movdqa xmm6, xmmword [rbp + 0x110]
movaps xmm8, xmm12
mulss xmm8, dword [0x180168b78]
addss xmm8, xmm14
movaps xmm7, xmm15
mulss xmm7, dword [0x180168b78]
addss xmm7, xmm13
movaps xmm0, xmm15
mulss xmm0, dword [0x1801b4c30]
addss xmm7, xmm0
movups xmm0, xmmword [rbp + 0xc0]
movdqa xmmword [rsp + 0x50], xmm0
movaps xmm0, xmm7
unpcklps xmm0, xmm8
movsd qword [rbp + 0x1c0], xmm0
movq rcx, xmm0
call fcn.1800cee10
test al, al
je 0x1800cdfe8
call fcn.180018ba0
mov r14, rax
lea rcx, [rsp + 0x50]
call fcn.180016140
movss xmm1, dword [rbp + 0x1c4]
subss xmm1, xmm12
movss xmm0, dword [rbp + 0x1c0]
movss dword [rbp + 0x18], xmm0
movss dword [rbp + 0x1c], xmm1
movss xmm0, dword [0x180168bb0]
movss dword [rsp + 0x20], xmm0
mov r9d, eax
lea r8, [rbp + 0x18]
lea rdx, [rbp + 0x1c0]
mov rcx, r14
call fcn.18002bd30
movss dword [rbp + 0x80], xmm6
movaps xmm0, xmm6
shufps xmm0, xmm6, 0x55
movss dword [rbp + 0x84], xmm0
movaps xmm1, xmm6
shufps xmm1, xmm6, 0xaa
movss dword [rbp + 0x88], xmm1
shufps xmm6, xmm6, 0xff
movss dword [rbp + 0x8c], xmm6
movaps xmm0, xmm7
unpcklps xmm0, xmm8
movsd qword [rbp + 0x1c0], xmm0
movq rcx, xmm0
call fcn.1800cee10
test al, al
je 0x1800ce08e
call fcn.180018ba0
mov r14, rax
lea rcx, [rbp + 0x80]
call fcn.180016140
movss xmm1, dword [rbp + 0x1c4]
subss xmm1, xmm9
movss xmm0, dword [rbp + 0x1c0]
movss dword [rbp + 0x20], xmm0
movss dword [rbp + 0x24], xmm1
movss xmm0, dword [0x1801b4c40]
movss dword [rsp + 0x20], xmm0
mov r9d, eax
lea r8, [rbp + 0x20]
lea rdx, [rbp + 0x1c0]
mov rcx, r14
call fcn.18002bd30
movss xmm8, dword [0x180168c00]
movss xmm9, dword [0x180168b78]
cmp byte [0x1802efde5], 0
je 0x1800ce20e
movaps xmm1, xmm8
mov rax, qword [0x1801e8e68]
minss xmm1, dword [rax + r12]
divss xmm1, xmm8
mulss xmm1, xmm8
divss xmm1, xmm8
mulss xmm1, xmm10
movaps xmm0, xmm12
minss xmm0, xmm1
xorps xmm8, xmm8
maxss xmm8, xmm0
movaps xmm7, xmm12
mulss xmm7, xmm9
addss xmm7, xmm14
movaps xmm0, xmm15
mulss xmm0, xmm9
movaps xmm6, xmm13
subss xmm6, xmm0
movaps xmm1, xmm15
mulss xmm1, dword [0x1801b4c30]
subss xmm6, xmm1
movups xmm0, xmmword [rbp + 0xc0]
movdqa xmmword [rsp + 0x50], xmm0
movaps xmm0, xmm6
unpcklps xmm0, xmm7
movsd qword [rbp + 0x1c0], xmm0
movq rcx, xmm0
call fcn.1800cee10
test al, al
je 0x1800ce190
call fcn.180018ba0
mov r14, rax
lea rcx, [rsp + 0x50]
call fcn.180016140
movss xmm1, dword [rbp + 0x1c4]
subss xmm1, xmm12
movss xmm0, dword [rbp + 0x1c0]
movss dword [rbp + 0x28], xmm0
movss dword [rbp + 0x2c], xmm1
movss xmm0, dword [0x180168bb0]
movss dword [rsp + 0x20], xmm0
mov r9d, eax
lea r8, [rbp + 0x28]
lea rdx, [rbp + 0x1c0]
mov rcx, r14
call fcn.18002bd30
movups xmm0, xmmword [rbp + 0x120]
movdqa xmmword [rsp + 0x50], xmm0
movaps xmm0, xmm6
unpcklps xmm0, xmm7
movsd qword [rbp + 0x1c0], xmm0
movq rcx, xmm0
call fcn.1800cee10
test al, al
je 0x1800ce20e
call fcn.180018ba0
mov r14, rax
lea rcx, [rsp + 0x50]
call fcn.180016140
movss xmm1, dword [rbp + 0x1c4]
subss xmm1, xmm8
movss xmm0, dword [rbp + 0x1c0]
movss dword [rbp + 0x30], xmm0
movss dword [rbp + 0x34], xmm1
movss xmm0, dword [0x1801b4c40]
movss dword [rsp + 0x20], xmm0
mov r9d, eax
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x1c0]
mov rcx, r14
call fcn.18002bd30
xor r14d, r14d
mov r12d, r14d
cmp byte [0x1802efde1], r14b
je 0x1800ce8e7
lea rcx, [r15 + 0x20]
test r15, r15
je 0x1800ce276
mov rax, qword [0x1802efc78]
call rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x1800ce250
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.180048670
or r13d, 4
lea rax, [rbp - 0x50]
or r13d, 1
jmp 0x1800ce393
mov eax, dword [str.YHZ:m]
mov dword [rbp + 0x1c0], eax
cmp byte [0x1801b22f7], r12b
je 0x1800ce349
mov r8d, r14d
cmp dword [rbp - 0x10], 2
jl 0x1800ce311
movdqa xmm2, xmmword [rbp + 0x130]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmmword [rbp + 0x140]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmmword [rbp + 0x140]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [rbp + 0x150]
movdqa xmm1, xmm2
psubd xmm1, xmm0
andps xmm1, xmmword [rbp + 0x160]
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmmword [rbp + 0x170]
movd xmm0, eax
xorps xmm1, xmm0
movd dword [rbp + 0x1c0], xmm1
jmp 0x1800ce349
lea r9, [rbp + 0x1c0]
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x1800ce320
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
lea rax, [rbp + 0x1c0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x1800ce370
lea rdx, [rbp + 0x1c0]
lea rcx, [rsp + 0x50]
call fcn.180048670
lea rax, [rsp + 0x50]
or r13d, 2
mov dword [rsp + 0x44], r13d
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1d8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1e8], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
test r13b, 2
je 0x1800ce409
and r13d, 0xfffffffd
mov dword [rsp + 0x44], r13d
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1800ce409
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ce403
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800cec70
call fcn.18015d0f0
nop
test r13b, 1
je 0x1800ce453
and r13d, 0xfffffffe
mov dword [rsp + 0x44], r13d
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1800ce453
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ce44e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800cec77
call fcn.18015d0f0
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1800ce779
cvttsd2si edx, xmm11
lea rcx, [rbp + 0x1a0]
call fcn.1800e4300
mov r14, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 3
jb 0x1800ce517
lea rax, [r8 + 3]
mov qword [r14 + 0x10], rax
mov r15, r14
cmp rcx, 0xf
jbe 0x1800ce4a0
mov r15, qword [r14]
lea rax, [0x1801b22ff]
cmp rax, r15
jbe 0x1800ce4ce
lea rax, [r15 + r8]
lea rcx, [0x1801b22fc]
cmp rcx, rax
ja 0x1800ce4ce
cmp r15, rcx
ja 0x1800ce4c6
xor r12d, r12d
jmp 0x1800ce4d4
mov r12, r15
sub r12, rcx
jmp 0x1800ce4d4
mov r12d, 3
inc r8
lea rcx, [r15 + 3]
mov rdx, r15
call sub.VCRUNTIME140.dll_memmove
mov r8, r12
lea rdx, [0x1801b22fc]
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 3
sub r8, r12
lea rdx, [0x1801b22fc]
add rdx, 3
add rdx, r12
lea rcx, [r15 + r12]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1800ce543
mov qword [rsp + 0x28], 3
lea rax, [0x1801b22fc]
mov qword [rsp + 0x20], rax
xor r9d, r9d
movzx r8d, dil
mov edx, 3
mov rcx, r14
call fcn.180048d10
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xor r15d, r15d
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r15
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], r15b
or r13d, 8
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1800ce5ae
lea rax, [rcx + 1]
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x30]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x30]
mov word [rax + rcx], WSASetLastError
lea rax, [rbp - 0x30]
jmp 0x1800ce5d0
mov qword [rsp + 0x20], 1
lea r9, [0x1801b22f8]
movzx r8d, bl
mov edx, 1
lea rcx, [rbp - 0x30]
call fcn.180048b80
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xd0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xe0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or r13d, 0x10
mov dword [rbp + 0x1c0], r13d
mov dword [rsp + 0x44], r13d
lea r9, [rbp + 0xd0]
movq r15, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r13, xmm0
cmp r13, 0xf
cmova r9, r15
mov rcx, qword [rbp + 0x1e8]
mov qword [rsp + 0x50], rcx
mov rdx, qword [rbp + 0x1f0]
mov rax, rdx
sub rax, rcx
movq r12, xmm1
cmp r12, rax
ja 0x1800ce684
lea rax, [rcx + r12]
mov qword [rbp + 0x1e8], rax
lea r14, [rbp + 0x1d8]
cmp rdx, 0xf
cmova r14, qword [rbp + 0x1d8]
add rcx, r14
mov r8, r12
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r12 + r14]
mov rcx, qword [rsp + 0x50]
mov byte [rax + rcx], 0
jmp 0x1800ce6aa
mov qword [rsp + 0x20], r12
movzx r8d, sil
mov rdx, r12
lea rcx, [rbp + 0x1d8]
call fcn.180048b80
mov r13, qword [rbp + 0xe8]
mov r15, qword [rbp + 0xd0]
cmp r13, 0xf
jbe 0x1800ce6e2
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x1800ce6d9
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800cec7e
mov rcx, r15
call fcn.18015d0f0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1800ce71d
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ce718
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800cec85
call fcn.18015d0f0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0xf
jbe 0x1800ce772
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ce76d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800cec8c
call fcn.18015d0f0
mov r13d, dword [rbp + 0x1c0]
cvttss2si r15d, xmm13
xorps xmm1, xmm1
cvtss2sd xmm1, xmm14
xorps xmm0, xmm0
cvtss2sd xmm0, xmm12
movsd xmm8, qword [0x1801b4c58]
divsd xmm0, xmm8
subsd xmm1, xmm0
cvttsd2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm12
cvttss2si r14d, xmm1
lea rax, [rbp + 0x1d8]
cmp qword [rbp + 0x1f0], 0xf
cmova rax, qword [rbp + 0x1d8]
xor edx, edx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
movss xmm0, dword [0x180168c14]
movss dword [rsp + 0x20], xmm0
movaps xmm3, xmm0
movss xmm2, dword [0x1801e8e8c]
lea rdx, [rbp - 0x80]
mov rcx, qword [0x1802ef190]
call fcn.180030c70
cvttss2si r12d, dword [rax + 4]
movd xmm6, r15d
cvtdq2ps xmm6, xmm6
movd xmm7, r14d
cvtdq2ps xmm7, xmm7
movups xmm0, xmmword [rbp + 8]
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1800ce86c
call fcn.180016140
movss dword [rbp + 0x38], xmm6
movss dword [rbp + 0x3c], xmm7
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
movss xmm3, dword [0x1801e8e8c]
lea r8, [rbp + 0x38]
lea rdx, [rbp + 0x1d8]
mov rcx, qword [0x1802ef190]
call fcn.1800be4f0
jmp 0x1800ce8a4
call fcn.180016140
movss dword [rbp + 0x40], xmm6
movss dword [rbp + 0x44], xmm7
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
movss xmm3, dword [0x1801e8e8c]
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x1d8]
mov rcx, qword [0x1802ef190]
call fcn.1800bef90
nop
mov rdx, qword [rbp + 0x1f0]
cmp rdx, 0xf
jbe 0x1800ce8f0
inc rdx
mov rcx, qword [rbp + 0x1d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ce8e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800cec93
call fcn.18015d0f0
jmp 0x1800ce8f0
movsd xmm8, qword [0x1801b4c58]
mov r8, qword [rsp + 0x70]
cmp byte [0x1802efde2], 0
je 0x1800cebdf
mov rax, qword [0x1802efc30]
mov rcx, qword [rax + r8]
test rcx, rcx
je 0x1800cebdf
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x1800cebdf
mov ecx, dword [rcx + 0x10]
call fcn.1800cb180
mov r14, rax
cvttss2si edx, xmm13
xorps xmm1, xmm1
cvtss2sd xmm1, xmm14
xorps xmm0, xmm0
cvtss2sd xmm0, xmm12
divsd xmm0, xmm8
subsd xmm1, xmm0
cvttsd2si ecx, xmm1
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
addss xmm1, xmm12
cvttss2si ecx, xmm1
movd xmm6, edx
cvtdq2ps xmm6, xmm6
add ecx, r12d
movd xmm7, ecx
cvtdq2ps xmm7, xmm7
movups xmm10, xmmword [rbp + 8]
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm10
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1800ceb22
call fcn.180016140
mov r15d, eax
movss xmm8, dword [0x1801e8e8c]
movss dword [rbp + 0x48], xmm6
movss dword [rbp + 0x4c], xmm7
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [r14 + r8], 0
jne 0x1800ce9d0
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.180048670
nop
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], r15d
movaps xmm3, xmm8
lea r8, [rbp + 0x48]
lea rdx, [rbp - 0x50]
mov rcx, qword [0x1802ef190]
call fcn.1800be4f0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1800cea45
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800cea40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800cec9a
call fcn.18015d0f0
mov r8, qword [rsp + 0x70]
cmp byte [0x1802efde6], 0
je 0x1800cea75
movups xmm0, xmmword [rbp + 0x200]
movdqa xmmword [rsp + 0x50], xmm0
movss xmm2, dword [0x180250028]
lea rdx, [rsp + 0x50]
mov rcx, r8
call fcn.1800be7c0
cmp byte [0x1802efde7], 0
je 0x1800cec6b
movaps xmm7, xmm15
mulss xmm7, xmm9
movaps xmm8, xmm7
addss xmm8, xmm13
movaps xmm6, xmm12
mulss xmm6, xmm9
movaps xmm9, xmm14
subss xmm9, xmm6
movaps xmm0, xmm8
unpcklps xmm0, xmm9
movq rcx, xmm0
call fcn.1800cee10
test al, al
je 0x1800cebe9
movdqa xmm0, xmmword [rbp + 0x180]
movups xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.180016140
movss dword [rbp + 0x58], xmm8
addss xmm6, xmm14
movss dword [rbp + 0x5c], xmm6
subss xmm13, xmm7
movss dword [rbp + 0x60], xmm13
movss dword [rbp + 0x64], xmm9
mov dword [rsp + 0x28], 0
xorps xmm6, xmm6
movss dword [rsp + 0x20], xmm6
mov r9d, eax
lea r8, [rbp + 0x58]
lea rdx, [rbp + 0x60]
mov rcx, qword [rbp]
call fcn.18002ce40
jmp 0x1800cebec
call fcn.180016140
mov r15d, eax
movss xmm8, dword [0x1801e8e8c]
movss dword [rbp + 0x50], xmm6
movss dword [rbp + 0x54], xmm7
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [r14 + r8], 0
jne 0x1800ceb60
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.180048670
nop
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], r15d
movaps xmm3, xmm8
lea r8, [rbp + 0x50]
lea rdx, [rbp - 0x50]
mov rcx, qword [0x1802ef190]
call fcn.1800bef90
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1800cea45
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800cea40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800cea40
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movups xmm10, xmmword [rbp + 8]
jmp 0x1800cea4a
xorps xmm6, xmm6
movdqa xmmword [rsp + 0x50], xmm10
cvttss2si r8d, xmm12
cvttss2si edx, xmm15
lea r9, [rsp + 0x50]
mov rcx, qword [rbp + 0x70]
call fcn.1800bdf00
movss xmm8, dword [0x180168c00]
movdqa xmm13, xmmword [0x180168cf0]
movdqa xmm14, xmmword [0x1801b4d40]
movsd xmm12, qword [str.333333]
movsd xmm15, qword [0x1801b4c60]
mov rcx, qword [rbp - 0x58]
mov r14, qword [rbp - 0x60]
mov r15, qword [rsp + 0x78]
mov rax, qword [rbp + 0x68]
inc rax
mov qword [rbp + 0x68], rax
cmp rax, rcx
jge 0x1800ceca1
movss xmm7, dword [rbp - 0x70]
movss xmm10, dword [rbp - 0x6c]
movss xmm11, dword [rbp - 0x68]
jmp 0x1800cda87
xorps xmm6, xmm6
jmp 0x1800cec0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.18015d6a0
lea r11, [rsp + 0x3c0]
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]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret