Function at 0x4465f0
Capabilities:
Get graphical window text
Query or enumerate registry value
Read .ini file

Disassembly:
sub esp, 0x224
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.kernel32.dll_GetPrivateProfileIntW]
push edi
push 0x4ded80
push 0
push 0x4b39a4
push 0x4b39b4
call esi
mov ebp, dword [sym.imp.user32.dll_SendMessageW]
mov ebx, dword [sym.imp.user32.dll_GetDlgItem]
sub eax, 0
je 0x446646
sub eax, 1
jne 0x44665f
push eax
push 1
push 0xf1
push 0x2919
jmp 0x446654
push 0
push 1
push 0xf1
push 0x2918
push dword [0x4def88]
call ebx
push eax
call ebp
push 0
push 0x4ded80
push 0
push 0x4b39c0
push 0x4b39b4
call esi
push eax
push 0x14e
push 0x291a
push dword [0x4def88]
call ebx
push eax
call ebp
push 0x291c
push 0x4b39d0
mov edx, 0x4b2648
mov ecx, 0x80000002
call fcn.0043d980
push 0x2921
push 0x4b39f8
mov edx, 0x4b2648
mov ecx, 0x80000002
call fcn.0043d980
add esp, 0x10
lea eax, [esp + 0x18]
push eax
push 0xf003f
push 0
push 0x4b2648
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4467e1
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], 0
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x24], 4
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x24], 4
push eax
push 0
push 0x4b3a20
push dword [esp + 0x2c]
call esi
test eax, eax
jne 0x4467db
push 0x291e
push dword [0x4def88]
call ebx
push 0
push 1
push 0xf1
push 0x291d
push dword [0x4def88]
mov dword [esp + 0x28], eax
call ebx
push eax
call ebp
mov eax, dword [esp + 0x24]
cmp eax, 0x228
jne 0x446773
push 0
push 0
push 0x14e
push dword [esp + 0x20]
call ebp
mov eax, dword [esp + 0x24]
cmp eax, 0x240
je 0x44677e
test eax, eax
jne 0x446791
push 0
push 1
push 0x14e
push dword [esp + 0x20]
call ebp
mov eax, dword [esp + 0x24]
cmp eax, 0x3e8
jne 0x4467ab
push 0
push 2
push 0x14e
push dword [esp + 0x20]
call ebp
mov eax, dword [esp + 0x24]
cmp eax, 0x5d4
jne 0x4467c5
push 0
push 3
push 0x14e
push dword [esp + 0x20]
call ebp
mov eax, dword [esp + 0x24]
cmp eax, 0x5dc
jne 0x4467db
push 0
push 4
push 0x14e
push dword [esp + 0x20]
call ebp
push dword [esp + 0x18]
call edi
lea eax, [esp + 0x18]
push eax
push 0xf003f
push 0
push 0x4b2648
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x446918
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 4
push eax
push 0
push 0x4b3a28
push dword [esp + 0x2c]
call esi
test eax, eax
jne 0x4468b8
push eax
push 1
push 0xf1
push 0x2920
push dword [0x4def88]
call ebx
push eax
call ebp
mov esi, dword [esp + 0x14]
shr esi, 5
push esi
push 1
push 0x405
push 0x2927
push dword [0x4def88]
call ebx
push eax
call ebp
shl esi, 5
mov edx, 0x4ad814
push esi
mov ecx, 0x4b0a6c
call fcn.004773a0
push eax
lea eax, [esp + 0x30]
push 0xff
push eax
call fcn.0040a370
add esp, 0x10
lea eax, [esp + 0x28]
push eax
push 0x2929
push dword [0x4def88]
call ebx
push eax
mov eax, dword [sym.imp.user32.dll_SetWindowTextW]
call eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x446912
push 4
push 1
push 0x405
push 0x2927
push dword [0x4def88]
call ebx
push eax
call ebp
push 0x80
mov edx, 0x4ad814
mov ecx, 0x4b0a6c
call fcn.004773a0
push eax
lea eax, [esp + 0x30]
push 0xff
push eax
call fcn.0040a370
add esp, 0x10
lea eax, [esp + 0x28]
push eax
push 0x2929
push dword [0x4def88]
call ebx
push eax
mov eax, dword [sym.imp.user32.dll_SetWindowTextW]
call eax
push dword [esp + 0x18]
call edi
lea eax, [esp + 0x18]
push eax
push 0xf003f
push 0
push 0x4b2648
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x446a90
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 4
push eax
push 0
push 0x4b3a40
push dword [esp + 0x2c]
call esi
test eax, eax
jne 0x446a2a
push eax
push 1
push 0xf1
push 0x291f
push dword [0x4def88]
call ebx
push eax
call ebp
push 0x64
lea eax, [esp + 0x2c]
push eax
push 0x291e
push dword [0x4def88]
call ebx
push eax
call dword [sym.imp.user32.dll_GetWindowTextW]
lea eax, [esp + 0x28]
push eax
call fcn.004936e5
xor edx, edx
add esp, 4
lea edi, [eax - 0x28]
mov eax, dword [esp + 0x14]
div edi
mov esi, eax
push esi
push 1
push 0x405
push 0x2926
push dword [0x4def88]
call ebx
push eax
call ebp
mov eax, esi
mov edx, 0x4ad860
imul eax, edi
mov ecx, 0x4b0a6c
push eax
push esi
push edi
call fcn.004773a0
push eax
lea eax, [esp + 0x38]
push 0xff
push eax
call fcn.0040a370
add esp, 0x18
lea eax, [esp + 0x28]
push eax
push 0x2928
push dword [0x4def88]
call ebx
push eax
call dword [sym.imp.user32.dll_SetWindowTextW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x446a8a
push 2
push 1
push 0x405
push 0x2926
push dword [0x4def88]
call ebx
push eax
call ebp
push 0x430
push 2
push 0x218
mov edx, 0x4ad860
mov ecx, 0x4b0a6c
call fcn.004773a0
push eax
lea eax, [esp + 0x38]
push 0xff
push eax
call fcn.0040a370
add esp, 0x18
lea eax, [esp + 0x28]
push eax
push 0x2928
push dword [0x4def88]
call ebx
push eax
call dword [sym.imp.user32.dll_SetWindowTextW]
push dword [esp + 0x18]
call edi
push 0x2922
push 0x4b3a5c
mov edx, 0x4b2648
mov ecx, 0x80000002
call fcn.0043d980
push 0x2923
push 0x4b3a84
mov edx, 0x4b2648
mov ecx, 0x80000002
call fcn.0043d980
push 0x2924
push 0x4b3aac
mov edx, 0x4b2648
mov ecx, 0x80000002
call fcn.0043d980
push 0x2925
push 0x4b2fbc
mov edx, 0x4b2648
mov ecx, 0x80000002
call fcn.0043d980
add esp, 0x20
lea eax, [esp + 0x18]
push eax
push 0xf003f
push 0
push 0x4b2648
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x446b84
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 4
push eax
push 0
push 0x4b3ad8
push dword [esp + 0x2c]
call esi
test eax, eax
jne 0x446b7e
push eax
push 1
push 0xf1
push 0x2931
push dword [0x4def88]
call ebx
push eax
call ebp
push 0
push dword [esp + 0x18]
push 0x14e
push 0x293d
push dword [0x4def88]
call ebx
push eax
call ebp
push dword [esp + 0x18]
call edi
lea eax, [esp + 0x18]
push eax
push 0xf003f
push 0
push 0x4b2648
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x446c71
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 4
push eax
push 0
push 0x4b3af0
push dword [esp + 0x2c]
call esi
test eax, eax
jne 0x446c15
push eax
push 1
push 0xf1
push 0x2932
push dword [0x4def88]
call ebx
push eax
call ebp
push dword [esp + 0x14]
push 1
push 0x405
push 0x293a
push dword [0x4def88]
call ebx
push eax
call ebp
push dword [esp + 0x14]
jmp 0x446c30
push 3
push 1
push 0x405
push 0x293a
push dword [0x4def88]
call ebx
push eax
call ebp
push 3
mov edx, 0x4ad8a0
mov ecx, 0x4b0a6c
call fcn.004773a0
push eax
lea eax, [esp + 0x30]
push 0xff
push eax
call fcn.0040a370
add esp, 0x10
lea eax, [esp + 0x28]
push eax
push 0x293e
push dword [0x4def88]
call ebx
push eax
call dword [sym.imp.user32.dll_SetWindowTextW]
push dword [esp + 0x18]
call edi
lea eax, [esp + 0x18]
push eax
push 0xf003f
push 0
push 0x4b3b08
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x446d5e
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 4
push eax
push 0
push 0x4b3b80
push dword [esp + 0x2c]
call esi
test eax, eax
jne 0x446d02
push eax
push 1
push 0xf1
push 0x2939
push dword [0x4def88]
call ebx
push eax
call ebp
push dword [esp + 0x14]
push 1
push 0x405
push 0x293b
push dword [0x4def88]
call ebx
push eax
call ebp
push dword [esp + 0x14]
jmp 0x446d1d
push 7
push 1
push 0x405
push 0x293b
push dword [0x4def88]
call ebx
push eax
call ebp
push 7
mov edx, 0x4ad8a8
mov ecx, 0x4b0a6c
call fcn.004773a0
push eax
lea eax, [esp + 0x30]
push 0xff
push eax
call fcn.0040a370
add esp, 0x10
lea eax, [esp + 0x28]
push eax
push 0x293f
push dword [0x4def88]
call ebx
push eax
call dword [sym.imp.user32.dll_SetWindowTextW]
push dword [esp + 0x18]
call edi
lea eax, [esp + 0x18]
push eax
push 0xf003f
push 0
push 0x4b3b08
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x446e4b
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 4
push eax
push 0
push 0x4b3bb8
push dword [esp + 0x2c]
call esi
test eax, eax
jne 0x446def
push eax
push 1
push 0xf1
push 0x2939
push dword [0x4def88]
call ebx
push eax
call ebp
push dword [esp + 0x14]
push 1
push 0x405
push 0x293c
push dword [0x4def88]
call ebx
push eax
call ebp
push dword [esp + 0x14]
jmp 0x446e0a
push 7
push 1
push 0x405
push 0x293c
push dword [0x4def88]
call ebx
push eax
call ebp
push 7
mov edx, 0x4ad8b0
mov ecx, 0x4b0a6c
call fcn.004773a0
push eax
lea eax, [esp + 0x30]
push 0xff
push eax
call fcn.0040a370
add esp, 0x10
lea eax, [esp + 0x28]
push eax
push 0x2940
push dword [0x4def88]
call ebx
push eax
call dword [sym.imp.user32.dll_SetWindowTextW]
push dword [esp + 0x18]
call edi
push 0x2937
push 0x4b3be8
mov edx, 0x4b2648
mov ecx, 0x80000002
call fcn.0043d980
add esp, 8
lea eax, [esp + 0x18]
push eax
push 0xf003f
push 0
push 0x4b2648
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x446ee0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 4
push eax
push 0
push 0x4b3bfc
push dword [esp + 0x2c]
call esi
test eax, eax
jne 0x446eda
cmp dword [esp + 0x14], 2
jne 0x446eda
push eax
push 1
push 0xf1
push 0x2938
push dword [0x4def88]
call ebx
push eax
call ebp
push dword [esp + 0x18]
call edi
push 0x2933
push 0x4b3c20
mov edx, 0x4b3c40
mov ecx, 0x80000002
call fcn.0043d980
push 0x2934
push 0x4b3ca8
mov edx, 0x4b3cc8
mov ecx, 0x80000002
call fcn.0043d980
push 0x2935
push 0x4b2620
mov edx, 0x4b2648
mov ecx, 0x80000002
call fcn.0043d980
add esp, 0x18
lea eax, [esp + 0x18]
push eax
push 0xf003f
push 0
push 0x4b3d0c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x446fb1
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 1
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], 0xff
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0x4b3d3c
push dword [esp + 0x2c]
call esi
test eax, eax
jne 0x446fab
push 0x4b3d64
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x446fab
push 0
push 1
push 0xf1
push 0x2936
push dword [0x4def88]
call ebx
push eax
call ebp
push dword [esp + 0x18]
call edi
call fcn.00446fe0
call fcn.00447180
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0x224
ret