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

Disassembly:
mov eax, 0x125c
call fcn.004a5e30
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x1258], eax
push ebp
push esi
push 0
push 0
push 0x1009
push 0x2760
push dword [0x4def88]
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 0x420631
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 0x420629
nop dword [eax]
nop word [eax + eax]
inc edi
mov dword [esp + 0x14], 0x104
cmp dword [0x4c5194], 0
je 0x420648
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 0x420601
push 0x7fe
push eax
mov word [esp + 0xa70], ax
lea eax, [esp + 0xa72]
push eax
call fcn.0048e880
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 0x4ad29c
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4205fb
lea eax, [esp + 0xa68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4205fb
lea ecx, [esp + 0xa68]
call fcn.00478650
test eax, eax
je 0x4205fb
cmp word [esp + 0xa68], 0x25
je 0x4205fb
push 0x27c0
push dword [0x4def88]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
mov esi, eax
mov dword [0x4cfb28], 0xb
push 0x1004
push esi
call ebp
movq xmm0, qword [str.HKLM:]
mov dword [0x4cfb10], eax
mov eax, dword [0x4aebd8]
mov dword [esp + 0x270], eax
mov ax, word [0x4aebdc]
push 0x7f2
mov word [esp + 0x278], ax
lea eax, [esp + 0x27a]
push 0
push eax
mov dword [0x4cfb14], 0
movq qword [esp + 0x274], xmm0
call fcn.0048e880
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 0x4cfb0c
push 0
push 0x104d
lea eax, [esp + 0x274]
push esi
mov dword [0x4cfb20], eax
call ebp
mov edx, 0x4af21c
mov dword [esp + 0x2c], 1
mov ecx, 0x4ad9cc
call fcn.00477440
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push dword [0x4cfb10]
push 0x1074
push esi
call ebp
mov edx, 0x4af21c
mov dword [esp + 0x2c], 2
mov ecx, 0x4ad9cc
call fcn.00477440
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push dword [0x4cfb10]
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 0x420410
push dword [esp + 0x10]
call ebx
pop edi
pop ebx
mov ecx, dword [esp + 0x1260]
pop esi
pop ebp
xor ecx, esp
call fcn.0048d925
add esp, 0x125c
ret
call fcn.004227e0
int3