Function at 0x10005950
Capabilities:
Check os version
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001641c
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x1001c210]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [esi], vtable.CManager.0
mov dword [esi + 4], ecx
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push esi
mov dword [ebp - 0x13c], esi
call edx
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0xc], eax
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.CH264ScreenManager.0
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x148], ebx
mov dword [esi + 0x14c], ebx
mov dword [esi + 0x150], ebx
mov dword [esi + 0x28c], ebx
mov dword [esi + 0x278], 0x14
mov eax, 0xf
mov dword [esi + 0x308], eax
mov dword [esi + 0x304], ebx
mov byte [esi + 0x2f4], bl
mov dword [esi + 0x324], eax
mov dword [esi + 0x320], ebx
mov byte [esi + 0x310], bl
mov dword [esi + 0x340], eax
mov dword [esi + 0x33c], ebx
mov byte [esi + 0x32c], bl
push 0x11c
lea eax, [ebp - 0x12c]
push ebx
mov byte [ebp - 4], 4
push eax
mov dword [esi + 0x14], ebx
call fcn.1000ec80
add esp, 0xc
lea ecx, [ebp - 0x12c]
push ecx
mov dword [ebp - 0x12c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10005b26
cmp dword [ebp - 0x11c], 2
jne 0x10005b26
cmp dword [ebp - 0x128], 5
jbe 0x10005b26
lea edx, [ebp - 0x130]
push edx
push 8
mov dword [ebp - 0x130], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10005b26
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x134]
push eax
push ebx
push ebx
push 0x19
push ecx
mov dword [ebp - 0x134], ebx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x10005b19
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10005b19
mov edx, dword [ebp - 0x134]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, ebx
je 0x10005b19
mov ecx, dword [ebp - 0x134]
mov edx, dword [ebp - 0x130]
lea eax, [ebp - 0x134]
push eax
push ecx
push edi
push 0x19
push edx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x10005b12
mov eax, dword [edi]
push eax
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
movzx ecx, byte [eax]
mov edx, dword [edi]
dec ecx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
mov eax, dword [eax]
mov dword [ebp - 0x138], eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x138], 0x4000
jne 0x10005b40
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
jmp 0x10005c91
call fcn.100083c0
push 0x1001a37c
push eax
mov dword [esi + 0x6ac], eax
call fcn.100086a0
mov ecx, dword [esi + 0x6ac]
push 0x1001a390
push ecx
mov dword [esi + 0x6b0], eax
call fcn.100086a0
mov edx, dword [esi + 0x6ac]
push 0x1001a3a4
push edx
mov dword [esi + 0x6b4], eax
call fcn.100086a0
mov dword [esi + 0x6b8], eax
mov eax, dword [esi + 0x6ac]
push 0x1001a3b8
push eax
call fcn.100086a0
mov ecx, dword [esi + 0x6ac]
push 0x1001a3cc
push ecx
mov dword [esi + 0x6bc], eax
call fcn.100086a0
mov edx, dword [esi + 0x6ac]
push 0x1001a3e8
push edx
mov dword [esi + 0x6c0], eax
call fcn.100086a0
mov dword [esi + 0x6c4], eax
mov eax, dword [esi + 0x6ac]
push 0x1001a404
push eax
call fcn.100086a0
mov ecx, dword [esi + 0x6ac]
push 0x1001a41c
push ecx
mov dword [esi + 0x6c8], eax
call fcn.100086a0
add esp, 0x40
push ebx
mov dword [esi + 0x6cc], eax
mov dword [esi + 0x2d4], ebx
mov dword [esi + 0x2d8], ebx
mov dword [esi + 0x2dc], ebx
mov byte [esi + 0x814], bl
mov dword [esi + 0x6ec], ebx
call dword [sym.imp.USER32.dll_GetDC]
push ebx
push ebx
push esi
push 0x10005cb0
push ebx
mov dword [esi + 0x6f0], eax
mov edi, 1
push ebx
mov byte [esi + 0x2e0], bl
mov dword [esi + 0x6e4], ebx
mov dword [esi + 0x6d4], 0x1e
mov dword [esi + 0x6d8], 0x2328
mov dword [esi + 0x6d0], edi
mov dword [esi + 0x6dc], ebx
mov dword [esi + 0x6e0], 0x18
call dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
push ebx
push esi
push 0x10006350
push ebx
push ebx
call fcn.1000958b
add esp, 0x18
mov dword [esi + 0x6e8], eax
mov dword [esi + 0x14], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10008b88
mov esp, ebp
pop ebp
ret