Function at 0x1800520f8
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 0x18005232d
mov rax, qword [0x1800d0dd0]
test rax, rax
jne 0x1800521dd
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 0x1800521c2
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x1800521c2
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 0x1800521be
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rcx]
inc rcx
test al, al
jne 0x18005219b
cmp r11d, 0x95466b05
je 0x180052257
test edx, edx
jne 0x18005217f
mov rax, qword [r10]
mov r10, rax
cmp rax, rbx
je 0x1800521d3
cmp qword [rax + 0x30], r14
jne 0x18005215b
mov rax, r14
mov qword [0x1800d0dd0], rax
mov ecx, dword [0x1800cf3f4]
call rax
test ax, ax
jns 0x18005232d
call fcn.18004d7f8
mov rbx, rax
test rax, rax
je 0x18005232d
cmp dword [0x1800cf420], 1
jne 0x18005232d
movss xmm9, dword [0x1800d0170]
lea rcx, [rbp - 0x29]
movss xmm6, dword [0x1800d0174]
xor r8d, r8d
mulss xmm9, dword [0x180058b34]
mov rdx, rax
mulss xmm6, dword [0x180058b34]
call fcn.18004d4b8
mov ecx, dword [0x1800d05f8]
sub ecx, 1
je 0x180052287
sub ecx, 1
je 0x18005227f
cmp ecx, 1
jne 0x180052274
mov r8d, ecx
jmp 0x18005228d
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 0x1800521d6
mov ebx, dword [rbp - 0x21]
movsd xmm8, qword [rbp - 0x29]
jmp 0x1800522a2
mov r8d, 8
jmp 0x18005228d
mov r8d, 7
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.18004d4b8
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.1800516cc
movss xmm0, dword [rbp + 0x6b]
cvtps2pd xmm1, xmm6
cvtps2pd xmm0, xmm0
subsd xmm0, xmm1
movsd xmm1, qword [0x1800604f8]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [0x1800604f8]
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 0x18005232d
lea rcx, [rbp - 9]
movsd qword [rbp - 9], xmm8
mov dword [rbp - 1], ebx
call fcn.18004d0dc
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