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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x658
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
lea ecx, [ebp - 0x620]
push ecx
lea ecx, [ebp - 0x624]
push ecx
push 4
xor esi, esi
push esi
push esi
push eax
mov ecx, ebx
mov dword [ebp - 0x64c], edi
call fcn.01003701
test eax, eax
jl 0x100a9af
mov eax, dword [ebp - 0x620]
cmp eax, esi
je 0x100a997
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
cmp dword [ebp + 0x10], eax
jl 0x100a997
push edi
call fcn.0100a9f5
test eax, eax
jne 0x100aaf8
mov eax, dword [ebp - 0x620]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x624]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001feb
leave
ret 0xc
mov eax, dword [ebp - 0x620]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
push eax
push edi
mov ecx, ebx
call fcn.0100a7b8
cmp eax, esi
jl 0x100a997
mov ecx, dword [ebp - 0x624]
mov edx, dword [ecx]
push eax
push dword [ebp - 0x620]
push ecx
call dword [edx + 0x44]
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x624]
push dword [ebp - 0x620]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
push dword [ebp - 0x620]
mov ecx, ebx
push dword [ebp - 0x624]
call fcn.01006489
mov eax, dword [ebx + 0x94]
mov ecx, dword [eax]
push 1
push dword [ebp - 0x620]
push dword [ebp - 0x624]
push eax
call dword [ecx + 0x18]
lea eax, [ebp - 0x640]
push eax
mov eax, dword [ebp - 0x624]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
push eax
push 2
push 0x42
call dword [sym.imp.SHLWAPI.dll_AssocQueryKeyW]
test eax, eax
jl 0x100a997
lea eax, [ebp - 0x628]
push eax
push 0x20019
push esi
push 0x100abc8
push dword [ebp - 0x640]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1052607
push dword [ebp - 0x640]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100a997
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
mov dword [ebp - 0x63c], esi
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x658]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x628]
mov dword [ebp - 0x634], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x105266d
push dword [ebp - 0x628]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100abb7
lea eax, [ebp - 0x630]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x628]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1052747
push 0x206
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push esi
push eax
call sub.msvcrt.dll_memset
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x414]
push eax
push esi
push esi
push 0x1052770
push dword [ebp - 0x630]
mov dword [ebp - 0x644], 0x208
call edi
test eax, eax
jne 0x105273b
lea eax, [ebp - 0x414]
push eax
mov dword [ebp - 0x62c], esi
call dword [sym.imp.SHLWAPI.dll_PathParseIconLocationW]
push 1
lea ecx, [ebp - 0x62c]
push ecx
push esi
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
cmp dword [ebp - 0x62c], esi
je 0x105273b
push dword [ebp - 0x64c]
push dword [ebp - 0x62c]
call dword [sym.imp.SHLWAPI.dll_Ordinal_548]
test eax, eax
jne 0x10632f5
push dword [ebp - 0x62c]
call dword [sym.imp.USER32.dll_DestroyIcon]
push dword [ebp - 0x630]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x63c]
lea eax, [ebp - 0x658]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x63c]
jmp 0x1052642
xor eax, eax
push 0x206
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x648]
push eax
lea eax, [ebp - 0x61c]
push eax
push esi
push esi
push 0x10633cc
push dword [ebp - 0x630]
mov dword [ebp - 0x648], 0x208
call edi
test eax, eax
jne 0x105272f
mov dword [ebp - 0x638], esi
mov eax, dword [ebx + 0xa8]
cmp eax, esi
je 0x1063356
mov eax, dword [eax]
jmp 0x1063358
xor eax, eax
mov ecx, dword [ebp - 0x638]
cmp ecx, eax
jge 0x105272f
mov eax, dword [ebx + 0xa8]
mov eax, dword [eax + 4]
mov edi, dword [eax + ecx*4]
mov eax, dword [edi]
push edi
call dword [eax + 0x50]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp eax, esi
je 0x1063395
lea ecx, [ebp - 0x61c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x106339d
inc dword [ebp - 0x638]
jmp 0x1063348
lea eax, [ebp - 0x650]
push eax
mov eax, dword [edi]
push edi
call dword [eax + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
test eax, eax
je 0x105272f
mov eax, dword [edi]
push edi
call dword [eax + 0x50]
mov ecx, ebx
call fcn.010075fe
jmp 0x105272f