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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword gs:[0x60]
mov qword [rsp + 0xb8], rdi
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140016a17
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140016a17
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xb98b9fcb
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140016a12
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1400169f0
cmp r8d, 0x7ec80d2e
je 0x140016a1c
test r9d, r9d
jne 0x1400169d0
mov rax, qword [rax]
jmp 0x1400169a0
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
xor ecx, ecx
add rax, r10
call rax
mov rdi, qword [rsp + 0xb8]
test rax, rax
je 0x140016cef
mov rcx, rax
call qword [sym.imp.imagehlp.dll_ImageNtHeader]
test rax, rax
je 0x140016cef
mov ecx, dword [0x14012fcc8]
xor ebx, ebx
movzx r10d, word [rax + 0x14]
mov r9d, ebx
movzx r11d, word [rax + 6]
add r10, 0x18
mov dword [rbp - 0x29], ecx
add r10, rax
movzx ecx, byte [0x14012fccc]
xor byte [rbp - 0x28], 0x35
xor cl, 0x38
xor byte [rbp - 0x27], 0x36
xor byte [rbp - 0x26], 0x37
mov byte [rbp - 0x29], reloc.WLDAP32.dll_Ordinal_46
mov byte [rbp - 0x25], cl
test r11d, r11d
je 0x140016cef
nop
lea r8, [rbp - 0x29]
mov rax, r10
sub r8, r10
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140016ac3
inc rax
test ecx, ecx
jne 0x140016ab0
test edx, edx
je 0x140016ae4
add r10, 0x28
inc r9d
cmp r9d, r11d
jl 0x140016aa0
mov rbx, qword [rsp + 0xc0]
add rsp, 0xa0
pop rbp
ret
cmp dword [reloc.WS2_32.dll_accept], 2
mov r8d, ebx
movups xmm0, xmmword [0x140130b70]
movzx eax, byte [0x140130b98]
movups xmm1, xmmword [0x140130b80]
mov byte [rbp + 0x3f], al
movups xmmword [rbp + 0x17], xmm0
movsd xmm0, qword [0x140130b90]
movsd qword [rbp + 0x37], xmm0
movups xmmword [rbp + 0x27], xmm1
jl 0x140016c6f
movdqa xmm0, xmmword [0x140131270]
lea rcx, [rbp + 0x1b]
movdqa xmm5, xmmword [0x1401311e0]
movdqa xmm4, xmmword [0x1401312c0]
movdqa xmmword [rbp - 0x19], xmm0
mov edx, dword [rbp - 0x19]
movaps xmmword [rsp + 0x90], xmm6
movdqa xmm6, xmmword [0x140131200]
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 [0x140131240]
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 [0x140131240]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x28
jl 0x140016b60
movaps xmm6, xmmword [rsp + 0x90]
cmp r8d, 0x29
jge 0x140016cb1
movsxd rax, r8d
lea r9, [rbp + 0x17]
add r9, rax
nop dword [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, 0x29
jl 0x140016c80
xorps xmm0, xmm0
mov qword [rbp + 7], rbx
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 0xf], rbx
lea rax, [rbp + 0x17]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], bl
jne 0x140016cd0
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 9]
call fcn.140020530
lea rcx, [rbp - 9]
call fcn.14000ee90
mov rbx, qword [rsp + 0xc0]
add rsp, 0xa0
pop rbp
ret