Function at 0x41dbf2
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x27c
mov eax, 0x4b08f9
call fcn.0048bca4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x250], ebx
push ebx
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x220], 7
call fcn.00406102
xor esi, esi
inc esi
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x248]
call fcn.0040409c
push str.CLSID_
lea eax, [ebp - 0x238]
push eax
mov dword [ebp - 0x250], esi
call fcn.0041fb54
cmp dword [edi + 0x18], 8
jb 0x41dc67
mov eax, dword [edi + 4]
jmp 0x41dc6a
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.0041fb54
push 0x4c2ce4
lea eax, [ebp - 0x238]
push eax
call fcn.0041fb54
mov eax, dword [ebp - 0x244]
push 0xffffffffffffffff
push ebx
lea esi, [ebp - 0x238]
call fcn.0041fd47
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x24c], 0x104
mov dword [ebp - 0x23c], ebx
jae 0x41dcc1
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x240]
push ecx
push 0x20019
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41dda8
push dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [ebp - 0x244]
push dword [ebp - 0x240]
call fcn.00420708
mov byte [ebp - 4], 2
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x23c]
push eax
push ebx
push ebx
push dword [ebp - 0x240]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41decc
cmp dword [ebp - 0x23c], 1
je 0x41dd3e
cmp dword [ebp - 0x23c], 2
jne 0x41decc
mov eax, dword [ebp - 0x24c]
shr eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
lea esi, [ebp - 0x26c]
call fcn.0041fb30
mov byte [ebp - 4], 3
cmp dword [eax + 0x18], 8
jb 0x41dd68
mov eax, dword [eax + 4]
jmp 0x41dd6b
add eax, 4
push eax
lea esi, [ebp - 0x288]
call fcn.0041d196
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x248]
push 0xffffffffffffffff
push ebx
push eax
call fcn.004050a8
mov byte [ebp - 4], 3
push ebx
push 1
mov ecx, esi
call fcn.0040515f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x26c]
jmp 0x41dec4
push str.CLSID_
lea ecx, [ebp - 0x238]
call fcn.0040513b
push 0xffffffffffffffff
push ebx
mov eax, edi
lea esi, [ebp - 0x238]
call fcn.0041fd47
push 0x4c5a38
mov eax, esi
push eax
call fcn.0041fb54
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x41ddea
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x240]
push ecx
push 0x20019
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41dee5
push dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [ebp - 0x244]
push dword [ebp - 0x240]
call fcn.00420708
mov byte [ebp - 4], 5
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x23c]
push eax
push ebx
push ebx
push dword [ebp - 0x240]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41decc
cmp dword [ebp - 0x23c], 1
je 0x41de5f
cmp dword [ebp - 0x23c], 2
jne 0x41decc
mov eax, dword [ebp - 0x24c]
shr eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
lea esi, [ebp - 0x288]
call fcn.0041fb30
mov byte [ebp - 4], 6
cmp dword [eax + 0x18], 8
jb 0x41de89
mov eax, dword [eax + 4]
jmp 0x41de8c
add eax, 4
push eax
lea esi, [ebp - 0x26c]
call fcn.0041d196
pop ecx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x248]
push 0xffffffffffffffff
push ebx
push eax
call fcn.004050a8
mov byte [ebp - 4], 6
push ebx
push 1
mov ecx, esi
call fcn.0040515f
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x288]
push ebx
push 1
call fcn.0040515f
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x244]
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x238]
call fcn.0040515f
mov eax, dword [ebp - 0x248]
call fcn.0048bd27
ret