Function at 0x42bfef
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 4
jg 0x42c066
fild dword [ebp + 8]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x57f961]
fstp qword [ebp - 0x20]
mov dword [ebp - 0x24], esp
lea eax, [ebp - 4]
push eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
fld qword [ebp - 0x20]
call fcn.00401232
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x42c061
push 6
call fcn.004463c5
add esp, 4
jmp 0x42c0a9
fild dword [ebp + 8]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x57f969]
fstp qword [ebp - 0x20]
mov dword [ebp - 0x24], esp
lea eax, [ebp - 4]
push eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
fld qword [ebp - 0x20]
call fcn.00401232
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x42c0a9
push 6
call fcn.004463c5
add esp, 4
mov ecx, 0
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.004463b9
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
mov dword [edi], 0
add edi, 4
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
call fcn.00401261
pop edx
test ecx, ecx
je 0x42c105
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42c0fb
push ebx
call fcn.004463bf
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x42c0ea
pop edx
pop edi
test edx, edx
je 0x42c113
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov ebx, dword [ebp + 0x14]
push dword [ebx]
call fcn.004463bf
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.00448510
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42c15b
push ebx
call fcn.004463bf
add esp, 4
pop eax
mov dword [ebp - 8], eax
push VariantClear
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x42c172
mov eax, 0x45d240
push eax
push 1
mov ebx, 0x130
call fcn.00448580
add esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 0x14]
push dword [ebp - 8]
push dword [ebp - 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x42c1b3
push 6
call fcn.004463c5
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x42c1c5
jmp 0x42c25e
push dword [ebp + 0x14]
push 4
mov eax, 2
call fcn.004468a0
add esp, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
mov dword [ebp - 0x18], ebx
call fcn.00401261
mov dword [ebp - 0x1c], ecx
mov edi, dword [ebp - 0x18]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x42c209
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x1c]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x18]
call fcn.004463cb
add esp, 8
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x1c]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x14]
push edi
test eax, eax
je 0x42c24e
push eax
mov ebx, eax
call fcn.00401077
inc eax
push eax
call fcn.004463b9
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
mov dword [edi], eax
inc dword [ebp - 0x10]
cmp dword [ebp - 0xc], 0
je 0x42c126
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x42c280
push 6
call fcn.004463c5
add esp, 4
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
call fcn.0040105e
jmp 0x42c28f
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42c2a0
push ebx
call fcn.004463bf
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10