Function at 0x458710
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x458718
push ebx
xor eax, eax
push ebp
push 0x4589cd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x4589dc
push 0x80000006
call fcn.00409364
test eax, eax
jne 0x4589a5
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00409374
test eax, eax
jne 0x45899c
mov eax, dword [ebp - 0x1c]
add eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, eax
push eax
push 0x40
call fcn.00409848
mov ebx, eax
mov eax, dword [ebp - 0x18]
dec eax
cmp eax, 0
jb 0x458996
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
push eax
push ebx
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.00409354
test eax, eax
jne 0x458996
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20]
mov edx, ebx
mov ecx, 0
call fcn.00405adc
mov edx, dword [ebp - 0x20]
mov ecx, 0x458a10
mov eax, dword [ebp - 0x10]
call fcn.00430990
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
mov edx, ebx
mov ecx, 0
call fcn.00405adc
mov edx, dword [ebp - 0x24]
mov ecx, 0x458a28
mov eax, dword [ebp - 0x10]
call fcn.00430990
lea eax, [ebp - 8]
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
cmp eax, 4
jne 0x458822
mov eax, dword [ebp - 8]
cmp dword [eax], 0x16
je 0x458989
push 0x7fffffff
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x458a3c
call fcn.0040c548
test eax, eax
jne 0x458989
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 4]
mov edx, 0x458a54
call fcn.00405c6c
mov eax, dword [ebp - 0x28]
call fcn.00405ee4
push eax
push 0x80000002
call fcn.0040936c
test eax, eax
jne 0x458989
lea eax, [ebp - 4]
push eax
mov ecx, 0x458a68
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00430990
cmp dword [ebp - 4], 0
je 0x458980
mov eax, dword [ebp - 4]
mov edx, 0x458a7c
call fcn.00405ecc
je 0x458980
mov eax, dword [ebp - 4]
mov edx, 0x458a94
call fcn.00405ecc
je 0x458980
mov eax, dword [ebp - 4]
mov edx, 0x458aac
call fcn.00405ecc
je 0x458980
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 4]
mov edx, 0x458ac4
call fcn.00405c6c
mov edx, dword [ebp - 0x30]
xor ecx, ecx
mov eax, 0x80000002
call fcn.00430990
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 4]
call fcn.004058d8
lea eax, [ebp - 8]
push eax
mov ecx, 0x458afc
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00430990
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x458b14
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00430990
cmp dword [ebp - 0xc], 0
je 0x458944
push 0x458b40
push dword [ebp - 0xc]
push 0x458b50
push dword [ebp - 8]
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405d38
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x458b60
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00430990
cmp dword [ebp - 0xc], 0
je 0x45896d
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, 0x458ac4
call fcn.00405c6c
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00458500
pop ecx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0040933c
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xffffffff
jne 0x4587a2
push ebx
call fcn.00409850
mov eax, dword [ebp - 0x10]
push eax
call fcn.0040933c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4589d4
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.0040584c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040584c
ret