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

Disassembly:
mov eax, 0x2864
call fcn.004ac5b0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x285c], eax
push ebx
push ebp
push esi
push edi
push 0x2760
push dword [0x4e6030]
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 0x42287c
xor eax, eax
push 0x206
push eax
mov word [esp + 0x70], ax
lea eax, [esp + 0x72]
push eax
call fcn.0048fb10
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 0x422870
nop word [eax + eax]
inc esi
cmp dword [0x4cc1d4], 0
je 0x422b82
push str.Wow6432Node
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x422848
push 0x7fe
push eax
mov word [esp + 0x870], ax
lea eax, [esp + 0x872]
push eax
call fcn.0048fb10
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 [0x4d6b8c], eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x86c]
mov dword [0x4d6b90], 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x4d6b88
push 0
push 0x104d
lea eax, [esp + 0x874]
push ebx
mov dword [0x4d6b9c], 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 0x4227a0
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.0048fb10
add esp, 0xc
xor eax, eax
mov word [esp + 0x1868], ax
push 0x7fe
push eax
lea eax, [esp + 0x1872]
push eax
call fcn.0048fb10
add esp, 0xc
push 0
push 0
push 0x1004
push ebx
call edi
test eax, eax
je 0x422b51
cmp dword [0x4cc1d4], 0
je 0x422b82
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 0x4b56a4
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 0x422b3d
push 0x7fe
push eax
mov word [esp + 0x2070], ax
lea eax, [esp + 0x2072]
push eax
call fcn.0048fb10
add esp, 0xc
xor eax, eax
mov word [esp + 0x868], ax
push 0x7fe
push eax
lea eax, [esp + 0x872]
push eax
call fcn.0048fb10
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.SoftwareCLASSESCLSID_
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 0x422b37
mov eax, dword [0x4b4e18]
movq xmm0, qword [str.HKLM:]
mov dword [esp + 0x70], eax
mov ax, word [0x4b4e1c]
push 0x7f2
mov word [esp + 0x78], ax
lea eax, [esp + 0x7a]
push 0
push eax
movq qword [esp + 0x74], xmm0
call fcn.0048fb10
add esp, 0xc
lea eax, [esp + 0x1068]
push eax
lea eax, [esp + 0x6c]
push eax
call esi
lea ecx, [esp + 0x68]
call fcn.0041da00
test eax, eax
jne 0x422b31
cmp dword [esp + 0x24], eax
jne 0x422b6f
push 0x27c0
push dword [0x4e6030]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
mov esi, eax
mov dword [0x4d6b68], 5
push 0x1004
push esi
call edi
push 0x4d6b4c
push 0
mov dword [0x4d6b50], eax
lea eax, [esp + 0x70]
push 0x104d
push esi
mov dword [0x4d6b54], 0
mov dword [0x4d6b60], eax
call edi
mov edx, 0x4b545c
mov dword [esp + 0x34], 1
mov ecx, 0x4b3c0c
call fcn.00478640
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4d6b50]
push 0x1074
push esi
call edi
mov edx, 0x4b545c
mov dword [esp + 0x34], 2
mov ecx, 0x4b3c0c
call fcn.00478640
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4d6b50]
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 0x4228d0
mov eax, 1
mov ecx, dword [esp + 0x286c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048ea75
add esp, 0x2864
ret
push dword [esp + 0x18]
call ebp
push dword [esp + 0x14]
call ebp
mov eax, 0xa
jmp 0x422b56
call fcn.00422b90
int3