Function at 0x180005888
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
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 [0x180100010]
xor rax, rsp
mov qword [rbp - 9], rax
cmp byte [0x180101273], 0
je 0x180005b59
mov rax, qword [0x1801011e0]
test rax, rax
jne 0x18000597a
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 0x18000595f
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x18000595f
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 0x18000595b
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rcx]
inc rcx
test al, al
jne 0x18000593c
cmp r11d, 0x95466b05
je 0x1800059b1
test edx, edx
jne 0x180005920
mov rax, qword [r10]
mov r10, rax
cmp rax, rbx
je 0x180005971
cmp qword [rax + 0x30], 0
jne 0x1800058fc
xor eax, eax
mov qword [0x1801011e0], rax
mov ecx, dword [0x180100038]
call rax
bt ax, 0xf
jae 0x180005b59
cmp dword [0x180101260], 0
jne 0x1800059cb
call fcn.180004a28
test rax, rax
je 0x180005b59
mov rcx, rax
call fcn.1800054ec
jmp 0x180005b59
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 0x180005973
movss xmm9, dword [0x180101410]
movss xmm6, dword [0x180101414]
mulss xmm9, dword [0x1800f94cc]
mulss xmm6, dword [0x1800f94cc]
call fcn.180004a28
mov rbx, rax
test rax, rax
je 0x180005b59
mov r8d, 0x796e
lea rdx, [rbp - 0x39]
mov rcx, rax
call qword [0x1801012c0]
movaps xmm1, xmmword [rbp - 0x39]
mov ecx, dword [0x180101268]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
movss dword [rbp - 0x39], xmm1
shufps xmm1, xmm1, 0xaa
movss dword [rbp - 0x31], xmm1
movss dword [rbp - 0x35], xmm0
sub ecx, 1
je 0x180005a6e
sub ecx, 1
je 0x180005a66
sub ecx, 1
je 0x180005a5e
sub ecx, 1
je 0x180005a56
cmp ecx, 1
jne 0x180005a9f
mov r8d, 0xb1
jmp 0x180005a74
mov r8d, 0x9d4d
jmp 0x180005a74
mov r8d, 0x9000
jmp 0x180005a74
mov r8d, 0xf9bb
jmp 0x180005a74
mov r8d, 0x60f2
lea rdx, [rbp - 0x19]
mov rcx, rbx
call qword [0x1801012c0]
movaps xmm1, xmmword [rbp - 0x19]
movaps xmm0, xmm1
movss dword [rbp - 0x39], xmm1
shufps xmm0, xmm1, 0x55
shufps xmm1, xmm1, 0xaa
movss dword [rbp - 0x31], xmm1
movss dword [rbp - 0x35], xmm0
movsd xmm10, qword [rbp - 0x39]
mov edi, dword [rbp - 0x31]
movsd qword [rbp - 0x59], xmm10
mov dword [rbp - 0x51], edi
call fcn.18000f390
and dword [rbp - 0x25], 0
lea r8, [rbp - 0x25]
and dword [rbp - 0x29], 0
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x59]
mov rbx, rax
call qword [0x1801012e0]
movss xmm0, dword [rbp - 0x25]
movss xmm8, dword [rbp - 0x29]
mulss xmm8, dword [rbx + 8]
cvtps2pd xmm1, xmm6
movss dword [rbp - 0x29], xmm8
mulss xmm0, dword [rbx + 0xc]
movss dword [rbp - 0x25], xmm0
cvtps2pd xmm0, xmm0
subsd xmm0, xmm1
movsd xmm1, qword [0x1800f9560]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [0x1800f9560]
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 [0x18010126c]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x180005b59
lea rcx, [rbp - 0x49]
movsd qword [rbp - 0x49], xmm10
mov dword [rbp - 0x41], edi
call fcn.18000510c
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.180046e90
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
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