Function at 0x14001ce90
Capabilities:
Check os version
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov rsi, rcx
call fcn.1401e00a4
nop
lea rax, [0x140261da8]
mov qword [rsi], rax
lea rax, [0x140261d88]
mov qword [rsi + 0x210], rax
xor r12d, r12d
mov qword [rsi + 0x228], r12
mov qword [rsi + 0x230], r12
mov qword [rsi + 0x220], r12
mov qword [rsi + 0x218], r12
mov qword [rsi + 0x238], r12
mov qword [rsi + 0x240], 0xa
lea rdi, [rsi + 0x248]
mov qword [rsp + 0xb8], rdi
xor edx, edx
mov rcx, rdi
call fcn.1401f0528
nop
lea rax, [0x140262040]
mov qword [rdi], rax
mov rcx, rdi
call fcn.140027a50
test eax, eax
jne 0x14001cf3d
call fcn.1401e77f0
nop
lea rdi, [rsi + 0x2b8]
mov qword [rsp + 0xb8], rdi
mov rcx, rdi
call fcn.140131a60
nop
lea rax, [0x14027db58]
mov qword [rdi], rax
lea rcx, [rdi + 0xa0]
mov edx, 0xa
call fcn.1401ee2fc
nop
lea rbx, [rsi + 0x390]
mov qword [rsp + 0xb8], rbx
mov qword [rbx + 8], r12
lea rax, [0x140262a38]
mov qword [rbx], rax
lea rcx, [rbx + 0x10]
call fcn.1401f0f80
lea r11, [0x140262aa0]
mov qword [rbx + 0x10], r11
lea rcx, [rbx + 0x38]
call fcn.1401f0f80
lea r11, [0x140262ac0]
mov qword [rbx + 0x38], r11
mov dword [rbx + 0x84], r12d
mov dword [rbx + 0x68], r12d
or rbp, 0xffffffffffffffff
mov dword [rbx + 0x7c], ebp
mov dword [rbx + 0x80], ebp
mov qword [rbx + 0x70], r12
mov dword [rbx + 0x78], r12d
mov dword [rbx + 0x60], 0xc0c0c0
mov dword [rbx + 0x64], r12d
lea rdx, [0x140310e70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCPInfo]
mov dword [rbx + 0x88], r12d
lea rcx, [rsi + 0x420]
call fcn.1401edb28
nop
mov edx, 0x1d3
lea rcx, [rsi + 0x430]
call fcn.140148fe0
lea r11, [0x140292608]
mov qword [rsi + 0x430], r11
lea rax, vtable._s_r__I7__ck_y._NJM_mkf_t__b_vM___GspL_HlsXruf:ZaVWI_fXz_mzgJen1.0
mov qword [rsi + 0x518], rax
mov dword [rsi + 0x710], 0x816
mov dword [rsi + 0x714], r12d
call fcn.1401e9268
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x14001d062
mov ecx, 0x80004005
call fcn.140003c70
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi + 0x720], rax
lea rbx, [rsi + 0x728]
mov qword [rsp + 0xb8], rbx
mov edx, 0xa
mov rcx, rbx
call fcn.1401e74bc
lea rcx, [0x14027db20]
mov qword [rbx], rcx
lea rcx, [rbx + 0x38]
mov edx, 0xa
call fcn.1401ee2fc
nop
mov edx, 0xa
lea rcx, [rbx + 0x70]
call fcn.1401e74bc
lea r11, [0x14027dda8]
mov qword [rbx + 0x70], r11
mov qword [rbx + 0xa8], r12
mov qword [rbx + 0xb0], r12
mov dword [rbx + 0xb8], r12d
mov qword [rbx + 0xc0], r12
lea rcx, [rsi + 0x7f8]
call fcn.14019b8b0
nop
mov byte [rsi + 0x48], 1
mov qword [rsi + 0xc0], r12
mov qword [rsi + 0xc8], r12
mov qword [rsi + 0xa8], r12
mov dword [rsi + 0xd0], r12d
mov dword [rsi + 0xd4], r12d
mov dword [rsi + 0x2a0], ebp
mov qword [rsi + 0x298], r12
mov dword [rsi + 0xd8], r12d
mov dword [rsi + 0x2a4], r12d
mov dword [rsi + 0x2a8], r12d
mov dword [rsi + 0x2ac], r12d
mov dword [rsi + 0x2b0], r12d
mov qword [rsi + 0x1e0], r12
mov qword [rsi + 0x1e8], r12
mov qword [rsi + 0x1f0], r12
mov qword [rsi + 0x208], r12
mov qword [rsi + 0x200], r12
mov qword [rsi + 0x288], r12
mov qword [rsi + 0x280], r12
mov qword [rsi + 0x290], r12
mov dword [rsi + 0xdc], r12d
mov eax, dword [0x140311024]
test eax, eax
jne 0x14001d1aa
mov dword [0x140311020], 0x114
lea rcx, [0x140311020]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [0x140311024]
cmp eax, 6
jne 0x14001d1bf
cmp dword [0x140311028], 0
jne 0x14001d1bf
mov eax, 1
jmp 0x14001d1c2
mov eax, r12d
mov dword [rsi + 0x718], eax
mov dword [rsi + 0x7f0], r12d
mov dword [rsi + 0x7f4], r12d
mov dword [rsi + 0xb0], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1401e62a4
mov rbx, rax
call fcn.1401e9268
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x14001d212
mov ecx, 0x80004005
call fcn.140003c70
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0xb8], rdi
test rbx, rbx
je 0x14001d275
test rbx, 0xffffffffffff0000
jne 0x14001d261
movzx ebx, bx
mov ecx, ebx
call fcn.1401eb134
test rax, rax
je 0x14001d293
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.1400074b0
mov rdi, qword [rsp + 0xb8]
jmp 0x14001d293
xor eax, eax
mov rcx, rbp
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
jmp 0x14001d278
mov ecx, r12d
mov r8d, ecx
mov rdx, rbx
lea rcx, [rsp + 0xb8]
call fcn.140007720
mov rdi, qword [rsp + 0xb8]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0x80000000
lea r9, str.Realtek_HD_Audio_CPL_for_Vista
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.1401e4b80
lea rcx, [0x140310fe0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rbx, [rsi + 0xe0]
mov r12d, 0x20
nop
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx], rax
add rbx, 8
sub r12, 1
jne 0x14001d2f0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
lea r8d, [r12 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0x1e0], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0x1e8], rax
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
lea rcx, [0x140020410]
call fcn.1401eacc4
mov r12, rax
test rax, rax
jne 0x14001d389
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x14001d568
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14001d568
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov dword [rsp + 0x30], 2
xor eax, eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
lea r9, [rsi + 0x1f0]
mov r8, rbx
mov rdx, qword [r12 + 0x58]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [r12 + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0x1f8], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0x200], rax
xor r14d, r14d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
lea rcx, [0x140022f90]
call fcn.1401eacc4
mov r12, rax
test rax, rax
jne 0x14001d44a
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x14001d568
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14001d568
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
lea r9, [rsi + 0x208]
mov r8, rbx
mov rdx, qword [r12 + 0x58]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [r12 + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0x280], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0x288], rax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
lea rcx, [0x140023190]
call fcn.1401eacc4
mov r12, rax
test rax, rax
jne 0x14001d501
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x14001d568
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14001d568
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
lea r9, [rsi + 0x290]
mov r8, rbx
mov rdx, qword [r12 + 0x58]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [r12 + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call fcn.140021440
nop
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x14001d568
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, rsi
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret