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

Disassembly:
mov rax, rsp
push rbp
push rsi
push r12
mov rbp, rsp
sub rsp, 0x60
mov rsi, qword [0x1801226c8]
mov r12, rcx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x20], r15
xor r15d, r15d
test rsi, rsi
jne 0x180021fa7
mov rax, qword gs:[0x60]
mov rdx, qword [rax + 0x18]
mov rax, qword [rdx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop word [rax + rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x180021f88
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x180021f88
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x1cb82070
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x180021f83
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 0x180021f60
cmp edx, 0x9332769c
je 0x180022140
test r8d, r8d
jne 0x180021f40
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x180021f9d
cmp qword [rax + 0x30], r15
jne 0x180021f10
mov rsi, r15
mov qword [0x1801226c8], rsi
movdqa xmm0, xmmword [0x1800aa630]
mov rcx, r15
movdqu xmmword [rbp - 0x28], xmm0
mov dword [rbp - 0x18], 0xfbf6f5dd
mov dword [rbp - 0x14], 0xefe7e0e0
mov word [rbp - 0x10], 0x100
nop dword [rax + rax]
lea eax, [rcx + 0x7f]
xor byte [rbp + rcx - 0x28], al
inc rcx
cmp rcx, 0x18
jb 0x180021fd0
mov rdx, qword [0x1801226c0]
mov byte [rbp - 0xf], r15b
test rdx, rdx
jne 0x1800220bf
mov rax, qword gs:[0x60]
mov qword [rsp + 0x90], r14
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r14, qword [rax]
mov r11, r14
nop dword [rax]
nop word [rax + rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x180022098
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x180022098
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x1db82203
lea rax, [rdi + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x180022093
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 0x180022070
cmp edx, 0xa9bcf1fc
je 0x18002215c
test r8d, r8d
jne 0x180022050
mov rax, qword [r11]
mov r11, rax
cmp rax, r14
je 0x1800220ad
cmp qword [rax + 0x30], r15
jne 0x180022020
mov rdx, r15
mov r14, qword [rsp + 0x90]
mov qword [0x1801226c0], rdx
mov rdi, qword [rsp + 0x88]
mov ecx, 0x517f
mov rbx, qword [rsp + 0x80]
mov dword [rbp - 0x40], 0x51ef513c
mov dword [rbp - 0x3c], 0x51e751f3
mov dword [rbp - 0x38], 0x51d051d1
mov dword [rbp - 0x34], 0x51e251ab
mov dword [rbp - 0x30], 0x51e451eb
mov word [rbp - 0x2c], r15w
mov byte [rbp - 0x2a], 1
lea eax, [rcx + r15]
xor word [rbp + r15*2 - 0x40], ax
inc r15
cmp r15, 0xa
jb 0x180022100
mov r15, qword [rsp + 0x98]
lea rcx, [rbp - 0x40]
mov byte [rbp - 0x2a], 0
call rdx
lea rdx, [rbp - 0x28]
mov rcx, rax
call rsi
call rax
mov qword [r12], rax
mov rax, r12
add rsp, 0x60
pop r12
pop rsi
pop rbp
ret
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov esi, dword [rcx + rdx*4]
add rsi, r9
jmp 0x180021fa0
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov edx, dword [rcx + rdx*4]
add rdx, r9
jmp 0x1800220b0