Function at 0xb79954
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x248
mov eax, 0xbcb08c
call fcn.00bc132b
mov edi, ecx
mov dword [ebp - 0x220], edi
mov eax, dword [ebp + 8]
and dword [ebp - 0x228], 0
mov dword [ebp - 0x22c], eax
mov eax, dword [edi + 0xc]
push 0xfffffffffffffffe
pop ebx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x58]
mov ecx, esi
call dword [0xd0cffc]
call esi
mov esi, eax
xor ecx, ecx
cmp dword [esi + 0x18], ecx
je 0xb79b58
mov dword [ebp - 0x21c], ecx
lea ecx, [ebp - 0x21c]
call fcn.00b8ba6f
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0xb26bc0
push dword [esi + 0x18]
push 0
call dword [sym.imp.api_ms_win_shell_namespace_l1_1_0.dll_SHBindToFolderIDListParent]
test eax, eax
js 0xb79ae6
push edi
push edi
lea ecx, [ebp - 0x234]
call fcn.00b82447
cmp dword [ebp - 0x230], 0
je 0xbf1e7f
cmp dword [edi + 0x14], 0
je 0xbf1e7f
push 0xb28bd8
push 0x10
call fcn.00bc1282
mov esi, eax
mov dword [ebp - 0x254], esi
pop ecx
pop ecx
test esi, esi
je 0xbf1e72
mov eax, dword [ebp - 0x234]
mov ecx, esi
mov dword [esi], eax
call fcn.00b960c7
mov eax, dword [ebp - 0x230]
mov edx, dword [ebp - 0x22c]
mov dword [esi + 4], eax
mov dword [esi + 8], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0xc], eax
test esi, esi
je 0xbf1e7f
push 7
xor eax, eax
lea edi, [ebp - 0x250]
pop ecx
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x220]
push 0
mov dword [ebp - 0x244], fcn.00b82060
mov dword [ebp - 0x240], esi
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x250]
mov dword [ebp - 0x23c], edx
push eax
mov dword [ebp - 0x238], 0x8000
call dword [sym.imp.SHELL32.dll_Ordinal_792]
mov dword [ebp - 0x228], eax
test eax, eax
js 0xb79bce
mov ebx, dword [ebp - 0x220]
mov ecx, esi
call fcn.00b82505
push esi
push 0
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
push eax
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
lea ecx, [ebp - 0x234]
call fcn.00b82505
lea ecx, [ebp - 0x21c]
call fcn.00b8ba6f
cmp ebx, 0xfffffffe
je 0xb79b4e
xor eax, eax
cmp dword [ebp - 0x228], 0x8000000a
je 0xb79b4e
cmp dword [edi + 0x14], eax
je 0xb79b4e
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], eax
call fcn.00b8ba6f
lea eax, [ebp - 0x21c]
push eax
push 0xb28ca0
push 0xffffffffffffffff
call dword [sym.imp.SHELL32.dll_SHGetImageList]
test eax, eax
js 0xb79b43
push dword [ebp - 0x22c]
mov ecx, edi
push ebx
call fcn.00b7985e
lea ecx, [ebp - 0x21c]
call fcn.00b8ba6f
xor al, al
call fcn.00bc12da
ret 4
mov eax, dword [esi + 0xc]
test eax, eax
jne 0xbf1ea7
cmp dword [esi], ecx
je 0xb79b4e
push 0x208
push ecx
lea eax, [ebp - 0x218]
push eax
call fcn.00bc259b
add esp, 0xc
mov dword [ebp - 0x220], 0x208
push dword [esi]
call dword [sym.imp.api_ms_win_shcore_path_l1_1_0.dll_Ordinal_170]
test eax, eax
jne 0xb79baf
lea eax, [ebp - 0x224]
push eax
push 0
push dword [esi]
push 2
push 0x42
call dword [sym.imp.SHLWAPI.dll_AssocQueryKeyW]
test eax, eax
jns 0xbf1ef5
mov eax, dword [esi]
cmp word [eax], 0x2a
je 0xb79b4e
push 0
push 0
push eax
call dword [sym.imp.SHELL32.dll_Shell_GetCachedImageIndexW]
mov ebx, eax
test ebx, ebx
jns 0xb79af1
jmp 0xb79b4e
cmp eax, 0x8000000a
jne 0xb79adb
mov ebx, dword [ebp - 0x220]
jmp 0xb79adb
mov edx, dword [ebp - 0x22c]
xor esi, esi
jmp 0xb79a3e
push 0
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x224]
push dword [ebp - 0x21c]
call dword [sym.imp.SHELL32.dll_Ordinal_790]
test eax, eax
js 0xb79adb
jmp 0xb79bd9
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.api_ms_win_shcore_obsolete_l1_1_0.dll_SHStrDupW]
mov dword [ebp - 0x228], eax
test eax, eax
js 0xb79b4e
push dword [ebp - 0x21c]
call dword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathParseIconLocationW]
push 0
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.SHELL32.dll_Shell_GetCachedImageIndexW]
test eax, eax
js 0xbf1ee4
mov ebx, eax
push dword [ebp - 0x21c]
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
jmp 0xb79af1
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0xb450f4
push 0
push dword [ebp - 0x224]
call dword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
test eax, eax
jne 0xbf1f3f
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathParseIconLocationW]
push 0
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHELL32.dll_Shell_GetCachedImageIndexW]
test eax, eax
js 0xbf1f3f
mov ebx, eax
push dword [ebp - 0x224]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
cmp ebx, 0xfffffffe
jne 0xb79af6
jmp 0xb79baf