Function at 0x422880
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.004a5d20
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.0048f633
add esp, 8
mov dword [esp + 0x34], eax
test eax, eax
je 0x422a31
push 2
push 0x400
call fcn.0048f633
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x422a31
push 2
push 0x400
call fcn.0048f633
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x422a31
push 2
push 0x400
call fcn.0048f633
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x422a31
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.0048e770
add esp, 0xc
xor eax, eax
mov word [esp + 0x8b8], ax
push 0x7fe
push eax
lea eax, [esp + 0x8c2]
push eax
call fcn.0048e770
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 0x4ae398
shr eax, 0xc
push 0x4ae378
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 0x422a4d
push 0x10
push 0x4af47c
push 0x4ad20c
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.0048d815
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 0x4231b7
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 0x42315f
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 0x423155
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.0048f633
push 2
push dword [esp + 0x30]
mov ebx, eax
mov dword [esp + 0x7c], ebx
call fcn.0048f633
add esp, 0x10
mov ecx, eax
mov dword [esp + 0x14], ecx
test ebx, ebx
je 0x4231ab
test ecx, ecx
je 0x4231ab
xor edi, edi
jmp 0x422b57
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
inc edi
mov ecx, dword [esp + 0x14]
cmp dword [0x4c5194], 0
je 0x4231c6
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 0x423006
cmp dword [esp + 0x5c], 1
jne 0x423006
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_lstrlenW]
add eax, 0xfffffffc
cmp eax, 0xff
ja 0x422ddc
push dword [esp + 0x1c]
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
cmp dword [esp + 0x70], 1
jne 0x422be9
cmp word [esp + 0x10cc], bx
je 0x422ddc
push 0x4af48c
lea eax, [esp + 0xbc]
push eax
call esi
test eax, eax
jne 0x422ddc
push 0x4ae754
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x422ddc
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 0x422dd6
lea ecx, [esp + 0xb8]
call fcn.0041d2c0
test eax, eax
je 0x422dd6
cmp dword [esp + 0x60], 0
je 0x422c76
lea ecx, [esp + 0xb8]
call fcn.00464dc0
test eax, eax
je 0x422dd6
cmp word [esp + 0xba], 0x3a
jne 0x422dd6
cmp word [esp + 0xbc], 0x5c
jne 0x422dd6
mov ax, word [esp + 0xb8]
mov ecx, 0x41
cmp cx, ax
jb 0x422cb0
cmp ax, 0x7a
jae 0x422dd6
lea ecx, [esp + 0xb8]
call fcn.004785b0
test eax, eax
je 0x422dd6
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 0x4ada50
push 0x400
push ebp
call fcn.0040a370
add esp, 0x14
cmp eax, 0xffffffff
je 0x422dd6
mov ecx, ebp
call fcn.0041d5f0
test eax, eax
jne 0x422dd6
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 0x422dd6
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 0x423006
push dword [esp + 0x14]
lea eax, [esp + 0x8bc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
cmp dword [esp + 0x74], 1
jne 0x422e1c
cmp word [esp + 0x10cc], 0
je 0x423006
push 0x4af48c
lea eax, [esp + 0x8bc]
push eax
call esi
test eax, eax
jne 0x423006
push 0x4ae754
lea eax, [esp + 0x8bc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x422b52
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 0x422b4c
lea ecx, [esp + 0x8b8]
call fcn.0041d2c0
test eax, eax
je 0x423006
cmp dword [esp + 0x60], 0
je 0x422ea9
lea ecx, [esp + 0x8b8]
call fcn.00464dc0
test eax, eax
je 0x423006
cmp word [esp + 0x8ba], 0x3a
jne 0x422b4c
cmp word [esp + 0x8bc], 0x5c
jne 0x422b4c
mov ax, word [esp + 0x8b8]
mov ecx, 0x41
cmp cx, ax
jb 0x422ee3
cmp ax, 0x7a
jae 0x422b4c
lea ecx, [esp + 0x8b8]
call fcn.004785b0
test eax, eax
je 0x423006
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 0x4ada50
push 0x400
push ebp
call fcn.0040a370
add esp, 0x14
cmp eax, 0xffffffff
je 0x423006
mov ecx, ebp
call fcn.0041d5f0
test eax, eax
jne 0x423006
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 0x423006
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 0x422b4c
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
inc edi
cmp ebx, 0x103
jne 0x422b53
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 0x423123
push 0x4ad268
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x423123
push 0x4af49c
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x423123
push 0x4af4ac
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x423123
push ebx
push dword [esp + 0x24]
push 0x4ad280
push 0x400
push dword [esp + 0x44]
call fcn.0040a370
add esp, 0x14
cmp eax, 0xffffffff
je 0x423123
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 0x4230f4
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 0x4230f8
push 0x10
push 0x4ad28c
jmp 0x422a20
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 0x423020
inc esi
cmp edi, 0x103
jne 0x423020
push ebx
call fcn.0048f63e
add esp, 4
push dword [esp + 0x14]
call fcn.0048f63e
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 0x422a80
push dword [esp + 0x38]
call dword [sym.imp.kernel32.dll_HeapDestroy]
push edi
call fcn.0048f63e
add esp, 4
push ebp
call fcn.0048f63e
add esp, 4
push dword [esp + 0x34]
call fcn.0048f63e
add esp, 4
push dword [esp + 0x1c]
call fcn.0048f63e
add esp, 4
mov eax, 1
jmp 0x422a34
push 0x10
push 0x4ad1fc
jmp 0x422a20
push dword [esp + 0x38]
call dword [sym.imp.kernel32.dll_HeapDestroy]
call fcn.00422740
push dword [esp + 0x34]
call fcn.0048f63e
add esp, 4
push dword [esp + 0x6c]
call fcn.0048f63e
add esp, 4
push dword [esp + 0x14]
call fcn.0048f63e
add esp, 4
push dword [esp + 0x1c]
call fcn.0048f63e
add esp, 4
push dword [esp + 0x38]
call dword [sym.imp.kernel32.dll_HeapDestroy]
call fcn.00422740
int3