Function at 0x42e4ea
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0x40
mov eax, 0x44b960
call fcn.0044831c
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x18], ebx
call fcn.0042def7
mov esi, eax
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x40]
mov dword [ebp - 0x4c], esi
call fcn.0042debf
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x40]
cmp dword [eax - 0xc], ebx
jne 0x42e529
mov dword [ebp - 0x18], esi
jmp 0x42e543
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x42e7e2
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
lea eax, [ebp - 0x38]
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebx
jne 0x42e7e2
mov byte [ebp - 0xd], 1
mov edi, section..data
cmp dword [ebp + 0xc], ebx
je 0x42e6be
mov eax, dword [section..data]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c], eax
cmp dword [ebp + 0x10], ebx
mov byte [ebp - 4], 1
sete byte [ebp - 0xf]
add dword [ebp - 0x1c], 2
push dword [ebp - 0x1c]
lea esi, [ebp - 0x3c]
call fcn.0040151c
mov esi, eax
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x28], ebx
jbe 0x42e69f
mov eax, dword [ebp - 0x1c]
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x42e68d
cmp byte [ebp - 0xf], bl
jne 0x42e641
push dword [ebp + 0x10]
lea eax, [ebp - 0x38]
push eax
call fcn.00401415
push esi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 2
or dword [ebp - 0x14], 1
push eax
call fcn.00401415
push dword [ebp + 0x14]
mov dword [ebp - 4], 3
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
or dword [ebp - 0x14], 2
call fcn.0042f632
pop ecx
pop ecx
mov byte [ebp - 0xe], bl
test al, al
je 0x42e645
mov byte [ebp - 0xe], 1
mov dword [ebp - 4], 2
test byte [ebp - 0x14], 2
je 0x42e661
mov eax, dword [ebp - 0x30]
and dword [ebp - 0x14], 0xfffffffd
add eax, 0xfffffff0
call fcn.0040114e
mov dword [ebp - 4], 1
test byte [ebp - 0x14], 1
je 0x42e67d
mov eax, dword [ebp - 0x38]
and dword [ebp - 0x14], 0xfffffffe
add eax, 0xfffffff0
call fcn.0040114e
cmp byte [ebp - 0xe], bl
je 0x42e690
mov ecx, dword [ebp + 0xc]
push esi
call fcn.0042943e
jmp 0x42e690
mov byte [ebp - 0xd], bl
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x28]
jb 0x42e5d9
mov eax, dword [ebp - 0x3c]
cmp dword [eax - 8], ebx
jl 0x42e7b0
mov dword [eax - 0xc], ebx
xor ecx, ecx
mov word [eax], cx
add eax, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040114e
cmp dword [ebp + 0x18], ebx
je 0x42e7e2
mov eax, dword [section..data]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
cmp dword [ebp + 0x1c], ebx
mov byte [ebp - 4], 4
sete byte [ebp - 0xf]
add dword [ebp - 0x20], 2
push dword [ebp - 0x20]
lea esi, [ebp - 0x30]
call fcn.0040151c
xor edi, edi
mov esi, eax
cmp dword [ebp - 0x2c], ebx
jbe 0x42e7c7
mov eax, dword [ebp - 0x20]
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push esi
push edi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x42e7ba
cmp byte [ebp - 0xf], bl
jne 0x42e764
push dword [ebp + 0x1c]
lea eax, [ebp - 0x38]
push eax
call fcn.00401415
push esi
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 5
or dword [ebp - 0x14], 4
push eax
call fcn.00401415
push dword [ebp + 0x20]
mov dword [ebp - 4], 6
push dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
or dword [ebp - 0x14], 8
call fcn.0042f632
pop ecx
pop ecx
mov byte [ebp - 0xe], bl
test al, al
je 0x42e768
mov byte [ebp - 0xe], 1
mov dword [ebp - 4], 5
test byte [ebp - 0x14], 8
je 0x42e784
mov eax, dword [ebp - 0x3c]
and dword [ebp - 0x14], 0xfffffff7
add eax, 0xfffffff0
call fcn.0040114e
mov dword [ebp - 4], 4
test byte [ebp - 0x14], 4
je 0x42e7a0
mov eax, dword [ebp - 0x38]
and dword [ebp - 0x14], 0xfffffffb
add eax, 0xfffffff0
call fcn.0040114e
cmp byte [ebp - 0xe], bl
je 0x42e7bd
mov ecx, dword [ebp + 0x18]
push esi
call fcn.0042943e
jmp 0x42e7bd
push 0x80070057
call fcn.00401000
mov byte [ebp - 0xd], bl
inc edi
cmp edi, dword [ebp - 0x2c]
jb 0x42e6fe
mov eax, dword [ebp - 0x30]
cmp dword [eax - 8], ebx
jl 0x42e7b0
mov dword [eax - 0xc], ebx
xor ecx, ecx
mov word [eax], cx
add eax, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040114e
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x42e7f5
cmp eax, dword [ebp - 0x4c]
je 0x42e7f5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
call fcn.0040114e
mov al, byte [ebp - 0xd]
call fcn.004483f4
ret