Function at 0x405c10
Capabilities:
Get common file path
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x230
mov eax, dword [0x42a0d0]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push str.SOFTWARENVIDIA_CorporationGlobalStereo3D
mov edi, 4
push 0x80000002
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call esi
test eax, eax
jne 0x405cb9
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.StereoVisionConfirmed
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405cb9
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 8]
push eax
push 0x2001f
push 0
push str.SOFTWARENVIDIA_CorporationGlobalStereo3DPersistent
push 0x80000002
call esi
test eax, eax
jne 0x405cb9
mov edx, dword [esp + 8]
push edi
lea ecx, [esp + 0x10]
push ecx
push edi
push eax
push str.StereoVisionConfirmed
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push str.Kernel32.DLL
call fcn.00401640
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
add esp, 4
mov dword [0x434044], eax
test eax, eax
je 0x405f15
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64DisableWow64FsRedirection
push eax
call esi
mov dword [0x434048], eax
mov eax, dword [0x434044]
push str.Wow64RevertWow64FsRedirection
push eax
call esi
mov dword [0x43404c], eax
mov eax, dword [0x434048]
test eax, eax
je 0x405eff
lea ecx, [esp + 0x10]
push ecx
call eax
test eax, eax
je 0x405eff
push 0x105
lea edx, [esp + 0x20]
push edx
push str.Nv3DVisionIePlugin64.dll
call fcn.00402b50
add esp, 0xc
test al, al
je 0x405db4
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x128]
push str._u__s___s_
push ecx
call fcn.0040d54d
add esp, 0xc
push 0x105
lea edx, [esp + 0x20]
push edx
call edi
lea eax, [esp + 0x1c]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x405d60
mov ecx, dword [str._regsvr32.exe]
mov edx, dword [0x424c90]
mov dword [eax], ecx
mov ecx, dword [0x424c94]
mov dword [eax + 4], edx
mov dx, word [0x424c98]
push 1
push 1
mov dword [eax + 8], ecx
push 0x402
mov word [eax + 0xc], dx
call fcn.00401990
add esp, 8
push eax
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00401f80
add esp, 0x10
push 0x105
lea edx, [esp + 0x20]
push edx
push str.Nv3DVStreamingIePlugin64.dll
call fcn.00402b50
add esp, 0xc
test al, al
je 0x405e54
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x128]
push str._u__s___s_
push ecx
call fcn.0040d54d
add esp, 0xc
push 0x105
lea edx, [esp + 0x20]
push edx
call edi
lea eax, [esp + 0x1c]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x405e00
mov ecx, dword [str._regsvr32.exe]
mov edx, dword [0x424c90]
mov dword [eax], ecx
mov ecx, dword [0x424c94]
mov dword [eax + 4], edx
mov dx, word [0x424c98]
push 1
push 1
mov dword [eax + 8], ecx
push 0x402
mov word [eax + 0xc], dx
call fcn.00401990
add esp, 8
push eax
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00401f80
add esp, 0x10
push 0x105
lea edx, [esp + 0x20]
push edx
push str.Nv3DVStreaming64.dll
call fcn.00402b50
add esp, 0xc
test al, al
je 0x405ef4
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x128]
push str._u__s___s_
push ecx
call fcn.0040d54d
add esp, 0xc
push 0x105
lea edx, [esp + 0x20]
push edx
call edi
lea eax, [esp + 0x1c]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x405ea0
mov ecx, dword [str._regsvr32.exe]
mov edx, dword [0x424c90]
mov dword [eax], ecx
mov ecx, dword [0x424c94]
mov dword [eax + 4], edx
mov dx, word [0x424c98]
push 1
push 1
mov dword [eax + 8], ecx
push 0x402
mov word [eax + 0xc], dx
call fcn.00401990
add esp, 8
push eax
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00401f80
add esp, 0x10
mov edx, dword [esp + 0x10]
push edx
call dword [0x43404c]
mov eax, dword [0x434044]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x434044], 0
push 0x105
lea ecx, [esp + 0x20]
push ecx
push str.Nv3DVisionIePlugin.dll
call fcn.00402b50
add esp, 0xc
test al, al
je 0x405fb4
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x128]
push str._u__s___s_
push eax
call fcn.0040d54d
add esp, 0xc
push 0x105
lea ecx, [esp + 0x20]
push ecx
call edi
lea eax, [esp + 0x1c]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x405f60
mov edx, dword [str._regsvr32.exe]
mov ecx, dword [0x424c90]
mov dword [eax], edx
mov edx, dword [0x424c94]
mov dword [eax + 4], ecx
mov cx, word [0x424c98]
push 1
push 1
mov dword [eax + 8], edx
push 0x402
mov word [eax + 0xc], cx
call fcn.00401990
add esp, 8
push eax
lea edx, [esp + 0x12c]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00401f80
add esp, 0x10
push 0x105
lea ecx, [esp + 0x20]
push ecx
push str.Nv3DVStreamingIePlugin.dll
call fcn.00402b50
add esp, 0xc
test al, al
je 0x406054
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x128]
push str._u__s___s_
push eax
call fcn.0040d54d
add esp, 0xc
push 0x105
lea ecx, [esp + 0x20]
push ecx
call edi
lea eax, [esp + 0x1c]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x406000
mov edx, dword [str._regsvr32.exe]
mov ecx, dword [0x424c90]
mov dword [eax], edx
mov edx, dword [0x424c94]
mov dword [eax + 4], ecx
mov cx, word [0x424c98]
push 1
push 1
mov dword [eax + 8], edx
push 0x402
mov word [eax + 0xc], cx
call fcn.00401990
add esp, 8
push eax
lea edx, [esp + 0x12c]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00401f80
add esp, 0x10
push 0x105
lea ecx, [esp + 0x20]
push ecx
push str.Nv3DVStreaming.dll
call fcn.00402b50
add esp, 0xc
test al, al
je 0x4060f4
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x128]
push str._u__s___s_
push eax
call fcn.0040d54d
add esp, 0xc
push 0x105
lea ecx, [esp + 0x20]
push ecx
call edi
lea eax, [esp + 0x1c]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4060a0
mov edx, dword [str._regsvr32.exe]
mov ecx, dword [0x424c90]
mov dword [eax], edx
mov edx, dword [0x424c94]
mov dword [eax + 4], ecx
mov cx, word [0x424c98]
push 1
push 1
mov dword [eax + 8], edx
push 0x402
mov word [eax + 0xc], cx
call fcn.00401990
add esp, 8
push eax
lea edx, [esp + 0x12c]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00401f80
add esp, 0x10
mov ecx, dword [esp + 0x234]
pop edi
pop esi
xor ecx, esp
call fcn.0040d609
add esp, 0x230
ret