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

Disassembly:
mov eax, 0x2058
call fcn.004a5d20
mov eax, dword [0x4c4004]
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.0048e770
add esp, 0xc
push 0x27c0
push dword [0x4def88]
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 0x421358
push 0x7fe
xor edi, edi
mov word [esp + 0x68], ax
lea eax, [esp + 0x6a]
push edi
push eax
call fcn.0048e770
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x1878], ax
lea eax, [esp + 0x187a]
push eax
call fcn.0048e770
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x1084], ax
lea eax, [esp + 0x1086]
push eax
call fcn.0048e770
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 0x42134e
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 [0x4c5194], 0
je 0x421387
push 0x4ae754
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x421309
lea ecx, [esp + 0x64]
call fcn.0041d2c0
lea ecx, [esp + 0x64]
call fcn.004785b0
test eax, eax
je 0x421309
cmp dword [esp + 0x2074], 0
jne 0x421376
mov eax, dword [esp + 0x2070]
push 0
push 0
push 0x1004
push ebx
mov dword [0x4cfb28], eax
call esi
push dword [esp + 0x1c]
mov dword [0x4cfb10], eax
lea eax, [esp + 0x868]
push eax
mov dword [0x4cfb14], 0
call ebp
push dword [esp + 0x20]
lea eax, [esp + 0x868]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x4cfb0c
push 0
push 0x104d
lea eax, [esp + 0x870]
push ebx
mov dword [0x4cfb20], 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 [0x4cfb10]
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 [0x4cfb10]
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 0x4211f0
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.0048d815
add esp, 0x2058
ret
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xa
jmp 0x42135d
call fcn.00422740
int3