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

Disassembly:
mov eax, 0x3064
call fcn.004a5e30
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x305c], eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x2760
push dword [0x4def88]
call esi
push 0x27c0
push dword [0x4def88]
mov edi, eax
mov dword [esp + 0x20], edi
call esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, eax
push 0
push 0
push 0x1009
push edi
call esi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0xf013f
push 0
push str.SoftwareCLASSESCLSID_
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCatW]
test eax, eax
jne 0x421e40
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 + 0x14], 0x104
xor edi, edi
lea eax, [esp + 0x14]
push edi
push edi
push edi
push edi
push eax
lea eax, [esp + 0x7c]
push eax
push edi
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x421e32
inc edi
cmp dword [0x4c5194], 0
je 0x422318
push str.Wow6432Node
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x421e0a
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.SoftwareCLASSESCLSID_
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push 0
push 0
push 0x1004
push dword [esp + 0x24]
mov dword [esp + 0x24], 0x104
call esi
mov dword [0x4cfb4c], eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x86c]
mov dword [0x4cfb50], 0
push eax
call ebx
push 0x4cfb48
push 0
push 0x104d
push dword [esp + 0x24]
lea eax, [esp + 0x878]
mov dword [0x4cfb5c], eax
call esi
push 0
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x7c]
push eax
push edi
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x421d60
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0x18]
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x1870], ax
lea eax, [esp + 0x1872]
push eax
call fcn.0048e880
add esp, 0xc
xor eax, eax
mov word [esp + 0x2068], ax
push 0x7fe
push eax
lea eax, [esp + 0x2072]
push eax
call fcn.0048e880
add esp, 0xc
xor eax, eax
mov word [esp + 0x1068], ax
push 0x7fe
push eax
lea eax, [esp + 0x1072]
push eax
call fcn.0048e880
add esp, 0xc
push 0
push 0
push 0x1004
push edi
call esi
test eax, eax
je 0x4222ff
nop dword [eax]
nop dword [eax + eax]
cmp dword [0x4c5194], 0
je 0x422318
lea eax, [esp + 0x1868]
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], eax
lea eax, [esp + 0x20]
push eax
push 0
push 0x1073
push edi
mov dword [esp + 0x48], 0x400
call esi
push 0
push 0
push 0x1008
push edi
call esi
lea eax, [esp + 0x1868]
push eax
lea eax, [esp + 0x206c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push str.ProgID
lea eax, [esp + 0x186c]
push eax
call ebx
push str.VersionIndependentProgID
lea eax, [esp + 0x206c]
push eax
call ebx
lea eax, [esp + 0x10]
push eax
push 0xf013f
push 0
lea eax, [esp + 0x1874]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4220ed
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0x400
push eax
lea eax, [esp + 0x286c]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x64]
push eax
push 0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x87c]
push eax
push 0
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push str.SoftwareCLASSES_
lea eax, [esp + 0x106c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x2868]
push eax
lea eax, [esp + 0x106c]
push eax
call ebx
lea eax, [esp + 0x60]
push eax
push 0x20119
push 0
lea eax, [esp + 0x1074]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4220e3
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 + 0x1868]
push eax
lea eax, [esp + 0x6c]
push eax
call ebx
lea ecx, [esp + 0x68]
call fcn.0041d690
test eax, eax
jne 0x4220e3
push eax
push eax
push 0x1004
push ebp
mov dword [0x4cfb28], 4
call esi
push 0x4cfb0c
push 0
mov dword [0x4cfb10], eax
lea eax, [esp + 0x70]
push 0x104d
push ebp
mov dword [0x4cfb14], 0
mov dword [0x4cfb20], eax
call esi
mov edx, 0x4af21c
mov dword [esp + 0x28], 1
mov ecx, 0x4ad9cc
call fcn.00477440
mov dword [esp + 0x34], eax
lea eax, [esp + 0x20]
push eax
push dword [0x4cfb10]
push 0x1074
push ebp
call esi
mov edx, 0x4af21c
mov dword [esp + 0x28], 2
mov ecx, 0x4ad9cc
call fcn.00477440
mov dword [esp + 0x34], eax
lea eax, [esp + 0x20]
push eax
push dword [0x4cfb10]
push 0x1074
push ebp
call esi
push 0x1869f
push 0
push 0x1014
push ebp
call esi
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x10]
push eax
push 0xf013f
push 0
lea eax, [esp + 0x2074]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4222eb
push 0x7fe
push eax
mov word [esp + 0x2870], ax
lea eax, [esp + 0x2872]
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 + 0x14], 0x400
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x400
push eax
lea eax, [esp + 0x86c]
push eax
lea eax, [esp + 0x6c]
push eax
push 0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x287c]
push eax
push 0
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push str.SoftwareCLASSES_
lea eax, [esp + 0x106c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x868]
push eax
lea eax, [esp + 0x106c]
push eax
call ebx
lea eax, [esp + 0x1c]
push eax
push 0x20119
push 0
lea eax, [esp + 0x1074]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4222e1
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 + 0x2068]
push eax
lea eax, [esp + 0x6c]
push eax
call ebx
lea ecx, [esp + 0x68]
call fcn.0041d690
test eax, eax
jne 0x4222d7
push eax
push eax
push 0x1004
push ebp
mov dword [0x4cfb28], 4
call esi
push 0x4cfb0c
push 0
mov dword [0x4cfb10], eax
lea eax, [esp + 0x70]
push 0x104d
push ebp
mov dword [0x4cfb14], 0
mov dword [0x4cfb20], eax
call esi
mov edx, 0x4af21c
mov dword [esp + 0x28], 1
mov ecx, 0x4ad9cc
call fcn.00477440
mov dword [esp + 0x34], eax
lea eax, [esp + 0x20]
push eax
push dword [0x4cfb10]
push 0x1074
push ebp
call esi
mov edx, 0x4af21c
mov dword [esp + 0x28], 2
mov ecx, 0x4ad9cc
call fcn.00477440
mov dword [esp + 0x34], eax
lea eax, [esp + 0x20]
push eax
push dword [0x4cfb10]
push 0x1074
push ebp
call esi
push 0x1869f
push 0
push 0x1014
push ebp
call esi
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 0x1004
push edi
call esi
test eax, eax
jne 0x421ec0
mov ecx, dword [esp + 0x306c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x3064
ret
call fcn.004227e0
int3