Function at 0x1000afa0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c1be2
mov eax, dword fs:[0]
push eax
sub esp, 0x108
push ebx
push esi
push edi
mov eax, dword [0x100f6f50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], 0xa
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], ebx
lea esi, [ebx + 3]
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
push str.rootwmi
lea ecx, [ebp - 0xa4]
call fcn.10024650
mov byte [ebp - 4], 5
push ebx
push ebx
push ebx
push ecx
mov ecx, eax
call fcn.100247b0
add esp, 4
push eax
lea ecx, [ebp - 0x2c]
call fcn.10064c30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa4]
call fcn.100245f0
mov dword [ebp - 4], esi
call fcn.100021b0
cmp dword [eax + 0x1c], 5
jl 0x1000b0cc
sub esp, 0x1c
mov dword [ebp - 0x20], esp
mov ecx, esp
mov edi, 7
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
xor eax, eax
mov word [ecx + 4], ax
push 0x1a
push str..DisplayDriverExtSite.cpp
call fcn.10058390
mov byte [ebp - 4], 0xd
push 0x7c7
sub esp, 0x1c
mov dword [ebp - 0x24], esp
mov ecx, esp
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
xor edx, edx
mov word [ecx + 4], dx
push 0x28
push str.CDisplayDriverExtSite::PowerUpOptimusGPU
call fcn.10058390
mov byte [ebp - 4], 0xe
mov byte [ebp - 0x25], bl
lea eax, [ebp - 0x25]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x3c], str.Connection_to_rootwmi_established_successfully
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x54], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____48___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x50], edx
push 5
call fcn.100021b0
push eax
mov byte [ebp - 4], 3
lea edi, [ebp - 0x54]
call fcn.10025de0
mov byte [ebp - 4], 0xf
push str.Optimus_SetGPUPower
lea ecx, [ebp - 0xa4]
call fcn.10024650
mov byte [ebp - 4], 0x10
mov ecx, eax
call fcn.100247b0
mov edx, eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x6c]
call fcn.10002540
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa4]
call fcn.100245f0
mov dword [ebp - 4], esi
jmp 0x1000b1a5
mov esi, dword [ebp + 8]
cmp dword [ebp - 0x64], ebx
jne 0x1000b62a
call fcn.100021b0
cmp dword [eax + 0x1c], 5
jl 0x1000b224
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push str..DisplayDriverExtSite.cpp
call fcn.10058480
mov byte [ebp - 4], 0x16
push 0x7e2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.CDisplayDriverExtSite::PowerUpOptimusGPU
call fcn.10058480
mov byte [ebp - 4], 0x17
mov byte [ebp + 0xb], bl
lea ecx, [ebp + 0xb]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x3c], str.No_Optimus_class_instances_found__compiling_MOF_file_to_get_Optimus_class_instance
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x54], 0x100d051c
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x50], eax
push 5
call fcn.100021b0
push eax
mov byte [ebp - 4], 3
lea edi, [ebp - 0x54]
call fcn.10025de0
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], 0xa
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0x19
push str.SELECT__FROM_RegisteredGuids________________________________WHERE_InstanceName_CA4982BF_C230_458E_B12F_6F16475F351B_
lea ecx, [ebp - 0x114]
call fcn.10024650
mov byte [ebp - 4], 0x1a
mov ecx, eax
call fcn.100247b0
mov edx, eax
lea ecx, [ebp - 0x2c]
push ecx
lea eax, [ebp - 0x9c]
call fcn.10002580
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x114]
call fcn.100245f0
mov dword [ebp - 4], 0x18
cmp dword [ebp - 0x94], ebx
jbe 0x1000b7f9
call fcn.100021b0
cmp dword [eax + 0x1c], 5
jl 0x1000b315
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push str..DisplayDriverExtSite.cpp
call fcn.10058480
mov byte [ebp - 4], 0x1e
push 0x7fa
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.CDisplayDriverExtSite::PowerUpOptimusGPU
call fcn.10058480
mov byte [ebp - 4], 0x1f
mov byte [ebp + 0xb], bl
lea edx, [ebp + 0xb]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x3c], str.Found_GUID_registered_to_support_Optimus_SetGPUPower_class
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x54], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____59___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x50], ecx
push 5
call fcn.100021b0
push eax
mov byte [ebp - 4], 0x18
lea edi, [ebp - 0x54]
call fcn.10025de0
mov byte [ebp - 4], 0x20
mov edx, dword [esi + 0x18]
mov eax, dword [edx - 0xc]
cmp eax, ebx
je 0x1000b682
call fcn.100021b0
cmp dword [eax + 0x1c], 6
jge 0x1000b339
mov eax, 1
jmp 0x1000b33b
xor eax, eax
cmp al, bl
jne 0x1000b3da
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push str..DisplayDriverExtSite.cpp
call fcn.10058480
mov byte [ebp - 4], 0x21
push 0x7ff
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.CDisplayDriverExtSite::PowerUpOptimusGPU
call fcn.10058480
mov byte [ebp - 4], 0x22
mov byte [ebp + 0xb], bl
lea eax, [ebp + 0xb]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xac], str.Going_to_compile_the_MOF_file:
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xb4], esi
lea edx, [ebp - 0xac]
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0x7c], 0x100d238c
mov dword [ebp - 0x7c], 0x100d239c
mov dword [ebp - 0x7c], 0x100d0558
lea eax, [ebp - 0xb4]
mov dword [ebp - 0x78], eax
push 6
call fcn.100021b0
push eax
mov byte [ebp - 4], 0x20
lea edi, [ebp - 0x7c]
call fcn.10025de0
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x10
push esi
call fcn.10065570
add esp, 0x20
call fcn.100021b0
cmp dword [eax + 0x1c], 5
jge 0x1000b3fd
mov eax, 1
jmp 0x1000b3ff
xor eax, eax
cmp al, bl
jne 0x1000b498
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push str..DisplayDriverExtSite.cpp
call fcn.10058480
mov byte [ebp - 4], 0x23
push 0x802
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.CDisplayDriverExtSite::PowerUpOptimusGPU
call fcn.10058480
mov byte [ebp - 4], 0x24
mov byte [ebp + 0xb], bl
lea ecx, [ebp + 0xb]
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xbc], str.MOF_file_complied_successfuly__trying_to_get_Optimus_class_instance
lea edx, [ebp - 0xd8]
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0x84], 0x100d238c
mov dword [ebp - 0x84], 0x100d239c
mov dword [ebp - 0x84], 0x100d056c
lea eax, [ebp - 0xbc]
mov dword [ebp - 0x80], eax
push 5
call fcn.100021b0
push eax
mov byte [ebp - 4], 0x20
lea edi, [ebp - 0x84]
call fcn.10025de0
push str.Optimus_SetGPUPower
lea ecx, [ebp - 0x114]
call fcn.10024650
mov byte [ebp - 4], 0x25
mov ecx, eax
call fcn.100247b0
mov edx, eax
lea ecx, [ebp - 0x2c]
push ecx
lea eax, [ebp - 0x6c]
call fcn.10002540
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x114]
call fcn.100245f0
cmp dword [ebp - 0x64], ebx
jne 0x1000b584
call fcn.100021b0
cmp dword [eax + 0x1c], 4
jge 0x1000b4eb
mov eax, 1
jmp 0x1000b4ed
xor eax, eax
cmp al, bl
jne 0x1000b56d
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push str..DisplayDriverExtSite.cpp
call fcn.10058480
mov byte [ebp - 4], 0x26
push 0x80c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.CDisplayDriverExtSite::PowerUpOptimusGPU
call fcn.10058480
mov byte [ebp - 4], 0x27
mov byte [ebp + 0xb], bl
lea edx, [ebp + 0xb]
mov dword [ebp - 0xec], edx
mov dword [ebp - 0x4c], str.Failed_to_find_Optimus_related_class_instances_even_after_compiling_the_MOF_file
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x74], 0x100d238c
mov dword [ebp - 0x74], 0x100d239c
mov dword [ebp - 0x74], 0x100d0580
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x70], ecx
push 4
call fcn.100021b0
push eax
mov byte [ebp - 4], 0x20
lea edi, [ebp - 0x74]
call fcn.10025de0
mov byte [ebp - 4], 3
lea esi, [ebp - 0x9c]
call fcn.10019c00
mov byte [ebp - 4], bl
jmp 0x1000b7cc
call fcn.100021b0
cmp dword [eax + 0x1c], 5
jge 0x1000b596
mov eax, 1
jmp 0x1000b598
xor eax, eax
cmp al, bl
jne 0x1000b618
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push str..DisplayDriverExtSite.cpp
call fcn.10058480
mov byte [ebp - 4], 0x28
push 0x80f
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.CDisplayDriverExtSite::PowerUpOptimusGPU
call fcn.10058480
mov byte [ebp - 4], 0x29
mov byte [ebp + 0xb], bl
lea edx, [ebp + 0xb]
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0x34], str.Optimus_class_instances_found
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x54], 0x100d238c
mov dword [ebp - 0x54], 0x100d239c
mov dword [ebp - 0x54], 0x100d04f4
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x50], ecx
push 5
call fcn.100021b0
push eax
mov byte [ebp - 4], 0x20
lea edi, [ebp - 0x54]
call fcn.10025de0
mov dword [ebp - 4], 3
lea esi, [ebp - 0x9c]
call fcn.10019c00
mov byte [ebp - 4], 0x31
mov edx, dword [ebp - 0x6c]
mov dword [ebp + 8], edx
cmp dword [ebp + 8], ebx
je 0x1000b915
lea ecx, [ebp + 8]
call fcn.10019c70
mov esi, eax
push str.PowerOnGPU
lea ecx, [ebp - 0x114]
call fcn.10024650
mov byte [ebp - 4], 0x32
push ebx
push ebx
push ebx
push ecx
mov ecx, eax
call fcn.100247b0
add esp, 4
push eax
mov ecx, esi
call fcn.10065410
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x114]
call fcn.100245f0
jmp 0x1000b634
call fcn.100021b0
cmp dword [eax + 0x1c], 4
jge 0x1000b694
mov eax, 1
jmp 0x1000b696
xor eax, eax
cmp al, bl
jne 0x1000b710
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push str..DisplayDriverExtSite.cpp
call fcn.10058480
mov byte [ebp - 4], 0x2a
push 0x813
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.CDisplayDriverExtSite::PowerUpOptimusGPU
call fcn.10058480
mov byte [ebp - 4], 0x2b
mov byte [ebp + 0xb], bl
lea edx, [ebp + 0xb]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x1c], str.Path_to_MOF_file_is_not_specified
lea eax, [ebp - 0x44]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x3c], 0x100d238c
mov dword [ebp - 0x3c], 0x100d239c
mov dword [ebp - 0x3c], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____34___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x38], ecx
push 4
call fcn.100021b0
push eax
mov byte [ebp - 4], 0x20
lea edi, [ebp - 0x3c]
call fcn.10025de0
mov byte [ebp - 4], 3
lea esi, [ebp - 0x9c]
call fcn.10019c00
mov byte [ebp - 4], bl
jmp 0x1000b7cc
lea ecx, [ebp - 0x2c]
call fcn.10002680
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x6c]
call fcn.10019c00
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.100021b0
cmp dword [eax + 0x1c], 4
jl 0x1000b86c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push str..DisplayDriverExtSite.cpp
call fcn.10058480
mov byte [ebp - 4], 0x2f
push 0x820
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.CDisplayDriverExtSite::PowerUpOptimusGPU
call fcn.10058480
mov byte [ebp - 4], 0x30
mov byte [ebp + 0xb], bl
lea edx, [ebp + 0xb]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x1c], str.No_GUID_registered_to_support_Optimus_SetGPUPower_class
lea eax, [ebp - 0x44]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], 0x100d0134
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x30], ecx
push 4
call fcn.100021b0
push eax
mov byte [ebp - 4], 0x18
lea edi, [ebp - 0x34]
call fcn.10025de0
mov byte [ebp - 4], 3
lea esi, [ebp - 0x9c]
call fcn.10019c00
mov byte [ebp - 4], bl
jmp 0x1000b7cc
call fcn.100021b0
cmp dword [eax + 0x1c], 5
jge 0x1000b927
mov eax, 1
jmp 0x1000b929
xor eax, eax
cmp al, bl
jne 0x1000b9a3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push str..DisplayDriverExtSite.cpp
call fcn.10058480
mov byte [ebp - 4], 0x33
push 0x82c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.CDisplayDriverExtSite::PowerUpOptimusGPU
call fcn.10058480
mov byte [ebp - 4], 0x34
mov byte [ebp + 0xb], bl
lea eax, [ebp + 0xb]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x1c], str.Powered_up_GPU_through_WMI_call
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x3c], 0x100d238c
mov dword [ebp - 0x3c], 0x100d239c
mov dword [ebp - 0x3c], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____32___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x38], edx
push 5
call fcn.100021b0
push eax
mov byte [ebp - 4], 0x31
lea edi, [ebp - 0x3c]
call fcn.10025de0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2c]
call fcn.10002680
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x6c]
call fcn.10019c00
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4