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

Disassembly:
mov eax, 0x2058
call fcn.004ac5b0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x2054], eax
mov eax, dword [esp + 0x205c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], eax
mov ebp, edx
xor eax, eax
mov dword [esp + 0x20], ebp
push 0x7fe
push eax
mov word [esp + 0x86c], ax
mov esi, ecx
lea eax, [esp + 0x86e]
push eax
call fcn.0048fb10
add esp, 0xc
push 0x27c0
push dword [0x4e6030]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
mov dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4217a8
push 0x7fe
xor edi, edi
mov word [esp + 0x68], ax
lea eax, [esp + 0x6a]
push edi
push eax
call fcn.0048fb10
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x1878], ax
lea eax, [esp + 0x187a]
push eax
call fcn.0048fb10
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x1084], ax
lea eax, [esp + 0x1086]
push eax
call fcn.0048fb10
add esp, 0x24
mov dword [esp + 0x18], 0x400
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x400
push eax
lea eax, [esp + 0x1068]
push eax
lea eax, [esp + 0x2c]
push eax
push edi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x78]
push eax
push edi
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x42179e
mov ebp, dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
nop dword [eax]
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x1868]
push eax
call ebp
cmp dword [0x4cc1d4], 0
je 0x4217d7
push 0x4b4994
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x421759
lea ecx, [esp + 0x64]
call fcn.0041d6d0
lea ecx, [esp + 0x64]
call fcn.004797a0
test eax, eax
je 0x421759
cmp dword [esp + 0x2074], 0
jne 0x4217c6
mov eax, dword [esp + 0x2070]
push 0
push 0
push 0x1004
push ebx
mov dword [0x4d6b68], eax
call esi
push dword [esp + 0x1c]
mov dword [0x4d6b50], eax
lea eax, [esp + 0x868]
push eax
mov dword [0x4d6b54], 0
call ebp
push dword [esp + 0x20]
lea eax, [esp + 0x868]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x4d6b4c
push 0
push 0x104d
lea eax, [esp + 0x870]
push ebx
mov dword [0x4d6b60], eax
call esi
lea eax, [esp + 0x1864]
mov dword [esp + 0x30], 1
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x28]
push eax
push dword [0x4d6b50]
push 0x1074
push ebx
call esi
lea eax, [esp + 0x1064]
mov dword [esp + 0x30], 2
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x28]
push eax
push dword [0x4d6b50]
push 0x1074
push ebx
call esi
push 0x1869f
push 0
push 0x1014
push ebx
call esi
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 0x400
push eax
lea eax, [esp + 0x1068]
mov dword [esp + 0x18], 0x400
push eax
lea eax, [esp + 0x2c]
inc edi
push eax
push 0
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x78]
push eax
push edi
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x421640
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x2064]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048ea75
add esp, 0x2058
ret
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xa
jmp 0x4217ad
call fcn.00422b90
int3