Function at 0x42c650
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x46fc68]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x2d0], ecx
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x2d0]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x2d0]
mov dword [ecx], 0
lea edx, [ebp - 0xa8]
push edx
push str.software_asio
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42c73f
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x2d4], eax
push 0x80
lea ecx, [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x2d4]
push edx
mov eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x8c]
add edx, 1
mov dword [ebp - 0x8c], edx
test ecx, ecx
jne 0x42c730
mov eax, dword [ebp - 0x2d0]
mov ecx, dword [eax]
push ecx
push 0
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ebp - 0xa8]
push eax
call fcn.0042c430
add esp, 0x10
mov ecx, dword [ebp - 0x2d0]
mov dword [ecx], eax
jmp 0x42c73a
mov dword [ebp - 0x90], 1
jmp 0x42c6ba
cmp dword [ebp - 0xa8], 0
je 0x42c755
mov edx, dword [ebp - 0xa8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x94], 0x124
lea eax, [ebp - 0xa0]
push eax
call fcn.0042b9c0
add esp, 4
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x42c993
mov dword [ebp - 0xb0], 0
jmp 0x42c79c
mov ecx, dword [ebp - 0xb0]
add ecx, 1
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb0]
cmp edx, dword [ebp - 0x9c]
jae 0x42c97e
mov eax, dword [ebp - 0x2d0]
mov ecx, dword [eax]
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xb8], 0xffffffff
cmp dword [ebp - 0xb4], 0
je 0x42c804
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb4]
cmp dword [ecx + 0x298], 0
jne 0x42c7f0
jmp 0x42c804
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x298]
mov dword [ebp - 0xb4], eax
jmp 0x42c7c6
cmp dword [ebp - 0xb8], 0xffffffff
jne 0x42c82e
push 0x29c
call fcn.004088d8
add esp, 4
mov dword [ebp - 0x2c8], eax
mov ecx, dword [ebp - 0x2c8]
mov dword [ebp - 0xb4], ecx
jmp 0x42c865
push 0x29c
call fcn.004088d8
add esp, 4
mov dword [ebp - 0x2cc], eax
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x2cc]
mov dword [edx + 0x298], eax
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx + 0x298]
mov dword [ebp - 0xb4], edx
cmp dword [ebp - 0xb4], 0
je 0x42c979
push 0x29c
push 0
mov eax, dword [ebp - 0xb4]
push eax
call fcn.004168a0
add esp, 0xc
mov ecx, dword [ebp - 0xb8]
add ecx, 1
mov edx, dword [ebp - 0xb4]
mov dword [edx], ecx
mov eax, dword [ebp - 0xb0]
imul eax, eax, 0x124
mov ecx, dword [ebp - 0x98]
lea edx, [ecx + eax + 4]
mov eax, dword [ebp - 0xb4]
add eax, 4
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0xb4]
mov byte [eax + 0x14], 0
push 0x100
lea ecx, [ebp - 0x2c0]
push ecx
mov edx, dword [ebp - 0xb4]
add edx, 4
push edx
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [ebp - 0x2c0]
mov dword [ebp - 0xbc], eax
push 0
push 0
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.0042c190
add esp, 0xc
mov dword [ebp - 0x2c4], eax
cmp dword [ebp - 0x2c4], 0
je 0x42c94c
mov edx, dword [ebp - 0x2c4]
push edx
mov eax, dword [ebp - 0xb4]
add eax, 0x214
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x2c4]
push ecx
call fcn.0042c160
add esp, 4
jmp 0x42c959
mov edx, dword [ebp - 0xb4]
mov byte [edx + 0x214], 0
mov eax, dword [ebp - 0xb4]
mov dword [eax + 0x294], 0
mov ecx, dword [ebp - 0xb4]
mov dword [ecx + 0x298], 0
jmp 0x42c78d
lea edx, [ebp - 0xa0]
push edx
call fcn.0042b940
add esp, 4
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x2d0]
mov ecx, dword [eax]
mov dword [ebp - 0xa4], ecx
cmp dword [ebp - 0xa4], 0
je 0x42c9d3
mov edx, dword [ebp - 0x2d0]
mov eax, dword [edx + 4]
add eax, 1
mov ecx, dword [ebp - 0x2d0]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x298]
mov dword [ebp - 0xa4], eax
jmp 0x42c9a1
mov ecx, dword [ebp - 0x2d0]
cmp dword [ecx + 4], 0
je 0x42c9e7
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [ebp - 0x2d0]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004148bc
mov esp, ebp
pop ebp
ret