Function at 0x4218f0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x2868
call fcn.004a5e30
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x2864], eax
mov eax, dword [esp + 0x286c]
push ebx
push ebp
push 0x2760
push dword [0x4def88]
mov ebp, edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2880]
mov ebx, ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push 0xf013f
push 0
push ebp
push ebx
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x421c70
push esi
push edi
push 0x7fe
push eax
mov word [esp + 0x207c], ax
lea eax, [esp + 0x207e]
push eax
call fcn.0048e880
add esp, 0xc
mov dword [esp + 0x18], 0x400
xor edi, edi
lea eax, [esp + 0x18]
push edi
push edi
push edi
push edi
push eax
lea eax, [esp + 0x2088]
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 0x421c68
mov esi, dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov ebp, dword [sym.imp.SHLWAPI.dll_StrCatW]
nop dword [eax]
inc edi
mov dword [esp + 0x18], 0x400
cmp dword [0x4c5194], 0
je 0x421c87
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x7c], ax
lea eax, [esp + 0x7e]
push eax
call fcn.0048e880
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x1088], ax
lea eax, [esp + 0x108a]
push eax
call fcn.0048e880
add esp, 0x18
lea eax, [esp + 0x74]
push dword [esp + 0x20]
push eax
call esi
lea eax, [esp + 0x2074]
push eax
lea eax, [esp + 0x78]
push eax
call ebp
push str.TypeLib_
lea eax, [esp + 0x78]
push eax
call ebp
lea eax, [esp + 0x14]
push eax
push 0xf013f
push 0
lea eax, [esp + 0x80]
push eax
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x421c3d
push 0x7fe
push eax
mov word [esp + 0x187c], ax
lea eax, [esp + 0x187e]
push eax
call fcn.0048e880
add esp, 0xc
mov dword [esp + 0x24], 0x400
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x1878]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0x4ad29c
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x421c3d
push dword [esp + 0x28]
lea eax, [esp + 0x1078]
push eax
call esi
lea eax, [esp + 0x1874]
push eax
lea eax, [esp + 0x1078]
push eax
call ebp
lea eax, [esp + 0x30]
push eax
push 0x20119
push 0
lea eax, [esp + 0x1080]
push eax
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x421c37
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x87c], ax
lea eax, [esp + 0x87e]
push eax
call fcn.0048e880
add esp, 0xc
lea eax, [esp + 0x874]
push dword [esp + 0x2c]
push eax
call esi
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x878]
push eax
call ebp
lea ecx, [esp + 0x874]
call fcn.0041d690
test eax, eax
jne 0x421c31
push 0x27c0
push dword [0x4def88]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
mov esi, eax
mov dword [0x4cfb28], 3
push 0x1004
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x4cfb0c
push 0
mov dword [0x4cfb10], eax
lea eax, [esp + 0x87c]
push 0x104d
push esi
mov dword [0x4cfb14], 0
mov dword [0x4cfb20], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x4af21c
mov dword [esp + 0x40], 1
mov ecx, 0x4ad9cc
call fcn.00477440
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x38]
push eax
push dword [0x4cfb10]
push 0x1074
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x1874]
mov dword [esp + 0x40], 2
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x38]
push eax
push dword [0x4cfb10]
push 0x1074
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x1869f
push 0
push 0x1014
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCpyW]
push dword [esp + 0x30]
call ebx
push dword [esp + 0x14]
call ebx
push 0
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x2088]
push eax
push edi
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x4219e0
push dword [esp + 0x10]
call ebx
pop edi
pop esi
mov ecx, dword [esp + 0x286c]
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x2868
ret
call fcn.004227e0
int3