Function at 0x180005538
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 [0x180106010]
xor rax, rsp
mov qword [rbp - 9], rax
xor r14d, r14d
cmp byte [0x1801073b0], r14b
je 0x1800057f9
mov rax, qword [0x180106e50]
test rax, rax
jne 0x180005631
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 0x180005616
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x180005616
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 0x180005612
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rcx]
inc rcx
test al, al
jne 0x1800055f3
cmp r11d, 0x95466b05
je 0x180005666
test edx, edx
jne 0x1800055d7
mov rax, qword [r10]
mov r10, rax
cmp rax, rbx
je 0x180005627
cmp qword [rax + 0x30], r14
jne 0x1800055b3
mov rax, r14
mov qword [0x180106e50], rax
mov ecx, dword [0x18010603c]
call rax
test ax, ax
jns 0x1800057f9
cmp dword [0x1801073a4], r14d
jne 0x180005680
call fcn.180004bb4
test rax, rax
je 0x1800057f9
mov rcx, rax
call fcn.180005258
jmp 0x1800057f9
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 0x18000562a
movss xmm9, dword [0x180107458]
movss xmm6, dword [0x18010745c]
mulss xmm9, dword [0x180100098]
mulss xmm6, dword [0x180100098]
call fcn.180004bb4
mov rbx, rax
test rax, rax
je 0x1800057f9
mov r8d, 0x796e
lea rdx, [rbp - 0x19]
mov rcx, rax
call qword [0x1801073f0]
movaps xmm2, xmmword [rbp - 0x19]
mov ecx, dword [0x1801073ac]
movaps xmm0, xmm2
shufps xmm0, xmm2, 0x55
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xaa
sub ecx, 1
je 0x180005717
sub ecx, 1
je 0x18000570f
sub ecx, 1
je 0x180005707
sub ecx, 1
je 0x1800056ff
cmp ecx, 1
jne 0x18000573c
mov r8d, 0xb1
jmp 0x18000571d
mov r8d, 0x9d4d
jmp 0x18000571d
mov r8d, 0x9000
jmp 0x18000571d
mov r8d, 0xf9bb
jmp 0x18000571d
mov r8d, 0x60f2
lea rdx, [rbp - 0x29]
mov rcx, rbx
call qword [0x1801073f0]
movaps xmm1, xmmword [rbp - 0x29]
movaps xmm0, xmm1
movaps xmm2, xmm1
shufps xmm0, xmm1, 0x55
shufps xmm1, xmm1, 0xaa
movaps xmm10, xmm2
movd edi, xmm1
unpcklps xmm10, xmm0
movsd qword [rbp - 0x59], xmm10
mov dword [rbp - 0x51], edi
call fcn.18000f09c
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 [0x180107410]
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 [0x180100128]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [0x180100128]
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 [0x180106048]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1800057f9
lea rcx, [rbp - 0x49]
movsd qword [rbp - 0x49], xmm10
mov dword [rbp - 0x41], edi
call fcn.180004e88
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.18004c6e0
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