Function at 0x1400370d0
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, str.ActiveOverlayAcPowerScheme
mov qword [rcx], rax
lea rax, str.SYSTEMCurrentControlSetControlPowerUserPowerSchemes
mov qword [rcx + 8], rax
call fcn.140001a70
mov rcx, rax
test rax, rax
je 0x140037408
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0x28], rax
lea rcx, [rbx + 0x30]
mov qword [rsp + 0x38], rcx
call fcn.14003c830
xor edi, edi
mov qword [rbx + 0xc8], rdi
mov qword [rbx + 0xd0], rdi
mov qword [rbx + 0xd8], rdi
call fcn.140001a70
mov rcx, rax
test rax, rax
je 0x1400373fd
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0xe0], rax
movups xmm0, xmmword [0x14006ccd0]
movups xmmword [rbx + 0x14], xmm0
cmp byte [0x140085acc], dil
jne 0x14003718d
xor edx, edx
call fcn.140011dd0
mov byte [0x140085acb], al
lea edx, [rdi + 2]
call fcn.140011dd0
mov byte [0x140085acc], 1
cmp byte [0x140085acb], 1
jne 0x1400373eb
lea rcx, str.powrprof.dll
cmp byte [0x140085ace], dil
jne 0x140037330
mov byte [0x140085ace], 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 [0x140086360], rax
lea rdx, str.PowerGetActiveScheme
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140086348], rax
lea rdx, str.PowerEnumerate
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140086340], rax
lea rdx, str.PowerReadFriendlyName
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140086358], rax
lea rdx, str.PowerDuplicateScheme
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140086350], rax
lea rdx, str.PowerWriteFriendlyName
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140086328], rax
lea rdx, str.PowerWriteDescription
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140086320], rax
lea rdx, str.PowerDeleteScheme
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140086338], rax
lea rdx, str.PowerReadACValueIndex
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140086308], rax
lea rdx, str.PowerReadDCValueIndex
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140086300], rax
lea rdx, str.PowerWriteACValueIndex
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140086318], rax
lea rdx, str.PowerWriteDCValueIndex
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140086310], rax
lea rdx, str.PowerReadPossibleValue
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140086330], rax
lea rdx, str.PowerWriteSettingAttributes
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400862f0], rax
lea rdx, str.PowerGetActualOverlayScheme
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400862e8], rax
lea rdx, str.PowerSetActiveOverlayScheme
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400862f8], rax
jmp 0x140037336
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp qword [0x140086360], 0
je 0x1400373e5
cmp qword [0x140086358], 0
je 0x1400373e5
cmp qword [0x140086340], 0
je 0x1400373e5
cmp qword [0x140086348], 0
je 0x1400373e5
cmp qword [0x140086330], 0
je 0x1400373e5
cmp qword [0x1400862f0], 0
je 0x1400373e5
cmp qword [0x140086350], 0
je 0x1400373e5
cmp qword [0x140086328], 0
je 0x1400373e5
cmp qword [0x140086320], 0
je 0x1400373e5
cmp qword [0x140086338], 0
je 0x1400373e5
cmp qword [0x140086308], 0
je 0x1400373e5
cmp qword [0x140086300], 0
je 0x1400373e5
cmp qword [0x140086318], 0
je 0x1400373e5
cmp qword [0x140086310], 0
je 0x1400373e5
mov byte [rbx + 0x10], 1
cmp qword [0x140086368], 0
jne 0x1400373ef
mov qword [0x140086368], rdi
jmp 0x1400373ef
mov byte [rbx + 0x10], 0
jmp 0x1400373ef
mov byte [rbx + 0x10], dil
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80004005
call fcn.1400018b0
nop
mov ecx, 0x80004005
call fcn.1400018b0
int3