Function at 0x180010420
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 [0x180121f28]
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 0x180010507
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 0x1800104e8
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x1800104e8
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0xb9ba8765
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x1800104e3
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 0x1800104c0
cmp edx, 0xc04f8205
je 0x1800106a0
test r8d, r8d
jne 0x1800104a0
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x1800104fd
cmp qword [rax + 0x30], r15
jne 0x180010470
mov rsi, r15
mov qword [0x180121f28], rsi
movdqa xmm0, xmmword [0x1800aa1d0]
mov rcx, r15
movdqu xmmword [rbp - 0x28], xmm0
mov dword [rbp - 0x18], 0x141b1e28
mov dword [rbp - 0x14], 0xf8f20b0d
mov word [rbp - 0x10], 0x100
nop dword [rax + rax]
lea eax, [rcx + 0x6a]
xor byte [rbp + rcx - 0x28], al
inc rcx
cmp rcx, 0x18
jb 0x180010530
mov rdx, qword [0x180121f20]
mov byte [rbp - 0xf], r15b
test rdx, rdx
jne 0x18001061f
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 0x1800105f8
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x1800105f8
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0xb8ba85d2
lea rax, [rdi + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1800105f3
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 0x1800105d0
cmp edx, 0x27de96a9
je 0x1800106bc
test r8d, r8d
jne 0x1800105b0
mov rax, qword [r11]
mov r11, rax
cmp rax, r14
je 0x18001060d
cmp qword [rax + 0x30], r15
jne 0x180010580
mov rdx, r15
mov r14, qword [rsp + 0x90]
mov qword [0x180121f20], rdx
mov rdi, qword [rsp + 0x88]
mov ecx, 0x516a
mov rbx, qword [rsp + 0x80]
mov dword [rbp - 0x40], 0x51045129
mov dword [rbp - 0x3c], 0x5108511e
mov dword [rbp - 0x38], 0x513b513c
mov dword [rbp - 0x34], 0x5115515e
mov dword [rbp - 0x30], 0x511f511e
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 0x180010660
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 0x180010500
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 0x180010610