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

Disassembly:
mov eax, 0x100c
call fcn.0041b280
mov eax, dword [esp + 0x1028]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push edi
lea ecx, [esp + 0xc18]
push eax
push ecx
call esi
lea edx, [esp + 0xc18]
push edx
call fcn.00425346
mov eax, dword [esp + 0x1028]
add esp, 4
lea ecx, [esp + 0x418]
push eax
push ecx
call esi
mov edi, dword [esp + 0x1028]
xor esi, esi
cmp edi, esi
je 0x424e04
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea edx, [esp + 0x418]
push 0x42b380
push edx
call ebx
lea eax, [esp + 0x418]
push edi
push eax
call ebx
mov ebx, dword [esp + 0x1020]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
lea edx, [esp + 0x420]
push esi
push edx
push ebx
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
or eax, eax
jne 0x424ffe
cmp edi, esi
push ebp
mov dword [esp + 0x18], esi
je 0x424ee6
cmp dword [esp + 0x1034], esi
jne 0x424ff2
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push esi
lea eax, [esp + 0x1c]
push esi
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push esi
lea edx, [esp + 0x2c]
push ecx
push edx
push esi
push eax
mov dword [esp + 0x30], 0x400
call edi
test eax, eax
jne 0x424ff2
mov ebp, dword [esp + 0x103c]
mov ebx, dword [esp + 0x1020]
push ebx
lea ecx, [esp + 0x20]
push 1
lea edx, [esp + 0x424]
push ecx
push edx
mov edx, dword [esp + 0x1034]
lea eax, [esp + 0x2c]
push ebp
lea ecx, [esp + 0xc30]
push eax
push ecx
push edx
call fcn.00425010
add esp, 0x20
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push 0
push 0
push eax
mov eax, dword [esp + 0x20]
push 0
inc esi
push ecx
push edx
push esi
push eax
mov dword [esp + 0x30], 0x400
call edi
or eax, eax
je 0x424e89
jmp 0x424ff2
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push 0x400
push ecx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
or eax, eax
jne 0x424ff2
mov ebp, dword [esp + 0x103c]
mov edi, dword [esp + 0x1030]
mov esi, dword [esp + 0x1020]
mov al, byte [esp + 0x1c]
test al, al
je 0x424fcb
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x41c]
push eax
push ecx
lea edx, [esp + 0x824]
push 0x429304
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
test edi, edi
je 0x424f6e
lea eax, [esp + 0x81c]
push 0x42b380
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea ecx, [esp + 0x81c]
push edi
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
mov eax, dword [esp + 0x1034]
lea edx, [esp + 0x10]
push 0
push edx
lea ecx, [esp + 0x824]
push eax
push ecx
push ebx
mov dword [esp + 0x24], 0
call fcn.0040adb0
mov eax, dword [esp + 0x24]
add esp, 0x14
test eax, eax
je 0x424fcb
push esi
lea edx, [esp + 0x20]
push 0
lea ecx, [esp + 0x424]
push edx
push ecx
push ebp
lea edx, [esp + 0xc30]
push eax
push edx
push ebx
call fcn.00425010
mov eax, dword [esp + 0x30]
push eax
call fcn.0041b272
add esp, 0x24
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
inc eax
push 0x400
push ecx
push eax
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x424f19
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
call fcn.004246e0
pop edi
pop esi
sub eax, eax
pop ebx
add esp, 0x100c
ret