Function at 0x140020160
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
push rbx
push rdi
sub rsp, 0x68
mov rax, qword [0x1400c9438]
xor rax, rsp
mov qword [rsp + 0x50], rax
movabs rax, 0x6622cddf98ddb62f
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rax
movabs rbx, 0xa46e3b3f4b9c241
mov qword [rsp + 0x40], rbx
movabs rax, 0xec8663526ab0713a
mov qword [rsp + 0x38], rax
movabs rdi, 0xec8663526ab07156
movaps xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x48], rdi
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.140015f50
test rax, rax
je 0x140020424
movabs rcx, 0x612786c1b6dea005
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rcx
mov rdx, rax
movabs rcx, 0xec86632604d91e06
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x40]
movaps xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x60], r15
call fcn.140016160
mov r15, rax
test rax, rax
je 0x14002041f
mov rcx, qword gs:[0x60]
xor r9d, r9d
mov qword [rsp + 0x80], rbp
mov edi, 0x820621f3
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], r14
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax]
mov eax, dword [rcx + 0x58]
sub ax, 8
test r9d, r9d
je 0x1400202a4
mov rdx, qword [rcx + 0x60]
mov r8d, 0x811c9dc5
movzx eax, ax
shr rax, 1
lea r10, [rdx + rax*2]
cmp rdx, r10
je 0x14002029b
movsx eax, byte [rdx]
add rdx, 2
xor eax, r8d
imul r8d, eax, 0x1000193
cmp rdx, r10
jne 0x140020285
cmp r8d, r9d
jne 0x1400203e4
mov r11, qword [rcx + 0x30]
movsxd rax, dword [r11 + 0x3c]
mov rdx, qword [rax + r11 + 0x88]
mov r14, rdx
mov ebx, edx
shr r14, 0x20
add rbx, r11
cmp rbx, r11
je 0x1400203e4
mov r10d, dword [rbx + 0x18]
test r10d, r10d
je 0x1400203e4
mov ebp, dword [rbx + 0x20]
nop dword [rax]
dec r10d
mov r8d, 0x811c9dc5
lea rax, [r11 + r10*4]
mov edx, dword [rax + rbp]
add rdx, r11
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x140020319
nop dword [rax]
movsx eax, al
lea rdx, [rdx + 1]
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdx - 1]
test al, al
jne 0x140020300
cmp r8d, edi
je 0x14002032b
test r10d, r10d
jne 0x1400202e0
mov rcx, qword [rcx]
jmp 0x140020260
mov ecx, dword [rbx + 0x24]
add rcx, r11
movzx edx, word [rcx + r10*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r11
mov eax, dword [rcx + rdx*4]
add rax, r11
cmp rax, rbx
jbe 0x1400203ec
lea rcx, [rbx + r14]
cmp rax, rcx
jae 0x1400203ec
movzx ecx, byte [rax]
mov r9d, 0x811c9dc5
mov dword [rsp + 0x30], r9d
mov edx, r9d
mov dword [rsp + 0x34], edx
cmp cl, 0x2e
je 0x14002039d
nop dword [rax]
nop word [rax + rax]
movsx ecx, cl
inc rax
xor ecx, r9d
imul r9d, ecx, 0x1000193
movzx ecx, byte [rax]
cmp cl, 0x2e
jne 0x140020380
mov dword [rsp + 0x30], r9d
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
je 0x1400203ca
nop dword [rax + rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax]
test cl, cl
jne 0x1400203b0
mov dword [rsp + 0x34], edx
mov rax, qword gs:[0x60]
mov rdi, qword [rsp + 0x30]
shr rdi, 0x20
mov rcx, qword [rax + 0x18]
mov rcx, qword [rcx + 0x10]
mov rcx, qword [rcx]
jmp 0x140020260
mov edx, 1
lea r9, [rsp + 0x20]
mov rcx, r15
lea r8d, [rdx + 0x3f]
call rax
mov r14, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
test eax, eax
je 0x14002041f
mov byte [r15], 0xc3
mov r15, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400790d0
add rsp, 0x68
pop rdi
pop rbx
ret