Function at 0x41cb90
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xa0
mov eax, 0x448ed6
call fcn.00424e5c
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x8c], ecx
lea ecx, [ebp - 0x74]
push ecx
push 0x20119
push 0
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x18]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace_
push eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x78], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx ebx, ax
mov edi, 0x80070000
or ebx, edi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x41ce0e
xor ecx, ecx
lea eax, [ebp - 0x70]
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push eax
push ecx
push ecx
push ecx
push dword [ebp - 0x74]
mov dword [ebp - 0x70], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
movzx ebx, ax
or ebx, edi
test eax, eax
cmovle ebx, eax
mov dword [ebp - 0x80], ebx
test ebx, ebx
js 0x41ce05
and dword [ebp - 0x44], 0
lea ecx, [ebp - 0x54]
and dword [ebp - 0x40], 0
push esi
call fcn.0040543e
and dword [ebp - 4], 0
cmp byte [ebp + 0x10], 0
je 0x41cc71
push ecx
push 0x45b580
mov ecx, esi
call fcn.00403e23
cmp eax, 0xffffffff
je 0x41cc71
push eax
push 0
lea eax, [ebp - 0x6c]
mov ecx, esi
push eax
call fcn.00403da9
push eax
lea ecx, [ebp - 0x54]
call fcn.004028ad
lea ecx, [ebp - 0x6c]
call fcn.00403265
mov ecx, dword [ebp - 0x70]
mov ebx, dword [ebp - 0x78]
inc ecx
xor esi, esi
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x7c], esi
cmp esi, dword [ebp - 0x14]
jae 0x41cdfa
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
push ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [ebp - 0x76], ax
lea eax, [ebp - 0x76]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.0040d1f3
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x18], eax
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x24]
push esi
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test edi, edi
js 0x41cdde
mov esi, dword [ebp - 0x84]
mov eax, str.SoftwareClassesCLSID_
test esi, esi
mov ecx, str.CLSID_
cmove ecx, eax
push ecx
lea ecx, [ebp - 0x6c]
call fcn.004028e6
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
push dword [ebp - 0x24]
call fcn.004029f2
and dword [ebp - 0x2c], 0
xor eax, eax
push 7
pop ecx
mov dword [ebp - 0x28], ecx
mov word [ebp - 0x3c], ax
mov byte [ebp - 4], 3
and dword [ebp - 0x94], eax
mov dword [ebp - 0x90], ecx
lea ecx, [ebp - 0xa4]
push 0x459068
mov word [ebp - 0xa4], ax
call fcn.004029c9
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 4
push eax
push 1
lea eax, [ebp - 0xa4]
test esi, esi
mov ecx, esi
lea edx, [ebp - 0x6c]
cmove ecx, dword [ebp - 0x88]
push eax
call fcn.00415ac5
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 3
mov esi, eax
call fcn.00403265
test esi, esi
js 0x41cdcb
mov edx, ebx
lea ecx, [ebp - 0x3c]
call fcn.004062fb
test al, al
jne 0x41cd91
cmp byte [ebp + 0x10], al
je 0x41cdcb
push ecx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00403ec6
test eax, eax
jne 0x41cdcb
push dword [ebp - 0x24]
lea ecx, [ebp - 0xa4]
call fcn.004028e6
mov byte [ebp - 4], 5
lea eax, [ebp - 0xa4]
push dword [ebp - 0x80]
push eax
push ecx
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0xac]
push eax
call fcn.0041d0a0
lea ecx, [ebp - 0xa4]
call fcn.00403265
lea ecx, [ebp - 0x3c]
call fcn.00403265
lea ecx, [ebp - 0x6c]
call fcn.00403265
mov esi, dword [ebp - 0x7c]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.0040d619
inc esi
mov dword [ebp - 0x7c], esi
test edi, edi
js 0x41cdfa
mov ecx, dword [ebp - 0x70]
jmp 0x41cc80
lea ecx, [ebp - 0x54]
call fcn.00403265
mov ebx, dword [ebp - 0x80]
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
call fcn.00424e06
ret 0x14