Function at 0x42ce50
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x185c
call fcn.004a5d20
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x1858], eax
mov eax, dword [esp + 0x1860]
push ebx
push ebp
push esi
push edi
push 0x2808
push dword [0x4def88]
mov ebp, edx
mov dword [esp + 0x28], eax
mov ebx, ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebx
call dword [sym.imp.user32.dll_GetDlgItem]
mov esi, eax
mov dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x187c]
push 0
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, dword [sym.imp.user32.dll_SendMessageW]
test eax, eax
jne 0x42d03a
xor eax, eax
xor ebx, ebx
push 0x7fe
push eax
mov word [esp + 0x870], ax
lea eax, [esp + 0x872]
push eax
call fcn.0048e770
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x7c], ax
lea eax, [esp + 0x7e]
push eax
call fcn.0048e770
add esp, 0x18
mov dword [esp + 0x18], 0x400
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x400
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x2c]
push eax
push ebx
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x87c]
push eax
push ebx
push dword [esp + 0x2c]
call ebp
cmp eax, 0x103
je 0x42d02c
mov eax, dword [esp + 0x1874]
push 0
push 0
push 0x1004
push esi
mov dword [0x4d0c20], eax
call edi
push 0x4d0c04
push 0
mov dword [0x4d0c08], eax
lea eax, [esp + 0x870]
push 0x104d
push esi
mov dword [0x4d0c0c], 0
mov dword [0x4d0c18], eax
call edi
lea eax, [esp + 0x68]
mov dword [esp + 0x34], 1
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4d0c08]
push 0x1074
push esi
call edi
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4d0c08]
mov dword [esp + 0x3c], 2
push 0x1074
push esi
call edi
lea eax, [esp + 0x2c]
mov dword [esp + 0x3c], 0xf000
push eax
push dword [0x4d0c08]
mov dword [esp + 0x40], 0x2000
push 0x102b
push esi
call edi
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 0x400
push eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x18], 0x400
push eax
lea eax, [esp + 0x2c]
inc ebx
push eax
push 0
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x87c]
push eax
push ebx
push dword [esp + 0x2c]
call ebp
cmp eax, 0x103
jne 0x42cf40
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x28]
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x1070], ax
lea eax, [esp + 0x1072]
push eax
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0x1068]
push dword [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push 0x4af95c
lea eax, [esp + 0x106c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x187c]
lea eax, [esp + 0x1070]
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42d216
push 0x7fe
xor ebx, ebx
mov word [esp + 0x6c], ax
lea eax, [esp + 0x6e]
push ebx
push eax
call fcn.0048e770
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x87c], ax
lea eax, [esp + 0x87e]
push eax
call fcn.0048e770
add esp, 0x18
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 + 0x24]
push eax
push ebx
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x7c]
push eax
push ebx
push dword [esp + 0x2c]
call ebp
cmp eax, 0x103
je 0x42d20c
nop word [eax + eax]
mov eax, dword [esp + 0x1874]
push 0
push 0
push 0x1004
push esi
mov dword [0x4d0c20], eax
call edi
push 0x4d0c04
push 0
mov dword [0x4d0c08], eax
lea eax, [esp + 0x70]
push 0x104d
push esi
mov dword [0x4d0c0c], 0
mov dword [0x4d0c18], eax
call edi
lea eax, [esp + 0x868]
mov dword [esp + 0x34], 1
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4d0c08]
push 0x1074
push esi
call edi
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push dword [0x4d0c08]
mov dword [esp + 0x3c], 2
push 0x1074
push esi
call edi
lea eax, [esp + 0x2c]
mov dword [esp + 0x3c], 0xf000
push eax
push dword [0x4d0c08]
mov dword [esp + 0x40], 0x1000
push 0x102b
push esi
call edi
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0x400
push eax
lea eax, [esp + 0x86c]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x24]
inc ebx
push eax
push 0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x7c]
push eax
push ebx
push dword [esp + 0x2c]
call ebp
cmp eax, 0x103
jne 0x42d120
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1868]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0x185c
ret