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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x674
mov eax, dword [0x1046080]
mov edx, dword [ebp + 0xc]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push eax
mov dword [ebp - 0x620], ecx
mov dword [ebp - 0x648], eax
mov dword [ebp - 0x634], edx
call fcn.010020c3
mov ebx, eax
xor esi, esi
cmp ebx, esi
jl 0x10036d8
mov ecx, dword [ebp - 0x620]
push edi
push 1
lea eax, [ebp - 0x674]
push eax
push ebx
call fcn.01001e00
mov edi, eax
mov eax, dword [ebp + 0x10]
cmp eax, dword [edi + 0x18]
jl 0x10036d7
push dword [ebp - 0x634]
call fcn.010036eb
test eax, eax
jne 0x100373d
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.010019ca
leave
ret 0xc
push dword [ebp - 0x668]
mov ecx, dword [ebp - 0x620]
push dword [ebp - 0x634]
call fcn.0100357a
cmp eax, esi
jl 0x10036d7
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x620]
push eax
push ebx
call fcn.0100352e
cmp dword [edi], esi
je 0x10036d7
mov ecx, dword [ebp - 0x620]
push ebx
call fcn.0100226a
mov ecx, dword [ebp - 0x620]
push 1
push esi
push eax
call fcn.01001e00
lea ecx, [ebp - 0x63c]
push ecx
push esi
push dword [eax + 0x14]
push 2
push 0x42
call dword [sym.imp.SHLWAPI.dll_AssocQueryKeyW]
test eax, eax
jl 0x10036d7
lea eax, [ebp - 0x624]
push eax
push 0x20019
push esi
push 0x101cdc4
push dword [ebp - 0x63c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1022663
push dword [ebp - 0x63c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10036d7
lea eax, [ebp - 0x650]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x638], esi
push esi
push dword [ebp - 0x624]
mov dword [ebp - 0x62c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x10226ad
push dword [ebp - 0x624]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10037d2
lea eax, [ebp - 0x630]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x624]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x102276c
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x414]
push eax
push esi
push esi
push 0x1022798
push dword [ebp - 0x630]
mov ebx, 0x208
mov dword [ebp - 0x640], ebx
call edi
test eax, eax
jne 0x1022760
lea eax, [ebp - 0x414]
push eax
mov dword [ebp - 0x628], esi
call dword [sym.imp.SHLWAPI.dll_PathParseIconLocationW]
push 1
lea ecx, [ebp - 0x628]
push ecx
push esi
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
cmp dword [ebp - 0x628], esi
je 0x1022760
push dword [ebp - 0x634]
push dword [ebp - 0x628]
call dword [sym.imp.SHLWAPI.dll_Ordinal_548]
test eax, eax
jne 0x102495f
push dword [ebp - 0x628]
call dword [sym.imp.USER32.dll_DestroyIcon]
push dword [ebp - 0x630]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x638]
lea eax, [ebp - 0x650]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x638]
jmp 0x1022682
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x61c]
push eax
push esi
push esi
push 0x102af38
push dword [ebp - 0x630]
mov dword [ebp - 0x644], ebx
call edi
test eax, eax
jne 0x1022754
mov eax, dword [ebp - 0x620]
push esi
push esi
push 0x418
push dword [eax + 0x3c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
jmp 0x10249d8
mov ecx, dword [ebp - 0x620]
push 1
push esi
push ebx
call fcn.01001e00
mov edi, eax
cmp dword [edi], esi
jne 0x10249d8
push dword [edi + 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp eax, esi
je 0x10249d8
lea ecx, [ebp - 0x61c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10249e1
dec ebx
js 0x1022754
jmp 0x10249a4
lea eax, [ebp - 0x654]
push eax
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
test eax, eax
je 0x1022754
push dword [edi + 0x14]
mov ecx, dword [ebp - 0x620]
push dword [ebp - 0x648]
call fcn.010303f3
jmp 0x1022754