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

Disassembly:
mov eax, 0x2f30
call fcn.004a5d20
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.0048e770
add esp, 0xc
xor eax, eax
mov word [esp + 0x738], ax
push 0x7fe
push eax
lea eax, [esp + 0x742]
push eax
call fcn.0048e770
add esp, 0xc
xor eax, eax
mov word [esp + 0x328], ax
push 0x206
push eax
lea eax, [esp + 0x332]
push eax
call fcn.0048e770
add esp, 0xc
xor eax, eax
mov word [esp + 0x530], ax
push 0x206
push eax
lea eax, [esp + 0x53a]
push eax
call fcn.0048e770
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 ebp, dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCatW]
test eax, eax
jne 0x45d3a7
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.0048e770
add esp, 0xc
xor eax, eax
mov word [esp + 0x1738], ax
push 0x7fe
push eax
lea eax, [esp + 0x1742]
push eax
call fcn.0048e770
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 0x45d39d
mov ecx, dword [esp + 0x20]
call fcn.00478540
mov dword [esp + 0x24], eax
nop
lea edx, [esp + 0xf38]
lea ecx, [esp + 0x1738]
call fcn.0045d770
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.0045cdf0
add esp, 4
lea eax, [esp + 0xf38]
push eax
lea eax, [esp + 0x73c]
push eax
call ebp
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.0048e770
add esp, 0xc
lea eax, [esp + 0x70]
xor ebx, ebx
push 0x101
push 0x2b4
push eax
push ebx
lea eax, [esp + 0xf48]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x45d1d2
push dword [esp + 0x70]
push 0xffffffffffffffff
push dword [0x4d3714]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [0x4d3714]
mov ebx, eax
push 1
push 0x1003
push esi
call edi
push 0
push 0
push 0x1004
push esi
mov dword [0x4db8b4], ebx
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 0x45d240
push 0x104
lea eax, [esp + 0x32c]
push eax
lea eax, [esp + 0xf40]
push eax
call dword [sym.imp.comdlg32.dll_GetFileTitleW]
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 ebp
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x738]
push 0x4ad2c0
push eax
call ebx
push dword [esp + 0x30]
lea eax, [esp + 0x73c]
push eax
call ebx
push 0x4b77fc
lea eax, [esp + 0x73c]
push eax
call ebx
lea eax, [esp + 0x1f38]
push eax
lea eax, [esp + 0x73c]
push eax
call ebx
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 0x45d100
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.0048e770
add esp, 0xc
lea eax, [esp + 0x2738]
push dword [esp + 0x30]
push eax
call ebp
push 0x4af95c
lea eax, [esp + 0x273c]
push eax
call ebx
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
push 0x20119
push 0
lea eax, [esp + 0x2744]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45d74f
push 0x7fe
push eax
mov dword [esp + 0x28], eax
mov word [esp + 0x1740], ax
lea eax, [esp + 0x1742]
push eax
call fcn.0048e770
add esp, 0xc
xor eax, eax
mov word [esp + 0x1f38], ax
push 0x7fe
push eax
lea eax, [esp + 0x1f42]
push eax
call fcn.0048e770
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 0x45d745
mov ecx, ebx
call fcn.00478540
mov dword [esp + 0x28], eax
lea edx, [esp + 0xf38]
lea ecx, [esp + 0x1f38]
call fcn.0045d770
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.0045cdf0
add esp, 4
lea eax, [esp + 0xf38]
push eax
lea eax, [esp + 0x73c]
push eax
call ebp
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.0048e770
add esp, 0xc
lea eax, [esp + 0x70]
xor ebx, ebx
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 0x45d576
push dword [esp + 0x70]
push 0xffffffffffffffff
push dword [0x4d3714]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [0x4d3714]
mov ebx, eax
push 1
push 0x1003
push esi
call edi
push 0
push 0
push 0x1004
push esi
mov dword [0x4db8b4], ebx
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 0x45d5e4
push 0x104
lea eax, [esp + 0x32c]
push eax
lea eax, [esp + 0xf40]
push eax
call dword [sym.imp.comdlg32.dll_GetFileTitleW]
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 ebp
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x738]
push 0x4ad2c0
push eax
call ebx
lea eax, [esp + 0x2738]
push eax
lea eax, [esp + 0x73c]
push eax
call ebx
push 0x4b77fc
lea eax, [esp + 0x73c]
push eax
call ebx
lea eax, [esp + 0x1738]
push eax
lea eax, [esp + 0x73c]
push eax
call ebx
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 0x45d4a0
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.0048d815
add esp, 0x2f30
ret