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

Disassembly:
mov eax, 0x125c
call fcn.004ac5b0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1258], eax
push ebp
push esi
push 0
push 0
push 0x1009
push 0x2760
push dword [0x4e6030]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebp
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 8]
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_
push 0x80000002
mov dword [esp + 0x1c], 0
call esi
test eax, eax
jne 0x4209e1
push ebx
push edi
xor edi, edi
mov dword [esp + 0x14], 0x104
push edi
push edi
push edi
push edi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x74]
push eax
push edi
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, 0x103
je 0x4209d9
nop dword [eax]
nop word [eax + eax]
inc edi
mov dword [esp + 0x14], 0x104
cmp dword [0x4cc1d4], 0
je 0x4209f8
lea eax, [esp + 0x18]
push eax
push 0x20119
push 0
lea eax, [esp + 0x6c]
push eax
push dword [esp + 0x20]
call esi
test eax, eax
jne 0x4209b1
push 0x7fe
push eax
mov word [esp + 0xa70], ax
lea eax, [esp + 0xa72]
push eax
call fcn.0048fb10
add esp, 0xc
mov dword [esp + 0x1c], 0x400
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0xa6c]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push 0x4b34dc
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4209ab
lea eax, [esp + 0xa68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4209ab
lea ecx, [esp + 0xa68]
call fcn.004797a0
test eax, eax
je 0x4209ab
cmp word [esp + 0xa68], 0x25
je 0x4209ab
push 0x27c0
push dword [0x4e6030]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
mov esi, eax
mov dword [0x4d6b68], 0xb
push 0x1004
push esi
call ebp
movq xmm0, qword [str.HKLM:]
mov dword [0x4d6b50], eax
mov eax, dword [0x4b4e18]
mov dword [esp + 0x270], eax
mov ax, word [0x4b4e1c]
push 0x7f2
mov word [esp + 0x278], ax
lea eax, [esp + 0x27a]
push 0
push eax
mov dword [0x4d6b54], 0
movq qword [esp + 0x274], xmm0
call fcn.0048fb10
add esp, 0xc
lea eax, [esp + 0x268]
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x26c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x4d6b4c
push 0
push 0x104d
lea eax, [esp + 0x274]
push esi
mov dword [0x4d6b60], eax
call ebp
mov edx, 0x4b545c
mov dword [esp + 0x2c], 1
mov ecx, 0x4b3c0c
call fcn.00478640
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push dword [0x4d6b50]
push 0x1074
push esi
call ebp
mov edx, 0x4b545c
mov dword [esp + 0x2c], 2
mov ecx, 0x4b3c0c
call fcn.00478640
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push dword [0x4d6b50]
push 0x1074
push esi
call ebp
push 0x1869f
push 0
push 0x1014
push esi
call ebp
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push dword [esp + 0x18]
call ebx
push 0
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x74]
push eax
push edi
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x4207c0
push dword [esp + 0x10]
call ebx
pop edi
pop ebx
mov ecx, dword [esp + 0x1260]
pop esi
pop ebp
xor ecx, esp
call fcn.0048ea75
add esp, 0x125c
ret
call fcn.00422b90
int3