Function at 0x41ebe1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x27c
mov eax, 0x4b3f54
call fcn.0048cd14
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.004069e2
xor esi, esi
inc esi
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x248]
call fcn.004040ba
push str.CLSID_
lea eax, [ebp - 0x238]
push eax
mov dword [ebp - 0x250], esi
call fcn.00420b43
cmp dword [edi + 0x18], 8
jb 0x41ec56
mov eax, dword [edi + 4]
jmp 0x41ec59
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.00420b43
push 0x4c5c2c
lea eax, [ebp - 0x238]
push eax
call fcn.00420b43
mov eax, dword [ebp - 0x244]
push 0xffffffffffffffff
push ebx
lea esi, [ebp - 0x238]
call fcn.00420d36
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x24c], 0x104
mov dword [ebp - 0x23c], ebx
jae 0x41ecb0
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 0x41ed97
push dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [ebp - 0x244]
push dword [ebp - 0x240]
call fcn.0042169a
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 0x41eebb
cmp dword [ebp - 0x23c], 1
je 0x41ed2d
cmp dword [ebp - 0x23c], 2
jne 0x41eebb
mov eax, dword [ebp - 0x24c]
shr eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
lea esi, [ebp - 0x26c]
call fcn.00420b1f
mov byte [ebp - 4], 3
cmp dword [eax + 0x18], 8
jb 0x41ed57
mov eax, dword [eax + 4]
jmp 0x41ed5a
add eax, 4
push eax
lea esi, [ebp - 0x288]
call fcn.0041e185
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x248]
push 0xffffffffffffffff
push ebx
push eax
call fcn.00405560
mov byte [ebp - 4], 3
push ebx
push 1
mov ecx, esi
call fcn.00405617
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x26c]
jmp 0x41eeb3
push str.CLSID_
lea ecx, [ebp - 0x238]
call fcn.004055f3
push 0xffffffffffffffff
push ebx
mov eax, edi
lea esi, [ebp - 0x238]
call fcn.00420d36
push 0x4c8920
mov eax, esi
push eax
call fcn.00420b43
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x41edd9
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 0x41eed4
push dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [ebp - 0x244]
push dword [ebp - 0x240]
call fcn.0042169a
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 0x41eebb
cmp dword [ebp - 0x23c], 1
je 0x41ee4e
cmp dword [ebp - 0x23c], 2
jne 0x41eebb
mov eax, dword [ebp - 0x24c]
shr eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
lea esi, [ebp - 0x288]
call fcn.00420b1f
mov byte [ebp - 4], 6
cmp dword [eax + 0x18], 8
jb 0x41ee78
mov eax, dword [eax + 4]
jmp 0x41ee7b
add eax, 4
push eax
lea esi, [ebp - 0x26c]
call fcn.0041e185
pop ecx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x248]
push 0xffffffffffffffff
push ebx
push eax
call fcn.00405560
mov byte [ebp - 4], 6
push ebx
push 1
mov ecx, esi
call fcn.00405617
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x288]
push ebx
push 1
call fcn.00405617
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.00405617
mov eax, dword [ebp - 0x248]
call fcn.0048cd97
ret