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

Disassembly:
mov eax, 0x1b30
call fcn.004a5d20
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x1b2c], eax
push ebx
push 0x27c0
push dword [0x4def88]
mov ebx, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ebx
call dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push ebx
push 0x80000002
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x421094
push ebp
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x24], 0x104
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x148]
push eax
push ebx
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, 0x103
je 0x42105d
mov esi, dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop word [eax + eax]
inc ebx
cmp dword [0x4c5194], 0
je 0x4210ac
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0xb44], ax
lea eax, [esp + 0xb46]
push eax
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0xb3c]
push dword [esp + 0x28]
push eax
call esi
lea eax, [esp + 0x134]
mov dword [esp + 0x24], 0x104
push eax
lea eax, [esp + 0xb40]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0x20119
push 0
lea eax, [esp + 0xb48]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x421032
push 0x7fe
push eax
mov word [esp + 0x344], ax
lea eax, [esp + 0x346]
push eax
call fcn.0048e770
xor eax, eax
mov dword [esp + 0x1c], 0x400
push 0xc6
push eax
mov word [esp + 0x80], ax
lea eax, [esp + 0x82]
push eax
call fcn.0048e770
add esp, 0x18
lea eax, [esp + 0x6c]
push 0x4ae720
push eax
call esi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x340]
push eax
lea eax, [esp + 0x28]
push eax
push 0
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x28]
call edi
test eax, eax
je 0x42102c
push 0x4ae788
lea eax, [esp + 0x70]
mov dword [esp + 0x14], 0x400
push eax
call esi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x340]
push eax
lea eax, [esp + 0x28]
push eax
push 0
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x28]
call edi
test eax, eax
je 0x42102c
push 0x4ae75c
lea eax, [esp + 0x70]
mov dword [esp + 0x14], 0x400
push eax
call esi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x340]
push eax
lea eax, [esp + 0x28]
push eax
push 0
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x28]
call edi
test eax, eax
je 0x42102c
push 0x4af388
lea eax, [esp + 0x70]
mov dword [esp + 0x14], 0x400
push eax
call esi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x340]
push eax
lea eax, [esp + 0x28]
push eax
push 0
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x28]
call edi
test eax, eax
je 0x42102c
push 0x4af3b8
lea eax, [esp + 0x70]
mov dword [esp + 0x14], 0x400
push eax
call esi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x340]
push eax
lea eax, [esp + 0x28]
push eax
push 0
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x28]
call edi
test eax, eax
je 0x42102c
cmp dword [esp + 0x2c], 0
jne 0x421081
push 0
push 0
push 0x1004
push dword [esp + 0x24]
mov dword [0x4cfb28], 0xa
call dword [sym.imp.user32.dll_SendMessageW]
movq xmm0, qword [0x4aebd0]
mov dword [0x4cfb10], eax
mov eax, dword [0x4aebd8]
mov dword [esp + 0x1344], eax
mov ax, word [0x4aebdc]
push 0x7f2
mov word [esp + 0x134c], ax
lea eax, [esp + 0x134e]
push 0
push eax
mov dword [0x4cfb14], 0
movq qword [esp + 0x1348], xmm0
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0xb3c]
push eax
lea eax, [esp + 0x1340]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x4cfb0c
push 0
push 0x104d
push dword [esp + 0x24]
lea eax, [esp + 0x134c]
mov dword [0x4cfb20], eax
call dword [sym.imp.user32.dll_SendMessageW]
mov edx, 0x4af21c
mov dword [esp + 0x38], 1
mov ecx, 0x4ad9cc
call fcn.004773a0
mov dword [esp + 0x44], eax
lea eax, [esp + 0x30]
push eax
push dword [0x4cfb10]
push 0x1074
push dword [esp + 0x24]
call dword [sym.imp.user32.dll_SendMessageW]
mov edx, 0x4af21c
mov dword [esp + 0x38], 2
mov ecx, 0x4ad9cc
call fcn.004773a0
mov dword [esp + 0x44], eax
lea eax, [esp + 0x30]
push eax
push dword [0x4cfb10]
push 0x1074
push dword [esp + 0x24]
call dword [sym.imp.user32.dll_SendMessageW]
push 0x1869f
push 0
push 0x1014
push dword [esp + 0x24]
call dword [sym.imp.user32.dll_SendMessageW]
push dword [esp + 0x14]
call ebp
push 0
push 0
push 0
push 0
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x148]
push eax
push ebx
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x420d10
push dword [esp + 0x1c]
call ebp
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1b2c]
xor ecx, esp
call fcn.0048d815
add esp, 0x1b30
ret
push dword [esp + 0x14]
call ebp
push dword [esp + 0x1c]
call ebp
mov eax, 0xa
jmp 0x421068
mov ecx, dword [esp + 0x1b30]
xor eax, eax
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0x1b30
ret
call fcn.00422740
int3