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

Disassembly:
mov eax, 0x2334
call fcn.004ac5b0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x232c], eax
push ebx
push ebp
push esi
push edi
push 0x29c5
push dword [0x4e6030]
mov ebp, edx
mov edi, ecx
mov dword [esp + 0x28], ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
mov dword [esp + 0x18], 0
lea eax, [esp + 0x18]
push eax
push 0x20119
push 0
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45c023
push eax
push eax
push eax
push eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x534]
mov dword [esp + 0x24], 0x104
push eax
push 0
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, 0x103
je 0x45c01d
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
nop dword [eax + eax]
inc dword [esp + 0x1c]
lea eax, [esp + 0x520]
push 0x4bdb08
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x45bfe6
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 0x45bfe6
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 0x45bfe0
movups xmm0, xmmword [str.SoftwareClassesCLSID_]
push 0x7d0
lea eax, [esp + 0x1b6c]
movups xmmword [esp + 0x1b3c], xmm0
push esi
movups xmm0, xmmword [0x4bdb48]
push eax
movups xmmword [esp + 0x1b54], xmm0
movups xmm0, xmmword [0x4bdb58]
movups xmmword [esp + 0x1b64], xmm0
call fcn.0048fb10
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 0x45bfe0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x104
push eax
lea eax, [esp + 0x72c]
push eax
push 0
push 0
push 0x4b34dc
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45bfd2
push 0x7fe
push eax
mov word [esp + 0xb40], ax
lea eax, [esp + 0xb42]
push eax
call fcn.0048fb10
add esp, 0xc
xor eax, eax
mov word [esp + 0x1338], ax
push 0x7fe
push eax
lea eax, [esp + 0x1342]
push eax
call fcn.0048fb10
add esp, 0xc
xor eax, eax
mov word [esp + 0x318], ax
push 0x206
push eax
lea eax, [esp + 0x322]
push eax
call fcn.0048fb10
add esp, 0xc
xor eax, eax
mov word [esp + 0x930], ax
push 0x206
push eax
lea eax, [esp + 0x93a]
push eax
call fcn.0048fb10
add esp, 0xc
lea edx, [esp + 0xb38]
lea ecx, [esp + 0x728]
call fcn.0045e940
lea eax, [esp + 0x930]
push eax
lea edx, [esp + 0x31c]
lea ecx, [esp + 0xb3c]
call fcn.0045ded0
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.0048fb10
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 0x45bdbc
push dword [esp + 0x60]
push 0xffffffffffffffff
push dword [0x4e2834]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [0x4e2834]
mov esi, eax
push 1
push 0x1003
push ebx
call ebp
push 0
push 0
push 0x1004
push ebx
mov dword [0x4e2954], esi
call ebp
push 0x4e2938
mov dword [0x4e293c], eax
lea eax, [esp + 0x524]
push 0
push 0x104d
mov dword [0x4e294c], eax
mov eax, dword [esp + 0x2354]
push ebx
mov dword [0x4e2940], 0
mov dword [0x4e2960], eax
call ebp
cmp word [esp + 0x318], 0
jne 0x45be30
lea eax, [esp + 0xb38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCpyW]
push eax
lea eax, [esp + 0x31c]
push eax
call esi
jmp 0x45be36
mov esi, 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 [0x4e293c]
push 0x1074
push ebx
call ebp
lea eax, [esp + 0x930]
mov dword [esp + 0x2c], 2
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push dword [0x4e293c]
push 0x1074
push ebx
call ebp
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 [0x4e293c]
push 0x1074
push ebx
call ebp
cmp edi, 0x80000000
jne 0x45becb
mov eax, str.HKEY_CLASSES_ROOT
jmp 0x45bf29
cmp edi, 0x80000001
jne 0x45beda
mov eax, str.HKEY_CURRENT_USER
jmp 0x45bf29
cmp edi, 0x80000002
jne 0x45bee9
mov eax, str.HKEY_LOCAL_MACHINE
jmp 0x45bf29
cmp edi, 0x80000003
jne 0x45bef8
mov eax, str.HKEY_USERS
jmp 0x45bf29
cmp edi, 0x80000004
jne 0x45bf07
mov eax, str.HKEY_PERFORMANCE_DATA
jmp 0x45bf29
cmp edi, 0x80000005
jne 0x45bf16
mov eax, str.HKEY_CURRENT_CONFIG
jmp 0x45bf29
cmp edi, 0x80000006
mov eax, str.HKEY_DYN_DATA
mov ecx, str.HKEY_CLASSES_ROOT
cmovne eax, ecx
push eax
lea eax, [esp + 0x133c]
push eax
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x1338]
push 0x4b3500
push eax
call esi
push dword [esp + 0x20]
lea eax, [esp + 0x133c]
push eax
call esi
push 0x4b3500
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 [0x4e293c]
push 0x1074
push ebx
call ebp
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 [0x4e293c]
push 0x102b
push ebx
call ebp
push dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x45bfe6
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
mov eax, dword [esp + 0x34]
push eax
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x45bb30
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.0048ea75
add esp, 0x2334
ret