Function at 0x180004d98
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, 0xe0
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 [0x1800f8020]
xor rax, rsp
mov qword [rbp - 9], rax
cmp byte [0x1800f90c0], 0
je 0x18000518e
mov rax, qword [0x1800f8f90]
test rax, rax
jne 0x180004e89
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 0x180004e6e
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x180004e6e
mov esi, dword [r9 + 0x20]
dec edx
mov r11d, 0x811c9dc5
lea rax, [r8 + rdx*4]
mov ecx, dword [rax + rsi]
add rcx, r8
mov al, byte [rcx]
inc rcx
test al, al
je 0x180004e6a
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rcx]
inc rcx
test al, al
jne 0x180004e4b
cmp r11d, 0x95466b05
je 0x180004ecc
test edx, edx
jne 0x180004e30
mov rax, qword [r10]
mov r10, rax
cmp rax, rbx
je 0x180004e80
cmp qword [rax + 0x30], 0
jne 0x180004e0c
xor eax, eax
mov qword [0x1800f8f90], rax
mov ecx, dword [0x1800f8048]
call rax
bt ax, 0xf
jae 0x18000518e
mov eax, dword [0x1800f90b4]
test eax, eax
jne 0x180004ee6
call fcn.18000439c
mov rbx, rax
test rax, rax
je 0x18000518e
mov rcx, rax
call fcn.180004ac4
mov rcx, rbx
call fcn.180004b84
jmp 0x18000518e
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 0x180004e82
cmp eax, 1
jne 0x180005086
movss xmm9, dword [0x1800f9190]
movss xmm6, dword [0x1800f9194]
mulss xmm9, dword [0x1800f2030]
mulss xmm6, dword [0x1800f2030]
call fcn.18000439c
mov rbx, rax
test rax, rax
je 0x18000518e
mov r8d, 0x796e
lea rdx, [rbp - 0x19]
mov rcx, rax
call qword [0x1800f9128]
movaps xmm1, xmmword [rbp - 0x19]
mov ecx, dword [0x1800f90bc]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
movss dword [rbp - 0x59], xmm1
shufps xmm1, xmm1, 0xaa
movss dword [rbp - 0x51], xmm1
movss dword [rbp - 0x55], xmm0
sub ecx, 1
je 0x180004f92
sub ecx, 1
je 0x180004f8a
sub ecx, 1
je 0x180004f82
sub ecx, 1
je 0x180004f7a
cmp ecx, 1
jne 0x180004fc3
mov r8d, 0xb1
jmp 0x180004f98
mov r8d, 0x9d4d
jmp 0x180004f98
mov r8d, 0x9000
jmp 0x180004f98
mov r8d, 0xf9bb
jmp 0x180004f98
mov r8d, 0x60f2
lea rdx, [rbp - 0x29]
mov rcx, rbx
call qword [0x1800f9128]
movaps xmm1, xmmword [rbp - 0x29]
movaps xmm0, xmm1
movss dword [rbp - 0x59], xmm1
shufps xmm0, xmm1, 0x55
shufps xmm1, xmm1, 0xaa
movss dword [rbp - 0x51], xmm1
movss dword [rbp - 0x55], xmm0
movsd xmm10, qword [rbp - 0x59]
mov edi, dword [rbp - 0x51]
movsd qword [rbp - 0x49], xmm10
mov dword [rbp - 0x41], edi
call fcn.18000e724
and dword [rbp - 0x35], 0
lea r8, [rbp - 0x35]
and dword [rbp - 0x39], 0
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x49]
mov rbx, rax
call qword [0x1800f9138]
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 [0x1800f20c8]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [0x1800f20c8]
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 [0x1800f8050]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x18000518e
lea rcx, [rbp - 0x69]
movsd qword [rbp - 0x69], xmm10
mov dword [rbp - 0x61], edi
call fcn.180004774
jmp 0x18000518e
cmp eax, 2
jne 0x180005141
call fcn.18000439c
movsd xmm0, qword [0x1800f9028]
mov rdi, rax
mov ecx, dword [0x1800f9030]
movsd qword [rbp - 0x69], xmm0
mov dword [rbp - 0x61], ecx
call fcn.18000e724
and dword [rbp - 0x35], 0
lea r8, [rbp - 0x35]
and dword [rbp - 0x39], 0
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x69]
mov rbx, rax
call qword [0x1800f9138]
movss xmm0, dword [rbp - 0x39]
mulss xmm0, dword [rbx + 8]
movss xmm1, dword [rbp - 0x35]
movss dword [rbp - 0x39], xmm0
mulss xmm1, dword [rbx + 0xc]
movss dword [rbp - 0x35], xmm1
test rdi, rdi
je 0x18000518e
mov ecx, dword [0x1800f90bc]
test ecx, ecx
je 0x18000514b
sub ecx, 1
je 0x180005139
sub ecx, 1
je 0x180005131
sub ecx, 1
je 0x180005129
sub ecx, 1
je 0x180005121
cmp ecx, 1
jne 0x180005189
mov r8d, 0xb1
jmp 0x180005151
mov r8d, 0x9d4d
jmp 0x180005151
mov r8d, 0x9000
jmp 0x180005151
mov r8d, 0xf9bb
jmp 0x180005151
mov r8d, 0x60f2
jmp 0x180005151
cmp eax, 3
jne 0x18000518e
jmp 0x18000508f
mov r8d, 0x796e
lea rdx, [rbp - 0x29]
mov rcx, rdi
call qword [0x1800f9128]
movaps xmm1, xmmword [rbp - 0x29]
movaps xmm0, xmm1
movaps xmm2, xmm1
shufps xmm0, xmm1, 0xaa
shufps xmm2, xmm1, 0x55
movss dword [rbp - 0x61], xmm0
mov eax, dword [rbp - 0x61]
unpcklps xmm1, xmm2
mov dword [0x1800f9030], eax
movsd qword [0x1800f9028], xmm1
call fcn.18000467c
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.18003fdd0
lea r11, [rsp + 0xe0]
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