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

Disassembly:
sub esp, 0x674
mov eax, dword [0x43c730]
xor eax, esp
mov dword [esp + 0x670], eax
mov eax, dword [esp + 0x678]
push ebx
xor ebx, ebx
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x41e2ce
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x670]
xor ecx, esp
call fcn.00422272
add esp, 0x674
ret
push ebp
push esi
push edi
push 0x206
lea ecx, [esp + 0x47e]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x484], ax
call fcn.00422290
push 0x206
lea eax, [esp + 0x282]
xor edx, edx
push ebx
push eax
mov word [esp + 0x288], dx
call fcn.00422290
push 0x24c
lea ecx, [esp + 0x40]
push ebx
push ecx
mov dword [esp + 0x44], ebx
call fcn.00422290
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0x24
lea edx, [esp + 0x10]
push edx
push 0x20019
push ebx
push str.SoftwareNVIDIA_CorporationGlobal_nView
push 0x80000002
mov dword [esp + 0x24], ebx
xor edi, edi
call esi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41e38b
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push ebx
push str.nvepclnt
push edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 4
call ebp
test eax, eax
jne 0x41e380
cmp dword [esp + 0x14], ebx
je 0x41e380
lea edi, [eax + 1]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push ebx
push str.SoftwareNVIDIA_CorporationNVDeploy
push 0x80000002
call esi
test eax, eax
jne 0x41e3e1
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push str.Ignore_nvepclnt
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 4
call ebp
test eax, eax
jne 0x41e3d6
cmp dword [esp + 0x14], ebx
je 0x41e3d6
xor edi, edi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
je 0x41e518
push 0x104
lea eax, [esp + 0x47c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.nvepclnt.exe
lea ecx, [esp + 0x47c]
push ecx
push 0x4343f0
lea edx, [esp + 0x27c]
push 0x208
push edx
call fcn.00419b60
add esp, 0x14
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x274]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x41e518
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
push eax
call edi
lea edx, [esp + 0x10]
push edx
push 0x20019
push ebx
push str.SoftwareNVIDIA_CorporationNVDeploy
push 0x80000002
call esi
test eax, eax
jne 0x41e4d9
mov eax, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
push str.nvepclntLoadFrom
push eax
mov dword [esp + 0x2c], 0x208
call ebp
test eax, eax
jne 0x41e49a
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x47c]
push edx
push ebx
push ebx
push str.nvepclntLoadFrom
push eax
call ebp
mov ecx, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
push str.nvepclntCmd
push ecx
mov dword [esp + 0x2c], 0x104
call ebp
test eax, eax
jne 0x41e4ce
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
push ebx
push ebx
push str.nvepclntCmd
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.nvdeploy.ini
lea eax, [esp + 0x47c]
push eax
push 0x4343f0
lea ecx, [esp + 0x27c]
push 0x208
push ecx
call fcn.00419b60
add esp, 0x14
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x41e51c
xor eax, eax
jmp 0x41e524
push eax
call edi
mov eax, 1
mov ecx, dword [esp + 0x680]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00422272
add esp, 0x674
ret