Function at 0x180006e90
Capabilities:
Check os version
Create thread

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x190
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180022250]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov r8, rdx
mov rbx, rcx
mov qword [rsp + 0x50], rcx
lea rax, vtable.CManager.0
mov qword [rcx], rax
mov qword [rcx + 8], rdx
mov rax, qword [rdx]
mov rdx, rcx
mov rcx, r8
call qword [rax + 0x18]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x18], rax
xor esi, esi
mov dword [rbx + 0x10], esi
lea rax, vtable.CH264ScreenManager.0
mov qword [rbx], rax
mov qword [rbx + 0x30], rsi
mov qword [rbx + 0x38], rsi
mov qword [rbx + 0x40], rsi
mov qword [rbx + 0x170], rsi
mov qword [rbx + 0x178], rsi
mov qword [rbx + 0x180], rsi
mov dword [rbx + 0x2c8], esi
mov dword [rbx + 0x2b0], 0x18
mov qword [rbx + 0x378], socket
mov qword [rbx + 0x370], rsi
mov byte [rbx + 0x360], sil
mov qword [rbx + 0x3a0], socket
mov qword [rbx + 0x398], rsi
mov byte [rbx + 0x388], sil
mov qword [rbx + 0x3c8], socket
mov qword [rbx + 0x3c0], rsi
mov byte [rbx + 0x3b0], sil
mov dword [rbx + 0x28], esi
xor edx, edx
mov r8d, 0x11c
lea rcx, [rsp + 0x60]
call fcn.18000dc20
mov dword [rsp + 0x60], 0x11c
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x180007089
cmp dword [rsp + 0x70], 2
jne 0x180007089
cmp dword [rsp + 0x64], 5
jbe 0x180007089
mov qword [rsp + 0x38], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x38]
lea edx, [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x180007089
mov dword [rsp + 0x30], esi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x19]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x18000707e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x18000707e
mov edx, dword [rsp + 0x30]
lea ecx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x18000707e
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x30]
mov r8, rdi
lea edx, [rsi + 0x19]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x180007075
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
movzx edx, byte [rax]
dec edx
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
mov ecx, dword [rax]
mov dword [rsp + 0x40], ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x40], 0x4000
jne 0x1800070a2
mov rcx, qword [rbx + 8]
mov rdx, qword [rcx]
call qword [rdx]
nop
jmp 0x180007229
call fcn.180009e70
mov qword [rbx + 0x790], rax
lea rdx, [0x18001d6e0]
mov rcx, rax
call fcn.18000a2d0
mov qword [rbx + 0x798], rax
lea rdx, [0x18001d6f8]
mov rcx, qword [rbx + 0x790]
call fcn.18000a2d0
mov qword [rbx + 0x7a0], rax
lea rdx, [0x18001d710]
mov rcx, qword [rbx + 0x790]
call fcn.18000a2d0
mov qword [rbx + 0x7a8], rax
lea rdx, [0x18001d728]
mov rcx, qword [rbx + 0x790]
call fcn.18000a2d0
mov qword [rbx + 0x7b0], rax
lea rdx, [0x18001d740]
mov rcx, qword [rbx + 0x790]
call fcn.18000a2d0
mov qword [rbx + 0x7b8], rax
lea rdx, [0x18001d760]
mov rcx, qword [rbx + 0x790]
call fcn.18000a2d0
mov qword [rbx + 0x7c0], rax
lea rdx, [0x18001d780]
mov rcx, qword [rbx + 0x790]
call fcn.18000a2d0
mov qword [rbx + 0x7c8], rax
lea rdx, str.x264_cpu_detect
mov rcx, qword [rbx + 0x790]
call fcn.18000a2d0
mov qword [rbx + 0x7d0], rax
mov qword [rbx + 0x320], rsi
mov qword [rbx + 0x328], rsi
mov qword [rbx + 0x330], rsi
mov byte [rbx + 0x930], 0
mov dword [rbx + 0x800], esi
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rbx + 0x808], rax
mov byte [rbx + 0x338], 0
mov dword [rbx + 0x7dc], 0x1e
mov dword [rbx + 0x7e0], 0x2328
mov dword [rbx + 0x7d8], 1
mov qword [rbx + 0x7e8], rsi
mov qword [rbx + 0x7f0], 0x18
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x180007260]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x180007980]
xor edx, edx
xor ecx, ecx
call fcn.18000b29c
mov qword [rbx + 0x7f8], rax
mov dword [rbx + 0x28], 1
mov rax, rbx
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.18000a890
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret