Function at 0x100365d
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.0100211b
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], eax
jl 0x10036a8
push edi
push 1
lea ecx, [ebp - 0x4c]
push ecx
push eax
mov ecx, ebx
call fcn.0100203b
mov edi, eax
mov eax, dword [ebp + 0x10]
cmp eax, dword [edi + 0x18]
jl 0x10036a7
push dword [ebp + 0xc]
call fcn.010036d4
test eax, eax
jne 0x1005591
pop edi
pop esi
pop ebx
leave
ret 0xc
push dword [ebp - 0x40]
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.01003595
cmp eax, esi
jl 0x10036a7
push dword [ebp + 0x10]
mov ecx, ebx
push eax
push dword [ebp - 4]
call fcn.0100354a
cmp dword [edi], esi
je 0x10036a7
push dword [ebp - 4]
mov ecx, ebx
call fcn.010021a4
push 1
push esi
push eax
mov ecx, ebx
call fcn.0100203b
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 0x10036a7
lea eax, [ebp - 8]
push eax
push 0x20019
push esi
push 0x101a1ac
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x101a061
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10036a7
push dword [ebp - 8]
mov dword [ebp - 0xc], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1019fe9
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100560b
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 0x101a044
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call dword [sym.imp.SHLWAPI.dll_Ordinal_548]
test eax, eax
jne 0x1020b39
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]
jmp 0x1019fcb
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 0x1019fcb
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 0x101a03b
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 0x1020c2e
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 0x1020c08
push esi
push esi
push 0x418
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
dec ebx
js 0x1020c05
mov ecx, dword [ebp - 0x10]
push 1
push esi
push ebx
call fcn.0100203b
mov edi, eax
cmp dword [edi], esi
jne 0x1020bfd
push dword [edi + 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp eax, esi
je 0x1020bfd
push dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1020bfd
push 0x104
push dword [edi + 0x14]
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
dec ebx
jns 0x1020bbb
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 0x1020c2e
lea eax, [ebp - 0x254]
push eax
push dword [ebp + 8]
mov ecx, ebx
call fcn.0102a7ed
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x101a03b