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

Disassembly:
mov eax, 0x2f30
call fcn.004a5e30
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x2f2c], eax
push ebx
push ebp
push esi
push edi
xor eax, eax
mov ebp, edx
push 0x7fe
push eax
mov word [esp + 0xf40], ax
mov ebx, ecx
lea eax, [esp + 0xf42]
mov dword [esp + 0x38], ebp
push eax
mov dword [esp + 0x2c], ebx
call fcn.0048e880
add esp, 0xc
xor eax, eax
mov word [esp + 0x738], ax
push 0x7fe
push eax
lea eax, [esp + 0x742]
push eax
call fcn.0048e880
add esp, 0xc
xor eax, eax
mov word [esp + 0x328], ax
push 0x206
push eax
lea eax, [esp + 0x332]
push eax
call fcn.0048e880
add esp, 0xc
xor eax, eax
mov word [esp + 0x530], ax
push 0x206
push eax
lea eax, [esp + 0x53a]
push eax
call fcn.0048e880
add esp, 0xc
push 0x29c5
push dword [0x4def88]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
mov dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
push 0x20119
push 0
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, dword [sym.imp.SHLWAPI.dll_StrCatW]
test eax, eax
jne 0x45d415
xor eax, eax
mov dword [esp + 0x2c], 0
push 0x7fe
push eax
mov word [esp + 0x1f40], ax
lea eax, [esp + 0x1f42]
push eax
call fcn.0048e880
add esp, 0xc
xor eax, eax
mov word [esp + 0x1738], ax
push 0x7fe
push eax
lea eax, [esp + 0x1742]
push eax
call fcn.0048e880
add esp, 0xc
mov dword [esp + 0x1c], 0x400
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x400
push eax
lea eax, [esp + 0x173c]
push eax
lea eax, [esp + 0x30]
push eax
push 0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x1f4c]
push eax
push 0
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x45d40b
mov ecx, dword [esp + 0x20]
call fcn.004785e0
mov dword [esp + 0x24], eax
nop
lea edx, [esp + 0xf38]
lea ecx, [esp + 0x1738]
call fcn.0045d7e0
xor eax, eax
lea edx, [esp + 0x328]
mov word [esp + 0x328], ax
lea ecx, [esp + 0xf38]
mov word [esp + 0x530], ax
lea eax, [esp + 0x530]
push eax
call fcn.0045ce60
add esp, 4
lea eax, [esp + 0xf38]
push eax
lea eax, [esp + 0x73c]
push eax
call ebx
push 0
lea eax, [esp + 0xf3c]
push eax
push 0x104
push 0
lea eax, [esp + 0x748]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push 0x2b4
lea eax, [esp + 0x74]
push 0
push eax
call fcn.0048e880
add esp, 0xc
lea eax, [esp + 0x70]
xor ebp, ebp
push 0x101
push 0x2b4
push eax
push ebp
lea eax, [esp + 0xf48]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x45d242
push dword [esp + 0x70]
push 0xffffffffffffffff
push dword [0x4d3714]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [0x4d3714]
mov ebp, eax
push 1
push 0x1003
push esi
call edi
push 0
push 0
push 0x1004
push esi
mov dword [0x4db8b4], ebp
call edi
push 0x4db898
mov dword [0x4db89c], eax
lea eax, [esp + 0x1f3c]
push 0
push 0x104d
mov dword [0x4db8ac], eax
mov eax, dword [esp + 0x2f50]
push esi
mov dword [0x4db8a0], 0
mov dword [0x4db8c0], eax
call edi
cmp word [esp + 0x328], 0
jne 0x45d2ae
lea eax, [esp + 0xf38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [esp + 0x32c]
push eax
call ebx
lea eax, [esp + 0x328]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4db89c]
push 0x1074
push esi
call edi
lea eax, [esp + 0x530]
mov dword [esp + 0x3c], 2
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4db89c]
push 0x1074
push esi
call edi
lea eax, [esp + 0x1738]
mov dword [esp + 0x3c], 3
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4db89c]
push 0x1074
push esi
call edi
push dword [esp + 0x24]
lea eax, [esp + 0x73c]
push eax
call ebx
mov ebp, dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x738]
push 0x4ad2c0
push eax
call ebp
push dword [esp + 0x30]
lea eax, [esp + 0x73c]
push eax
call ebp
push 0x4b77fc
lea eax, [esp + 0x73c]
push eax
call ebp
lea eax, [esp + 0x1f38]
push eax
lea eax, [esp + 0x73c]
push eax
call ebp
lea eax, [esp + 0x738]
mov dword [esp + 0x3c], 4
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4db89c]
push 0x1074
push esi
call edi
lea eax, [esp + 0x34]
mov dword [esp + 0x44], 0xf000
push eax
push dword [0x4db89c]
mov dword [esp + 0x48], 0x2000
push 0x102b
push esi
call edi
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x173c]
mov dword [esp + 0x20], 0x400
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 0x400
push ecx
lea ecx, [esp + 0x28]
inc eax
push 0
push ecx
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x1f4c]
push ecx
push eax
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x45d170
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x2740], ax
lea eax, [esp + 0x2742]
push eax
call fcn.0048e880
add esp, 0xc
lea eax, [esp + 0x2738]
push dword [esp + 0x30]
push eax
call ebx
push 0x4af95c
lea eax, [esp + 0x273c]
push eax
call ebp
mov ebp, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
push 0x20119
push 0
lea eax, [esp + 0x2744]
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45d7bd
push 0x7fe
push eax
mov dword [esp + 0x28], eax
mov word [esp + 0x1740], ax
lea eax, [esp + 0x1742]
push eax
call fcn.0048e880
add esp, 0xc
xor eax, eax
mov word [esp + 0x1f38], ax
push 0x7fe
push eax
lea eax, [esp + 0x1f42]
push eax
call fcn.0048e880
add esp, 0xc
mov dword [esp + 0x18], 0x400
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1f3c]
push eax
lea eax, [esp + 0x2c]
push eax
push 0
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x174c]
push eax
push 0
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x45d7b3
mov ecx, ebp
call fcn.004785e0
mov dword [esp + 0x28], eax
nop
lea edx, [esp + 0xf38]
lea ecx, [esp + 0x1f38]
call fcn.0045d7e0
xor eax, eax
lea edx, [esp + 0x328]
mov word [esp + 0x328], ax
lea ecx, [esp + 0xf38]
mov word [esp + 0x530], ax
lea eax, [esp + 0x530]
push eax
call fcn.0045ce60
add esp, 4
lea eax, [esp + 0xf38]
push eax
lea eax, [esp + 0x73c]
push eax
call ebx
push 0
lea eax, [esp + 0xf3c]
push eax
push 0x104
push 0
lea eax, [esp + 0x748]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push 0x2b4
lea eax, [esp + 0x74]
push 0
push eax
call fcn.0048e880
add esp, 0xc
lea eax, [esp + 0x70]
xor ebp, ebp
push 0x111
push 0x2b4
push eax
push 0x80
lea eax, [esp + 0xf48]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x45d5e6
push dword [esp + 0x70]
push 0xffffffffffffffff
push dword [0x4d3714]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [0x4d3714]
mov ebp, eax
push 1
push 0x1003
push esi
call edi
push 0
push 0
push 0x1004
push esi
mov dword [0x4db8b4], ebp
call edi
push 0x4db898
mov dword [0x4db89c], eax
lea eax, [esp + 0x173c]
push 0
push 0x104d
mov dword [0x4db8ac], eax
mov eax, dword [esp + 0x2f50]
push esi
mov dword [0x4db8a0], 0
mov dword [0x4db8c0], eax
call edi
cmp word [esp + 0x328], 0
jne 0x45d652
lea eax, [esp + 0xf38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [esp + 0x32c]
push eax
call ebx
lea eax, [esp + 0x328]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4db89c]
push 0x1074
push esi
call edi
lea eax, [esp + 0x530]
mov dword [esp + 0x3c], 2
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4db89c]
push 0x1074
push esi
call edi
lea eax, [esp + 0x1f38]
mov dword [esp + 0x3c], 3
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4db89c]
push 0x1074
push esi
call edi
push dword [esp + 0x28]
lea eax, [esp + 0x73c]
push eax
call ebx
mov ebp, dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x738]
push 0x4ad2c0
push eax
call ebp
lea eax, [esp + 0x2738]
push eax
lea eax, [esp + 0x73c]
push eax
call ebp
push 0x4b77fc
lea eax, [esp + 0x73c]
push eax
call ebp
lea eax, [esp + 0x1738]
push eax
lea eax, [esp + 0x73c]
push eax
call ebp
lea eax, [esp + 0x738]
mov dword [esp + 0x3c], 4
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4db89c]
push 0x1074
push esi
call edi
lea eax, [esp + 0x34]
mov dword [esp + 0x44], 0xf000
push eax
push dword [0x4db89c]
mov dword [esp + 0x48], 0x1000
push 0x102b
push esi
call edi
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1f3c]
mov dword [esp + 0x1c], 0x400
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0x400
push ecx
inc eax
lea ecx, [esp + 0x24]
push 0
mov dword [esp + 0x30], eax
push ecx
lea ecx, [esp + 0x174c]
push ecx
push eax
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x45d510
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x2f3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x2f30
ret