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

Disassembly:
mov eax, 0x313c
call fcn.004ac5b0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x3134], eax
push ebx
push ebp
push esi
push edi
push 0x29c5
push dword [0x4e6030]
mov ebx, edx
mov esi, ecx
mov dword [esp + 0x34], ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
mov dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
push 0x20119
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45cb00
push 0x7fe
push eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x1740], ax
lea eax, [esp + 0x1742]
push eax
call fcn.0048fb10
add esp, 0xc
xor eax, eax
mov word [esp + 0x2940], ax
push 0x7fe
push eax
lea eax, [esp + 0x294a]
push eax
call fcn.0048fb10
add esp, 0xc
mov dword [esp + 0x20], 0x400
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x2944]
push eax
lea eax, [esp + 0x38]
push eax
push 0
lea eax, [esp + 0x30]
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 0x45caf6
mov ebp, dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
cmp word [esp + 0x1738], 0x7b
je 0x45c672
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x740], ax
lea eax, [esp + 0x742]
push eax
call fcn.0048fb10
add esp, 0xc
lea eax, [esp + 0x1738]
push eax
lea eax, [esp + 0x73c]
push eax
call ebp
lea eax, [esp + 0x2940]
push eax
lea eax, [esp + 0x173c]
push eax
call ebp
lea eax, [esp + 0x738]
push eax
lea eax, [esp + 0x2944]
push eax
call ebp
movups xmm0, xmmword [str.SoftwareClassesCLSID_]
push 0x7d0
lea eax, [esp + 0x2174]
mov dword [esp + 0x1c], 0
movups xmmword [esp + 0x2144], xmm0
push 0
movups xmm0, xmmword [0x4bdb48]
push eax
movups xmmword [esp + 0x215c], xmm0
movups xmm0, xmmword [0x4bdb58]
movups xmmword [esp + 0x216c], xmm0
call fcn.0048fb10
add esp, 0xc
lea eax, [esp + 0x1738]
push eax
lea eax, [esp + 0x2144]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push str.InprocServer32
lea eax, [esp + 0x2144]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x18]
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 0x45caa6
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x104
push eax
lea eax, [esp + 0x1f3c]
push eax
push 0
push 0
push 0x4b34dc
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45ca9c
push 0x7fe
push eax
mov word [esp + 0xf40], ax
lea eax, [esp + 0xf42]
push eax
call fcn.0048fb10
add esp, 0xc
xor eax, eax
mov word [esp + 0x738], ax
push 0x7fe
push eax
lea eax, [esp + 0x742]
push eax
call fcn.0048fb10
add esp, 0xc
xor eax, eax
mov word [esp + 0x328], ax
push 0x206
push eax
lea eax, [esp + 0x332]
push eax
call fcn.0048fb10
add esp, 0xc
xor eax, eax
mov word [esp + 0x530], ax
push 0x206
push eax
lea eax, [esp + 0x53a]
push eax
call fcn.0048fb10
add esp, 0xc
lea edx, [esp + 0xf38]
lea ecx, [esp + 0x1f38]
call fcn.0045e940
lea eax, [esp + 0x530]
push eax
lea edx, [esp + 0x32c]
lea ecx, [esp + 0xf3c]
call fcn.0045ded0
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.0048fb10
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 0x45c87c
push dword [esp + 0x70]
push 0xffffffffffffffff
push dword [0x4e2834]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [0x4e2834]
mov ebp, eax
push 1
push 0x1003
push edi
call ebx
push 0
push 0
push 0x1004
push edi
mov dword [0x4e2954], ebp
call ebx
push 0x4e2938
mov dword [0x4e293c], eax
lea eax, [esp + 0x2944]
push 0
push 0x104d
mov dword [0x4e294c], eax
mov eax, dword [esp + 0x315c]
push edi
mov dword [0x4e2940], 0
mov dword [0x4e2960], eax
call ebx
cmp word [esp + 0x328], 0
jne 0x45c8f0
lea eax, [esp + 0xf38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ebp, dword [sym.imp.SHLWAPI.dll_StrCpyW]
push eax
lea eax, [esp + 0x32c]
push eax
call ebp
jmp 0x45c8f6
mov ebp, dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x328]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4e293c]
push 0x1074
push edi
call ebx
lea eax, [esp + 0x530]
mov dword [esp + 0x3c], 2
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4e293c]
push 0x1074
push edi
call ebx
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 [0x4e293c]
push 0x1074
push edi
call ebx
cmp esi, 0x80000000
jne 0x45c98b
mov eax, str.HKEY_CLASSES_ROOT
jmp 0x45c9e9
cmp esi, 0x80000001
jne 0x45c99a
mov eax, str.HKEY_CURRENT_USER
jmp 0x45c9e9
cmp esi, 0x80000002
jne 0x45c9a9
mov eax, str.HKEY_LOCAL_MACHINE
jmp 0x45c9e9
cmp esi, 0x80000003
jne 0x45c9b8
mov eax, str.HKEY_USERS
jmp 0x45c9e9
cmp esi, 0x80000004
jne 0x45c9c7
mov eax, str.HKEY_PERFORMANCE_DATA
jmp 0x45c9e9
cmp esi, 0x80000005
jne 0x45c9d6
mov eax, str.HKEY_CURRENT_CONFIG
jmp 0x45c9e9
cmp esi, 0x80000006
mov eax, str.HKEY_DYN_DATA
mov ecx, str.HKEY_CLASSES_ROOT
cmovne eax, ecx
push eax
lea eax, [esp + 0x73c]
push eax
call ebp
push 0x4b3500
lea eax, [esp + 0x73c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push dword [esp + 0x2c]
lea eax, [esp + 0x73c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x4b3500
lea eax, [esp + 0x73c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x1738]
push eax
lea eax, [esp + 0x73c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x738]
mov dword [esp + 0x3c], 4
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4e293c]
push 0x1074
push edi
call ebx
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 [0x4e293c]
push 0x102b
push edi
call ebx
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x2944]
mov dword [esp + 0x24], 0x400
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], 0x400
push ecx
push 0
lea ecx, [esp + 0x30]
inc eax
push ecx
lea ecx, [esp + 0x174c]
mov dword [esp + 0x38], eax
push ecx
push eax
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x45c611
push dword [esp + 0x14]
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.0048ea75
add esp, 0x313c
ret