Function at 0x1003ca6
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.01002669
mov ebx, eax
xor esi, esi
cmp ebx, esi
jl 0x1003d15
mov ecx, dword [ebp - 0x620]
push edi
push 1
lea eax, [ebp - 0x674]
push eax
push ebx
call fcn.0100209c
mov edi, eax
mov eax, dword [ebp + 0x10]
cmp eax, dword [edi + 0x18]
jl 0x1003d14
push dword [ebp - 0x634]
call fcn.01003d28
test eax, eax
jne 0x1003ea1
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.01001b2f
leave
ret 0xc
push dword [ebp - 0x668]
mov ecx, dword [ebp - 0x620]
push dword [ebp - 0x634]
call fcn.01003b99
cmp eax, esi
jl 0x1003d14
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x620]
push eax
push ebx
call fcn.01003bfa
cmp dword [edi], esi
je 0x1003d14
mov ecx, dword [ebp - 0x620]
push ebx
call fcn.010026bb
mov ecx, dword [ebp - 0x620]
push 1
push esi
push eax
call fcn.0100209c
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 0x1003d14
lea eax, [ebp - 0x624]
push eax
push 0x20019
push esi
push 0x101b310
push dword [ebp - 0x63c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10203a9
push dword [ebp - 0x63c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1003d14
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
jmp 0x102055a
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 0x1020536
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 0x1026398
push dword [ebp - 0x630]
mov ebx, 0x208
mov dword [ebp - 0x640], ebx
call edi
test eax, eax
jne 0x102052a
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 0x102052a
push dword [ebp - 0x634]
push dword [ebp - 0x628]
call dword [sym.imp.SHLWAPI.dll_Ordinal_548]
test eax, eax
je 0x102051e
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x61c]
push eax
push esi
push esi
push 0x1026380
push dword [ebp - 0x630]
mov dword [ebp - 0x644], ebx
call edi
test eax, eax
jne 0x102051e
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 0x10204f1
mov ecx, dword [ebp - 0x620]
push 1
push esi
push ebx
call fcn.0100209c
mov edi, eax
cmp dword [edi], esi
jne 0x10204f1
push dword [edi + 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp eax, esi
je 0x10204f1
lea ecx, [ebp - 0x61c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10204f6
dec ebx
js 0x102051e
jmp 0x10204bd
lea eax, [ebp - 0x654]
push eax
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
test eax, eax
je 0x102051e
push dword [edi + 0x14]
mov ecx, dword [ebp - 0x620]
push dword [ebp - 0x648]
call fcn.0102c026
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]
push dword [ebp - 0x624]
mov dword [ebp - 0x62c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x10203cd
push dword [ebp - 0x624]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1003f36