Function at 0x18006f860
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
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x28], xmm6
xor r14d, r14d
cmp byte [0x18015a5f2], r14b
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
je 0x18006fa95
mov rax, qword [0x180159af8]
test rax, rax
jne 0x18006f945
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 0x18006f92a
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x18006f92a
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 0x18006f926
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rcx]
inc rcx
test al, al
jne 0x18006f903
cmp r11d, 0x95466b05
je 0x18006f9bf
test edx, edx
jne 0x18006f8e7
mov rax, qword [r10]
mov r10, rax
cmp rax, rbx
je 0x18006f93b
cmp qword [rax + 0x30], r14
jne 0x18006f8c3
mov rax, r14
mov qword [0x180159af8], rax
mov ecx, dword [reloc.WS2_32.dll_bind]
call rax
test ax, ax
jns 0x18006fa95
call fcn.1800677cc
mov rbx, rax
test rax, rax
je 0x18006fa95
cmp dword [reloc.WS2_32.dll_accept], 1
jne 0x18006fa95
movss xmm9, dword [0x1801597d0]
lea rcx, [rbp - 0x29]
movss xmm6, dword [0x1801597d4]
xor r8d, r8d
mulss xmm9, dword [0x1800cb1f8]
mov rdx, rax
mulss xmm6, dword [0x1800cb1f8]
call fcn.18005e33c
mov ecx, dword [0x18015a5f8]
sub ecx, 1
je 0x18006f9ef
sub ecx, 1
je 0x18006f9e7
cmp ecx, 1
jne 0x18006f9dc
mov r8d, ecx
jmp 0x18006f9f5
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 0x18006f93e
mov ebx, dword [rbp - 0x21]
movsd xmm8, qword [rbp - 0x29]
jmp 0x18006fa0a
mov r8d, 8
jmp 0x18006f9f5
mov r8d, 7
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.18005e33c
movsd xmm8, qword [rbp - 0x39]
mov ebx, dword [rbp - 0x31]
lea rdx, [rbp - 0x19]
movsd qword [rbp - 0x19], xmm8
lea rcx, [rbp + 0x67]
mov dword [rbp - 0x11], ebx
call fcn.18006057c
movss xmm0, dword [rbp + 0x6b]
cvtps2pd xmm1, xmm6
cvtps2pd xmm0, xmm0
subsd xmm0, xmm1
movsd xmm1, qword [0x1800d2ad0]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [0x1800d2ad0]
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 0x18006fa95
lea rcx, [rbp - 9]
movsd qword [rbp - 9], xmm8
mov dword [rbp - 1], ebx
call fcn.180066e80
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret