Function at 0x100b712
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 [0x10b0090]
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.01003871
test eax, eax
jl 0x100b793
mov eax, dword [ebp - 0x620]
cmp eax, esi
je 0x100b77b
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
cmp dword [ebp + 0x10], eax
jl 0x100b77b
push edi
call fcn.0100b7a9
test eax, eax
jne 0x100b908
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.0100204d
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.0100b52b
cmp eax, esi
jl 0x100b77b
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.0100b7ed
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 0x100b77b
lea eax, [ebp - 0x628]
push eax
push 0x20019
push esi
push 0x100b9d8
push dword [ebp - 0x640]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x104130e
push dword [ebp - 0x640]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100b77b
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 0x1041374
push dword [ebp - 0x628]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100b9c7
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 0x104144e
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 0x1041478
push dword [ebp - 0x630]
mov dword [ebp - 0x644], 0x208
call edi
test eax, eax
jne 0x1041442
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 0x1041442
push dword [ebp - 0x64c]
push dword [ebp - 0x62c]
call dword [sym.imp.SHLWAPI.dll_Ordinal_548]
test eax, eax
jne 0x10605ad
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 0x1041349
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 0x1060684
push dword [ebp - 0x630]
mov dword [ebp - 0x648], 0x208
call edi
test eax, eax
jne 0x1041436
mov dword [ebp - 0x638], esi
mov eax, dword [ebx + 0xa8]
cmp eax, esi
je 0x106060e
mov eax, dword [eax]
jmp 0x1060610
xor eax, eax
mov ecx, dword [ebp - 0x638]
cmp ecx, eax
jge 0x1041436
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 0x106064d
lea ecx, [ebp - 0x61c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1060655
inc dword [ebp - 0x638]
jmp 0x1060600
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 0x1041436
mov eax, dword [edi]
push edi
call dword [eax + 0x50]
mov ecx, ebx
call fcn.01008d86
jmp 0x1041436