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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa6c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xa68], 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 esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0xc]
push eax
push 0x20119
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
push 0x80000001
mov dword [esp + 0x20], 0
call esi
test eax, eax
jne 0x421094
xor edi, edi
mov dword [esp + 0x1c], 0x104
push edi
push edi
push edi
push edi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x7c]
push eax
push edi
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, 0x103
je 0x42108e
inc edi
mov dword [esp + 0x1c], 0x104
cmp dword [0x4cc1d4], 0
mov dword [esp + 0x24], edi
je 0x4210a9
lea eax, [esp + 0x18]
push eax
push 0x20119
push 0
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x1c]
call esi
test eax, eax
jne 0x421066
cmp word [esp + 0x68], 0x2e
jne 0x421060
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push str.OpenWithProgids
push dword [esp + 0x28]
call esi
test eax, eax
je 0x421060
push dword [esp + 0x10]
call ebx
lea eax, [esp + 0x14]
push eax
push 0x20119
push 0
push str.UserChoice
push dword [esp + 0x28]
call esi
test eax, eax
jne 0x420f23
push 0x7fe
push eax
mov word [esp + 0x278], ax
lea eax, [esp + 0x27a]
push eax
call fcn.0048fb10
add esp, 0xc
mov dword [esp + 0x20], 0x400
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x274]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push str.Progid
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x14]
test eax, eax
jne 0x420f21
call ebx
jmp 0x421060
call ebx
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
lea eax, [esp + 0x74]
push eax
push 0x80000000
call esi
test eax, eax
je 0x421060
push 0x27c0
push dword [0x4e6030]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
mov ebx, eax
mov dword [0x4d6b68], 8
push 0x1004
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 0x21
mov dword [0x4d6b50], eax
mov esi, str.HKCU:_SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
mov dword [0x4d6b54], 0
lea edi, [esp + 0x270]
rep movsd dword es:[edi], dword [esi]
push 0x77a
lea eax, [esp + 0x2fa]
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.0048fb10
add esp, 0xc
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x274]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x270]
push 0x4d6b4c
push 0
push 0x104d
push ebx
mov dword [0x4d6b60], eax
call esi
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 ebx
call esi
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 ebx
call esi
push 0x1869f
push 0
push 0x1014
push ebx
call esi
push dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [esp + 0x24]
push dword [esp + 0x18]
call ebx
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x7c]
push eax
push edi
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x420e40
push dword [esp + 0xc]
call ebx
mov ecx, dword [esp + 0xa74]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048ea75
mov esp, ebp
pop ebp
ret
call fcn.00422b90
int3