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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1274
call fcn.004ac5b0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1270], eax
push ebx
push esi
push edi
push 0
push 0
push 0x1009
push 0x2760
push dword [0x4e6030]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x14]
push eax
push 0x20119
push 0
push 0x4b3500
push 0x80000000
mov dword [esp + 0x28], 0
call ebx
test eax, eax
jne 0x420d7f
xor esi, esi
mov dword [esp + 0x1c], 0x104
push esi
push esi
push esi
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x84]
push eax
push esi
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, 0x103
je 0x420d79
nop word [eax + eax]
inc esi
mov dword [esp + 0x1c], 0x104
cmp dword [0x4cc1d4], 0
mov dword [esp + 0x28], esi
je 0x420d94
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
lea eax, [esp + 0x7c]
push eax
push 0x80000000
call ebx
test eax, eax
jne 0x420d4e
cmp word [esp + 0x70], 0x2e
jne 0x420b9f
push 0x7fe
push eax
mov word [esp + 0xa80], ax
lea eax, [esp + 0xa82]
push eax
call fcn.0048fb10
add esp, 0xc
mov dword [esp + 0x18], 0x400
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0xa7c]
push eax
lea eax, [esp + 0x38]
push eax
push 0
push 0x4b34dc
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x420d48
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push 0x20119
push 0
lea eax, [esp + 0xa84]
push eax
push 0x80000000
call ebx
test eax, eax
jne 0x420b75
push dword [esp + 0xc]
call edi
jmp 0x420d48
lea eax, [esp + 0x2c]
push eax
push 0x20119
push 0
push str.shellex
push dword [esp + 0x20]
call ebx
test eax, eax
jne 0x420c1d
push dword [esp + 0x2c]
call edi
jmp 0x420d48
push 0
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x2c], 0
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x34], 0
push eax
push 0
push 0
lea eax, [esp + 0x28]
mov dword [esp + 0x34], 0
push eax
push 0
push 0
push 0
push dword [esp + 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x420d48
cmp dword [esp + 0xc], eax
jne 0x420d48
cmp dword [esp + 0x20], 1
ja 0x420d48
cmp dword [esp + 0x24], eax
jne 0x420d48
cmp dword [esp + 0x18], 2
ja 0x420d48
push 0x27c0
push dword [0x4e6030]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
mov esi, eax
mov dword [0x4d6b68], 8
push 0x1004
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
movq xmm0, qword [str.HKCR:]
mov dword [0x4d6b50], eax
mov eax, dword [0x4b4ed8]
mov dword [esp + 0x280], eax
mov ax, word [0x4b4edc]
push 0x7f2
mov word [esp + 0x288], ax
lea eax, [esp + 0x28a]
push 0
push eax
mov dword [0x4d6b54], 0
movq qword [esp + 0x284], xmm0
call fcn.0048fb10
add esp, 0xc
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x27c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x4d6b4c
push 0
push 0x104d
lea eax, [esp + 0x284]
push esi
mov dword [0x4d6b60], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x4b545c
mov dword [esp + 0x3c], 1
mov ecx, 0x4b3c0c
call fcn.00478640
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4d6b50]
push 0x1074
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x4b545c
mov dword [esp + 0x3c], 2
mov ecx, 0x4b3c0c
call fcn.00478640
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4d6b50]
push 0x1074
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x1869f
push 0
push 0x1014
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0x28]
push dword [esp + 0x10]
call edi
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x84]
push eax
push esi
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x420ab0
push dword [esp + 0x14]
call edi
mov ecx, dword [esp + 0x127c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048ea75
mov esp, ebp
pop ebp
ret
call fcn.00422b90
int3