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

Disassembly:
mov eax, 0x2b3c
call fcn.004ac5b0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x2b34], eax
push ebx
push ebp
push esi
push edi
push 0x29c5
push dword [0x4e6030]
mov ebp, edx
mov esi, ecx
mov dword [esp + 0x30], ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x1c]
push eax
push 0x20119
push 0
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45d1bf
push 0x206
push eax
mov word [esp + 0x328], ax
lea eax, [esp + 0x32a]
push eax
call fcn.0048fb10
add esp, 0xc
mov dword [esp + 0x18], 0x104
xor eax, eax
mov dword [esp + 0x20], eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x334]
push eax
push 0
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x45d1b5
mov edi, dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
nop dword [eax + eax]
inc dword [esp + 0x20]
lea eax, [esp + 0x320]
push 0x4bdb08
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x45d17e
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0x20119
push 0
lea eax, [esp + 0x32c]
push eax
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45d17e
push 0x206
push eax
mov word [esp + 0x530], ax
lea eax, [esp + 0x532]
push eax
call fcn.0048fb10
add esp, 0xc
mov dword [esp + 0x18], 0x104
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x52c]
push eax
push 0
push 0
push 0x4b34dc
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x2348], ax
lea eax, [esp + 0x234a]
push eax
call fcn.0048fb10
add esp, 0xc
lea eax, [esp + 0x320]
cmp word [esp + 0x528], 0x7b
push eax
lea eax, [esp + 0x2344]
push eax
je 0x45ccdc
call edi
lea eax, [esp + 0x528]
push eax
lea eax, [esp + 0x324]
push eax
call edi
lea eax, [esp + 0x2340]
push eax
lea eax, [esp + 0x52c]
push eax
call edi
mov eax, dword [0x4bdba4]
movq xmm0, qword [str.CLSID_]
mov dword [esp + 0xb48], eax
mov ax, word [0x4bdba8]
push 0x7f2
mov word [esp + 0xb50], ax
lea eax, [esp + 0xb52]
push 0
push eax
movq qword [esp + 0xb4c], xmm0
call fcn.0048fb10
add esp, 0xc
lea eax, [esp + 0x528]
push eax
lea eax, [esp + 0xb44]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push str.InProcServer32
lea eax, [esp + 0xb44]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x14]
push eax
push 0x20119
push 0
lea eax, [esp + 0xb4c]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x45cdcb
push str.Wow6432NodeCLSID_
lea eax, [esp + 0xb44]
push eax
call edi
lea eax, [esp + 0x528]
push eax
lea eax, [esp + 0xb44]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push str.InProcServer32
lea eax, [esp + 0xb44]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x14]
push eax
push 0x20119
push 0
lea eax, [esp + 0xb4c]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45d17e
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x104
push eax
lea eax, [esp + 0xb44]
push eax
push 0
push 0
push 0x4b34dc
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45d174
push 0x7fe
push eax
mov word [esp + 0x1348], ax
lea eax, [esp + 0x134a]
push eax
call fcn.0048fb10
add esp, 0xc
xor eax, eax
mov word [esp + 0x1b40], ax
push 0x7fe
push eax
lea eax, [esp + 0x1b4a]
push eax
call fcn.0048fb10
add esp, 0xc
xor eax, eax
mov word [esp + 0x730], ax
push 0x206
push eax
lea eax, [esp + 0x73a]
push eax
call fcn.0048fb10
add esp, 0xc
xor eax, eax
mov word [esp + 0x938], ax
push 0x206
push eax
lea eax, [esp + 0x942]
push eax
call fcn.0048fb10
add esp, 0xc
lea edx, [esp + 0x1340]
lea ecx, [esp + 0xb40]
call fcn.0045e940
lea eax, [esp + 0x938]
push eax
lea edx, [esp + 0x734]
lea ecx, [esp + 0x1344]
call fcn.0045ded0
add esp, 4
lea eax, [esp + 0x1340]
push eax
lea eax, [esp + 0x1b44]
push eax
call edi
push 0
lea eax, [esp + 0x1344]
push eax
push 0x104
push 0
lea eax, [esp + 0x1b50]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push 0x2b4
lea eax, [esp + 0x6c]
push 0
push eax
call fcn.0048fb10
add esp, 0xc
mov dword [esp + 0x24], 0
lea eax, [esp + 0x68]
push 0x101
push 0x2b4
push eax
push 0
lea eax, [esp + 0x1350]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x45cf42
push dword [esp + 0x68]
push 0xffffffffffffffff
push dword [0x4e2834]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [0x4e2834]
mov dword [esp + 0x28], eax
push 1
push 0x1003
push ebx
call ebp
mov eax, dword [esp + 0x24]
push 0
push 0
push 0x1004
push ebx
mov dword [0x4e2954], eax
call ebp
cmp word [esp + 0x320], 0
mov dword [0x4e293c], eax
mov dword [0x4e2940], 0
jne 0x45cf83
lea eax, [esp + 0x730]
push eax
lea eax, [esp + 0x324]
push eax
call edi
push 0x4e2938
push 0
lea eax, [esp + 0x328]
push 0x104d
mov dword [0x4e294c], eax
mov eax, dword [esp + 0x2b5c]
push ebx
mov dword [0x4e2960], eax
call ebp
cmp word [esp + 0x730], 0
jne 0x45cfce
lea eax, [esp + 0x1340]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [esp + 0x734]
push eax
call edi
lea eax, [esp + 0x730]
mov dword [esp + 0x34], 1
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4e293c]
push 0x1074
push ebx
call ebp
lea eax, [esp + 0x938]
mov dword [esp + 0x34], 2
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4e293c]
push 0x1074
push ebx
call ebp
push 0x104
lea eax, [esp + 0x1344]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [esp + 0x1340]
mov dword [esp + 0x34], 3
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4e293c]
push 0x1074
push ebx
call ebp
cmp esi, 0x80000000
jne 0x45d063
mov eax, str.HKEY_CLASSES_ROOT
jmp 0x45d0c1
cmp esi, 0x80000001
jne 0x45d072
mov eax, str.HKEY_CURRENT_USER
jmp 0x45d0c1
cmp esi, 0x80000002
jne 0x45d081
mov eax, str.HKEY_LOCAL_MACHINE
jmp 0x45d0c1
cmp esi, 0x80000003
jne 0x45d090
mov eax, str.HKEY_USERS
jmp 0x45d0c1
cmp esi, 0x80000004
jne 0x45d09f
mov eax, str.HKEY_PERFORMANCE_DATA
jmp 0x45d0c1
cmp esi, 0x80000005
jne 0x45d0ae
mov eax, str.HKEY_CURRENT_CONFIG
jmp 0x45d0c1
cmp esi, 0x80000006
mov eax, str.HKEY_DYN_DATA
mov ecx, str.HKEY_CLASSES_ROOT
cmovne eax, ecx
push eax
lea eax, [esp + 0x1b44]
push eax
call edi
push 0x4b3500
lea eax, [esp + 0x1b44]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push dword [esp + 0x28]
lea eax, [esp + 0x1b44]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x4b3500
lea eax, [esp + 0x1b44]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x2340]
push eax
lea eax, [esp + 0x1b44]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x1b40]
mov dword [esp + 0x34], 4
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4e293c]
push 0x1074
push ebx
call ebp
cmp dword [esp + 0x2b54], 0
mov ecx, 0x2000
mov eax, 0x1000
mov dword [esp + 0x3c], 0xf000
cmovne eax, ecx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4e293c]
push 0x102b
push ebx
call ebp
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x104
push eax
lea eax, [esp + 0x334]
push eax
mov eax, dword [esp + 0x38]
push eax
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x45cbe0
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x2b44]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048ea75
add esp, 0x2b3c
ret