Function at 0x410150
Capabilities:
Acquire debug privileges
Check if process is running under wine
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x40
call dword [sym.imp.comctl32.dll_InitCommonControls]
mov eax, dword [ebp + 8]
mov dword [0x4117cc], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp + 4], 0
mov dword [esp], 0x1fffff
mov dword [esp + 8], eax
call dword [sym.imp.kernel32.dll_OpenProcess]
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SetPriorityClass]
sub esp, 8
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
lea eax, [ebp - 0x20]
sub esp, 4
mov dword [esp + 8], eax
mov dword [esp + 4], 0x28
mov dword [esp], 0xffffffff
call dword [sym.imp.advapi32.dll_OpenProcessToken]
sub esp, 0xc
test eax, eax
jne 0x410610
mov dword [0x411600], 0
xor eax, eax
mov dword [0x411604], 0
mov dword [0x411608], 0
mov dword [0x41160c], 0
mov dword [0x411610], 0
mov dword [0x411614], 0
mov dword [0x411618], 0
mov dword [0x41161c], 1
mov dword [0x411620], 1
mov dword [0x411624], 1
mov dword [0x411628], 2
mov dword [0x41162c], 0
mov dword [0x411630], 0
mov dword [0x411634], 1
mov dword [0x411638], 0
mov dword [0x41163c], 1
mov dword [0x411640], 1
mov dword [0x411644], 1
mov dword [0x411648], 1
mov dword [0x41164c], 1
mov dword [0x411650], 0
mov dword [0x411654], 0
mov dword [0x411658], 0
mov dword [0x41165c], 0
mov dword [0x411660], 0
mov dword [0x411664], 0
mov dword [0x411668], 0
mov dword [0x41166c], 0
mov dword [0x411670], 0
mov dword [0x411674], 0
mov dword [0x411678], 0
mov dword [0x41167c], 0
mov dword [0x411680], 0
mov dword [0x411684], 0
mov dword [0x411688], 0
mov dword [0x41168c], 0
mov dword [0x411690], 0
mov dword [0x411694], 0
mov dword [0x411698], 0
mov dword [0x41169c], 0
lea esi, [esi]
mov dword [eax*4 + 0x4116a0], eax
inc eax
cmp eax, 0x19
jne 0x410368
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [0x411704], 0x69
mov dword [0x411708], 0x32
mov dword [0x41170c], 0x6b
mov dword [0x411710], 0x46
mov dword [0x411714], 0x23
mov dword [0x411718], 0x46
mov dword [0x41171c], 0x46
mov dword [0x411720], 0x64
mov dword [0x411724], 0x46
mov dword [0x411728], 0x46
mov dword [0x41172c], 0x46
mov dword [0x411730], 0x46
mov dword [0x411734], 0x46
mov dword [0x411738], 0x46
mov dword [0x41173c], 0x3c
mov dword [0x411740], 0x3c
mov dword [0x411744], 0x3c
mov dword [0x411748], 0x3c
mov dword [0x41174c], 0x3c
mov dword [0x411750], 0x46
mov dword [0x411754], 0x46
mov dword [0x411758], 0x46
mov dword [0x41175c], 0x46
mov dword [0x411760], 0x46
mov dword [0x411764], 0x46
mov dword [0x411768], 1
mov dword [0x41176c], 1
mov dword [0x411770], 1
mov dword [0x411774], 0
mov dword [esp + 4], 0x416520
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x410516
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x178
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x10], 0x411600
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Preferences
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x1c]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
call sym._PerfDataInitialize
test eax, eax
je 0x410678
mov eax, dword [0x4117cc]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], sym._TaskManagerWndProc_16
mov dword [esp + 8], 0
mov dword [esp + 4], 0x66
mov dword [esp], eax
call dword [sym.imp.user32.dll_DialogBoxParamW]
lea eax, [ebp - 0x18]
sub esp, 0x14
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x20006
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareWineTaskManager
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegCreateKeyExW]
sub esp, 0x24
mov ebx, eax
test eax, eax
je 0x4105b8
xor ebx, ebx
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret 0x10
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x14], 0x178
mov dword [esp + 0x10], 0x411600
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], 0x416470
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x18]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, ebx
mov ebx, dword [ebp - 4]
sub esp, 4
leave
ret 0x10
lea eax, [ebp - 0x10]
mov dword [esp + 4], str.SeDebugPrivilege
lea ebx, [ebp - 0x14]
mov dword [esp + 8], eax
mov dword [esp], 0
call dword [sym.imp.advapi32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], 1
sub esp, 0xc
mov dword [ebp - 8], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_AdjustTokenPrivileges]
sub esp, 0x18
jmp 0x4101d3
mov ebx, 0xffffffff
jmp 0x4105ab