Function at 0x40dec1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x68
mov eax, 0x473d4d
call fcn.0043ee6a
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
xor edi, edi
inc edi
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0xd], bl
call fcn.00463abe
push ebx
push 0xffffffffffffffff
push 0x485218
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.00408d63
push dword [ebp + 0xc]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 3
call fcn.0041ebf4
add esp, 0xc
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.004035af
lea ecx, [ebp - 0x6c]
call fcn.004035af
cmp dword [esi + 8], ebx
jne 0x40df52
push dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
call fcn.00403a4f
mov dword [ebp - 0x1c], edi
jmp 0x40e0d5
push edi
mov ecx, esi
call fcn.00463abe
test eax, eax
je 0x40e03e
cmp dword [esi + 0xc], ebx
je 0x40e0b5
lea ecx, [ebp - 0x5c]
call fcn.00408157
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea edx, [ebp - 0x14]
push edx
push ebx
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
mov eax, dword [esi + 0xc]
push dword [esi + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x84]
test eax, eax
jne 0x40e033
mov eax, dword [esi + 0xc]
mov edi, dword [ebp - 0x14]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp + 0xc]
push edx
push dword [ebp - 0x18]
mov dword [ebp + 0xc], ebx
push dword [esi + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x84]
test eax, eax
jne 0x40e033
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x40e033
cmp word [eax], 1
jne 0x40e033
cmp dword [eax + 4], 1
jne 0x40e033
cmp dword [eax + 0x14], ebx
jne 0x40e033
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x10]
ja 0x40e033
cmp ecx, edi
ja 0x40e033
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
test eax, eax
jne 0x40e033
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
shr dword [ebp - 0x14], 1
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp word [eax + ecx*2 - 2], bx
jne 0x40e00d
dec dword [ebp - 0x14]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
push eax
call fcn.00463abe
push dword [ebp + 0xc]
mov byte [ebp - 0xd], 1
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
push dword [ebp - 0x24]
mov byte [ebp - 4], 5
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x40e0b0
lea ecx, [ebp - 0x5c]
call fcn.00408157
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x14]
push ecx
push ebx
push ebx
push ebx
push eax
push dword [esi + 8]
call edi
cmp eax, ebx
jne 0x40e0b5
push dword [ebp - 0x14]
call fcn.00463abe
pop ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp + 0xc], eax
call fcn.00408157
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp + 0xc]
push ebx
push ebx
push eax
push dword [esi + 8]
call edi
shr dword [ebp - 0x14], 1
je 0x40e095
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp word [ecx + eax*2 - 2], bx
jne 0x40e095
dec dword [ebp - 0x14]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
push dword [ebp + 0xc]
call fcn.00463abe
push dword [ebp + 0xc]
mov byte [ebp - 0xd], 1
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
pop ecx
cmp byte [ebp - 0xd], bl
jne 0x40e0c2
push 0xffffffffffffffff
push dword [ebp + 0x10]
lea ecx, [ebp - 0x44]
call fcn.00463abe
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push eax
call fcn.00403a4f
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 0x4c]
call fcn.004035af
lea ecx, [ebp - 0x54]
call fcn.004035af
mov byte [ebp - 4], 1
cmp dword [ebp - 0x28], ebx
je 0x40e0f6
mov ecx, dword [ebp - 0x2c]
call fcn.0040acc8
lea ecx, [ebp - 0x34]
call fcn.004035af
lea ecx, [ebp - 0x3c]
call fcn.004035af
mov eax, dword [ebp + 8]
call fcn.0043ef42
ret 0xc