Function at 0x41cdd0
Capabilities:
Get file system object information
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x4954
call fcn.004ac5b0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x494c], eax
push ebx
push ebp
push esi
push edi
xor eax, eax
mov dword [esp + 0x28], edx
push 0x1fe
push eax
mov word [esp + 0x1748], ax
mov ebp, ecx
lea eax, [esp + 0x174a]
mov dword [esp + 0x38], ebp
push eax
call fcn.0048fb10
add esp, 0xc
xor eax, eax
mov word [esp + 0x1340], ax
push 0x1fe
push eax
lea eax, [esp + 0x134a]
push eax
call fcn.0048fb10
add esp, 0xc
xor eax, eax
mov word [esp + 0x1940], ax
push 0x1fe
push eax
lea eax, [esp + 0x194a]
push eax
call fcn.0048fb10
add esp, 0xc
xor eax, eax
mov word [esp + 0x1540], ax
push 0x1fe
push eax
lea eax, [esp + 0x154a]
push eax
call fcn.0048fb10
add esp, 0xc
mov edx, 0x4b4aec
mov ecx, 0x4b3c0c
call fcn.00478640
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCpyW]
push eax
lea eax, [esp + 0x1744]
push eax
call ebx
mov edx, 0x4b4af4
mov ecx, 0x4b3c0c
call fcn.00478640
push eax
lea eax, [esp + 0x1344]
push eax
call ebx
mov edx, 0x4b4afc
mov ecx, 0x4b3c0c
call fcn.00478640
push eax
lea eax, [esp + 0x1944]
push eax
call ebx
mov edx, 0x4b4b04
mov ecx, 0x4b3c0c
call fcn.00478640
push eax
lea eax, [esp + 0x1544]
push eax
call ebx
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x348], ax
lea eax, [esp + 0x34a]
push eax
call fcn.0048fb10
add esp, 0xc
xor eax, eax
mov word [esp + 0x1b40], ax
push 0x206
push eax
lea eax, [esp + 0x1b4a]
push eax
call fcn.0048fb10
add esp, 0xc
push 0x27c9
push dword [0x4e6030]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x3160], ax
lea eax, [esp + 0x3162]
push eax
call fcn.0048fb10
add esp, 0xc
xor eax, eax
mov word [esp + 0x2158], ax
push 0x7fe
push eax
lea eax, [esp + 0x2162]
push eax
call fcn.0048fb10
add esp, 0xc
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x1c]
push eax
push 0x20119
push 0
push ebp
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41d692
lea eax, [esp + 0x70]
mov dword [esp + 0x20], 0x400
push eax
push 0
push 0
push 0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x316c]
push eax
push 0
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [esp + 0x24], 1
mov ecx, eax
cmp ecx, 0x103
je 0x41d685
push dword [esp + 0x30]
lea eax, [esp + 0x215c]
mov dword [esp + 0x24], 0x400
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x3158]
push eax
lea eax, [esp + 0x215c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0
push eax
push 0x20119
push 0
lea eax, [esp + 0x2164]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41d2b5
push 0x7fe
push eax
mov word [esp + 0xb48], ax
lea eax, [esp + 0xb4a]
push eax
call fcn.0048fb10
add esp, 0xc
mov dword [esp + 0x10], 0x400
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xb44]
push eax
push 0
push 0
push str.DisplayName
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [0x4d6af0], 0
mov eax, str.No_name
mov dword [esp + 0x10], 0x400
lea ecx, [esp + 0xb40]
cmovne ecx, eax
xor eax, eax
mov word [esp + 0x340], ax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x344]
mov dword [0x4d6ae8], ecx
push eax
push 0
push 0
push str.DisplayIcon
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41d127
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x400
push eax
lea eax, [esp + 0x344]
push eax
push 0
push 0
push str.UninstallString
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41d2af
lea eax, [esp + 0x340]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
cmp word [esp + 0x340], 0x22
jne 0x41d157
lea eax, [esp + 0x342]
push eax
lea eax, [esp + 0x344]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push 0x4b3f10
lea eax, [esp + 0x344]
push eax
call ebp
test eax, eax
je 0x41d170
xor ecx, ecx
mov word [eax + 8], cx
cmp word [esp + 0x340], 0x25
jne 0x41d1ce
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x3960], ax
lea eax, [esp + 0x3962]
push eax
call fcn.0048fb10
add esp, 0xc
lea eax, [esp + 0x340]
push eax
lea eax, [esp + 0x395c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push 0x400
lea eax, [esp + 0x344]
push eax
lea eax, [esp + 0x3960]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x41d1f3
push 0x4b4994
lea eax, [esp + 0x344]
push eax
call ebp
test eax, eax
je 0x41d1f3
add eax, 0xfffffffe
push eax
lea eax, [esp + 0x344]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x4160], ax
lea eax, [esp + 0x4162]
push eax
call fcn.0048fb10
add esp, 0xc
lea eax, [esp + 0x340]
push eax
lea eax, [esp + 0x415c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push 0
lea eax, [esp + 0x344]
push eax
push 0x400
push 0
lea eax, [esp + 0x4168]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push 0x2b4
lea eax, [esp + 0x7c]
push 0
push eax
call fcn.0048fb10
add esp, 0xc
lea eax, [esp + 0x78]
push 0x111
push 0x2b4
push eax
push 0x80
lea eax, [esp + 0x350]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x41d2af
push dword [esp + 0x78]
push 0xffffffffffffffff
push dword [esp + 0x30]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [esp + 0x28]
mov dword [esp + 0x18], eax
push 1
push 0x1003
push esi
call edi
mov eax, dword [esp + 0x14]
mov dword [0x4d6af0], eax
push dword [esp + 0x18]
call ebx
push 0
push 0
push 0x1004
push esi
call edi
push 0x4d6ad4
push 0
push 0x104d
mov dword [0x4d6ad8], eax
mov eax, dword [esp + 0x20]
push esi
mov dword [0x4d6af0], eax
mov dword [0x4d6adc], 0
call edi
lea eax, [esp + 0x3158]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4d6ad8]
push 0x1074
push esi
call edi
push 0x7fc
lea eax, [esp + 0xb48]
mov dword [esp + 0xb44], 0
push 0
push eax
call fcn.0048fb10
add esp, 0xc
mov dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
lea eax, [esp + 0x2164]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41d418
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x400
push eax
lea eax, [esp + 0xb44]
push eax
lea eax, [esp + 0x34]
push eax
push 0
push str.UninstallString
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41d3c1
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x400
push eax
lea eax, [esp + 0xb44]
push eax
lea eax, [esp + 0x34]
push eax
push 0
push str.QuietUninstallString
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41d636
push 0x4b4980
lea eax, [esp + 0xb44]
push eax
call ebp
test eax, eax
jne 0x41d412
push 0x4b4994
lea eax, [esp + 0xb44]
push eax
call ebp
test eax, eax
je 0x41d412
lea ecx, [esp + 0xb40]
call fcn.0041d6d0
lea ecx, [esp + 0xb40]
call fcn.004797a0
test eax, eax
je 0x41d412
push dword [esp + 0x10]
call ebx
lea eax, [esp + 0x1340]
jmp 0x41d41f
push dword [esp + 0x10]
call ebx
lea eax, [esp + 0x1940]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4d6ad8]
mov dword [esp + 0x44], 2
push 0x1074
push esi
call edi
lea eax, [esp + 0x330]
push eax
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [esp + 0x33a]
push eax
movzx eax, word [esp + 0x33c]
push eax
movzx eax, word [esp + 0x33e]
push eax
movzx eax, word [esp + 0x33e]
push eax
movzx eax, word [esp + 0x340]
push eax
push str._d._.2d._.2d____.2d:_.2d
lea eax, [esp + 0x1b58]
push 0x104
push eax
call fcn.0040a420
add esp, 0x20
mov dword [esp + 0x3c], 3
lea eax, [esp + 0x1b40]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4d6ad8]
push 0x1074
push esi
call edi
xor eax, eax
push 0x206
push eax
mov word [esp + 0x1d50], ax
lea eax, [esp + 0x1d52]
push eax
call fcn.0048fb10
add esp, 0xc
xor eax, eax
mov word [esp + 0x1f50], ax
push 0x206
push eax
lea eax, [esp + 0x1f5a]
push eax
call fcn.0048fb10
add esp, 0xc
lea eax, [esp + 0x1f50]
lea edx, [esp + 0x1d48]
lea ecx, [esp + 0x340]
push eax
call fcn.0045ded0
add esp, 4
mov dword [esp + 0x3c], 4
lea eax, [esp + 0x1d48]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4d6ad8]
push 0x1074
push esi
call edi
lea eax, [esp + 0x1f50]
mov dword [esp + 0x3c], 5
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4d6ad8]
push 0x1074
push esi
call edi
movups xmm0, xmmword [str.HKEY_LOCAL_MACHINE_]
movups xmmword [esp + 0x2958], xmm0
movups xmm0, xmmword [0x4b4758]
push 0x7d8
movups xmmword [esp + 0x296c], xmm0
lea eax, [esp + 0x2984]
movq xmm0, qword [0x4b4768]
push 0
push eax
movq qword [esp + 0x2984], xmm0
call fcn.0048fb10
add esp, 0xc
lea eax, [esp + 0x2158]
push eax
lea eax, [esp + 0x295c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x2958]
mov dword [esp + 0x3c], 6
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4d6ad8]
push 0x1074
push esi
call edi
push 0
push 0
push 0x405
push 0x29c7
push dword [0x4e6030]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call edi
lea eax, [esp + 0x70]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x316c]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc dword [esp + 0x24]
jmp 0x41cfe5
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x400
push eax
lea eax, [esp + 0xb44]
push eax
lea eax, [esp + 0x34]
push eax
push 0
push str.WindowsInstaller
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x10]
test eax, eax
jne 0x41d677
call ebx
lea eax, [esp + 0x1540]
jmp 0x41d41f
call ebx
lea eax, [esp + 0x1740]
jmp 0x41d41f
push dword [esp + 0x1c]
call ebx
mov eax, 1
jmp 0x41d6b7
push 0x478350
push 1
push 0x1051
push esi
mov dword [0x4e5c18], 0
mov dword [0x4e5c14], esi
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov ecx, dword [esp + 0x495c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048ea75
add esp, 0x4954
ret