Function at 0x100030a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100c38c4
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x100f6f50]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x50], ecx
call fcn.100731e0
xor ebx, ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x88], 2
lea ecx, [esp + 0x34]
call fcn.10023030
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, ebx
jge 0x10003128
push ebx
push 0x18c
push 0x100cb97c
push eax
call fcn.10001ed0
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x10003201
call fcn.100021b0
cmp dword [eax + 0x1c], 5
jl 0x100031cc
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x68], esp
push str..DisplayDriverExtSite.cpp
call fcn.10058480
mov byte [esp + 0xa4], 3
push 0x18f
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x64], esp
push str.CDisplayDriverExtSite::PerformOptimusInitialization
call fcn.10058480
mov byte [esp + 0xc4], 4
lea ecx, [esp + 0x4f]
lea edx, [esp + 0x50]
lea eax, [esp + 0x68]
push 5
mov byte [esp + 0x53], bl
mov dword [esp + 0x58], ecx
mov dword [esp + 0x6c], str.Installer_properties_not_found
mov dword [esp + 0x70], edx
mov dword [esp + 0x84], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____31___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov dword [esp + 0x88], eax
call fcn.100021b0
push eax
mov byte [esp + 0xcc], 2
lea edi, [esp + 0x88]
call fcn.10025de0
mov byte [esp + 0x88], bl
lea ecx, [esp + 0x38]
push ecx
call fcn.100226d0
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x1000376e
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x1000376e
push str.DeviceInitiated
push eax
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0x1f], bl
call fcn.10022ee0
mov byte [esp + 0x88], 7
lea edx, [esp + 0x28]
push edx
lea esi, [esp + 0x54]
call fcn.10022950
mov byte [esp + 0x88], 8
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
sete byte [esp + 0x12]
mov byte [esp + 0x88], 7
lea ecx, [esp + 0x28]
call fcn.10001df0
call fcn.100021b0
cmp byte [esp + 0x12], bl
je 0x10003603
mov esi, 5
cmp dword [eax + 0x1c], esi
jl 0x100032ed
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push str..DisplayDriverExtSite.cpp
call fcn.10058480
mov byte [esp + 0xa4], 9
push 0x1a2
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x80], esp
push str.CDisplayDriverExtSite::PerformOptimusInitialization
call fcn.10058480
mov byte [esp + 0xc4], 0xa
lea ecx, [esp + 0x4e]
lea edx, [esp + 0x50]
lea eax, [esp + 0x68]
push esi
mov byte [esp + 0x52], bl
mov dword [esp + 0x58], ecx
mov dword [esp + 0x6c], str.Not_an_device_initiated_installation__powering_up_optimus_GPU
mov dword [esp + 0x70], edx
mov dword [esp + 0x5c], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____62___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov dword [esp + 0x60], eax
call fcn.100021b0
push eax
mov byte [esp + 0xcc], 7
lea edi, [esp + 0x60]
call fcn.10025de0
push str.Display.Optimus
lea ecx, [esp + 0x28]
call fcn.10001a70
mov byte [esp + 0x88], 0xb
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x3c]
call fcn.10073560
mov byte [esp + 0x88], 0xd
lea ecx, [esp + 0x24]
call fcn.10001df0
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x10003450
lea eax, [esp + 0x24]
push eax
call fcn.100737e0
mov byte [esp + 0x88], 0xe
cmp dword [esp + 0x24], ebx
je 0x100033aa
lea ecx, [esp + 0x5c]
call fcn.10025750
mov byte [esp + 0x88], 0xf
lea ecx, [esp + 0x5c]
push ecx
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.100228e0
add esp, 4
mov ecx, eax
call fcn.1000bc70
lea edx, [esp + 0x5c]
push edx
call fcn.1000afa0
mov byte [esp + 0x13], al
mov byte [esp + 0x88], 0xe
lea ecx, [esp + 0x5c]
call fcn.10025580
mov byte [esp + 0x88], 0xd
lea ecx, [esp + 0x24]
call fcn.10018e40
jmp 0x100034e3
call fcn.100021b0
cmp dword [eax + 0x1c], esi
jl 0x1000343a
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x60], esp
push str..DisplayDriverExtSite.cpp
call fcn.10058480
mov byte [esp + 0xa4], 0x10
push 0x1b5
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x68], esp
push str.CDisplayDriverExtSite::PerformOptimusInitialization
call fcn.10058480
mov byte [esp + 0xc4], 0x11
lea eax, [esp + 0x4e]
lea ecx, [esp + 0x78]
lea edx, [esp + 0x58]
push esi
mov byte [esp + 0x52], bl
mov dword [esp + 0x80], eax
mov dword [esp + 0x5c], str.Failed_to_get_selected_for_install_Optimus_sub_package
mov dword [esp + 0x60], ecx
mov dword [esp + 0x54], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____55___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov dword [esp + 0x58], edx
call fcn.100021b0
push eax
mov byte [esp + 0xcc], 0xe
lea edi, [esp + 0x58]
call fcn.10025de0
mov byte [esp + 0x88], 0xd
lea ecx, [esp + 0x24]
call fcn.10018e40
jmp 0x100034e3
call fcn.100021b0
cmp dword [eax + 0x1c], esi
jl 0x100034e3
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push str..DisplayDriverExtSite.cpp
call fcn.10058480
mov byte [esp + 0xa4], 0x12
push 0x1ba
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x80], esp
push str.CDisplayDriverExtSite::PerformOptimusInitialization
call fcn.10058480
mov byte [esp + 0xc4], 0x13
lea eax, [esp + 0x4e]
lea ecx, [esp + 0x78]
lea edx, [esp + 0x50]
push esi
mov byte [esp + 0x52], bl
mov dword [esp + 0x80], eax
mov dword [esp + 0x54], str.Failed_to_get_Optimus_sub_package_container
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____44___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov dword [esp + 0x60], edx
call fcn.100021b0
push eax
mov byte [esp + 0xcc], 0xd
lea edi, [esp + 0x60]
call fcn.10025de0
mov byte [esp + 0x88], 7
lea ecx, [esp + 0x28]
call fcn.10018e40
cmp byte [esp + 0x13], bl
je 0x10003698
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
mov ecx, dword [esp + 0x4c]
call fcn.100228e0
mov dword [esp + 0x5c], vtable.CDevicesINFHandler.0
cmp eax, ebx
je 0x1000378f
mov ecx, dword [0x100c5530]
mov edx, dword [0x100c5534]
mov dword [esp + 0x60], eax
mov eax, dword [0x100c552c]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], eax
mov eax, dword [0x100c5538]
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x60], vtable.COptimusDeviceDetector.0
mov byte [esp + 0x78], bl
call fcn.1005e2f0
cmp byte [esp + 0x74], bl
jne 0x100037a1
push 0x3e8
call esi
add edi, 0x3e8
cmp edi, 0x2710
jbe 0x10003506
call fcn.100021b0
cmp dword [eax + 0x1c], 4
jl 0x1000372b
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x1a
mov esi, 7
xor eax, eax
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str..DisplayDriverExtSite.cpp
mov word [ecx + 4], ax
call fcn.10058390
mov byte [esp + 0xa4], 0x1b
push 0x1d9
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x80], esp
push 0x33
xor edx, edx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push str.CDisplayDriverExtSite::PerformOptimusInitialization
mov word [ecx + 4], dx
call fcn.10058390
mov byte [esp + 0xc4], 0x1c
mov dword [esp + 0x50], str.Failed_to_detect_Optimus_device
mov dword [esp + 0x58], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____32___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
push 4
jmp 0x100036f5
cmp dword [eax + 0x1c], 5
jl 0x10003693
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push str..DisplayDriverExtSite.cpp
call fcn.10058480
mov byte [esp + 0xa4], 0x14
push 0x1bf
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x80], esp
push str.CDisplayDriverExtSite::PerformOptimusInitialization
call fcn.10058480
mov byte [esp + 0xc4], 0x15
lea eax, [esp + 0x4e]
lea ecx, [esp + 0x78]
lea edx, [esp + 0x50]
push 5
mov byte [esp + 0x52], bl
mov dword [esp + 0x80], eax
mov dword [esp + 0x54], str.Device_initiated_installation__avoiding_powering_up_optimus_GPU
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____64___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov dword [esp + 0x60], edx
call fcn.100021b0
push eax
mov byte [esp + 0xcc], 7
lea edi, [esp + 0x60]
call fcn.10025de0
mov esi, 5
call fcn.100021b0
cmp dword [eax + 0x1c], esi
jl 0x1000372b
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push str..DisplayDriverExtSite.cpp
call fcn.10058480
mov byte [esp + 0xa4], 0x1d
push 0x1dd
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x80], esp
push str.CDisplayDriverExtSite::PerformOptimusInitialization
call fcn.10058480
mov byte [esp + 0xc4], 0x1e
mov dword [esp + 0x50], str.Failed_to_power_up_Optimus_GPU
mov dword [esp + 0x58], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____31___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
push esi
lea eax, [esp + 0x52]
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x54]
mov byte [esp + 0x52], bl
mov dword [esp + 0x80], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], edx
call fcn.100021b0
push eax
mov byte [esp + 0xcc], 7
lea edi, [esp + 0x60]
call fcn.10025de0
mov byte [esp + 0x88], 2
lea ecx, [esp + 0x50]
call fcn.10022b40
mov byte [esp + 0x88], bl
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x10003753
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x1000376e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1008db44
mov esp, ebp
pop ebp
ret
push ebx
push 0x1f
push str.c:dvsp4_build_sw_relgpu_drv_r367_r368_20installer2.0AlphaSubPackagesExtensionsLibDeviceINFHandler.h
push 0x80070057
call fcn.10001ed0
call fcn.100021b0
cmp dword [eax + 0x1c], 5
jl 0x10003836
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push str..DisplayDriverExtSite.cpp
call fcn.10058480
mov byte [esp + 0xa4], 0x16
push 0x1cf
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x80], esp
push str.CDisplayDriverExtSite::PerformOptimusInitialization
call fcn.10058480
mov byte [esp + 0xc4], 0x17
lea edx, [esp + 0x4e]
lea eax, [esp + 0x78]
lea ecx, [esp + 0x50]
push 5
mov byte [esp + 0x52], bl
mov dword [esp + 0x80], edx
mov dword [esp + 0x54], str.Optimus_device_found
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____21___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov dword [esp + 0x60], ecx
call fcn.100021b0
push eax
mov byte [esp + 0xcc], 7
lea edi, [esp + 0x60]
call fcn.10025de0
mov byte [esp + 0x88], 2
lea ecx, [esp + 0x50]
call fcn.10022b40
mov byte [esp + 0x88], bl
lea edx, [esp + 0x38]
push edx
call fcn.100226d0
jmp 0x10003753