Function at 0x1800668ac
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
cmp byte [0x18017a609], 0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
je 0x180066ae1
mov rax, qword [0x18017a6b0]
test rax, rax
jne 0x18006698f
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rbx, qword [rax]
mov r10, rbx
mov r8, qword [r10 + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x180066974
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x180066974
mov esi, dword [r9 + 0x20]
dec edx
mov r11d, 0x811c9dc5
lea rax, [rsi + rdx*4]
mov ecx, dword [rax + r8]
add rcx, r8
mov al, byte [rcx]
inc rcx
test al, al
je 0x180066970
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rcx]
inc rcx
test al, al
jne 0x18006694d
cmp r11d, 0x95466b05
je 0x180066a0b
test edx, edx
jne 0x180066931
mov rax, qword [r10]
mov r10, rax
cmp rax, rbx
je 0x180066986
cmp qword [rax + 0x30], 0
jne 0x18006690d
xor eax, eax
mov qword [0x18017a6b0], rax
mov ecx, dword [reloc.WS2_32.dll_bind]
call rax
bt ax, 0xf
jae 0x180066ae1
call fcn.1800617c8
mov rbx, rax
test rax, rax
je 0x180066ae1
cmp dword [reloc.WS2_32.dll_accept], 1
jne 0x180066ae1
movss xmm9, dword [0x180179e60]
lea rcx, [rbp - 0x19]
movss xmm6, dword [0x180179e64]
xor r8d, r8d
mulss xmm9, dword [0x1800bbe0c]
mov rdx, rax
mulss xmm6, dword [0x1800bbe0c]
call fcn.1800614f8
mov ecx, dword [0x18017a618]
sub ecx, 1
je 0x180066a3b
sub ecx, 1
je 0x180066a33
cmp ecx, 1
jne 0x180066a28
mov r8d, ecx
jmp 0x180066a41
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x180066988
mov ebx, dword [rbp - 0x11]
movsd xmm8, qword [rbp - 0x19]
jmp 0x180066a56
mov r8d, 8
jmp 0x180066a41
mov r8d, 7
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.1800614f8
movsd xmm8, qword [rbp - 0x29]
mov ebx, dword [rbp - 0x21]
lea rdx, [rbp - 9]
movsd qword [rbp - 9], xmm8
lea rcx, [rbp + 0x67]
mov dword [rbp - 1], ebx
call fcn.180065d9c
movss xmm0, dword [rbp + 0x6b]
cvtps2pd xmm1, xmm6
cvtps2pd xmm0, xmm0
subsd xmm0, xmm1
movsd xmm1, qword [0x1800c3aa8]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [0x1800c3aa8]
movaps xmm7, xmm0
movss xmm0, dword [rbp + 0x67]
cvtps2pd xmm0, xmm0
cvtps2pd xmm2, xmm9
subsd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm7, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov eax, dword [reloc.WS2_32.dll_getpeername]
lea ecx, [rax + rax*4]
add ecx, ecx
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x180066ae1
lea rcx, [rbp + 7]
movsd qword [rbp + 7], xmm8
mov dword [rbp + 0xf], ebx
call fcn.180061100
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rbp
ret