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

Disassembly:
mov eax, 0x2334
call fcn.004a5e30
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x232c], eax
push ebx
push ebp
push esi
push edi
push 0x29c5
push dword [0x4def88]
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 0x45b56b
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 0x45b561
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
nop word [eax + eax]
push 0x4b7800
lea eax, [esp + 0x72c]
inc ebp
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x45b52e
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 0x45b52e
push 0x200
push eax
lea eax, [esp + 0x530]
mov dword [esp + 0x528], 0x2f004e
push eax
mov dword [esp + 0x530], 0x41
call fcn.0048e880
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 0x4ad29c
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 0x45b528
push 0x4ad29c
lea eax, [esp + 0x1b3c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x45b528
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x1340], ax
lea eax, [esp + 0x1342]
push eax
call fcn.0048e880
add esp, 0xc
xor eax, eax
mov word [esp + 0xb38], ax
push 0x7fe
push eax
lea eax, [esp + 0xb42]
push eax
call fcn.0048e880
add esp, 0xc
xor eax, eax
mov word [esp + 0x318], ax
push 0x206
push eax
lea eax, [esp + 0x322]
push eax
call fcn.0048e880
add esp, 0xc
xor eax, eax
mov word [esp + 0x930], ax
push 0x206
push eax
lea eax, [esp + 0x93a]
push eax
call fcn.0048e880
add esp, 0xc
lea edx, [esp + 0x1338]
lea ecx, [esp + 0x1b38]
call fcn.0045d7e0
lea eax, [esp + 0x930]
push eax
lea edx, [esp + 0x31c]
lea ecx, [esp + 0x133c]
call fcn.0045ce60
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.0048e880
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 0x45b38f
push dword [esp + 0x60]
push 0xffffffffffffffff
push dword [0x4d3714]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [0x4d3714]
mov esi, eax
push 1
push 0x1003
push edi
call ebx
push 0
push 0
push 0x1004
push edi
mov dword [0x4db8b4], esi
call ebx
push 0x4db898
mov dword [0x4db89c], eax
lea eax, [esp + 0x524]
push 0
push 0x104d
mov dword [0x4db8ac], eax
mov eax, dword [esp + 0x2354]
push edi
mov dword [0x4db8a0], 0
mov dword [0x4db8c0], eax
call ebx
cmp word [esp + 0x318], 0
jne 0x45b3ff
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 [0x4db89c]
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 [0x4db89c]
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 [0x4db89c]
push 0x1074
push edi
call ebx
mov ecx, 0x80000002
call fcn.004785e0
push eax
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 0x4ad2c0
push eax
call esi
push dword [esp + 0x20]
lea eax, [esp + 0xb3c]
push eax
call esi
push 0x4ad2c0
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 [0x4db89c]
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 [0x4db89c]
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 0x45b160
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.0048d925
add esp, 0x2334
ret