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

Disassembly:
mov eax, 0x3810
call fcn.004a5e30
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 str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
call edi
test eax, eax
jne 0x4405a5
push ebx
push ebp
push esi
push 0x7fe
push eax
mov word [esp + 0x24], ax
lea eax, [esp + 0x26]
push eax
call fcn.0048e880
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x2030], ax
lea eax, [esp + 0x2032]
push eax
call fcn.0048e880
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x283c], ax
lea eax, [esp + 0x283e]
push eax
call fcn.0048e880
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x3048], ax
lea eax, [esp + 0x304a]
push eax
call fcn.0048e880
push 0x7fc
lea eax, [esp + 0x854]
mov dword [esp + 0x850], 0
push 0
push eax
call fcn.0048e880
push 0x7fc
lea eax, [esp + 0x1060]
mov dword [esp + 0x105c], 0
push 0
push eax
call fcn.0048e880
add esp, 0x48
mov dword [esp + 0x181c], 0
lea eax, [esp + 0x1820]
push 0x7fc
push 0
push eax
call fcn.0048e880
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 str.RegisteredOwner
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x440439
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersion
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 str.RegisteredOwner
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 str.RegisteredOrganization
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 str.ProductId
push dword [esp + 0x24]
call edi
cmp word [esp + 0x81c], 0
mov ebp, dword [sym.imp.USER32.dll_EnableWindow]
je 0x440516
lea eax, [esp + 0x81c]
push eax
call esi
add eax, eax
push eax
lea eax, [esp + 0x820]
push eax
push 1
push 0
push str.ProductKey
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 0x440557
lea eax, [esp + 0x101c]
push eax
call esi
add eax, eax
push eax
lea eax, [esp + 0x1020]
push eax
push 1
push 0
push str.BuildLab
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 0x440598
lea eax, [esp + 0x181c]
push eax
call esi
add eax, eax
push eax
lea eax, [esp + 0x1820]
push eax
push 1
push 0
push str.CSDVersion
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.0048d925
add esp, 0x3810
ret