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

Disassembly:
mov eax, 0x313c
call fcn.004a5d20
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x3134], eax
push ebx
push ebp
push esi
push edi
push 0x29c5
push dword [0x4def88]
mov ebp, edx
mov ebx, ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
call dword [sym.imp.user32.dll_GetDlgItem]
mov esi, eax
mov dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45ba8a
xor ebp, ebp
mov word [esp + 0x1738], ax
push 0x7fe
lea eax, [esp + 0x173e]
mov dword [esp + 0x24], ebp
push ebp
push eax
call fcn.0048e770
add esp, 0xc
xor eax, eax
mov word [esp + 0x2940], ax
push 0x7fe
push eax
lea eax, [esp + 0x294a]
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 + 0x2944]
push eax
lea eax, [esp + 0x38]
push eax
push ebp
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x174c]
push eax
push ebp
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x45ba80
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov edi, dword [sym.imp.user32.dll_SendMessageW]
cmp word [esp + 0x1738], 0x7b
je 0x45b676
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x740], ax
lea eax, [esp + 0x742]
push eax
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0x1738]
push eax
lea eax, [esp + 0x73c]
push eax
call ebx
lea eax, [esp + 0x2940]
push eax
lea eax, [esp + 0x173c]
push eax
call ebx
lea eax, [esp + 0x738]
push eax
lea eax, [esp + 0x2944]
push eax
call ebx
movups xmm0, xmmword [0x4b7830]
push 0x7d0
lea eax, [esp + 0x2174]
mov dword [esp + 0x18], 0
movups xmmword [esp + 0x2144], xmm0
push 0
movups xmm0, xmmword [0x4b7840]
push eax
movups xmmword [esp + 0x215c], xmm0
movups xmm0, xmmword [0x4b7850]
movups xmmword [esp + 0x216c], xmm0
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0x1738]
push eax
lea eax, [esp + 0x2144]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x4b7860
lea eax, [esp + 0x2144]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x14]
push eax
push 0x20119
push 0
lea eax, [esp + 0x214c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45ba34
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x104
push eax
lea eax, [esp + 0x1f3c]
push eax
push 0
push 0
push 0x4ad29c
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45ba2a
push 0x7fe
push eax
mov word [esp + 0xf40], ax
lea eax, [esp + 0xf42]
push eax
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
lea edx, [esp + 0xf38]
lea ecx, [esp + 0x1f38]
call fcn.0045d770
lea eax, [esp + 0x530]
push eax
lea edx, [esp + 0x32c]
lea ecx, [esp + 0xf3c]
call fcn.0045cdf0
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.0048e770
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 0x45b880
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 + 0x2944]
push 0
push 0x104d
mov dword [0x4db8ac], eax
mov eax, dword [esp + 0x315c]
push esi
mov dword [0x4db8a0], 0
mov dword [0x4db8c0], eax
call edi
cmp word [esp + 0x328], 0
jne 0x45b8ee
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
push 0x104
lea eax, [esp + 0xf3c]
push eax
push eax
call dword [sym.imp.kernel32.dll_GetLongPathNameW]
lea eax, [esp + 0xf38]
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
mov ecx, dword [esp + 0x28]
call fcn.00478540
push eax
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 + 0x2c]
lea eax, [esp + 0x73c]
push eax
call ebp
push 0x4ad2c0
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
cmp dword [esp + 0x3154], 0
mov ecx, 0x2000
mov eax, 0x1000
mov dword [esp + 0x44], 0xf000
cmovne eax, ecx
mov dword [esp + 0x40], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4db89c]
push 0x102b
push esi
call edi
mov ebp, dword [esp + 0x20]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x2944]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x38]
inc ebp
push eax
push 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], ebp
push eax
lea eax, [esp + 0x174c]
push eax
push ebp
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x45b615
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x3144]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0x313c
ret