Function at 0x14000be00
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1400dd188]
xor ebx, ebx
test rcx, rcx
je 0x14000be56
lea rdx, str.WTSRegisterSessionNotification
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd188]
test rcx, rcx
mov qword [0x1400df3d0], rax
je 0x14000be4a
lea rdx, str.WTSUnRegisterSessionNotification
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400df3d8], rax
jmp 0x14000be5d
mov rax, rbx
mov qword [0x1400df3d8], rbx
jmp 0x14000be5d
mov rax, qword [0x1400df3d8]
mov ecx, dword [0x1400df34c]
cmp ecx, 6
jbe 0x14000be8a
cmp qword [0x1400df3d0], rbx
je 0x14000be76
test rax, rax
jne 0x14000be8a
lea rcx, str.Failed_to_load_wtsapi32.dll_or_required_functions
call fcn.140014620
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rax, qword [0x1400dd198]
test rax, rax
je 0x14000c23e
lea rdx, str.GetActivePwrScheme
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd198]
test rcx, rcx
mov qword [0x1400df3e0], rax
je 0x14000bed3
lea rdx, str.SetActivePwrScheme
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd198]
jmp 0x14000bed6
mov rax, rbx
test rcx, rcx
mov qword [0x1400df3e8], rax
je 0x14000bef8
lea rdx, str.ReadProcessorPwrScheme
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd198]
jmp 0x14000befb
mov rax, rbx
test rcx, rcx
mov qword [0x1400df3f0], rax
je 0x14000bf1d
lea rdx, str.WriteProcessorPwrScheme
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd198]
jmp 0x14000bf20
mov rax, rbx
test rcx, rcx
mov qword [0x1400df3f8], rax
je 0x14000bf42
lea rdx, str.GetCurrentPowerPolicies
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd198]
jmp 0x14000bf45
mov rax, rbx
test rcx, rcx
mov qword [0x1400df400], rax
je 0x14000bf67
lea rdx, str.PowerCreateSetting
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd198]
jmp 0x14000bf6a
mov rax, rbx
test rcx, rcx
mov qword [0x1400df408], rax
je 0x14000bf8c
lea rdx, str.PowerCreatePossibleSetting
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd198]
jmp 0x14000bf8f
mov rax, rbx
test rcx, rcx
mov qword [0x1400df410], rax
je 0x14000bfb1
lea rdx, str.PowerWriteFriendlyName
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd198]
jmp 0x14000bfb4
mov rax, rbx
test rcx, rcx
mov qword [0x1400df418], rax
je 0x14000bfd6
lea rdx, str.PowerWritePossibleFriendlyName
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd198]
jmp 0x14000bfd9
mov rax, rbx
test rcx, rcx
mov qword [0x1400df420], rax
je 0x14000bffb
lea rdx, str.PowerGetActiveScheme
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd198]
jmp 0x14000bffe
mov rax, rbx
test rcx, rcx
mov qword [0x1400df428], rax
je 0x14000c020
lea rdx, str.PowerSetActiveScheme
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd198]
jmp 0x14000c023
mov rax, rbx
test rcx, rcx
mov qword [0x1400df430], rax
je 0x14000c045
lea rdx, str.PowerReadFriendlyName
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd198]
jmp 0x14000c048
mov rax, rbx
test rcx, rcx
mov qword [0x1400df438], rax
je 0x14000c06a
lea rdx, str.PowerWriteACDefaultIndex
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd198]
jmp 0x14000c06d
mov rax, rbx
test rcx, rcx
mov qword [0x1400df440], rax
je 0x14000c08f
lea rdx, str.PowerWriteDCDefaultIndex
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd198]
jmp 0x14000c092
mov rax, rbx
test rcx, rcx
mov qword [0x1400df448], rax
je 0x14000c0b4
lea rdx, str.PowerWritePossibleValue
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd198]
jmp 0x14000c0b7
mov rax, rbx
test rcx, rcx
mov qword [0x1400df450], rax
je 0x14000c0d9
lea rdx, str.PowerReadPossibleValue
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd198]
jmp 0x14000c0dc
mov rax, rbx
test rcx, rcx
mov qword [0x1400df458], rax
je 0x14000c0fe
lea rdx, str.PowerReadACValueIndex
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd198]
jmp 0x14000c101
mov rax, rbx
test rcx, rcx
mov qword [0x1400df460], rax
je 0x14000c123
lea rdx, str.PowerReadDCValueIndex
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd198]
jmp 0x14000c126
mov rax, rbx
test rcx, rcx
mov qword [0x1400df468], rax
je 0x14000c148
lea rdx, str.PowerReadACDefaultIndex
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd198]
jmp 0x14000c14b
mov rax, rbx
test rcx, rcx
mov qword [0x1400df470], rax
je 0x14000c16d
lea rdx, str.PowerReadDCDefaultIndex
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd198]
jmp 0x14000c170
mov rax, rbx
test rcx, rcx
mov qword [0x1400df478], rax
je 0x14000c192
lea rdx, str.PowerWriteACValueIndex
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd198]
jmp 0x14000c195
mov rax, rbx
test rcx, rcx
mov qword [0x1400df480], rax
je 0x14000c1b7
lea rdx, str.PowerWriteDCValueIndex
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd198]
jmp 0x14000c1ba
mov rax, rbx
test rcx, rcx
mov qword [0x1400df488], rax
je 0x14000c1dc
lea rdx, str.PowerWriteSettingAttributes
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd198]
jmp 0x14000c1df
mov rax, rbx
test rcx, rcx
mov qword [0x1400df490], rax
je 0x14000c201
lea rdx, str.PowerEnumerate
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd198]
jmp 0x14000c204
mov rax, rbx
test rcx, rcx
mov qword [0x1400df498], rax
je 0x14000c22c
lea rdx, str.PowerSettingAccessCheck
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x1400df34c]
mov qword [0x1400df4a0], rax
jmp 0x14000c245
mov ecx, dword [0x1400df34c]
mov rax, rbx
mov qword [0x1400df4a0], rbx
jmp 0x14000c245
mov rax, qword [0x1400df4a0]
cmp qword [0x1400df3e0], rbx
je 0x14000c433
cmp qword [0x1400df3e8], rbx
je 0x14000c433
cmp qword [0x1400df400], rbx
je 0x14000c433
cmp ecx, 7
jb 0x14000c297
cmp qword [0x1400df3f0], rbx
je 0x14000c283
cmp qword [0x1400df3f8], rbx
jne 0x14000c297
lea rcx, str.Failed_to_load_powerpof.dll_or_required_functions_for_winxp_and_later
call fcn.140014620
xor eax, eax
add rsp, 0x20
pop rbx
ret
cmp ecx, 8
jb 0x14000c3a0
cmp qword [0x1400df408], rbx
je 0x14000c433
cmp qword [0x1400df410], rbx
je 0x14000c433
cmp qword [0x1400df418], rbx
je 0x14000c433
cmp qword [0x1400df420], rbx
je 0x14000c433
cmp qword [0x1400df428], rbx
je 0x14000c433
cmp qword [0x1400df430], rbx
je 0x14000c433
cmp qword [0x1400df438], rbx
je 0x14000c433
cmp qword [0x1400df440], rbx
je 0x14000c433
cmp qword [0x1400df448], rbx
je 0x14000c433
cmp qword [0x1400df450], rbx
je 0x14000c433
cmp qword [0x1400df458], rbx
je 0x14000c433
cmp qword [0x1400df460], rbx
je 0x14000c433
cmp qword [0x1400df468], rbx
je 0x14000c433
cmp qword [0x1400df480], rbx
je 0x14000c433
cmp qword [0x1400df488], rbx
je 0x14000c433
cmp qword [0x1400df490], rbx
je 0x14000c433
cmp qword [0x1400df498], rbx
je 0x14000c433
test rax, rax
je 0x14000c433
cmp qword [0x1400df470], rbx
je 0x14000c433
cmp qword [0x1400df478], rbx
je 0x14000c433
mov rcx, qword [0x1400dd1a8]
test rcx, rcx
je 0x14000c3c0
lea rdx, str.OpenVxDHandle
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400df4a8], rax
mov rcx, qword [0x1400dd1b8]
test rcx, rcx
je 0x14000c428
lea rdx, [0x1400a6148]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd1b8]
test rcx, rcx
mov qword [0x1400df4b0], rax
je 0x14000c402
lea rdx, str.CM_Locate_DevNodeA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400dd1b8]
jmp 0x14000c405
mov rax, rbx
test rcx, rcx
mov qword [0x1400df4b8], rax
je 0x14000c421
lea rdx, [0x1400a6118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x1400df4c0], rbx
mov eax, 1
add rsp, 0x20
pop rbx
ret
lea rcx, str.Failed_to_load_powerpof.dll_or_required_functions
call fcn.140014620
xor eax, eax
add rsp, 0x20
pop rbx
ret