Function at 0xa4bc4f
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0xc940a0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, ecx
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x228], eax
xor ebx, ebx
mov eax, dword [eax + 0xc]
push edi
mov dword [ebp - 0x224], ecx
push 0xfffffffffffffffe
mov ecx, dword [eax]
pop edi
push eax
mov esi, dword [ecx + 0x58]
mov ecx, esi
call dword [0xc99200]
call esi
mov esi, eax
xor ecx, ecx
cmp dword [esi + 0x18], ecx
je 0xb1ee97
mov dword [ebp - 0x218], ecx
lea ecx, [ebp - 0x218]
call fcn.00a398c6
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x9efb78
push dword [esi + 0x18]
push ebx
call dword [sym.imp.api_ms_win_shell_namespace_l1_1_0.dll_SHBindToFolderIDListParent]
test eax, eax
js 0xa4bdc0
mov eax, dword [ebp - 0x228]
lea ecx, [ebp - 0x230]
push eax
push eax
call fcn.00a3ab0b
cmp dword [ebp - 0x22c], ebx
je 0xb1ee6f
push 0xc96c04
push 0x10
call fcn.00ab4242
mov esi, eax
mov dword [ebp - 0x21c], esi
pop ecx
pop ecx
test esi, esi
je 0xb1ee4f
mov eax, dword [ebp - 0x230]
mov ecx, esi
mov dword [esi], eax
call fcn.00a39567
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x224]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x228]
mov dword [esi + 8], ecx
mov eax, dword [eax + 0x20]
mov dword [esi + 0xc], eax
test esi, esi
je 0xb1ee6f
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x21c]
push 0
push eax
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x24c], 0xc933e8
push eax
mov dword [ebp - 0x240], fcn.00a7dfd0
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], 0x8000
call dword [sym.imp.SHELL32.dll_Ordinal_792]
mov ebx, eax
test ebx, ebx
jns 0xb1ee5c
cmp ebx, 0x8000000a
jne 0xa4bdb5
mov edi, dword [ebp - 0x21c]
lea ecx, [ebp - 0x230]
call fcn.00a7827a
lea ecx, [ebp - 0x218]
call fcn.00a398c6
cmp ebx, 0x8000000a
jne 0xb1efb5
mov ecx, dword [ebp - 8]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00ab3c50
leave
ret 4
mov ecx, dword [ebp - 0x224]
xor esi, esi
jmp 0xa4bd3d
mov edi, dword [ebp - 0x21c]
push ecx
mov ecx, esi
call fcn.00a7e04d
jmp 0xa4bdb5
push 0
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x220]
push dword [ebp - 0x218]
call dword [sym.imp.SHELL32.dll_Ordinal_790]
test eax, eax
js 0xa4bdb5
jmp 0xa4bdaf
mov eax, dword [esi + 0xc]
test eax, eax
je 0xb1eee8
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.api_ms_win_shcore_obsolete_l1_1_0.dll_SHStrDupW]
mov ebx, eax
test ebx, ebx
js 0xa4bdd7
push dword [ebp - 0x218]
call dword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathParseIconLocationW]
push 0
push eax
push dword [ebp - 0x218]
call dword [sym.imp.SHELL32.dll_Shell_GetCachedImageIndexW]
test eax, eax
js 0xb1eed7
mov edi, eax
push dword [ebp - 0x218]
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
jmp 0xa4bdcb
cmp dword [esi], ecx
je 0xa4bdd7
push 0x208
push ecx
lea eax, [ebp - 0x214]
push eax
call fcn.00ab4bf6
add esp, 0xc
mov dword [ebp - 0x21c], 0x208
push dword [esi]
call dword [sym.imp.api_ms_win_shcore_path_l1_1_0.dll_Ordinal_170]
test eax, eax
jne 0xb1ef8f
lea eax, [ebp - 0x220]
push eax
push 0
push dword [esi]
push 2
push 0x42
call dword [sym.imp.SHLWAPI.dll_AssocQueryKeyW]
test eax, eax
js 0xb1ef8f
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0xa1d4b8
push 0
push dword [ebp - 0x220]
call dword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
test eax, eax
jne 0xb1ef7e
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathParseIconLocationW]
push 0
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHELL32.dll_Shell_GetCachedImageIndexW]
test eax, eax
js 0xb1ef7e
mov edi, eax
push dword [ebp - 0x220]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
cmp edi, 0xfffffffe
jne 0xb1efbe
mov eax, dword [esi]
cmp word [eax], 0x2a
je 0xa4bdd7
push 0
push 0
push eax
call dword [sym.imp.SHELL32.dll_Shell_GetCachedImageIndexW]
mov edi, eax
test edi, edi
js 0xa4bdd7
jmp 0xa4bdcb
cmp edi, 0xfffffffe
je 0xa4bdd7
and dword [ebp - 0x218], 0
lea ecx, [ebp - 0x218]
call fcn.00a398c6
lea eax, [ebp - 0x218]
push eax
push 0x9f4cd0
push 0xffffffffffffffff
call dword [sym.imp.SHELL32.dll_SHGetImageList]
test eax, eax
js 0xb1effa
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x228]
push edi
call fcn.00be8d48
lea ecx, [ebp - 0x218]
call fcn.00a398c6
jmp 0xa4bdd7