Function at 0x180005684
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 + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
mov rax, qword [0x180106040]
xor rax, rsp
mov qword [rbp - 9], rax
xor r14d, r14d
cmp byte [0x180107410], r14b
je 0x180005945
mov rax, qword [0x180106eb0]
test rax, rax
jne 0x18000577d
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 0x180005762
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x180005762
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 0x18000575e
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rcx]
inc rcx
test al, al
jne 0x18000573f
cmp r11d, 0x95466b05
je 0x1800057b2
test edx, edx
jne 0x180005723
mov rax, qword [r10]
mov r10, rax
cmp rax, rbx
je 0x180005773
cmp qword [rax + 0x30], r14
jne 0x1800056ff
mov rax, r14
mov qword [0x180106eb0], rax
mov ecx, dword [0x1801060ac]
call rax
test ax, ax
jns 0x180005945
cmp dword [0x180107404], r14d
jne 0x1800057cc
call fcn.180004d00
test rax, rax
je 0x180005945
mov rcx, rax
call fcn.1800053a4
jmp 0x180005945
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 0x180005776
movss xmm9, dword [0x1801074b8]
movss xmm6, dword [0x1801074bc]
mulss xmm9, dword [0x1800fff28]
mulss xmm6, dword [0x1800fff28]
call fcn.180004d00
mov rbx, rax
test rax, rax
je 0x180005945
mov r8d, 0x796e
lea rdx, [rbp - 0x19]
mov rcx, rax
call qword [0x180107450]
movaps xmm2, xmmword [rbp - 0x19]
mov ecx, dword [0x18010740c]
movaps xmm3, xmm2
shufps xmm3, xmm2, 0x55
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xaa
sub ecx, 1
je 0x180005863
sub ecx, 1
je 0x18000585b
sub ecx, 1
je 0x180005853
sub ecx, 1
je 0x18000584b
cmp ecx, 1
jne 0x180005888
mov r8d, 0xb1
jmp 0x180005869
mov r8d, 0x9d4d
jmp 0x180005869
mov r8d, 0x9000
jmp 0x180005869
mov r8d, 0xf9bb
jmp 0x180005869
mov r8d, 0x60f2
lea rdx, [rbp - 0x29]
mov rcx, rbx
call qword [0x180107450]
movaps xmm1, xmmword [rbp - 0x29]
movaps xmm3, xmm1
movaps xmm2, xmm1
shufps xmm3, xmm1, 0x55
shufps xmm1, xmm1, 0xaa
movaps xmm10, xmm2
movd edi, xmm1
unpcklps xmm10, xmm3
movsd qword [rbp - 0x59], xmm10
mov dword [rbp - 0x51], edi
call fcn.18000f144
and dword [rbp - 0x35], r14d
lea r8, [rbp - 0x35]
and dword [rbp - 0x39], r14d
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x59]
mov rbx, rax
call qword [0x180107470]
movss xmm0, dword [rbp - 0x35]
movss xmm8, dword [rbp - 0x39]
mulss xmm8, dword [rbx + 8]
cvtps2pd xmm1, xmm6
movss dword [rbp - 0x39], xmm8
mulss xmm0, dword [rbx + 0xc]
movss dword [rbp - 0x35], xmm0
cvtps2pd xmm0, xmm0
subsd xmm0, xmm1
movsd xmm1, qword [0x1800fffb8]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [0x1800fffb8]
movaps xmm7, xmm0
cvtps2pd xmm0, xmm8
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
movd xmm1, dword [0x1801060b8]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x180005945
lea rcx, [rbp - 0x49]
movsd qword [rbp - 0x49], xmm10
mov dword [rbp - 0x41], edi
call fcn.180004fd4
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.18004c6f0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop rbp
ret