Function at 0x41c9c0
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.004a5d20
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.0048e770
add esp, 0xc
xor eax, eax
mov word [esp + 0x1340], ax
push 0x1fe
push eax
lea eax, [esp + 0x134a]
push eax
call fcn.0048e770
add esp, 0xc
xor eax, eax
mov word [esp + 0x1940], ax
push 0x1fe
push eax
lea eax, [esp + 0x194a]
push eax
call fcn.0048e770
add esp, 0xc
xor eax, eax
mov word [esp + 0x1540], ax
push 0x1fe
push eax
lea eax, [esp + 0x154a]
push eax
call fcn.0048e770
add esp, 0xc
mov edx, 0x4ae8ac
mov ecx, 0x4ad9cc
call fcn.004773a0
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.004773a0
push eax
lea eax, [esp + 0x1344]
push eax
call ebx
mov edx, 0x4ae8bc
mov ecx, 0x4ad9cc
call fcn.004773a0
push eax
lea eax, [esp + 0x1944]
push eax
call ebx
mov edx, 0x4ae8c4
mov ecx, 0x4ad9cc
call fcn.004773a0
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.0048e770
add esp, 0xc
xor eax, eax
mov word [esp + 0x1b40], ax
push 0x206
push eax
lea eax, [esp + 0x1b4a]
push eax
call fcn.0048e770
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.0048e770
add esp, 0xc
xor eax, eax
mov word [esp + 0x2158], ax
push 0x7fe
push eax
lea eax, [esp + 0x2162]
push eax
call fcn.0048e770
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 0x41d282
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 0x41d275
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 0x41cea5
push 0x7fe
push eax
mov word [esp + 0xb48], ax
lea eax, [esp + 0xb4a]
push eax
call fcn.0048e770
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 0x4ae8cc
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [0x4cfab0], 0
mov eax, 0x4ae8e4
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 0x4ae8f4
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41cd17
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x400
push eax
lea eax, [esp + 0x344]
push eax
push 0
push 0
push 0x4ae720
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41ce9f
lea eax, [esp + 0x340]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
cmp word [esp + 0x340], 0x22
jne 0x41cd47
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 0x41cd60
xor ecx, ecx
mov word [eax + 8], cx
cmp word [esp + 0x340], 0x25
jne 0x41cdbe
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x3960], ax
lea eax, [esp + 0x3962]
push eax
call fcn.0048e770
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 0x41cde3
push 0x4ae754
lea eax, [esp + 0x344]
push eax
call ebp
test eax, eax
je 0x41cde3
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.0048e770
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.0048e770
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 0x41ce9f
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.0048e770
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 0x41d008
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 0x4ae720
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41cfb1
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 0x4ae75c
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41d226
push 0x4ae740
lea eax, [esp + 0xb44]
push eax
call ebp
test eax, eax
jne 0x41d002
push 0x4ae754
lea eax, [esp + 0xb44]
push eax
call ebp
test eax, eax
je 0x41d002
lea ecx, [esp + 0xb40]
call fcn.0041d2c0
lea ecx, [esp + 0xb40]
call fcn.004785b0
test eax, eax
je 0x41d002
push dword [esp + 0x10]
call ebx
lea eax, [esp + 0x1340]
jmp 0x41d00f
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 0x4ae6c4
lea eax, [esp + 0x1b58]
push 0x104
push eax
call fcn.0040a370
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.0048e770
add esp, 0xc
xor eax, eax
mov word [esp + 0x1f50], ax
push 0x206
push eax
lea eax, [esp + 0x1f5a]
push eax
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0x1f50]
lea edx, [esp + 0x1d48]
lea ecx, [esp + 0x340]
push eax
call fcn.0045cdf0
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 [0x4ae508]
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.0048e770
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 0x41cbd5
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 0x4ae788
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x10]
test eax, eax
jne 0x41d267
call ebx
lea eax, [esp + 0x1540]
jmp 0x41d00f
call ebx
lea eax, [esp + 0x1740]
jmp 0x41d00f
push dword [esp + 0x1c]
call ebx
mov eax, 1
jmp 0x41d2a7
push 0x4770b0
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.0048d815
add esp, 0x4954
ret