Function at 0x41ca60
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.004a5e30
mov eax, dword [0x4c4004]
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.0048e880
add esp, 0xc
xor eax, eax
mov word [esp + 0x1340], ax
push 0x1fe
push eax
lea eax, [esp + 0x134a]
push eax
call fcn.0048e880
add esp, 0xc
xor eax, eax
mov word [esp + 0x1940], ax
push 0x1fe
push eax
lea eax, [esp + 0x194a]
push eax
call fcn.0048e880
add esp, 0xc
xor eax, eax
mov word [esp + 0x1540], ax
push 0x1fe
push eax
lea eax, [esp + 0x154a]
push eax
call fcn.0048e880
add esp, 0xc
mov edx, 0x4ae8ac
mov ecx, 0x4ad9cc
call fcn.00477440
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCpyW]
push eax
lea eax, [esp + 0x1744]
push eax
call ebx
mov edx, 0x4ae8b4
mov ecx, 0x4ad9cc
call fcn.00477440
push eax
lea eax, [esp + 0x1344]
push eax
call ebx
mov edx, 0x4ae8bc
mov ecx, 0x4ad9cc
call fcn.00477440
push eax
lea eax, [esp + 0x1944]
push eax
call ebx
mov edx, 0x4ae8c4
mov ecx, 0x4ad9cc
call fcn.00477440
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.0048e880
add esp, 0xc
xor eax, eax
mov word [esp + 0x1b40], ax
push 0x206
push eax
lea eax, [esp + 0x1b4a]
push eax
call fcn.0048e880
add esp, 0xc
push 0x27c9
push dword [0x4def88]
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.0048e880
add esp, 0xc
xor eax, eax
mov word [esp + 0x2158], ax
push 0x7fe
push eax
lea eax, [esp + 0x2162]
push eax
call fcn.0048e880
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 0x41d322
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 0x41d315
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 0x41cf45
push 0x7fe
push eax
mov word [esp + 0xb48], ax
lea eax, [esp + 0xb4a]
push eax
call fcn.0048e880
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 [0x4cfab0], 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 [0x4cfaa8], 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 0x41cdb7
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 0x41cf3f
lea eax, [esp + 0x340]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
cmp word [esp + 0x340], 0x22
jne 0x41cde7
lea eax, [esp + 0x342]
push eax
lea eax, [esp + 0x344]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push 0x4adcd0
lea eax, [esp + 0x344]
push eax
call ebp
test eax, eax
je 0x41ce00
xor ecx, ecx
mov word [eax + 8], cx
cmp word [esp + 0x340], 0x25
jne 0x41ce5e
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x3960], ax
lea eax, [esp + 0x3962]
push eax
call fcn.0048e880
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 0x41ce83
push 0x4ae754
lea eax, [esp + 0x344]
push eax
call ebp
test eax, eax
je 0x41ce83
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.0048e880
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.0048e880
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 0x41cf3f
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 [0x4cfab0], eax
push dword [esp + 0x18]
call ebx
push 0
push 0
push 0x1004
push esi
call edi
push 0x4cfa94
push 0
push 0x104d
mov dword [0x4cfa98], eax
mov eax, dword [esp + 0x20]
push esi
mov dword [0x4cfab0], eax
mov dword [0x4cfa9c], 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 [0x4cfa98]
push 0x1074
push esi
call edi
push 0x7fc
lea eax, [esp + 0xb48]
mov dword [esp + 0xb44], 0
push 0
push eax
call fcn.0048e880
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 0x41d0a8
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 0x41d051
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 0x41d2c6
push 0x4ae740
lea eax, [esp + 0xb44]
push eax
call ebp
test eax, eax
jne 0x41d0a2
push 0x4ae754
lea eax, [esp + 0xb44]
push eax
call ebp
test eax, eax
je 0x41d0a2
lea ecx, [esp + 0xb40]
call fcn.0041d360
lea ecx, [esp + 0xb40]
call fcn.00478650
test eax, eax
je 0x41d0a2
push dword [esp + 0x10]
call ebx
lea eax, [esp + 0x1340]
jmp 0x41d0af
push dword [esp + 0x10]
call ebx
lea eax, [esp + 0x1940]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4cfa98]
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.0040a3c0
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 [0x4cfa98]
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.0048e880
add esp, 0xc
xor eax, eax
mov word [esp + 0x1f50], ax
push 0x206
push eax
lea eax, [esp + 0x1f5a]
push eax
call fcn.0048e880
add esp, 0xc
lea eax, [esp + 0x1f50]
lea edx, [esp + 0x1d48]
lea ecx, [esp + 0x340]
push eax
call fcn.0045ce60
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 [0x4cfa98]
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 [0x4cfa98]
push 0x1074
push esi
call edi
movups xmm0, xmmword [str.HKEY_LOCAL_MACHINE_]
movups xmmword [esp + 0x2958], xmm0
movups xmm0, xmmword [0x4ae518]
push 0x7d8
movups xmmword [esp + 0x296c], xmm0
lea eax, [esp + 0x2984]
movq xmm0, qword [0x4ae528]
push 0
push eax
movq qword [esp + 0x2984], xmm0
call fcn.0048e880
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 [0x4cfa98]
push 0x1074
push esi
call edi
push 0
push 0
push 0x405
push 0x29c7
push dword [0x4def88]
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 0x41cc75
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 0x41d307
call ebx
lea eax, [esp + 0x1540]
jmp 0x41d0af
call ebx
lea eax, [esp + 0x1740]
jmp 0x41d0af
push dword [esp + 0x1c]
call ebx
mov eax, 1
jmp 0x41d347
push 0x477150
push 1
push 0x1051
push esi
mov dword [0x4deb70], 0
mov dword [0x4deb6c], 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.0048d925
add esp, 0x4954
ret