Function at 0x408c10
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x425d50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x524
push ebx
push ebp
push esi
push edi
mov ebp, ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x53c], 0
call fcn.0041969c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x53c], 1
call fcn.0041969c
mov eax, dword [esp + 0x544]
mov bl, 2
mov byte [esp + 0x53c], bl
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x408fad
push str.Config_ManagerEnum_
lea ecx, [esp + 0x1c]
call fcn.00419855
lea ecx, [esp + 0x544]
lea edx, [esp + 0x30]
push ecx
push eax
push edx
mov byte [esp + 0x548], 3
call fcn.004199d8
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x540], 4
call fcn.004198e0
lea ecx, [esp + 0x30]
mov byte [esp + 0x53c], 3
call fcn.004197e7
lea ecx, [esp + 0x18]
mov byte [esp + 0x53c], bl
call fcn.004197e7
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push ecx
push 0x80000006
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x408fad
lea edx, [esp + 0x544]
lea ecx, [ebp + 0x20]
push edx
call fcn.004198e0
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x28]
push edx
push eax
mov edi, 4
push str.Child
push ecx
mov dword [esp + 0x28], edi
call esi
test eax, eax
jne 0x408d7a
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x34]
push edx
push 0x42e920
push eax
call fcn.0040c3f0
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00419855
push eax
lea ecx, [ebp + 0x10]
mov byte [esp + 0x540], 5
call fcn.004198e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x53c], bl
call fcn.004197e7
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
push ecx
push edx
push str.Parent
push eax
mov dword [esp + 0x28], edi
call esi
test eax, eax
jne 0x408de8
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x34]
push ecx
push 0x42e920
push edx
call fcn.0040c3f0
add esp, 0xc
lea eax, [esp + 0x34]
lea ecx, [esp + 0x18]
push eax
call fcn.00419855
push eax
lea ecx, [ebp + 0x14]
mov byte [esp + 0x540], 6
call fcn.004198e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x53c], bl
call fcn.004197e7
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push eax
push ecx
push str.Sibling
push edx
mov dword [esp + 0x28], edi
call esi
test eax, eax
jne 0x408e56
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push eax
push 0x42e920
push ecx
call fcn.0040c3f0
add esp, 0xc
lea edx, [esp + 0x34]
lea ecx, [esp + 0x18]
push edx
call fcn.00419855
push eax
lea ecx, [ebp + 0x18]
mov byte [esp + 0x540], 7
call fcn.004198e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x53c], bl
call fcn.004197e7
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x28]
push edx
push eax
push str.Problem
push ecx
mov dword [esp + 0x28], edi
call esi
test eax, eax
jne 0x408e85
mov edx, dword [esp + 0x14]
mov dword [ebp + 4], edx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x28]
push edx
push eax
push str.Status
push ecx
mov dword [esp + 0x28], edi
call esi
test eax, eax
jne 0x408eb4
mov edx, dword [esp + 0x14]
mov dword [ebp + 8], edx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x134]
push eax
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x28]
push edx
push eax
mov edi, 0x400
push str.HardWareKey
push ecx
mov dword [esp + 0x28], edi
call esi
test eax, eax
jne 0x408f16
lea edx, [esp + 0x134]
lea ecx, [esp + 0x18]
push edx
call fcn.00419855
push eax
lea ecx, [ebp + 0x1c]
mov byte [esp + 0x540], 8
call fcn.004198e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x53c], bl
call fcn.004197e7
lea eax, [esp + 0x10]
lea ecx, [esp + 0x134]
push eax
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x28]
push edx
push eax
push str.Allocation
push ecx
mov dword [esp + 0x28], edi
call esi
test eax, eax
jne 0x408f62
mov eax, dword [esp + 0x10]
lea esi, [esp + 0x134]
mov ecx, eax
lea edi, [ebp + 0x24]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x53c], 1
call fcn.004197e7
lea ecx, [esp + 0x28]
mov byte [esp + 0x53c], 0
call fcn.004197e7
lea ecx, [esp + 0x544]
mov dword [esp + 0x53c], 0xffffffff
call fcn.004197e7
mov eax, 1
jmp 0x408fe8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x53c], 1
call fcn.004197e7
lea ecx, [esp + 0x28]
mov byte [esp + 0x53c], 0
call fcn.004197e7
lea ecx, [esp + 0x544]
mov dword [esp + 0x53c], 0xffffffff
call fcn.004197e7
xor eax, eax
mov ecx, dword [esp + 0x534]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x530
ret 4