Function at 0x422920
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x10b4
call fcn.004a5e30
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x10ac], eax
mov eax, dword [esp + 0x10b8]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x27c0
push dword [0x4def88]
mov edi, edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x6c], eax
call esi
push 2
push 0x400
mov dword [esp + 0x20], eax
call fcn.0048f743
add esp, 8
mov dword [esp + 0x34], eax
test eax, eax
je 0x422ad1
push 2
push 0x400
call fcn.0048f743
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x422ad1
push 2
push 0x400
call fcn.0048f743
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x422ad1
push 2
push 0x400
call fcn.0048f743
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x422ad1
xor eax, eax
mov dword [esp + 0x5c], 0
push 0x7fe
push eax
mov word [esp + 0xc0], ax
lea eax, [esp + 0xc2]
push eax
mov dword [esp + 0x64], 0x400
call fcn.0048e880
add esp, 0xc
xor eax, eax
mov word [esp + 0x8b8], ax
push 0x7fe
push eax
lea eax, [esp + 0x8c2]
push eax
call fcn.0048e880
add esp, 0xc
push 0xf000
push 1
push 0x102c
push 0x27af
push dword [0x4def88]
call esi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
push 0xf000
push 0
push 0x102c
push 0x27af
push dword [0x4def88]
shr eax, 0xc
mov dword [esp + 0x84], eax
call esi
push eax
call ebx
push 0x4ded80
push 0
push str.Exclude
shr eax, 0xc
push str.SROPTIONS
mov dword [esp + 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], 0x1312d00
call dword [sym.imp.KERNEL32.dll_HeapCreate]
push 0x1312d00
push 8
push eax
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x422aed
push 0x10
push str.Error_1
push str.No_free_memory.
push dword [0x4def88]
call dword [sym.imp.USER32.dll_MessageBoxW]
or eax, 0xffffffff
mov ecx, dword [esp + 0x10bc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x10b4
ret
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
mov dword [esp + 0x40], 0
call ebx
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
inc eax
mov dword [esp + 0x2c], eax
xor ecx, ecx
mov dword [esp + 0x50], 1
nop dword [eax + eax]
cmp dword [0x4c5194], 0
je 0x423257
mov eax, dword [esp + 0x28]
inc ecx
mov edi, dword [esp + 0x20]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x3c]
lea eax, [eax + ecx*2]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push edi
call ebx
mov ecx, dword [esp + 0x3c]
inc ecx
add ecx, eax
lea eax, [esp + 0x30]
push eax
push 0x20119
push 0
push edi
push dword [esp + 0x50]
mov dword [esp + 0x50], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4231ff
push eax
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push 0
lea eax, [esp + 0x60]
push eax
push 0
push 0
push 0
push 0
push dword [esp + 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x4231f5
mov eax, dword [esp + 0x48]
inc dword [esp + 0x24]
inc eax
inc dword [esp + 0x54]
push 2
push eax
mov dword [esp + 0x50], eax
call fcn.0048f743
push 2
push dword [esp + 0x30]
mov ebx, eax
mov dword [esp + 0x7c], ebx
call fcn.0048f743
add esp, 0x10
mov ecx, eax
mov dword [esp + 0x14], ecx
test ebx, ebx
je 0x42324b
test ecx, ecx
je 0x42324b
xor edi, edi
jmp 0x422bf7
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
inc edi
mov ecx, dword [esp + 0x14]
cmp dword [0x4c5194], 0
je 0x423266
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x64]
mov dword [esp + 0x60], 0x400
push eax
push 0
lea eax, [esp + 0x5c]
push eax
push ecx
push edi
push dword [esp + 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ebx, eax
test ebx, ebx
jne 0x4230a6
cmp dword [esp + 0x5c], 1
jne 0x4230a6
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 0xfffffffc
cmp eax, 0xff
ja 0x422e7c
push dword [esp + 0x1c]
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
cmp dword [esp + 0x70], 1
jne 0x422c89
cmp word [esp + 0x10cc], bx
je 0x422e7c
push str.rundll
lea eax, [esp + 0xbc]
push eax
call esi
test eax, eax
jne 0x422e7c
push 0x4ae754
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x422e7c
push 0x3a
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
push 0x3a
mov esi, eax
lea eax, [esp + 0xbc]
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
cmp esi, eax
jne 0x422e76
lea ecx, [esp + 0xb8]
call fcn.0041d360
test eax, eax
je 0x422e76
cmp dword [esp + 0x60], 0
je 0x422d16
lea ecx, [esp + 0xb8]
call fcn.00464e40
test eax, eax
je 0x422e76
cmp word [esp + 0xba], 0x3a
jne 0x422e76
cmp word [esp + 0xbc], 0x5c
jne 0x422e76
mov ax, word [esp + 0xb8]
mov ecx, 0x41
cmp cx, ax
jb 0x422d50
cmp ax, 0x7a
jae 0x422e76
lea ecx, [esp + 0xb8]
call fcn.00478650
test eax, eax
je 0x422e76
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1004
push dword [esp + 0x24]
mov dword [0x4cfb28], 1
call esi
push dword [esp + 0x20]
mov dword [0x4cfb10], eax
push dword [esp + 0x68]
mov dword [0x4cfb14], 0
push str._s_s
push 0x400
push ebp
call fcn.0040a3c0
add esp, 0x14
cmp eax, 0xffffffff
je 0x422e76
mov ecx, ebp
call fcn.0041d690
test eax, eax
jne 0x422e76
lea eax, [esp + 0x44]
push eax
push 0x20106
push 0
lea eax, [ebp + 0xc]
push eax
push dword [esp + 0x50]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x422e76
push dword [esp + 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4cfb0c
push 0
push 0x104d
push dword [esp + 0x24]
mov dword [0x4cfb20], ebp
call esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x7c]
push eax
push dword [0x4cfb10]
mov dword [esp + 0x8c], 1
push 0x1074
push dword [esp + 0x24]
call esi
lea eax, [esp + 0xb8]
mov dword [esp + 0x84], 2
mov dword [esp + 0x90], eax
lea eax, [esp + 0x7c]
push eax
push dword [0x4cfb10]
push 0x1074
push dword [esp + 0x24]
call esi
push 0x1869f
push 0
push 0x1014
push dword [esp + 0x24]
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 0xfffffffc
cmp eax, 0xff
ja 0x4230a6
push dword [esp + 0x14]
lea eax, [esp + 0x8bc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
cmp dword [esp + 0x74], 1
jne 0x422ebc
cmp word [esp + 0x10cc], 0
je 0x4230a6
push str.rundll
lea eax, [esp + 0x8bc]
push eax
call esi
test eax, eax
jne 0x4230a6
push 0x4ae754
lea eax, [esp + 0x8bc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x422bf2
push 0x3a
lea eax, [esp + 0x8bc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
push 0x3a
mov esi, eax
lea eax, [esp + 0x8bc]
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
cmp esi, eax
jne 0x422bec
lea ecx, [esp + 0x8b8]
call fcn.0041d360
test eax, eax
je 0x4230a6
cmp dword [esp + 0x60], 0
je 0x422f49
lea ecx, [esp + 0x8b8]
call fcn.00464e40
test eax, eax
je 0x4230a6
cmp word [esp + 0x8ba], 0x3a
jne 0x422bec
cmp word [esp + 0x8bc], 0x5c
jne 0x422bec
mov ax, word [esp + 0x8b8]
mov ecx, 0x41
cmp cx, ax
jb 0x422f83
cmp ax, 0x7a
jae 0x422bec
lea ecx, [esp + 0x8b8]
call fcn.00478650
test eax, eax
je 0x4230a6
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1004
push dword [esp + 0x24]
mov dword [0x4cfb28], 0
call esi
push dword [esp + 0x20]
mov dword [0x4cfb10], eax
push dword [esp + 0x68]
mov dword [0x4cfb14], 0
push str._s_s
push 0x400
push ebp
call fcn.0040a3c0
add esp, 0x14
cmp eax, 0xffffffff
je 0x4230a6
mov ecx, ebp
call fcn.0041d690
test eax, eax
jne 0x4230a6
lea eax, [esp + 0x44]
push eax
push 0x20106
push 0
lea eax, [ebp + 0xc]
push eax
push dword [esp + 0x50]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4230a6
push dword [esp + 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x18]
push 0x4cfb0c
push 0
push 0x104d
push ebx
mov dword [0x4cfb20], ebp
call esi
lea eax, [esp + 0x8b8]
mov dword [esp + 0x84], 1
mov dword [esp + 0x90], eax
lea eax, [esp + 0x7c]
push eax
push dword [0x4cfb10]
push 0x1074
push ebx
call esi
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x7c]
push eax
push dword [0x4cfb10]
mov dword [esp + 0x8c], 2
push 0x1074
push ebx
call esi
push 0x1869f
push 0
push 0x1014
push ebx
call esi
jmp 0x422bec
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
inc edi
cmp ebx, 0x103
jne 0x422bf3
mov ebx, dword [esp + 0x6c]
xor esi, esi
nop
mov eax, dword [esp + 0x48]
push 0
push 0
push 0
push 0
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
push eax
push ebx
push esi
push dword [esp + 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test edi, edi
jne 0x4231c3
push str.WOW6432Node
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x4231c3
push str.System
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x4231c3
push str.UserData
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x4231c3
push ebx
push dword [esp + 0x24]
push 0x4ad280
push 0x400
push dword [esp + 0x44]
call fcn.0040a3c0
add esp, 0x14
cmp eax, 0xffffffff
je 0x4231c3
mov edi, dword [esp + 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x68]
lea eax, [eax*2 + 2]
cmp eax, ecx
jb 0x423194
add ecx, 0x1312d00
push ecx
push dword [esp + 0x2c]
mov dword [esp + 0x70], ecx
push 8
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x423198
push 0x10
push str.Error_3
jmp 0x422ac0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
inc dword [esp + 0x50]
push edi
lea eax, [eax + ecx*2]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x2c]
inc ecx
add ecx, eax
inc esi
mov dword [esp + 0x2c], ecx
jmp 0x4230c0
inc esi
cmp edi, 0x103
jne 0x4230c0
push ebx
call fcn.0048f74e
add esp, 4
push dword [esp + 0x14]
call fcn.0048f74e
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [esp + 0x20]
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x78]
cmp ecx, dword [esp + 0x50]
jne 0x422b20
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
push edi
call fcn.0048f74e
add esp, 4
push ebp
call fcn.0048f74e
add esp, 4
push dword [esp + 0x34]
call fcn.0048f74e
add esp, 4
push dword [esp + 0x1c]
call fcn.0048f74e
add esp, 4
mov eax, 1
jmp 0x422ad4
push 0x10
push str.Error_2
jmp 0x422ac0
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
call fcn.004227e0
push dword [esp + 0x34]
call fcn.0048f74e
add esp, 4
push dword [esp + 0x6c]
call fcn.0048f74e
add esp, 4
push dword [esp + 0x14]
call fcn.0048f74e
add esp, 4
push dword [esp + 0x1c]
call fcn.0048f74e
add esp, 4
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
call fcn.004227e0
int3