Function at 0x140005c90
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push rdi
push r12
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x14000f028]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rdi, rcx
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.POWRPROF.dll_PowerGetActiveScheme]
test eax, eax
je 0x140005cfd
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [0x14000b5a0]
mov r9d, eax
lea rdx, str._s_failed_with_0x_08X
lea rcx, [rsp + 0x70]
call fcn.140007f10
mov ecx, 1
lea rdx, [rsp + 0x70]
call fcn.140007c70
xor al, al
jmp 0x140005f37
mov rcx, qword [rsp + 0x30]
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
test eax, eax
jne 0x140005d2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [0x14000b608]
jmp 0x140005cd3
cmp byte [rsp + 0x60], 0
mov qword [rsp + 0x1b0], rbx
mov qword [rsp + 0x1b8], rsi
mov qword [rsp + 0x180], r15
je 0x140005d69
mov rax, qword [sym.imp.POWRPROF.dll_PowerReadACDefaultIndex]
mov r15, qword [sym.imp.POWRPROF.dll_PowerReadACValueIndex]
mov qword [rsp + 0x40], rax
mov rax, qword [sym.imp.POWRPROF.dll_PowerWriteACValueIndex]
jmp 0x140005d83
mov rax, qword [sym.imp.POWRPROF.dll_PowerReadDCDefaultIndex]
mov r15, qword [sym.imp.POWRPROF.dll_PowerReadDCValueIndex]
mov qword [rsp + 0x40], rax
mov rax, qword [sym.imp.POWRPROF.dll_PowerWriteDCValueIndex]
mov rdi, qword [rdi + 8]
xor sil, sil
mov qword [rsp + 0x1c0], r13
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], r15
mov rbx, qword [rdi]
mov qword [rsp + 0x188], r14
cmp rbx, rdi
je 0x140005f0d
movabs rax, 0xcbf29ce484222325
movabs rdx, 0x100000001b3
mov r12d, 1
nop word [rax + rax]
movzx ecx, byte [rbx + 0x10]
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rdx, rcx
and rdx, qword [0x14000fae0]
shl rdx, 4
add rdx, qword [0x14000fac8]
mov rax, qword [rdx + 8]
cmp rax, qword [0x14000fab8]
je 0x140005eff
mov ecx, dword [rbx + 0x10]
mov rdx, qword [rdx]
cmp ecx, dword [rax + 0x10]
je 0x140005e42
nop word [rax + rax]
cmp rax, rdx
je 0x140005eff
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x140005e30
mov r13d, dword [rbx + 0x14]
lea r14, [rax + 0x14]
lea rax, [rsp + 0x30]
mov r9, r14
lea r8, str.Q2ST
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
xor ecx, ecx
call r15
test eax, eax
jne 0x140005e97
mov r9d, dword [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r8, r14
mov dword [rsp + 0x20], r13d
lea rcx, [rsp + 0x38]
call fcn.140005bc0
mov r15, qword [rsp + 0x38]
cmp al, 2
movzx esi, sil
cmove esi, r12d
mov rbx, qword [rbx]
movabs rdx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
cmp rbx, rdi
jne 0x140005dd0
test sil, sil
je 0x140005f0d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.POWRPROF.dll_PowerSetActiveScheme]
test eax, eax
je 0x140005f0d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.batchUpdateCurrentSchemePPMSettings:_PowerSetActiveScheme
lea rdx, str._s_failed_with_0x_08X
lea rcx, [rsp + 0x70]
call fcn.140007f10
mov ecx, r12d
lea rdx, [rsp + 0x70]
call fcn.140007c70
xor al, al
jmp 0x140005f0f
lea rcx, str.invalid_unordered_map_K__T__key
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
mov al, 1
mov r14, qword [rsp + 0x188]
mov r13, qword [rsp + 0x1c0]
mov rsi, qword [rsp + 0x1b8]
mov rbx, qword [rsp + 0x1b0]
mov r15, qword [rsp + 0x180]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140008530
add rsp, 0x190
pop r12
pop rdi
pop rbp
ret