Function at 0x7cdfe2b2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x580
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], esi
mov ebx, 0x80004005
mov word [ebp - 0x2cc], si
mov word [ebp - 0xcc], si
jne 0x7cdfe2ec
mov dword [ebp - 0xc], esi
jmp 0x7cdfe507
mov ecx, 0xad
xor eax, eax
cmp dword [ebp + 0xc], esi
lea edi, [ebp - 0x580]
mov edx, 0x710
rep stosd dword es:[edi], eax
je 0x7cdfe30a
mov edx, 0x8710
push edx
lea eax, [ebp - 0x580]
push 0x2b4
push eax
push 0x80
push dword [ebp + 8]
call fcn.7ce2cad3
test eax, eax
je 0x7cdfe3c8
cmp dword [ebp - 0x57c], esi
jne 0x7cdfe36b
push dword [ebp - 0x580]
call dword [sym.imp.USER32.dll_DestroyIcon]
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
call sym.ole32.dll_GetClassFile
mov ebx, eax
cmp ebx, esi
jne 0x7cdfe3c8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2cc]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.7cdfe61f
mov dword [ebp - 4], eax
jmp 0x7cdfe3c8
mov eax, dword [ebp - 0x580]
cmp dword [ebp + 0xc], esi
mov dword [ebp - 4], eax
mov word [ebp - 0x26], si
push 0x29
lea eax, [ebp - 0x574]
jne 0x7cdfe38b
lea eax, [ebp - 0x36c]
push eax
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x10], 1
push eax
push dword [ebp + 8]
call sym.ole32.dll_GetClassFile
mov ebx, eax
cmp ebx, esi
jne 0x7cdfe3c8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2cc]
push 0x100
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.7cdfe743
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp ebx, esi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, eax
jne 0x7cdfe3e2
cmp dword [ebp - 4], esi
jne 0x7cdfe411
push dword [ebp + 8]
lea eax, [ebp - 0x2cc]
mov dword [ebp - 0x14], esi
push eax
call ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2cc]
push eax
push dword [0x7ce4fd38]
call fcn.7ce2ca94
mov dword [ebp - 4], eax
movzx eax, word [ebp - 0x14]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 1
ja 0x7cdfe44b
lea eax, [ebp - 0x2cc]
push 0x100
push eax
push dword [0x7ce4fd38]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, esi
je 0x7cdfe507
push 8
mov dword [ebp - 8], esi
push dword [0x7ce4fd38]
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x10], esi
jne 0x7cdfe4e5
cmp dword [ebp + 0xc], esi
je 0x7cdfe493
mov edx, dword [ebp + 8]
lea eax, [edx + edi*2 - 2]
cmp eax, edx
jb 0x7cdfe47d
mov cx, word [eax]
cmp cx, 0x5c
je 0x7cdfe47d
cmp cx, 0x2f
je 0x7cdfe47d
cmp cx, 0x3a
je 0x7cdfe47d
dec eax
dec eax
jmp 0x7cdfe460
add eax, 2
push 0x29
push eax
lea eax, [ebp - 0x78]
push eax
mov word [ebp - 0x26], si
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x7cdfe4e5
push esi
lea eax, [ebp - 0x78]
push 0x2a
push eax
lea eax, [ebp - 0x24]
push 2
push eax
call fcn.7cdff0e1
test eax, eax
jne 0x7cdfe4e5
cmp word [ebp - 0xcc], si
jne 0x7cdfe4d8
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x54
push eax
lea eax, [ebp - 0xcc]
push eax
push 0x7cd81420
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov word [ebp - 0x7a], si
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x78]
push eax
call ebx
push dword [ebp - 8]
lea eax, [ebp - 0x2cc]
push eax
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 4]
call sym.ole32.dll_OleMetafilePictFromIconAndLabel
push dword [ebp - 4]
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 8