Function at 0x45ab80
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 ebp, edx
mov ebx, ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
mov dword [esp + 0x18], 0
lea eax, [esp + 0x18]
push eax
push 0x20119
push 0
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45b0a2
xor ebp, ebp
mov dword [esp + 0x10], 0x104
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x534]
push eax
push ebp
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, 0x103
je 0x45b09c
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
nop dword [eax]
push 0x4b7800
lea eax, [esp + 0x524]
inc ebp
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x45b069
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0x20119
push 0
lea eax, [esp + 0x52c]
push eax
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45b069
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x104
push eax
lea eax, [esp + 0x72c]
push eax
push 0
push 0
push str.CLSID
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x45b063
movups xmm0, xmmword [str.SoftwareClassesCLSID_]
push 0x7d0
lea eax, [esp + 0x1b6c]
movups xmmword [esp + 0x1b3c], xmm0
push esi
movups xmm0, xmmword [0x4b7840]
push eax
movups xmmword [esp + 0x1b54], xmm0
movups xmm0, xmmword [0x4b7850]
movups xmmword [esp + 0x1b64], xmm0
call fcn.0048e880
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x734]
add esp, 0xc
push eax
lea eax, [esp + 0x1b3c]
push eax
call esi
push str.InprocServer32
lea eax, [esp + 0x1b3c]
push eax
call esi
lea eax, [esp + 0x14]
push eax
push 0x20119
push 0
lea eax, [esp + 0x1b44]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45b063
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x104
push eax
lea eax, [esp + 0x72c]
push eax
push 0
push 0
push 0x4ad29c
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45b055
push 0x7fe
push eax
mov word [esp + 0xb40], ax
lea eax, [esp + 0xb42]
push eax
call fcn.0048e880
add esp, 0xc
xor eax, eax
mov word [esp + 0x1338], ax
push 0x7fe
push eax
lea eax, [esp + 0x1342]
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 + 0xb38]
lea ecx, [esp + 0x728]
call fcn.0045d7e0
lea eax, [esp + 0x930]
push eax
lea edx, [esp + 0x31c]
lea ecx, [esp + 0xb3c]
call fcn.0045ce60
add esp, 4
lea eax, [esp + 0xb38]
push eax
lea eax, [esp + 0x133c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push 0
lea eax, [esp + 0xb3c]
push eax
push 0x104
push 0
lea eax, [esp + 0x1348]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push 0x2b4
lea eax, [esp + 0x64]
push 0
push eax
call fcn.0048e880
add esp, 0xc
lea eax, [esp + 0x60]
xor esi, esi
push 0x101
push 0x2b4
push eax
push esi
lea eax, [esp + 0xb48]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x45aea9
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 0x45af19
lea eax, [esp + 0xb38]
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
push 0x104
lea eax, [esp + 0xb3c]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [esp + 0xb38]
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, dword [esp + 0x1c]
call fcn.004785e0
push eax
lea eax, [esp + 0x133c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x1338]
push 0x4ad2c0
push eax
call esi
push dword [esp + 0x20]
lea eax, [esp + 0x133c]
push eax
call esi
push 0x4ad2c0
lea eax, [esp + 0x133c]
push eax
call esi
lea eax, [esp + 0x520]
push eax
lea eax, [esp + 0x133c]
push eax
call esi
lea eax, [esp + 0x1338]
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
push dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x45b069
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x104
push eax
lea eax, [esp + 0x534]
push eax
push ebp
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x45ac20
push dword [esp + 0x18]
call esi
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