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

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rax - 0x78]
sub rsp, 0x150
movaps xmmword [rax - 0x38], xmm6
xor r14d, r14d
cmp byte [0x18029e050], r14b
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movss xmm9, dword [0x1800b8f70]
movaps xmmword [rax - 0x78], xmm10
movsd xmm10, qword [0x1800c07e8]
je 0x1800665d4
mov rax, qword [0x18029e260]
test rax, rax
jne 0x18006647a
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 0x18006645f
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x18006645f
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 0x18006645b
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rcx]
inc rcx
test al, al
jne 0x180066438
cmp r11d, 0x95466b05
je 0x1800664ed
test edx, edx
jne 0x18006641c
mov rax, qword [r10]
mov r10, rax
cmp rax, rbx
je 0x180066470
cmp qword [rax + 0x30], r14
jne 0x1800663f8
mov rax, r14
mov qword [0x18029e260], rax
mov ecx, dword [reloc.WS2_32.dll_bind]
call rax
test ax, ax
jns 0x1800665d4
call fcn.180058dd0
mov rbx, rax
test rax, rax
je 0x1800668b0
cmp dword [0x18029e05c], 1
jne 0x1800665c3
movss xmm8, dword [0x18029cf98]
lea rcx, [rbp - 0x80]
movss xmm6, dword [0x18029cf9c]
xor r8d, r8d
mov rdx, rax
mulss xmm8, xmm9
mulss xmm6, xmm9
call fcn.180058b00
mov ecx, dword [0x18029e058]
sub ecx, 1
je 0x18006651c
sub ecx, 1
je 0x180066514
cmp ecx, 1
jne 0x18006650a
mov r8d, ecx
jmp 0x180066522
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 0x180066473
mov edi, dword [rbp - 0x78]
movsd xmm7, qword [rbp - 0x80]
jmp 0x180066539
mov r8d, 8
jmp 0x180066522
mov r8d, 7
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.180058b00
movsd xmm7, qword [rsp + 0x70]
mov edi, dword [rsp + 0x78]
lea rdx, [rbp - 0x70]
movsd qword [rbp - 0x70], xmm7
lea rcx, [rbp + 0x80]
mov dword [rbp - 0x68], edi
call fcn.180049144
movss xmm0, dword [rbp + 0x84]
cvtps2pd xmm1, xmm6
cvtps2pd xmm0, xmm0
subsd xmm0, xmm1
movaps xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
movss xmm0, dword [rbp + 0x80]
cvtps2pd xmm1, xmm8
cvtps2pd xmm0, xmm0
subsd xmm0, xmm1
movaps xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov eax, dword [reloc.WS2_32.dll_getpeername]
xorps xmm1, xmm1
lea ecx, [rax + rax*4]
add ecx, ecx
cvtsi2ss xmm1, ecx
comiss xmm1, xmm0
jbe 0x1800665c3
lea rcx, [rbp - 0x60]
movsd qword [rbp - 0x60], xmm7
mov dword [rbp - 0x58], edi
call fcn.180057b28
cmp dword [0x18029e05c], r14d
jne 0x1800665d4
mov rcx, rbx
call fcn.180061308
cmp dword [0x18029e05c], 3
jne 0x180066708
call fcn.180059a18
mov ecx, eax
mov edi, eax
call fcn.1800586d8
xor edx, edx
mov ecx, eax
call fcn.180058810
call fcn.180058dd0
mov rbx, rax
test rax, rax
je 0x1800668b0
movss xmm7, dword [0x18029cf98]
lea rcx, [rbp - 0x50]
movss xmm6, dword [0x18029cf9c]
xor r8d, r8d
mov rdx, rax
mulss xmm7, xmm9
mulss xmm6, xmm9
call fcn.180058b00
movsd xmm0, qword [rbp - 0x50]
lea rdx, [rbp - 0x40]
mov eax, dword [rbp - 0x48]
lea rcx, [rbp + 0x88]
movsd qword [rbp - 0x40], xmm0
mov dword [rbp - 0x38], eax
call fcn.180049144
movss xmm0, dword [rbp + 0x8c]
cvtps2pd xmm1, xmm6
cvtps2pd xmm0, xmm0
subsd xmm0, xmm1
movaps xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
movss xmm0, dword [rbp + 0x88]
cvtps2pd xmm1, xmm7
cvtps2pd xmm0, xmm0
subsd xmm0, xmm1
movaps xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
cmp byte [0x18029da5e], r14b
je 0x1800666b2
mov qword [0x18029b260], r14
mov byte [0x18029da5e], r14b
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 0x180066708
call fcn.180058dd0
test rax, rax
je 0x180066708
mov ecx, edi
call fcn.18005940c
test eax, eax
je 0x180066708
mov byte [0x18029da5e], 1
mov qword [0x18029b260], rbx
call fcn.180058dd0
test rax, rax
je 0x1800668b0
call fcn.180058dd0
test rax, rax
je 0x1800668b0
cmp dword [0x18029e05c], 2
jne 0x1800668b0
call fcn.180059a18
mov ecx, eax
mov ebx, eax
call fcn.1800586d8
xor edx, edx
mov ecx, eax
mov edi, eax
call fcn.180058810
movaps xmm8, xmm0
call fcn.180058dd0
test rax, rax
je 0x1800668b0
movss xmm7, dword [0x18029cf98]
lea rcx, [rbp - 0x30]
movss xmm6, dword [0x18029cf9c]
xor r8d, r8d
mov rdx, rax
mulss xmm7, xmm9
mulss xmm6, xmm9
call fcn.180058b00
movsd xmm0, qword [rbp - 0x30]
lea rdx, [rbp - 0x20]
mov eax, dword [rbp - 0x28]
lea rcx, [rbp + 0x90]
movsd qword [rbp - 0x20], xmm0
mov dword [rbp - 0x18], eax
call fcn.180049144
movss xmm0, dword [rbp + 0x94]
movaps xmm1, xmm10
cvtps2pd xmm0, xmm0
cvtps2pd xmm2, xmm6
subsd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
movaps xmm1, xmm10
movss xmm0, dword [rbp + 0x90]
cvtps2pd xmm0, xmm0
cvtps2pd xmm2, xmm7
subsd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm6
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 0x180066892
call fcn.180058dd0
test rax, rax
je 0x180066892
mov ecx, ebx
call fcn.18005940c
test eax, eax
je 0x180066892
call fcn.180058dd0
test rax, rax
je 0x1800668b0
movsd xmm0, qword [rax + 0x90]
movss xmm2, dword [rax + 0x98]
movss xmm3, dword [0x1800baaf4]
movaps xmm4, xmm2
subss xmm4, dword [0x1800b8f74]
addss xmm2, dword [0x1800b8f78]
movss dword [rsp + 0x60], xmm3
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x48], ebx
movsd qword [rsp + 0x70], xmm0
movss xmm3, dword [rsp + 0x70]
movss xmm1, dword [rsp + 0x74]
movaps xmm0, xmm3
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], r14d
cvttss2si eax, xmm8
mov dword [rsp + 0x30], eax
movss dword [rsp + 0x28], xmm4
movss dword [rsp + 0x20], xmm1
call fcn.18006114c
mov ecx, ebx
call fcn.1800586d8
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
lea r11, [rsp + 0x150]
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]
mov rsp, r11
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret