Function at 0x1005afc0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x100c0658
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100f6f50]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xac]
push str.Display.ControlPanel
lea ecx, [esp + 0x54]
mov byte [ebp], 0
call fcn.100242c0
xor ebx, ebx
mov dword [esp + 0xa4], ebx
push 1
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call fcn.100241e0
mov esi, eax
mov byte [esp + 0xa4], 1
push str.SOFTWARENVIDIA_CorporationInstaller2
lea ecx, [esp + 0x90]
call fcn.100242c0
mov edi, eax
mov byte [esp + 0xa4], 2
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x78]
call fcn.10024050
mov byte [esp + 0xa4], 3
push edi
lea edx, [esp + 0x84]
push edx
mov ecx, eax
call fcn.10020350
mov byte [esp + 0xa4], 4
push esi
lea ecx, [esp + 0x48]
push ecx
mov ecx, eax
call fcn.10020350
mov byte [esp + 0xa4], 6
lea ecx, [esp + 0x80]
call fcn.10024250
mov byte [esp + 0xa4], 7
lea ecx, [esp + 0x74]
call fcn.10024250
mov byte [esp + 0xa4], 8
lea ecx, [esp + 0x8c]
call fcn.10024250
mov byte [esp + 0xa4], 9
lea ecx, [esp + 0x30]
call fcn.10024250
mov byte [esp + 0xa4], 0xa
lea ecx, [esp + 0x50]
call fcn.10024250
lea ecx, [esp + 0x44]
call fcn.10067c30
test al, al
jne 0x1005b193
call fcn.1005c1f0
cmp dword [eax + 0x1c], 3
jl 0x1005b178
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x100d2a40
call fcn.10058480
mov byte [esp + 0xc0], 0xb
push 0x372
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push str.CPLUtil::CPLInstallSuccess
call fcn.10058480
mov byte [esp + 0xe0], 0xc
lea edx, [esp + 0x53]
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x64]
push 3
mov byte [esp + 0x57], bl
mov dword [esp + 0x74], edx
mov dword [esp + 0x68], str.Control_Panel_install_result_data_key_not_found
mov dword [esp + 0x6c], eax
mov dword [esp + 0x60], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____48___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov dword [esp + 0x64], ecx
call fcn.1005c1f0
push eax
mov byte [esp + 0xe8], 0xa
lea edi, [esp + 0x64]
call fcn.10025de0
mov dword [esp + 0xa4], 0xffffffff
lea ecx, [esp + 0x44]
call fcn.10024250
xor al, al
jmp 0x1005b4dc
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xa4], 0xd
push str.InstallResult
lea ecx, [esp + 0x1c]
call fcn.10001a70
mov byte [esp + 0xa4], 0xe
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x48]
call fcn.10069ef0
mov esi, eax
mov dword [esp + 0x1c], esi
mov byte [esp + 0xa4], 0xd
lea ecx, [esp + 0x18]
call fcn.10001df0
cmp esi, ebx
jne 0x1005b289
call fcn.1005c1f0
cmp dword [eax + 0x1c], 3
jl 0x1005b278
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x100d2a40
call fcn.10058480
mov byte [esp + 0xc0], 0xf
push 0x37a
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x64], esp
push str.CPLUtil::CPLInstallSuccess
call fcn.10058480
mov byte [esp + 0xe0], 0x10
lea eax, [esp + 0x53]
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x5c]
push 3
mov byte [esp + 0x57], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x60], str.Control_Panel_install_result_data_value_not_found
mov dword [esp + 0x64], ecx
mov dword [esp + 0x7c], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____50___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov dword [esp + 0x80], edx
call fcn.1005c1f0
push eax
mov byte [esp + 0xe8], 0xd
lea edi, [esp + 0x80]
call fcn.10025de0
mov byte [esp + 0xa4], 0xa
mov dword [esp + 0x1c], ebx
jmp 0x1005b178
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
mov edi, eax
sub eax, ebx
je 0x1005b40b
sub eax, 1
je 0x1005b35a
call fcn.1005c1f0
cmp dword [eax + 0x1c], 3
jl 0x1005b353
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x100d2a40
call fcn.10058480
mov byte [esp + 0xc0], 0x15
push 0x38c
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push str.CPLUtil::CPLInstallSuccess
call fcn.10058480
mov byte [esp + 0xe0], 0x16
lea eax, [esp + 0x53]
mov dword [esp + 0xcc], eax
lea ecx, [esp + 0xc8]
lea edx, [esp + 0x78]
lea eax, [esp + 0x5c]
push 3
mov byte [esp + 0x57], 0
mov dword [esp + 0x7c], str.Control_Panel_install_failed_with_error
mov dword [esp + 0x80], ecx
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edx
mov dword [esp + 0xa4], 0x100d2ecc
mov dword [esp + 0xa8], eax
call fcn.1005c1f0
push eax
mov byte [esp + 0xe8], 0xd
lea edi, [esp + 0xa8]
call fcn.10025de0
xor bl, bl
jmp 0x1005b4ac
call fcn.1005c1f0
cmp dword [eax + 0x1c], 6
jl 0x1005b402
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x100d2a40
call fcn.10058480
mov byte [esp + 0xc0], 0x13
push 0x387
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push str.CPLUtil::CPLInstallSuccess
call fcn.10058480
mov byte [esp + 0xe0], 0x14
lea ecx, [esp + 0x53]
lea edx, [esp + 0xb0]
lea eax, [esp + 0x98]
push 6
mov byte [esp + 0x57], 0
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x9c], str.Control_Panel_installed_successfully_and_needs_reboot
mov dword [esp + 0xa0], edx
mov dword [esp + 0xac], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____54___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov dword [esp + 0xb0], eax
call fcn.1005c1f0
push eax
mov byte [esp + 0xe8], 0xd
lea edi, [esp + 0xb0]
call fcn.10025de0
mov byte [ebp], 1
jmp 0x1005b4aa
call fcn.1005c1f0
cmp dword [eax + 0x1c], 6
jl 0x1005b4aa
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x100d2a40
call fcn.10058480
mov byte [esp + 0xc0], 0x11
push 0x383
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push str.CPLUtil::CPLInstallSuccess
call fcn.10058480
mov byte [esp + 0xe0], 0x12
lea ecx, [esp + 0x53]
lea edx, [esp + 0xbc]
lea eax, [esp + 0x8c]
push 6
mov byte [esp + 0x57], 0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x90], str.Control_Panel_installed_successfully
mov dword [esp + 0x94], edx
mov dword [esp + 0x70], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____37___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov dword [esp + 0x74], eax
call fcn.1005c1f0
push eax
mov byte [esp + 0xe8], 0xd
lea edi, [esp + 0x74]
call fcn.10025de0
mov bl, 1
mov byte [esp + 0xa4], 0xa
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0xa4], 0xffffffff
lea ecx, [esp + 0x44]
call fcn.10024250
mov al, bl
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret