Function at 0x440160
Capabilities:
Get graphical window text
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x3810
call fcn.004a5d20
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x380c], eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [esp + 4]
push 0
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push 0x4b0d40
push 0x80000002
call edi
test eax, eax
jne 0x440505
push ebx
push ebp
push esi
push 0x7fe
push eax
mov word [esp + 0x24], ax
lea eax, [esp + 0x26]
push eax
call fcn.0048e770
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x2030], ax
lea eax, [esp + 0x2032]
push eax
call fcn.0048e770
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x283c], ax
lea eax, [esp + 0x283e]
push eax
call fcn.0048e770
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x3048], ax
lea eax, [esp + 0x304a]
push eax
call fcn.0048e770
push 0x7fc
lea eax, [esp + 0x854]
mov dword [esp + 0x850], 0
push 0
push eax
call fcn.0048e770
push 0x7fc
lea eax, [esp + 0x1060]
mov dword [esp + 0x105c], 0
push 0
push eax
call fcn.0048e770
add esp, 0x48
mov dword [esp + 0x181c], 0
lea eax, [esp + 0x1820]
push 0x7fc
push 0
push eax
call fcn.0048e770
mov ebx, dword [sym.imp.user32.dll_GetDlgItem]
lea eax, [esp + 0x28]
add esp, 0xc
push 0x400
push eax
push 0x283a
push dword [0x4def88]
call ebx
mov esi, dword [sym.imp.user32.dll_GetWindowTextW]
push eax
call esi
push 0x400
lea eax, [esp + 0x2020]
push eax
push 0x283b
push dword [0x4def88]
call ebx
push eax
call esi
push 0x400
lea eax, [esp + 0x2820]
push eax
push 0x283c
push dword [0x4def88]
call ebx
push eax
call esi
push 0x400
lea eax, [esp + 0x3020]
push eax
push 0x283d
push dword [0x4def88]
call ebx
push eax
call esi
push 0x400
lea eax, [esp + 0x820]
push eax
push 0x283e
push dword [0x4def88]
call ebx
push eax
call esi
push 0x400
lea eax, [esp + 0x1020]
push eax
push 0x283f
push dword [0x4def88]
call ebx
push eax
call esi
push 0x400
lea eax, [esp + 0x1820]
push eax
push 0x2840
push dword [0x4def88]
call ebx
push eax
call esi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x400
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push 0
push 0x4b13cc
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x440399
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push 0x4b13f0
push 0x80000002
call edi
mov esi, dword [sym.imp.kernel32.dll_lstrlenW]
lea eax, [esp + 0x1c]
push eax
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add eax, eax
push eax
lea eax, [esp + 0x20]
push eax
push 1
push 0
push 0x4b13cc
push dword [esp + 0x24]
call edi
lea eax, [esp + 0x201c]
push eax
call esi
add eax, eax
push eax
lea eax, [esp + 0x2020]
push eax
push 1
push 0
push 0x4b144c
push dword [esp + 0x24]
call edi
lea eax, [esp + 0x281c]
push eax
call esi
add eax, eax
push eax
lea eax, [esp + 0x2820]
push eax
push 1
push 0
push 0x4b147c
push dword [esp + 0x24]
call edi
lea eax, [esp + 0x301c]
push eax
call esi
add eax, eax
push eax
lea eax, [esp + 0x3020]
push eax
push 1
push 0
push 0x4b1494
push dword [esp + 0x24]
call edi
cmp word [esp + 0x81c], 0
mov ebp, dword [sym.imp.user32.dll_EnableWindow]
je 0x440476
lea eax, [esp + 0x81c]
push eax
call esi
add eax, eax
push eax
lea eax, [esp + 0x820]
push eax
push 1
push 0
push 0x4b14a8
push dword [esp + 0x24]
call edi
push 1
push 0x283e
push dword [0x4def88]
call ebx
push eax
call ebp
cmp word [esp + 0x101c], 0
je 0x4404b7
lea eax, [esp + 0x101c]
push eax
call esi
add eax, eax
push eax
lea eax, [esp + 0x1020]
push eax
push 1
push 0
push 0x4b14c0
push dword [esp + 0x24]
call edi
push 1
push 0x283f
push dword [0x4def88]
call ebx
push eax
call ebp
cmp word [esp + 0x181c], 0
je 0x4404f8
lea eax, [esp + 0x181c]
push eax
call esi
add eax, eax
push eax
lea eax, [esp + 0x1820]
push eax
push 1
push 0
push 0x4b14d4
push dword [esp + 0x24]
call edi
push 1
push 0x2840
push dword [0x4def88]
call ebx
push eax
call ebp
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3810]
pop edi
xor ecx, esp
call fcn.0048d815
add esp, 0x3810
ret