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

Disassembly:
mov eax, 0x2b3c
call fcn.004a5e30
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x2b34], eax
push ebx
push ebp
push esi
push edi
push 0x29c5
push dword [0x4def88]
mov ebp, edx
mov ebx, ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x1c]
push eax
push 0x20119
push 0
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45c145
push 0x206
push eax
mov word [esp + 0x328], ax
lea eax, [esp + 0x32a]
push eax
call fcn.0048e880
add esp, 0xc
mov dword [esp + 0x18], 0x104
xor eax, eax
mov dword [esp + 0x20], eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x334]
push eax
push 0
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x45c13b
mov esi, dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov ebp, dword [sym.imp.SHLWAPI.dll_StrCatW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
nop word [eax + eax]
inc dword [esp + 0x20]
lea eax, [esp + 0x320]
push 0x4b7800
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x45c104
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0x20119
push 0
lea eax, [esp + 0x32c]
push eax
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45c104
push 0x206
push eax
mov word [esp + 0x530], ax
lea eax, [esp + 0x532]
push eax
call fcn.0048e880
add esp, 0xc
mov dword [esp + 0x18], 0x104
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x52c]
push eax
push 0
push 0
push 0x4ad29c
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x2348], ax
lea eax, [esp + 0x234a]
push eax
call fcn.0048e880
add esp, 0xc
lea eax, [esp + 0x320]
cmp word [esp + 0x528], 0x7b
push eax
lea eax, [esp + 0x2344]
push eax
je 0x45bcec
call esi
lea eax, [esp + 0x528]
push eax
lea eax, [esp + 0x324]
push eax
call esi
lea eax, [esp + 0x2340]
push eax
lea eax, [esp + 0x52c]
push eax
call esi
mov eax, dword [0x4b789c]
movq xmm0, qword [str.CLSID_]
mov dword [esp + 0xb48], eax
mov ax, word [0x4b78a0]
push 0x7f2
mov word [esp + 0xb50], ax
lea eax, [esp + 0xb52]
push 0
push eax
movq qword [esp + 0xb4c], xmm0
call fcn.0048e880
add esp, 0xc
lea eax, [esp + 0x528]
push eax
lea eax, [esp + 0xb44]
push eax
call ebp
push str.InProcServer32
lea eax, [esp + 0xb44]
push eax
call ebp
lea eax, [esp + 0x14]
push eax
push 0x20119
push 0
lea eax, [esp + 0xb4c]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x45bdcb
push str.Wow6432NodeCLSID_
lea eax, [esp + 0xb44]
push eax
call esi
lea eax, [esp + 0x528]
push eax
lea eax, [esp + 0xb44]
push eax
call ebp
push str.InProcServer32
lea eax, [esp + 0xb44]
push eax
call ebp
lea eax, [esp + 0x14]
push eax
push 0x20119
push 0
lea eax, [esp + 0xb4c]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45c104
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x104
push eax
lea eax, [esp + 0xb44]
push eax
push 0
push 0
push 0x4ad29c
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45c0fa
push 0x7fe
push eax
mov word [esp + 0x1348], ax
lea eax, [esp + 0x134a]
push eax
call fcn.0048e880
add esp, 0xc
xor eax, eax
mov word [esp + 0x1b40], ax
push 0x7fe
push eax
lea eax, [esp + 0x1b4a]
push eax
call fcn.0048e880
add esp, 0xc
xor eax, eax
mov word [esp + 0x730], ax
push 0x206
push eax
lea eax, [esp + 0x73a]
push eax
call fcn.0048e880
add esp, 0xc
xor eax, eax
mov word [esp + 0x938], ax
push 0x206
push eax
lea eax, [esp + 0x942]
push eax
call fcn.0048e880
add esp, 0xc
lea edx, [esp + 0x1340]
lea ecx, [esp + 0xb40]
call fcn.0045d7e0
lea eax, [esp + 0x938]
push eax
lea edx, [esp + 0x734]
lea ecx, [esp + 0x1344]
call fcn.0045ce60
add esp, 4
lea eax, [esp + 0x1340]
push eax
lea eax, [esp + 0x1b44]
push eax
call esi
push 0
lea eax, [esp + 0x1344]
push eax
push 0x104
push 0
lea eax, [esp + 0x1b50]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push 0x2b4
lea eax, [esp + 0x6c]
push 0
push eax
call fcn.0048e880
add esp, 0xc
lea eax, [esp + 0x68]
xor ebp, ebp
push 0x101
push 0x2b4
push eax
push ebp
lea eax, [esp + 0x1350]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x45bf39
push dword [esp + 0x68]
push 0xffffffffffffffff
push dword [0x4d3714]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [0x4d3714]
mov ebp, eax
push 1
push 0x1003
push edi
call ebx
push 0
push 0
push 0x1004
push edi
mov dword [0x4db8b4], ebp
call ebx
cmp word [esp + 0x320], 0
mov dword [0x4db89c], eax
mov dword [0x4db8a0], 0
jne 0x45bf77
lea eax, [esp + 0x730]
push eax
lea eax, [esp + 0x324]
push eax
call esi
push 0x4db898
push 0
lea eax, [esp + 0x328]
push 0x104d
mov dword [0x4db8ac], eax
mov eax, dword [esp + 0x2b5c]
push edi
mov dword [0x4db8c0], eax
call ebx
cmp word [esp + 0x730], 0
jne 0x45bfc2
lea eax, [esp + 0x1340]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [esp + 0x734]
push eax
call esi
lea eax, [esp + 0x730]
mov dword [esp + 0x34], 1
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4db89c]
push 0x1074
push edi
call ebx
lea eax, [esp + 0x938]
mov dword [esp + 0x34], 2
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4db89c]
push 0x1074
push edi
call ebx
push 0x104
lea eax, [esp + 0x1344]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [esp + 0x1340]
mov dword [esp + 0x34], 3
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4db89c]
push 0x1074
push edi
call ebx
mov ecx, dword [esp + 0x24]
call fcn.004785e0
push eax
lea eax, [esp + 0x1b44]
push eax
call esi
mov ebp, dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x1b40]
push 0x4ad2c0
push eax
call ebp
push dword [esp + 0x28]
lea eax, [esp + 0x1b44]
push eax
call ebp
push 0x4ad2c0
lea eax, [esp + 0x1b44]
push eax
call ebp
lea eax, [esp + 0x2340]
push eax
lea eax, [esp + 0x1b44]
push eax
call ebp
lea eax, [esp + 0x1b40]
mov dword [esp + 0x34], 4
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4db89c]
push 0x1074
push edi
call ebx
cmp dword [esp + 0x2b54], 0
mov ecx, 0x2000
mov eax, 0x1000
mov dword [esp + 0x3c], 0xf000
cmovne eax, ecx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4db89c]
push 0x102b
push edi
call ebx
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x104
push eax
lea eax, [esp + 0x334]
push eax
mov eax, dword [esp + 0x38]
push eax
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x45bbf0
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x2b44]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x2b3c
ret