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

Disassembly:
mov eax, 0x2864
call fcn.004a5d20
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x285c], eax
push ebx
push ebp
push esi
push edi
push 0x2760
push dword [0x4def88]
mov dword [esp + 0x2c], ecx
call dword [sym.imp.user32.dll_GetDlgItem]
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov ebx, eax
push 0
push 0
push 0x1009
push ebx
call edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0xf003f
push 0
push 0x4af3d4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x42242c
xor eax, eax
push 0x206
push eax
mov word [esp + 0x70], ax
lea eax, [esp + 0x72]
push eax
call fcn.0048e770
add esp, 0xc
mov dword [esp + 0x18], 0x104
xor esi, esi
lea eax, [esp + 0x18]
push esi
push esi
push esi
push esi
push eax
lea eax, [esp + 0x7c]
push eax
push esi
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x422420
nop word [eax + eax]
inc esi
cmp dword [0x4c5194], 0
je 0x422732
push 0x4af3f8
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x4223f8
push 0x7fe
push eax
mov word [esp + 0x870], ax
lea eax, [esp + 0x872]
push eax
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0x868]
push 0x4af3d4
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push 0
push 0
push 0x1004
push ebx
mov dword [esp + 0x28], 0x104
call edi
mov dword [0x4cfb4c], eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x86c]
mov dword [0x4cfb50], 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x4cfb48
push 0
push 0x104d
lea eax, [esp + 0x874]
push ebx
mov dword [0x4cfb5c], eax
call edi
push 0
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x7c]
push eax
push esi
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x422350
push dword [esp + 0x14]
call ebp
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x1070], ax
lea eax, [esp + 0x1072]
push eax
call fcn.0048e770
add esp, 0xc
xor eax, eax
mov word [esp + 0x1868], ax
push 0x7fe
push eax
lea eax, [esp + 0x1872]
push eax
call fcn.0048e770
add esp, 0xc
push 0
push 0
push 0x1004
push ebx
call edi
test eax, eax
je 0x422701
cmp dword [0x4c5194], 0
je 0x422732
lea eax, [esp + 0x1068]
mov dword [esp + 0x34], 0
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
push 0
push 0x1073
push ebx
mov dword [esp + 0x54], 0x400
call edi
push 0
push 0
push 0x1008
push ebx
call edi
push 0x4af464
lea eax, [esp + 0x106c]
push eax
call esi
lea eax, [esp + 0x14]
push eax
push 0xf003f
push 0
lea eax, [esp + 0x1074]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4226ed
push 0x7fe
push eax
mov word [esp + 0x2070], ax
lea eax, [esp + 0x2072]
push eax
call fcn.0048e770
add esp, 0xc
xor eax, eax
mov word [esp + 0x868], ax
push 0x7fe
push eax
lea eax, [esp + 0x872]
push eax
call fcn.0048e770
add esp, 0xc
mov dword [esp + 0x20], 0x400
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x86c]
push eax
lea eax, [esp + 0x30]
push eax
push 0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x207c]
push eax
push 0
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push 0x4aec60
lea eax, [esp + 0x186c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x868]
push eax
lea eax, [esp + 0x186c]
push eax
call esi
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
lea eax, [esp + 0x1874]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4226e7
mov eax, dword [0x4aebd8]
movq xmm0, qword [0x4aebd0]
mov dword [esp + 0x70], eax
mov ax, word [0x4aebdc]
push 0x7f2
mov word [esp + 0x78], ax
lea eax, [esp + 0x7a]
push 0
push eax
movq qword [esp + 0x74], xmm0
call fcn.0048e770
add esp, 0xc
lea eax, [esp + 0x1068]
push eax
lea eax, [esp + 0x6c]
push eax
call esi
lea ecx, [esp + 0x68]
call fcn.0041d5f0
test eax, eax
jne 0x4226e1
cmp dword [esp + 0x24], eax
jne 0x42271f
push 0x27c0
push dword [0x4def88]
call dword [sym.imp.user32.dll_GetDlgItem]
push 0
push 0
mov esi, eax
mov dword [0x4cfb28], 5
push 0x1004
push esi
call edi
push 0x4cfb0c
push 0
mov dword [0x4cfb10], eax
lea eax, [esp + 0x70]
push 0x104d
push esi
mov dword [0x4cfb14], 0
mov dword [0x4cfb20], eax
call edi
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 esi
call edi
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 esi
call edi
push 0x1869f
push 0
push 0x1014
push esi
call edi
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
push dword [esp + 0x18]
call ebp
push dword [esp + 0x14]
call ebp
push 0
push 0
push 0x1004
push ebx
call edi
test eax, eax
jne 0x422480
mov eax, 1
mov ecx, dword [esp + 0x286c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0x2864
ret
push dword [esp + 0x18]
call ebp
push dword [esp + 0x14]
call ebp
mov eax, 0xa
jmp 0x422706
call fcn.00422740
int3