Function at 0x420130
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x470
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x46c], eax
push ebx
mov ebx, dword [esp + 0x478]
xor eax, eax
push ebp
push esi
push edi
push 0x206
push eax
mov word [esp + 0x74], ax
mov esi, ecx
lea eax, [esp + 0x76]
mov dword [esp + 0x30], edx
push eax
mov dword [esp + 0x38], ebx
call fcn.0048fb10
add esp, 0xc
push 0x27c0
push dword [0x4e6030]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push ebx
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4203ae
push 0x206
push eax
mov word [esp + 0x27c], ax
lea eax, [esp + 0x27e]
push eax
call fcn.0048fb10
add esp, 0xc
mov dword [esp + 0x1c], 0x104
xor edi, edi
lea eax, [esp + 0x1c]
push edi
push edi
push edi
push edi
push eax
lea eax, [esp + 0x288]
push eax
push edi
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, 0x103
je 0x4203a8
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCatW]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
nop dword [eax]
inc edi
cmp dword [0x4cc1d4], 0
je 0x4203d9
lea eax, [esp + 0x14]
push eax
push 0xf003f
push 0
lea eax, [esp + 0x280]
push eax
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42036f
push eax
push eax
push eax
push eax
lea eax, [esp + 0x34]
push eax
push 0
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
push dword [esp + 0x40]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [esp + 0x20], 0
jne 0x42036f
cmp dword [esp + 0x24], 0
push dword [esp + 0x14]
jne 0x420373
call esi
cmp dword [esp + 0x488], 0
jne 0x4203cc
push dword [esp + 0x28]
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push dword [esp + 0x2c]
lea eax, [esp + 0x70]
push eax
call ebx
lea eax, [esp + 0x274]
push eax
lea eax, [esp + 0x70]
push eax
call ebx
lea ecx, [esp + 0x6c]
call fcn.0041da00
test eax, eax
jne 0x420375
push eax
push eax
push 0x1004
push dword [esp + 0x24]
mov dword [0x4d6b68], 7
call ebp
push 0x4d6b4c
push 0
push 0x104d
push dword [esp + 0x24]
mov dword [0x4d6b50], eax
lea eax, [esp + 0x7c]
mov dword [0x4d6b54], 0
mov dword [0x4d6b60], eax
call ebp
mov edx, 0x4b545c
mov dword [esp + 0x38], 1
mov ecx, 0x4b3c0c
call fcn.00478640
mov dword [esp + 0x44], eax
lea eax, [esp + 0x30]
push eax
push dword [0x4d6b50]
push 0x1074
push dword [esp + 0x24]
call ebp
mov edx, 0x4b545c
mov dword [esp + 0x38], 2
mov ecx, 0x4b3c0c
call fcn.00478640
mov dword [esp + 0x44], eax
lea eax, [esp + 0x30]
push eax
push dword [0x4d6b50]
push 0x1074
push dword [esp + 0x24]
call ebp
jmp 0x420375
push dword [esp + 0x14]
call esi
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x104
push eax
lea eax, [esp + 0x288]
push eax
push edi
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x420210
push dword [esp + 0x10]
call esi
mov eax, 1
mov ecx, dword [esp + 0x47c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048ea75
add esp, 0x470
ret
push dword [esp + 0x10]
call esi
mov eax, 0xa
jmp 0x4203b3
call fcn.00422b90
int3