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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x28], xmm6
xor r14d, r14d
cmp byte [0x1800d05ea], r14b
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
je 0x180051c51
mov rax, qword [0x1800d0dd0]
test rax, rax
jne 0x180051b01
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rbx, qword [rax]
mov r10, rbx
mov r8, qword [r10 + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x180051ae6
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x180051ae6
mov esi, dword [r9 + 0x20]
dec edx
mov r11d, 0x811c9dc5
lea rax, [rsi + rdx*4]
mov ecx, dword [rax + r8]
add rcx, r8
mov al, byte [rcx]
inc rcx
test al, al
je 0x180051ae2
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rcx]
inc rcx
test al, al
jne 0x180051abf
cmp r11d, 0x95466b05
je 0x180051b7b
test edx, edx
jne 0x180051aa3
mov rax, qword [r10]
mov r10, rax
cmp rax, rbx
je 0x180051af7
cmp qword [rax + 0x30], r14
jne 0x180051a7f
mov rax, r14
mov qword [0x1800d0dd0], rax
mov ecx, dword [0x1800cf3f4]
call rax
test ax, ax
jns 0x180051c51
call fcn.18004d064
mov rbx, rax
test rax, rax
je 0x180051c51
cmp dword [0x1800cf420], 1
jne 0x180051c51
movss xmm9, dword [0x1800d0168]
lea rcx, [rbp - 0x29]
movss xmm6, dword [0x1800d016c]
xor r8d, r8d
mulss xmm9, dword [0x180058b24]
mov rdx, rax
mulss xmm6, dword [0x180058b24]
call fcn.18004cd24
mov ecx, dword [0x1800d05f8]
sub ecx, 1
je 0x180051bab
sub ecx, 1
je 0x180051ba3
cmp ecx, 1
jne 0x180051b98
mov r8d, ecx
jmp 0x180051bb1
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x180051afa
mov ebx, dword [rbp - 0x21]
movsd xmm8, qword [rbp - 0x29]
jmp 0x180051bc6
mov r8d, 8
jmp 0x180051bb1
mov r8d, 7
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.18004cd24
movsd xmm8, qword [rbp - 0x39]
mov ebx, dword [rbp - 0x31]
lea rdx, [rbp - 0x19]
movsd qword [rbp - 0x19], xmm8
lea rcx, [rbp + 0x67]
mov dword [rbp - 0x11], ebx
call fcn.180050ff0
movss xmm0, dword [rbp + 0x6b]
cvtps2pd xmm1, xmm6
cvtps2pd xmm0, xmm0
subsd xmm0, xmm1
movsd xmm1, qword [0x1800604e8]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [0x1800604e8]
movaps xmm7, xmm0
movss xmm0, dword [rbp + 0x67]
cvtps2pd xmm0, xmm0
cvtps2pd xmm2, xmm9
subsd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm7, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov eax, dword [0x1800cf3f8]
lea ecx, [rax + rax*4]
add ecx, ecx
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x180051c51
lea rcx, [rbp - 9]
movsd qword [rbp - 9], xmm8
mov dword [rbp - 1], ebx
call fcn.18004c948
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret