Function at 0x420950
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 [0x4c4004]
xor eax, esp
mov dword [esp + 0xa68], eax
push ebx
push esi
push edi
push 0
push 0
push 0x1009
push 0x2760
push dword [0x4def88]
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 0x4af260
push 0x80000001
mov dword [esp + 0x20], 0
call esi
test eax, eax
jne 0x420c44
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 0x420c3e
inc edi
mov dword [esp + 0x1c], 0x104
cmp dword [0x4c5194], 0
mov dword [esp + 0x24], edi
je 0x420c59
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 0x420c16
cmp word [esp + 0x68], 0x2e
jne 0x420c10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push 0x4af2dc
push dword [esp + 0x28]
call esi
test eax, eax
je 0x420c10
push dword [esp + 0x10]
call ebx
lea eax, [esp + 0x14]
push eax
push 0x20119
push 0
push 0x4af234
push dword [esp + 0x28]
call esi
test eax, eax
jne 0x420ad3
push 0x7fe
push eax
mov word [esp + 0x278], ax
lea eax, [esp + 0x27a]
push eax
call fcn.0048e770
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 0x4af24c
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x14]
test eax, eax
jne 0x420ad1
call ebx
jmp 0x420c10
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 0x420c10
push 0x27c0
push dword [0x4def88]
call dword [sym.imp.user32.dll_GetDlgItem]
push 0
push 0
mov ebx, eax
mov dword [0x4cfb28], 8
push 0x1004
push ebx
call dword [sym.imp.user32.dll_SendMessageW]
mov ecx, 0x21
mov dword [0x4cfb10], eax
mov esi, 0x4af300
mov dword [0x4cfb14], 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.0048e770
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 0x4cfb0c
push 0
push 0x104d
push ebx
mov dword [0x4cfb20], eax
call esi
mov edx, 0x4af21c
mov dword [esp + 0x34], 1
mov ecx, 0x4ad9cc
call fcn.004773a0
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4cfb10]
push 0x1074
push ebx
call esi
mov edx, 0x4af21c
mov dword [esp + 0x34], 2
mov ecx, 0x4ad9cc
call fcn.004773a0
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4cfb10]
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 0x4209f0
push dword [esp + 0xc]
call ebx
mov ecx, dword [esp + 0xa74]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048d815
mov esp, ebp
pop ebp
ret
call fcn.00422740
int3