Function at 0x101156d
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x86c
push ebx
push esi
push dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call fcn.0100e8b2
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], eax
jl 0x10117f5
push edi
push 1
lea ecx, [ebp - 0x4c]
push ecx
push eax
mov ecx, ebx
call fcn.0100e849
mov edi, eax
mov eax, dword [ebp + 0x10]
cmp eax, dword [edi + 0x18]
jl 0x10117f4
push dword [ebp + 0xc]
call fcn.0100d8c2
test eax, eax
je 0x10117f4
push dword [ebp - 0x40]
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.0100f923
cmp eax, esi
jl 0x10117f4
push dword [ebp + 0x10]
mov ecx, ebx
push eax
push dword [ebp - 4]
call fcn.0100fabf
cmp dword [edi], esi
je 0x10117f4
push dword [ebp - 4]
mov ecx, ebx
call fcn.0100eb7c
push 1
push esi
push eax
mov ecx, ebx
call fcn.0100e849
lea ecx, [ebp - 0x18]
push ecx
push esi
push dword [eax + 0x14]
push 2
push 0x42
call dword [sym.imp.SHLWAPI.dll_AssocQueryKeyW]
test eax, eax
jl 0x10117f4
lea eax, [ebp - 8]
push eax
push 0x20019
push esi
push 0x1002724
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10117eb
lea eax, [ebp - 0x2c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x45c]
push eax
mov dword [ebp - 4], esi
mov edi, 0x104
push esi
jmp 0x10117ce
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x664]
push eax
mov dword [ebp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x664]
push eax
call dword [sym.imp.SHLWAPI.dll_PathParseIconLocationW]
push 1
lea ecx, [ebp + 0x10]
push ecx
push esi
push eax
lea eax, [ebp - 0x664]
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
cmp dword [ebp + 0x10], esi
je 0x10117b6
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call dword [sym.imp.SHLWAPI.dll_Ordinal_548]
test eax, eax
je 0x10117ad
lea eax, [ebp - 0x14]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10117ad
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x86c]
push eax
push esi
push esi
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10117a4
push edi
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x86c]
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_460]
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp eax, esi
mov dword [ebp - 0x1c], eax
je 0x101177e
push esi
push esi
push 0x418
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
dec ebx
js 0x101177b
mov ecx, dword [ebp - 0x10]
push 1
push esi
push ebx
call fcn.0100e849
mov edi, eax
cmp dword [edi], esi
jne 0x1011773
push dword [edi + 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp eax, esi
je 0x1011773
push dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1011773
push 0x104
push dword [edi + 0x14]
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
dec ebx
jns 0x1011731
mov edi, 0x104
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
test eax, eax
je 0x10117a4
lea eax, [ebp - 0x254]
push eax
push dword [ebp + 8]
mov ecx, ebx
call fcn.01011388
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_DestroyIcon]
inc dword [ebp - 4]
lea eax, [ebp - 0x2c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
mov dword [ebp - 0xc], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1011659
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret 0xc