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

Disassembly:
mov eax, 0x2864
call fcn.004a5e30
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x285c], eax
push ebx
push ebp
push esi
push edi
push 0x2760
push dword [0x4def88]
mov dword [esp + 0x2c], ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
push 0
push 0
push 0x1009
push ebx
call edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0xf003f
push 0
push str.SoftwareCLASSES_
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4215dc
xor eax, eax
push 0x206
push eax
mov word [esp + 0x70], ax
lea eax, [esp + 0x72]
push eax
call fcn.0048e880
add esp, 0xc
mov dword [esp + 0x18], 0x104
xor esi, esi
lea eax, [esp + 0x18]
push esi
push esi
push esi
push esi
push eax
lea eax, [esp + 0x7c]
push eax
push esi
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x4215d0
nop word [eax + eax]
inc esi
cmp dword [0x4c5194], 0
je 0x4218e2
push str.Wow6432Node
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x4215a8
push 0x7fe
push eax
mov word [esp + 0x870], ax
lea eax, [esp + 0x872]
push eax
call fcn.0048e880
add esp, 0xc
lea eax, [esp + 0x868]
push str.SoftwareCLASSES_
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push 0
push 0
push 0x1004
push ebx
mov dword [esp + 0x28], 0x104
call edi
mov dword [0x4cfb4c], eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x86c]
mov dword [0x4cfb50], 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x4cfb48
push 0
push 0x104d
lea eax, [esp + 0x874]
push ebx
mov dword [0x4cfb5c], eax
call edi
push 0
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x7c]
push eax
push esi
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x421500
push dword [esp + 0x14]
call ebp
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x1070], ax
lea eax, [esp + 0x1072]
push eax
call fcn.0048e880
add esp, 0xc
xor eax, eax
mov word [esp + 0x1868], ax
push 0x7fe
push eax
lea eax, [esp + 0x1872]
push eax
call fcn.0048e880
add esp, 0xc
push 0
push 0
push 0x1004
push ebx
call edi
test eax, eax
je 0x4218b1
cmp dword [0x4c5194], 0
je 0x4218e2
lea eax, [esp + 0x1068]
mov dword [esp + 0x34], 0
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push 0
push 0x1073
push ebx
mov dword [esp + 0x54], 0x400
call edi
push 0
push 0
push 0x1008
push ebx
call edi
push str.CurVer
lea eax, [esp + 0x106c]
push eax
call esi
lea eax, [esp + 0x14]
push eax
push 0xf003f
push 0
lea eax, [esp + 0x1074]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42189d
push 0x7fe
push eax
mov word [esp + 0x2070], ax
lea eax, [esp + 0x2072]
push eax
call fcn.0048e880
add esp, 0xc
xor eax, eax
mov word [esp + 0x868], ax
push 0x7fe
push eax
lea eax, [esp + 0x872]
push eax
call fcn.0048e880
add esp, 0xc
mov dword [esp + 0x20], 0x400
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x86c]
push eax
lea eax, [esp + 0x30]
push eax
push 0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x207c]
push eax
push 0
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push str.SoftwareCLASSES_
lea eax, [esp + 0x186c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x868]
push eax
lea eax, [esp + 0x186c]
push eax
call esi
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
lea eax, [esp + 0x1874]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x421897
mov eax, dword [0x4aebd8]
movq xmm0, qword [str.HKLM:]
mov dword [esp + 0x70], eax
mov ax, word [0x4aebdc]
push 0x7f2
mov word [esp + 0x78], ax
lea eax, [esp + 0x7a]
push 0
push eax
movq qword [esp + 0x74], xmm0
call fcn.0048e880
add esp, 0xc
lea eax, [esp + 0x1068]
push eax
lea eax, [esp + 0x6c]
push eax
call esi
lea ecx, [esp + 0x68]
call fcn.0041d690
test eax, eax
jne 0x421891
cmp dword [esp + 0x24], eax
jne 0x4218cf
push 0x27c0
push dword [0x4def88]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
mov esi, eax
mov dword [0x4cfb28], 2
push 0x1004
push esi
call edi
push 0x4cfb0c
push 0
mov dword [0x4cfb10], eax
lea eax, [esp + 0x70]
push 0x104d
push esi
mov dword [0x4cfb14], 0
mov dword [0x4cfb20], eax
call edi
mov edx, 0x4af21c
mov dword [esp + 0x34], 1
mov ecx, 0x4ad9cc
call fcn.00477440
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4cfb10]
push 0x1074
push esi
call edi
mov edx, 0x4af21c
mov dword [esp + 0x34], 2
mov ecx, 0x4ad9cc
call fcn.00477440
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4cfb10]
push 0x1074
push esi
call edi
push 0x1869f
push 0
push 0x1014
push esi
call edi
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
push dword [esp + 0x18]
call ebp
push dword [esp + 0x14]
call ebp
push 0
push 0
push 0x1004
push ebx
call edi
test eax, eax
jne 0x421630
mov eax, 1
mov ecx, dword [esp + 0x286c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x2864
ret
push dword [esp + 0x18]
call ebp
push dword [esp + 0x14]
call ebp
mov eax, 0xa
jmp 0x4218b6
call fcn.004227e0
int3