Function at 0x7cf59a35
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
push ebx
push esi
push edi
call fcn.7d0426bb
test eax, eax
je 0x7cf59a4e
or byte [ebp + 0x19], 0x20
mov eax, dword [0x7d04cb88]
mov esi, dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov edi, dword [ebp + 0x18]
xor ebx, ebx
cmp eax, ebx
jne 0x7cf59a7a
or di, 0x101
push 0x20
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov dword [0x7d04cb88], eax
jmp 0x7cf59aaa
or di, 0x101
push edi
push eax
call fcn.7cf84047
test eax, eax
jne 0x7cf59a98
push 0xffffffffffffffff
push dword [0x7d04cb88]
call dword [sym.imp.COMCTL32.dll_ImageList_Remove]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [0x7d04cb88]
call dword [sym.imp.COMCTL32.dll_ImageList_SetIconSize]
cmp dword [0x7d04cb88], ebx
je 0x7cf59b13
mov eax, dword [0x7d04cb8c]
cmp eax, ebx
jne 0x7cf59ace
push 0x20
push ebx
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call esi
mov dword [0x7d04cb8c], eax
jmp 0x7cf59af9
push edi
push eax
call fcn.7cf84047
test eax, eax
jne 0x7cf59ae7
push 0xffffffffffffffff
push dword [0x7d04cb8c]
call dword [sym.imp.COMCTL32.dll_ImageList_Remove]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [0x7d04cb8c]
call dword [sym.imp.COMCTL32.dll_ImageList_SetIconSize]
cmp dword [0x7d04cb8c], ebx
jne 0x7cf59b1a
push dword [0x7d04cb88]
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov dword [0x7d04cb88], ebx
xor eax, eax
jmp 0x7cf59cd6
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 5
call esi
mov edi, dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
push eax
push dword [0x7d04cb88]
call edi
push 5
call esi
push eax
push dword [0x7d04cb8c]
call edi
cmp dword [ebp + 0x1c], ebx
je 0x7cf59cb2
lea eax, [ebp - 0x43c]
push 0x104
push eax
push dword [0x7d04cdfc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
push 0x7cf34c28
push reloc.SHLWAPI.dll_ParseURLW
call fcn.7cf50bf3
mov esi, dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 4], eax
mov dword [ebp + 0x1c], ebx
mov edi, 0x7cf34c48
cmp dword [ebp - 4], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp - 8], ebx
je 0x7cf59c38
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], 0x208
push 0x7cf34c40
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x18]
mov word [ebp - 0x234], bx
push eax
lea eax, [ebp - 0x234]
push eax
push ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
cmp word [ebp - 0x234], bx
je 0x7cf59c38
lea eax, [ebp - 0x234]
mov dword [ebp - 0x14], ebx
push eax
mov dword [ebp - 0x10], ebx
call dword [sym.imp.SHLWAPI.dll_PathParseIconLocationW]
push dword [0x7d04cb94]
lea ecx, [ebp - 0x14]
movzx edx, word [0x7d04cb9c]
push 2
push ebx
push ecx
movzx ecx, word [0x7d04cba4]
shl ecx, 0x10
or ecx, edx
movzx edx, word [0x7d04cb98]
push ecx
movzx ecx, word [0x7d04cba0]
shl ecx, 0x10
or ecx, edx
push ecx
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.7cf5ea7d
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
cmp dword [ebp + 0x18], ebx
jne 0x7cf59c7c
push dword [0x7d04cb94]
movzx eax, word [edi]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 1
push eax
push dword [0x7d04cdfc]
call esi
push dword [0x7d04cb94]
mov dword [ebp + 0x18], eax
movzx eax, word [edi]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push eax
push dword [0x7d04cdfc]
call esi
cmp dword [ebp + 0x18], ebx
mov dword [ebp - 8], eax
je 0x7cf59c92
push ebx
lea eax, [ebp - 0x43c]
push dword [ebp + 0x1c]
push eax
push dword [ebp - 8]
push dword [ebp + 0x18]
call fcn.7cf65351
inc dword [ebp + 0x1c]
add edi, 4
cmp edi, 0x7cf34d0c
jb 0x7cf59b82
cmp dword [ebp - 4], ebx
je 0x7cf59cb2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0xc]
push eax
call fcn.7cf90525
test eax, eax
jl 0x7cf59cd3
mov eax, dword [ebp - 0xc]
push 3
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x18