Function at 0x4098ca
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov eax, 0x41c5f3
call fcn.00412df4
sub esp, 0x544
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x54f]
mov byte [ebp - 0x550], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x426180
lea eax, [ebp - 0x550]
push 0x400
push eax
push 0x4253a0
push str.DotNetVersion
push dword [0x41d570]
call esi
cmp byte [ebp - 0x550], bl
jne 0x40992f
xor eax, eax
jmp 0x409b1c
cmp dword [0x427050], ebx
jne 0x409982
push 0x1f
xor eax, eax
pop ecx
lea edi, [ebp - 0x14f]
mov byte [ebp - 0x150], bl
push 0x426180
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x150]
push 0x80
push eax
push 0x4253a0
push str.UseDotNetUI
push dword [0x41d570]
call esi
cmp byte [ebp - 0x150], 0x59
je 0x40998d
cmp byte [ebp - 0x150], 0x79
je 0x40998d
mov eax, dword [ebp + 8]
mov dword [eax], 1
jmp 0x409992
mov eax, dword [ebp + 8]
mov dword [eax], ebx
push 0xf
xor eax, eax
pop ecx
lea edi, [ebp - 0xcf]
mov byte [ebp - 0xd0], bl
mov dword [ebp - 0x10], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x20019
push str.SoftwareMicrosoftActive_SetupInstalled_Components78705f0d_e8db_4b2d_8193_982bdda15ecd
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.00407509
test eax, eax
jne 0x409b0b
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x104
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push str.Version
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x409b0b
lea eax, [ebp + 0xb]
push 1
push eax
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x68]
call fcn.00409bc1
lea eax, [ebp - 0x16]
push 1
push eax
push 0x421b74
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 1
call fcn.00409bc1
mov eax, 0x421b70
mov byte [ebp - 4], 2
mov ecx, eax
mov dword [ebp - 0x40], 0x41d610
test ecx, ecx
mov dword [ebp - 0x20], 0x41d608
jne 0x409a4e
mov eax, 0x426bbc
lea ecx, [ebp - 0x15]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00409d4b
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x68]
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 3
call fcn.00409c44
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00409b38
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 1
call fcn.00409b38
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x14], 0x41d604
cmp eax, ebx
je 0x409a9f
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], ebx
jne 0x409aa8
xor esi, esi
jmp 0x409ad6
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.00412fd0
mov esi, esp
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x14]
mov byte [esi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x550]
push esi
push eax
call fcn.0040dd2a
pop ecx
mov byte [ebp - 4], bl
pop ecx
xor ecx, ecx
test eax, eax
setl cl
mov esi, ecx
lea ecx, [ebp - 0x68]
call fcn.00409b38
cmp dword [ebp - 0x10], ebx
je 0x409b07
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x409b1c
cmp dword [ebp - 0x10], ebx
je 0x409b19
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x55c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4