Function at 0x45c050
Capabilities:
Get file system object information
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x2334
call fcn.004ac5b0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x232c], eax
push ebx
push ebp
push esi
push edi
push 0x29c5
push dword [0x4e6030]
mov ebx, edx
mov dword [esp + 0x28], ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 0x20119
push 0
push ebx
push 0x80000002
call esi
test eax, eax
jne 0x45c4f5
xor ebp, ebp
mov dword [esp + 0x14], 0x104
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x73c]
push eax
push ebp
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x45c4eb
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
nop word [eax + eax]
push 0x4bdb08
lea eax, [esp + 0x72c]
inc ebp
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x45c4b8
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 0x20119
push 0
lea eax, [esp + 0x734]
push eax
push dword [esp + 0x28]
call esi
test eax, eax
jne 0x45c4b8
push 0x200
push eax
lea eax, [esp + 0x530]
mov dword [esp + 0x528], 0x2f004e
push eax
mov dword [esp + 0x530], 0x41
call fcn.0048fb10
add esp, 0xc
mov dword [esp + 0x14], 0x104
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1b3c]
push eax
push 0
push 0
push str.StubPath
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov dword [esp + 0x14], 0x104
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x524]
push eax
push 0
push 0
push 0x4b34dc
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x45c4b2
push 0x4b34dc
lea eax, [esp + 0x1b3c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x45c4b2
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x1340], ax
lea eax, [esp + 0x1342]
push eax
call fcn.0048fb10
add esp, 0xc
xor eax, eax
mov word [esp + 0xb38], ax
push 0x7fe
push eax
lea eax, [esp + 0xb42]
push eax
call fcn.0048fb10
add esp, 0xc
xor eax, eax
mov word [esp + 0x318], ax
push 0x206
push eax
lea eax, [esp + 0x322]
push eax
call fcn.0048fb10
add esp, 0xc
xor eax, eax
mov word [esp + 0x930], ax
push 0x206
push eax
lea eax, [esp + 0x93a]
push eax
call fcn.0048fb10
add esp, 0xc
lea edx, [esp + 0x1338]
lea ecx, [esp + 0x1b38]
call fcn.0045e940
lea eax, [esp + 0x930]
push eax
lea edx, [esp + 0x31c]
lea ecx, [esp + 0x133c]
call fcn.0045ded0
add esp, 4
lea eax, [esp + 0x1338]
push eax
lea eax, [esp + 0xb3c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push esi
lea eax, [esp + 0x133c]
push eax
push 0x104
push esi
lea eax, [esp + 0xb48]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push 0x2b4
lea eax, [esp + 0x64]
push esi
push eax
call fcn.0048fb10
add esp, 0xc
lea eax, [esp + 0x60]
push 0x101
push 0x2b4
push eax
push esi
lea eax, [esp + 0x1348]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x45c31f
push dword [esp + 0x60]
push 0xffffffffffffffff
push dword [0x4e2834]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [0x4e2834]
mov esi, eax
push 1
push 0x1003
push edi
call ebx
push 0
push 0
push 0x1004
push edi
mov dword [0x4e2954], esi
call ebx
push 0x4e2938
mov dword [0x4e293c], eax
lea eax, [esp + 0x524]
push 0
push 0x104d
mov dword [0x4e294c], eax
mov eax, dword [esp + 0x2354]
push edi
mov dword [0x4e2940], 0
mov dword [0x4e2960], eax
call ebx
cmp word [esp + 0x318], 0
jne 0x45c38f
lea eax, [esp + 0x1338]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [esp + 0x31c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x318]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push dword [0x4e293c]
push 0x1074
push edi
call ebx
lea eax, [esp + 0x930]
mov dword [esp + 0x2c], 2
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push dword [0x4e293c]
push 0x1074
push edi
call ebx
lea eax, [esp + 0x1b38]
mov dword [esp + 0x2c], 3
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push dword [0x4e293c]
push 0x1074
push edi
call ebx
push str.HKEY_LOCAL_MACHINE
lea eax, [esp + 0xb3c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0xb38]
push 0x4b3500
push eax
call esi
push dword [esp + 0x20]
lea eax, [esp + 0xb3c]
push eax
call esi
push 0x4b3500
lea eax, [esp + 0xb3c]
push eax
call esi
lea eax, [esp + 0x728]
push eax
lea eax, [esp + 0xb3c]
push eax
call esi
lea eax, [esp + 0xb38]
mov dword [esp + 0x2c], 4
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push dword [0x4e293c]
push 0x1074
push edi
call ebx
cmp dword [esp + 0x234c], 0
mov ecx, 0x2000
mov eax, 0x1000
mov dword [esp + 0x34], 0xf000
cmovne eax, ecx
mov dword [esp + 0x30], eax
lea eax, [esp + 0x24]
push eax
push dword [0x4e293c]
push 0x102b
push edi
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x104
push eax
lea eax, [esp + 0x73c]
push eax
push ebp
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x45c0f0
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x233c]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048ea75
add esp, 0x2334
ret