Function at 0x18008069c
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 + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
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
call fcn.180076bec
xor r15d, r15d
mov rbx, rax
test rax, rax
je 0x180080dd8
cmp byte [0x18019c4aa], r15b
movss xmm9, dword [0x1800d8094]
movsd xmm10, qword [0x1801794d8]
je 0x1800807a9
call fcn.180076bec
test rax, rax
je 0x180080dd8
movsd xmm0, qword [rax + 0x90]
lea rdx, [rsp + 0x40]
mov eax, dword [rax + 0x98]
lea rcx, [rbp + 0x50]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
call fcn.18007f3a4
movss xmm1, dword [0x18019bd5c]
movss xmm0, dword [rbp + 0x54]
mulss xmm1, xmm9
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
subsd xmm0, xmm1
movaps xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movss xmm1, dword [0x18019bd58]
movaps xmm6, xmm0
movss xmm0, dword [rbp + 0x50]
mulss xmm1, xmm9
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
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
xorps xmm1, xmm1
cvtsi2ss xmm1, dword [0x1801996fc]
comiss xmm0, xmm1
ja 0x180080dd8
xor r8d, r8d
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.1800768f4
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x50]
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
call fcn.18007f3a4
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r12d, 1
mov ecx, r12d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rax, qword [0x18019c550]
test rax, rax
jne 0x180080894
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rdi, qword [rax]
mov r10, rdi
mov r8, qword [r10 + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x180080879
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x180080879
mov r14d, dword [r9 + 0x20]
dec edx
mov r11d, 0x811c9dc5
lea rax, [r8 + rdx*4]
mov ecx, dword [rax + r14]
add rcx, r8
mov al, byte [rcx]
add rcx, r12
test al, al
je 0x180080875
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rcx]
add rcx, r12
test al, al
jne 0x180080856
cmp r11d, 0x95466b05
je 0x1800808b7
test edx, edx
jne 0x18008083a
mov rax, qword [r10]
mov r10, rax
cmp rax, rdi
je 0x18008088a
cmp qword [rax + 0x30], r15
jne 0x180080816
mov rax, r15
mov qword [0x18019c550], rax
mov ecx, dword [reloc.WS2_32.dll_bind]
call rax
test ax, ax
jns 0x18008090d
lea rcx, [rbx + 0x280]
xorps xmm0, xmm0
test rcx, rcx
js 0x1800808d1
cvtsi2ss xmm0, rcx
jmp 0x1800808e6
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 0x18008088d
mov rax, rcx
and rcx, r12
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
comiss xmm0, dword [0x1800d80c4]
jb 0x180080905
xor edx, edx
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
mov rcx, rbx
call fcn.18007f968
cmp byte [0x18019c4b0], r15b
mov r14d, 7
je 0x180080b08
mov rax, qword [0x18019c550]
test rax, rax
jne 0x1800809c8
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 0x1800809ad
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x1800809ad
mov esi, dword [r9 + 0x20]
dec edx
mov r11d, 0x811c9dc5
lea rax, [r8 + rdx*4]
mov ecx, dword [rax + rsi]
add rcx, r8
mov al, byte [rcx]
add rcx, r12
test al, al
je 0x1800809a9
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rcx]
add rcx, r12
test al, al
jne 0x180080986
cmp r11d, 0x95466b05
je 0x180080a3c
test edx, edx
jne 0x18008096b
mov rax, qword [r10]
mov r10, rax
cmp rax, rbx
je 0x1800809be
cmp qword [rax + 0x30], r15
jne 0x180080947
mov rax, r15
mov qword [0x18019c550], rax
mov ecx, dword [reloc.WS2_32.dll_accept]
call rax
test ax, ax
jns 0x180080b08
call fcn.180076bec
mov rbx, rax
test rax, rax
je 0x180080dd8
cmp dword [reloc.WS2_32.dll_accept], r12d
jne 0x180080b08
movss xmm8, dword [0x18019bd58]
lea rcx, [rsp + 0x70]
movss xmm6, dword [0x18019bd5c]
mov r8d, r14d
mov rdx, rax
mulss xmm8, xmm9
mulss xmm6, xmm9
call fcn.1800768f4
mov ecx, dword [0x18019c4b4]
sub ecx, r12d
je 0x180080a6d
sub ecx, r12d
je 0x180080a65
cmp ecx, r12d
jne 0x180080a59
mov r8d, r12d
jmp 0x180080a70
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 0x1800809c1
mov ebx, dword [rsp + 0x78]
movsd xmm7, qword [rsp + 0x70]
jmp 0x180080a87
mov r8d, 8
jmp 0x180080a70
mov r8d, r14d
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1800768f4
movsd xmm7, qword [rsp + 0x40]
mov ebx, dword [rsp + 0x48]
lea rdx, [rbp - 0x80]
movsd qword [rbp - 0x80], xmm7
lea rcx, [rbp + 0x50]
mov dword [rbp - 0x78], ebx
call fcn.18007f3a4
movss xmm0, dword [rbp + 0x54]
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 + 0x50]
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 [0x18019c4ac]
xorps xmm1, xmm1
lea ecx, [rax + rax*4]
add ecx, ecx
cvtsi2ss xmm1, ecx
comiss xmm1, xmm0
jbe 0x180080b08
lea rcx, [rbp - 0x70]
movsd qword [rbp - 0x70], xmm7
mov dword [rbp - 0x68], ebx
call fcn.180076518
cmp byte [0x18019bcc9], r15b
je 0x180080dd8
mov rax, qword [0x18019c550]
test rax, rax
jne 0x180080bbd
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 0x180080ba2
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x180080ba2
mov esi, dword [r9 + 0x20]
dec edx
mov r11d, 0x811c9dc5
lea rax, [r8 + rdx*4]
mov ecx, dword [rax + rsi]
add rcx, r8
mov al, byte [rcx]
add rcx, r12
test al, al
je 0x180080b9e
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rcx]
add rcx, r12
test al, al
jne 0x180080b7b
cmp r11d, 0x95466b05
je 0x180080c30
test edx, edx
jne 0x180080b60
mov rax, qword [r10]
mov r10, rax
cmp rax, rbx
je 0x180080bb3
cmp qword [rax + 0x30], r15
jne 0x180080b3c
mov rax, r15
mov qword [0x18019c550], rax
mov ecx, dword [reloc.WS2_32.dll_bind]
call rax
test ax, ax
jns 0x180080cfa
call fcn.180076bec
mov rbx, rax
test rax, rax
je 0x180080dd8
cmp dword [reloc.WS2_32.dll_accept], r12d
jne 0x180080cfa
movss xmm8, dword [0x18019bd58]
lea rcx, [rbp - 0x60]
movss xmm6, dword [0x18019bd5c]
mov r8d, r14d
mov rdx, rax
mulss xmm8, xmm9
mulss xmm6, xmm9
call fcn.1800768f4
mov ecx, dword [0x18019bcd4]
sub ecx, r12d
je 0x180080c5f
sub ecx, r12d
je 0x180080c57
cmp ecx, r12d
jne 0x180080c4d
mov r8d, r12d
jmp 0x180080c62
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 0x180080bb6
mov ebx, dword [rbp - 0x58]
movsd xmm7, qword [rbp - 0x60]
jmp 0x180080c79
mov r8d, 8
jmp 0x180080c62
mov r8d, r14d
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1800768f4
movsd xmm7, qword [rsp + 0x50]
mov ebx, dword [rsp + 0x58]
lea rdx, [rbp - 0x50]
movsd qword [rbp - 0x50], xmm7
lea rcx, [rbp + 0x58]
mov dword [rbp - 0x48], ebx
call fcn.18007f3a4
movss xmm0, dword [rbp + 0x5c]
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 + 0x58]
cvtps2pd xmm0, xmm0
cvtps2pd xmm2, xmm8
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]
xorps xmm1, xmm1
lea ecx, [rax + rax*4]
add ecx, ecx
cvtsi2ss xmm1, ecx
comiss xmm1, xmm0
jbe 0x180080cfa
lea rcx, [rbp - 0x40]
movsd qword [rbp - 0x40], xmm7
mov dword [rbp - 0x38], ebx
call fcn.180076518
cmp byte [0x18019bccb], r15b
je 0x180080dd8
call fcn.180076bec
mov rbx, rax
test rax, rax
je 0x180080dd8
mov r8d, r14d
lea rcx, [rsp + 0x60]
mov rdx, rax
call fcn.1800768f4
mov edx, dword [0x18019bcd4]
test edx, edx
je 0x180080d86
sub edx, r12d
je 0x180080d81
sub edx, r12d
je 0x180080d79
sub edx, r12d
je 0x180080d74
sub edx, r12d
je 0x180080d6c
sub edx, r12d
je 0x180080d64
cmp edx, r12d
jne 0x180080d58
mov r8d, 6
jmp 0x180080d8c
mov ecx, dword [rsp + 0x68]
movsd xmm0, qword [rsp + 0x60]
jmp 0x180080da3
mov r8d, 5
jmp 0x180080d8c
mov r8d, 2
jmp 0x180080d8c
mov r8d, r12d
jmp 0x180080d8c
mov r8d, 8
jmp 0x180080d8c
mov r8d, r14d
jmp 0x180080d8c
mov r8d, 3
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1800768f4
movsd xmm0, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x38]
mov rax, qword [0x18019bce0]
mov rdx, qword [rax]
test rdx, rdx
je 0x180080dd8
mov rdx, qword [rdx + 8]
test rdx, rdx
je 0x180080dd8
mov eax, dword [0x18019bd18]
mov rdx, qword [rax + rdx]
test rdx, rdx
je 0x180080dd8
movsd qword [rdx + 0x1a0], xmm0
mov dword [rdx + 0x1a8], ecx
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
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 r15
pop r14
pop r12
pop rdi
pop rbp
ret