Function at 0x4205b0
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.004a5d20
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x1270], 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 ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x14]
push eax
push 0x20119
push 0
push 0x4ad2c0
push 0x80000000
mov dword [esp + 0x28], 0
call ebx
test eax, eax
jne 0x42092f
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 0x420929
nop word [eax + eax]
inc esi
mov dword [esp + 0x1c], 0x104
cmp dword [0x4c5194], 0
mov dword [esp + 0x28], esi
je 0x420944
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
lea eax, [esp + 0x7c]
push eax
push 0x80000000
call ebx
test eax, eax
jne 0x4208fe
cmp word [esp + 0x70], 0x2e
jne 0x42074f
push 0x7fe
push eax
mov word [esp + 0xa80], ax
lea eax, [esp + 0xa82]
push eax
call fcn.0048e770
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 0x4ad29c
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4208f8
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 0x420725
push dword [esp + 0xc]
call edi
jmp 0x4208f8
lea eax, [esp + 0x2c]
push eax
push 0x20119
push 0
push 0x4af224
push dword [esp + 0x20]
call ebx
test eax, eax
jne 0x4207cd
push dword [esp + 0x2c]
call edi
jmp 0x4208f8
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 0x4208f8
cmp dword [esp + 0xc], eax
jne 0x4208f8
cmp dword [esp + 0x20], 1
ja 0x4208f8
cmp dword [esp + 0x24], eax
jne 0x4208f8
cmp dword [esp + 0x18], 2
ja 0x4208f8
push 0x27c0
push dword [0x4def88]
call dword [sym.imp.user32.dll_GetDlgItem]
push 0
push 0
mov esi, eax
mov dword [0x4cfb28], 8
push 0x1004
push esi
call dword [sym.imp.user32.dll_SendMessageW]
movq xmm0, qword [0x4aec90]
mov dword [0x4cfb10], eax
mov eax, dword [0x4aec98]
mov dword [esp + 0x280], eax
mov ax, word [0x4aec9c]
push 0x7f2
mov word [esp + 0x288], ax
lea eax, [esp + 0x28a]
push 0
push eax
mov dword [0x4cfb14], 0
movq qword [esp + 0x284], xmm0
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x27c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x4cfb0c
push 0
push 0x104d
lea eax, [esp + 0x284]
push esi
mov dword [0x4cfb20], eax
call dword [sym.imp.user32.dll_SendMessageW]
mov edx, 0x4af21c
mov dword [esp + 0x3c], 1
mov ecx, 0x4ad9cc
call fcn.004773a0
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4cfb10]
push 0x1074
push esi
call dword [sym.imp.user32.dll_SendMessageW]
mov edx, 0x4af21c
mov dword [esp + 0x3c], 2
mov ecx, 0x4ad9cc
call fcn.004773a0
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push dword [0x4cfb10]
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 0x420660
push dword [esp + 0x14]
call edi
mov ecx, dword [esp + 0x127c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048d815
mov esp, ebp
pop ebp
ret
call fcn.00422740
int3