Function at 0x1400c7920
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rax, [0x14014f350]
mov qword [rcx], rax
lea rax, str.SYSTEMCurrentControlSetControlPowerUserPowerSchemes
mov qword [rcx + 8], rax
add rcx, 0x28
call fcn.1400055e0
nop
lea rcx, [rbx + 0x30]
mov qword [rsp + 0x38], rcx
call fcn.1400d6450
nop
xor edi, edi
mov qword [rbx + 0xc8], rdi
mov qword [rbx + 0xd0], rdi
mov qword [rbx + 0xd8], rdi
movups xmm0, xmmword [0x14013a1f0]
movups xmmword [rbx + 0x14], xmm0
cmp byte [0x14017ac66], dil
jne 0x1400c79ad
xor edx, edx
lea ecx, [rdi + 6]
call fcn.140006530
mov byte [0x14017ac65], al
lea edx, [rdi + 2]
lea ecx, [rdi + 6]
call fcn.140006530
mov byte [0x14017ac66], 1
cmp byte [0x14017ac65], 1
jne 0x1400c7c05
lea rcx, str.powrprof.dll
cmp byte [0x14017adcd], 0
jne 0x1400c7b50
mov byte [0x14017adcd], 1
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
lea rdx, str.PowerSetActiveScheme
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017be70], rax
lea rdx, str.PowerGetActiveScheme
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017be38], rax
lea rdx, str.PowerEnumerate
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017be40], rax
lea rdx, str.PowerReadFriendlyName
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017be28], rax
lea rdx, str.PowerDuplicateScheme
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017be30], rax
lea rdx, str.PowerWriteFriendlyName
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017be58], rax
lea rdx, str.PowerWriteDescription
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017be60], rax
lea rdx, str.PowerDeleteScheme
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017be48], rax
lea rdx, str.PowerReadACValueIndex
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017be00], rax
lea rdx, str.PowerReadDCValueIndex
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017be08], rax
lea rdx, str.PowerWriteACValueIndex
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017bdf0], rax
lea rdx, str.PowerWriteDCValueIndex
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017bdf8], rax
lea rdx, str.PowerReadPossibleValue
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017be50], rax
lea rdx, str.PowerWriteSettingAttributes
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017be18], rax
lea rdx, str.PowerGetActualOverlayScheme
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017be20], rax
lea rdx, str.PowerSetActiveOverlayScheme
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017be10], rax
jmp 0x1400c7b56
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp qword [0x14017be70], 0
je 0x1400c7c05
cmp qword [0x14017be28], 0
je 0x1400c7c05
cmp qword [0x14017be40], 0
je 0x1400c7c05
cmp qword [0x14017be38], 0
je 0x1400c7c05
cmp qword [0x14017be50], 0
je 0x1400c7c05
cmp qword [0x14017be18], 0
je 0x1400c7c05
cmp qword [0x14017be30], 0
je 0x1400c7c05
cmp qword [0x14017be58], 0
je 0x1400c7c05
cmp qword [0x14017be60], 0
je 0x1400c7c05
cmp qword [0x14017be48], 0
je 0x1400c7c05
cmp qword [0x14017be00], 0
je 0x1400c7c05
cmp qword [0x14017be08], 0
je 0x1400c7c05
cmp qword [0x14017bdf0], 0
je 0x1400c7c05
cmp qword [0x14017bdf8], 0
je 0x1400c7c05
mov byte [rbx + 0x10], 1
cmp qword [0x14017be68], 0
jne 0x1400c7c09
mov qword [0x14017be68], rdi
jmp 0x1400c7c09
mov byte [rbx + 0x10], 0
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret