Function at 0x422cd0
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.004ac5b0
mov eax, dword [section..data]
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 [0x4e6030]
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.004909d3
add esp, 8
mov dword [esp + 0x34], eax
test eax, eax
je 0x422e81
push 2
push 0x400
call fcn.004909d3
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x422e81
push 2
push 0x400
call fcn.004909d3
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x422e81
push 2
push 0x400
call fcn.004909d3
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x422e81
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.0048fb10
add esp, 0xc
xor eax, eax
mov word [esp + 0x8b8], ax
push 0x7fe
push eax
lea eax, [esp + 0x8c2]
push eax
call fcn.0048fb10
add esp, 0xc
push 0xf000
push 1
push 0x102c
push 0x27af
push dword [0x4e6030]
call esi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
push 0xf000
push 0
push 0x102c
push 0x27af
push dword [0x4e6030]
shr eax, 0xc
mov dword [esp + 0x84], eax
call esi
push eax
call ebx
push 0x4e5e28
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 0x422e9d
push 0x10
push str.Error_1
push str.No_free_memory.
push dword [0x4e6030]
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.0048ea75
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 [0x4cc1d4], 0
je 0x423607
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 0x4235af
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 0x4235a5
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.004909d3
push 2
push dword [esp + 0x30]
mov ebx, eax
mov dword [esp + 0x7c], ebx
call fcn.004909d3
add esp, 0x10
mov ecx, eax
mov dword [esp + 0x14], ecx
test ebx, ebx
je 0x4235fb
test ecx, ecx
je 0x4235fb
xor edi, edi
jmp 0x422fa7
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
inc edi
mov ecx, dword [esp + 0x14]
cmp dword [0x4cc1d4], 0
je 0x423616
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 0x423456
cmp dword [esp + 0x5c], 1
jne 0x423456
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 0xfffffffc
cmp eax, 0xff
ja 0x42322c
push dword [esp + 0x1c]
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
cmp dword [esp + 0x70], 1
jne 0x423039
cmp word [esp + 0x10cc], bx
je 0x42322c
push str.rundll
lea eax, [esp + 0xbc]
push eax
call esi
test eax, eax
jne 0x42322c
push 0x4b4994
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x42322c
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 0x423226
lea ecx, [esp + 0xb8]
call fcn.0041d6d0
test eax, eax
je 0x423226
cmp dword [esp + 0x60], 0
je 0x4230c6
lea ecx, [esp + 0xb8]
call fcn.00466020
test eax, eax
je 0x423226
cmp word [esp + 0xba], 0x3a
jne 0x423226
cmp word [esp + 0xbc], 0x5c
jne 0x423226
mov ax, word [esp + 0xb8]
mov ecx, 0x41
cmp cx, ax
jb 0x423100
cmp ax, 0x7a
jae 0x423226
lea ecx, [esp + 0xb8]
call fcn.004797a0
test eax, eax
je 0x423226
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1004
push dword [esp + 0x24]
mov dword [0x4d6b68], 1
call esi
push dword [esp + 0x20]
mov dword [0x4d6b50], eax
push dword [esp + 0x68]
mov dword [0x4d6b54], 0
push str._s_s
push 0x400
push ebp
call fcn.0040a420
add esp, 0x14
cmp eax, 0xffffffff
je 0x423226
mov ecx, ebp
call fcn.0041da00
test eax, eax
jne 0x423226
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 0x423226
push dword [esp + 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4d6b4c
push 0
push 0x104d
push dword [esp + 0x24]
mov dword [0x4d6b60], ebp
call esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x7c]
push eax
push dword [0x4d6b50]
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 [0x4d6b50]
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 0x423456
push dword [esp + 0x14]
lea eax, [esp + 0x8bc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
cmp dword [esp + 0x74], 1
jne 0x42326c
cmp word [esp + 0x10cc], 0
je 0x423456
push str.rundll
lea eax, [esp + 0x8bc]
push eax
call esi
test eax, eax
jne 0x423456
push 0x4b4994
lea eax, [esp + 0x8bc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x422fa2
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 0x422f9c
lea ecx, [esp + 0x8b8]
call fcn.0041d6d0
test eax, eax
je 0x423456
cmp dword [esp + 0x60], 0
je 0x4232f9
lea ecx, [esp + 0x8b8]
call fcn.00466020
test eax, eax
je 0x423456
cmp word [esp + 0x8ba], 0x3a
jne 0x422f9c
cmp word [esp + 0x8bc], 0x5c
jne 0x422f9c
mov ax, word [esp + 0x8b8]
mov ecx, 0x41
cmp cx, ax
jb 0x423333
cmp ax, 0x7a
jae 0x422f9c
lea ecx, [esp + 0x8b8]
call fcn.004797a0
test eax, eax
je 0x423456
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1004
push dword [esp + 0x24]
mov dword [0x4d6b68], 0
call esi
push dword [esp + 0x20]
mov dword [0x4d6b50], eax
push dword [esp + 0x68]
mov dword [0x4d6b54], 0
push str._s_s
push 0x400
push ebp
call fcn.0040a420
add esp, 0x14
cmp eax, 0xffffffff
je 0x423456
mov ecx, ebp
call fcn.0041da00
test eax, eax
jne 0x423456
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 0x423456
push dword [esp + 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x18]
push 0x4d6b4c
push 0
push 0x104d
push ebx
mov dword [0x4d6b60], 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 [0x4d6b50]
push 0x1074
push ebx
call esi
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x7c]
push eax
push dword [0x4d6b50]
mov dword [esp + 0x8c], 2
push 0x1074
push ebx
call esi
push 0x1869f
push 0
push 0x1014
push ebx
call esi
jmp 0x422f9c
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
inc edi
cmp ebx, 0x103
jne 0x422fa3
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 0x423573
push str.WOW6432Node
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x423573
push str.System
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x423573
push str.UserData
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x423573
push ebx
push dword [esp + 0x24]
push 0x4b34c0
push 0x400
push dword [esp + 0x44]
call fcn.0040a420
add esp, 0x14
cmp eax, 0xffffffff
je 0x423573
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 0x423544
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 0x423548
push 0x10
push str.Error_3
jmp 0x422e70
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 0x423470
inc esi
cmp edi, 0x103
jne 0x423470
push ebx
call fcn.004909de
add esp, 4
push dword [esp + 0x14]
call fcn.004909de
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 0x422ed0
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
push edi
call fcn.004909de
add esp, 4
push ebp
call fcn.004909de
add esp, 4
push dword [esp + 0x34]
call fcn.004909de
add esp, 4
push dword [esp + 0x1c]
call fcn.004909de
add esp, 4
mov eax, 1
jmp 0x422e84
push 0x10
push str.Error_2
jmp 0x422e70
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
call fcn.00422b90
push dword [esp + 0x34]
call fcn.004909de
add esp, 4
push dword [esp + 0x6c]
call fcn.004909de
add esp, 4
push dword [esp + 0x14]
call fcn.004909de
add esp, 4
push dword [esp + 0x1c]
call fcn.004909de
add esp, 4
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
call fcn.00422b90
int3