Function at 0x41daac
Capabilities:
Check os version
Set registry value

Disassembly:
mov eax, 0x4b12c8
call fcn.0049dfc4
sub esp, 0x1f0
push ebx
xor ebx, ebx
push edi
push ebx
push 1
push 0x4f1f38
call fcn.0041dce7
push 0x24
xor eax, eax
pop ecx
lea edi, [ebp - 0x1f8]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1fc]
mov dword [ebp - 0x1fc], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x1f8], 5
jbe 0x41dcd9
push esi
push 0x18
pop ecx
xor eax, eax
lea edi, [ebp - 0x9f]
mov byte [ebp - 0xa0], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x4f1f3c]
lea ecx, [ebp - 0xa0]
push 0x64
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x31
xor eax, eax
pop ecx
lea edi, [ebp - 0x167]
mov byte [ebp - 0x168], bl
push 0x4e71ec
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x168]
push eax
call edi
lea eax, [ebp - 0x168]
push str.__199
push eax
call edi
push 0xffffffffffffffff
push str.SOFTWAREClassesCLSID_
call fcn.00401275
pop ecx
mov dword [ebp - 0x18], eax
pop ecx
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 4], ebx
call fcn.00411368
push dword [ebp - 0x18]
mov byte [ebp - 4], 2
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0x4e71c8
lea ecx, [ebp - 0x28]
call fcn.004036f4
push str.4ed84bb4_7ae6_4f00_9592_54d2757632fe
lea ecx, [ebp - 0x28]
call fcn.004036f4
push 0x4e719c
lea ecx, [ebp - 0x28]
call fcn.004036f4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x38]
push eax
call fcn.0040235c
push 0x4e7190
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.004036f4
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00402f35
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
mov esi, 0xf003f
push esi
push ebx
push dword [ebp - 0x24]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x41dc25
lea ecx, [ebp - 0x10]
call fcn.0041623e
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x168]
push eax
push 1
push ebx
push str.LocalizedString
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 0x10], ebx
je 0x41dc5d
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x38]
call fcn.00402f35
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], ebx
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
push ebx
push ebx
push ebx
push dword [ebp - 0x34]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
pop esi
jne 0x41dc92
lea ecx, [ebp - 0x10]
call fcn.0041623e
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push ebx
push str.Enabled
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 0x10], ebx
je 0x41dcc1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.004012b4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004012b4
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret