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

Disassembly:
mov r11, rsp
sub rsp, 0x588
mov rax, qword [0x1400b80c0]
xor rax, rsp
mov qword [rsp + 0x540], rax
mov qword [r11 + 8], rbx
lea rcx, [rsp + 0x70]
mov qword [r11 + 0x10], rbp
xor edx, edx
mov qword [r11 + 0x18], rsi
mov r8d, 0x4d0
mov qword [r11 - 8], rdi
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
xor r13d, r13d
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x1400b9528]
test rcx, rcx
jne 0x14001635c
mov rax, qword gs:[0x60]
xor r11d, r11d
mov r10d, 0x6357ce33
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rbp, qword [rax]
mov rsi, rbp
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test r11d, r11d
je 0x14001623d
psrldq xmm0, 8
mov edx, 0x5d1e59ae
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x140016234
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x140016220
cmp edx, r11d
jne 0x14001633e
mov r9, qword [rsi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r15, rcx
mov edi, ecx
shr r15, 0x20
add rdi, r9
cmp rdi, r9
je 0x14001633e
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x14001633e
mov r14d, dword [rdi + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x5d1e59ae
lea rax, [r14 + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x1400162b7
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x1400162a0
cmp edx, r10d
je 0x1400162c3
test r8d, r8d
jne 0x140016280
jmp 0x14001633e
mov ecx, dword [rdi + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r9
mov ecx, dword [rcx + rdx*4]
add rcx, r9
cmp rcx, rdi
jbe 0x140016355
lea rax, [r15 + rdi]
cmp rcx, rax
jae 0x140016355
movzx eax, byte [rcx]
mov r11d, 0x5d1e59ae
mov r10d, r11d
cmp al, 0x2e
je 0x140016317
nop dword [rax + rax]
movsx eax, al
inc rcx
xor eax, r11d
imul r11d, eax, 0x1000193
movzx eax, byte [rcx]
cmp al, 0x2e
jne 0x140016300
movzx eax, byte [rcx + 1]
inc rcx
test al, al
je 0x14001633a
movsx eax, al
lea rcx, [rcx + 1]
xor eax, r10d
imul r10d, eax, 0x1000193
movzx eax, byte [rcx]
test al, al
jne 0x140016322
mov rsi, qword [rbp]
mov rax, qword [rsi]
mov rsi, rax
cmp rax, rbp
je 0x140016353
cmp qword [rax + 0x30], r13
jne 0x1400161f1
xor ecx, ecx
mov qword [0x1400b9528], rcx
call rcx
mov r8, qword [0x1400b95a0]
mov r12, rax
mov dword [rsp + 0xa0], 0x100010
test r8, r8
jne 0x140016510
mov rcx, qword gs:[0x60]
xor r11d, r11d
mov r10d, 0x535755ab
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx + 0x10]
mov rbp, qword [rcx]
mov rsi, rbp
nop dword [rax]
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
sub ax, 8
test r11d, r11d
je 0x1400163ed
psrldq xmm0, 8
mov edx, 0xb1fb38c
movq rcx, xmm0
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x1400163e4
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x1400163d0
cmp edx, r11d
jne 0x1400164f1
mov r9, qword [rsi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r15, rcx
mov edi, ecx
shr r15, 0x20
add rdi, r9
cmp rdi, r9
je 0x1400164f1
mov r8d, dword [rdi + 0x18]
test r8d, r8d
je 0x1400164f1
mov r14d, dword [rdi + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0xb1fb38c
lea rax, [r14 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140016467
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x140016450
cmp edx, r10d
je 0x140016473
test r8d, r8d
jne 0x140016430
jmp 0x1400164f1
mov ecx, dword [rdi + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r9
mov r8d, dword [rcx + rdx*4]
add r8, r9
cmp r8, rdi
jbe 0x140016509
lea rax, [r15 + rdi]
cmp r8, rax
jae 0x140016509
movzx eax, byte [r8]
mov r11d, 0xb1fb38c
mov r10d, r11d
cmp al, 0x2e
je 0x1400164c8
nop word [rax + rax]
movsx eax, al
inc r8
xor eax, r11d
imul r11d, eax, 0x1000193
movzx eax, byte [r8]
cmp al, 0x2e
jne 0x1400164b0
movzx eax, byte [r8 + 1]
inc r8
test al, al
je 0x1400164ed
movsx eax, al
lea r8, [r8 + 1]
xor eax, r10d
imul r10d, eax, 0x1000193
movzx eax, byte [r8]
test al, al
jne 0x1400164d4
mov rsi, qword [rbp]
mov rax, qword [rsi]
mov rsi, rax
cmp rax, rbp
je 0x140016506
cmp qword [rax + 0x30], r13
jne 0x1400163a0
xor r8d, r8d
mov qword [0x1400b95a0], r8
lea rdx, [rsp + 0x70]
mov rcx, r12
call r8
mov r15, qword [rsp + 0x560]
mov r14, qword [rsp + 0x568]
mov r12, qword [rsp + 0x578]
mov rdi, qword [rsp + 0x580]
mov rsi, qword [rsp + 0x5a0]
mov rbp, qword [rsp + 0x598]
mov rbx, qword [rsp + 0x590]
test eax, eax
je 0x140016599
cmp qword [rsp + 0xb8], r13
jne 0x140016593
cmp qword [rsp + 0xc0], r13
jne 0x140016593
cmp qword [rsp + 0xc8], r13
jne 0x140016593
cmp qword [rsp + 0xd0], r13
jne 0x140016593
cmp qword [rsp + 0xd8], r13
jne 0x140016593
cmp qword [rsp + 0xe0], r13
je 0x140016599
mov r13d, 1
test r13d, r13d
mov r13, qword [rsp + 0x570]
je 0x1400167c3
cmp byte [0x1400a9849], 0
movups xmm0, xmmword [str.TDSOXH]
movzx eax, word [0x1400a9848]
mov word [rsp + 0x30], ax
movups xmmword [rsp + 0x20], xmm0
je 0x140016771
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14001672f
movdqa xmm0, xmmword [0x1400aa610]
lea rcx, [rsp + 0x24]
movdqa xmm5, xmmword [0x1400aa580]
movdqa xmm4, xmmword [0x1400aa660]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x40]
movaps xmmword [rsp + 0x550], xmm6
movdqa xmm6, xmmword [0x1400aa5a0]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400aa5e0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400aa5e0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140016620
movaps xmm6, xmmword [rsp + 0x550]
cmp r8d, 0x12
jge 0x140016771
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x140016740
xorps xmm0, xmm0
mov qword [rsp + 0x60], 0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x68], 0
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400167a0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400209c0
lea rcx, [rsp + 0x50]
call fcn.14000f080
mov rcx, qword [rsp + 0x540]
xor rcx, rsp
call fcn.140094680
add rsp, 0x588
ret