Function at 0x14002eac0
Capabilities:
Connect to wmi namespace via wbemlocator
Create process on windows
Get uefi variable
Log keystrokes via application hook
Print debug messages
Query or enumerate registry value
Resume thread
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4f8]
sub rsp, 0x5d0
mov qword [rbp + 0xd0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402da8d8]
xor rax, rsp
mov qword [rbp + 0x4c0], rax
mov rdi, rcx
lea rdx, str.c:_templog.txt
mov rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x14002eb16
mov r8d, eax
lea rcx, [0x1402ea890]
call fcn.1400054e0
lea rcx, str.CRtHDVBgProcWnd::Init__n
call fcn.1400056e0
lea rcx, str.CRtHDVBgProcWnd::Init__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor r14d, r14d
mov dword [0x1402e9d00], r14d
cmp dword [0x1402ea7c4], r14d
je 0x14002eb67
lea rcx, [rdi + 0x100]
call fcn.140047db0
test byte [rdi + 0xd6c], 4
je 0x14002eb7f
mov edx, 0x3ed
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, qword [0x1402ea880]
cmp dword [rcx - 0x10], r14d
je 0x14002ebab
add rcx, 0xffffffffffffffe8
call fcn.140004c20
add rax, 0x18
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x60]
call fcn.140013c50
jmp 0x14002fd9f
cmp qword [rdi + 0xec8], r14
jle 0x14002ebc0
lea rcx, [rdi + 0xeb0]
call fcn.14004c4ec
cmp dword [0x1402ea868], r14d
je 0x14002ed58
lea rcx, [rbp - 0x68]
call fcn.140012e90
nop
lea rdx, str.RealtekAudioHDA_
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x14002ebe1
mov r8d, eax
lea rcx, [rbp - 0x68]
call fcn.140004b30
lea rdx, str.RAVCpl64.exe
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x14002ec01
mov r8d, eax
lea rcx, [rbp - 0x68]
call fcn.140004b30
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x140030af1
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x10], rax
mov r8, qword [rbp - 0x68]
lea rdx, str.__s_
lea rcx, [rbp - 0x10]
call fcn.140004e30
mov r15, qword [rbp - 0x10]
lea rcx, [r15 - 0x18]
call fcn.140004c20
lea rdi, [rax + 0x18]
mov qword [rbp + 0x90], rdi
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x140030afc
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x30], rax
lea rbx, [0x140288cc4]
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.1400050a0
test al, al
jne 0x14002ecba
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14002eca0
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.1400054e0
nop
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov rbx, qword [rbp - 0x30]
mov r9, rbx
mov r8, rdi
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002ecf7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x90]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002ed18
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, esi
lock xadd dword [r15 - 8], eax
sub eax, 1
jg 0x14002ed34
mov rcx, qword [r15 - 0x18]
mov rax, qword [rcx]
lea rdx, [r15 - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14002fd9f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14002fd9f
cmp dword [0x1402ea86c], r14d
je 0x14002eedd
lea rcx, [rbp - 0x60]
call fcn.140012e90
nop
lea rdx, str.RealtekAudioHDA_
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14002ed80
mov r8d, eax
lea rcx, [rbp - 0x60]
call fcn.140004b30
lea rdx, str.EP64.exe
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x14002eda0
mov r8d, eax
lea rcx, [rbp - 0x60]
call fcn.140004b30
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x140030b07
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 8], rax
mov r8, qword [rbp - 0x60]
lea rdx, str.__s_
lea rcx, [rbp - 8]
call fcn.140004e30
mov r15, qword [rbp - 8]
lea rcx, [r15 - 0x18]
call fcn.140004c20
lea rdi, [rax + 0x18]
mov qword [rbp + 0x80], rdi
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x140030b12
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x28], rax
lea rbx, [0x140288cc4]
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.1400050a0
test al, al
jne 0x14002ee5a
mov rax, rsi
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14002ee40
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.1400054e0
nop
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov rbx, qword [rbp - 0x28]
mov r9, rbx
mov r8, rdi
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002ee97
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x80]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002eeb8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, esi
lock xadd dword [r15 - 8], eax
sub eax, 1
jg 0x14002eed4
mov rcx, qword [r15 - 0x18]
mov rax, qword [rcx]
lea rdx, [r15 - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x60]
jmp 0x14002ed38
mov r13d, 1
cmp dword [0x1402ea854], r14d
jne 0x14002ef10
cmp dword [0x1402ea858], r14d
jne 0x14002ef10
cmp dword [0x1402ea85c], r14d
jne 0x14002ef10
cmp dword [0x1402ea874], r14d
jne 0x14002ef10
cmp dword [0x1402ea870], r14d
je 0x14002ef17
mov dword [0x1402ea878], r13d
cmp dword [0x1402ea7bc], r14d
je 0x14002ef39
lea rcx, [rdi + 0xa60]
call fcn.140025e20
mov rcx, rdi
call fcn.1400407f0
jmp 0x14002fd9f
mov rcx, rdi
call fcn.140032df0
cmp dword [0x1402ea854], r14d
jne 0x14002ef82
cmp dword [0x1402ea858], r14d
jne 0x14002ef82
cmp dword [0x1402ea85c], r14d
jne 0x14002ef82
cmp dword [0x1402ea874], r14d
jne 0x14002ef82
cmp dword [0x1402ea870], r14d
je 0x14002f05b
test dword [rdi + 0xc74], 0x10000
je 0x14002f05b
lea rbx, [rdi + 0xa60]
lea rax, [rdi + 0xc38]
test rbx, rbx
je 0x14002efa8
test rax, rax
je 0x14002efa8
mov qword [rdi + 0x600], rbx
mov qword [rdi + 0x608], rax
call fcn.14005ce5c
test rax, rax
je 0x14002efc9
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
test rax, rax
je 0x14002efc9
mov rax, qword [rax + 0x40]
jmp 0x14002efcc
mov rax, r14
mov qword [rdi + 0xae8], rax
mov qword [rdi + 0xb00], rax
mov dword [0x1402ea5bc], r14d
mov qword [rdi + 0x620], r14
mov qword [0x1402ea548], rbx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
lea rcx, [0x1400409f0]
call fcn.14005cd14
mov r15, rax
test rax, rax
je 0x14002f05b
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, [rdi + 0x620]
mov r8, rbx
mov rdx, qword [r15 + 0x58]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [r15 + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test dword [rdi + 0xc50], 0x20000000
je 0x14002f2a5
cmp dword [0x1402ea830], r14d
jne 0x14002f081
cmp dword [0x1402ea844], r14d
je 0x14002f2a5
mov ecx, 0x30
call fcn.14004a560
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14002f0f9
mov qword [rax], r14
mov qword [rax + 8], r14
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x140030b1d
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbx + 0x28], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov qword [rbx + 0x20], r14
lea rdx, [0x140280a28]
mov rax, rsi
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x14002f0e0
mov r8d, eax
lea rcx, [rbx + 0x28]
call fcn.1400054e0
nop
jmp 0x14002f0fc
mov rbx, r14
test rbx, rbx
je 0x14002fd9f
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov edx, esi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [0x14021ac30]
mov r8d, r13d
xor edx, edx
lea rcx, [0x14021ac00]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea rdx, str.rootHPInstrumentedBIOS
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rbx]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x14002f1c8
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x14002f231
mov rcx, qword [rbx]
mov r10, qword [rcx]
lea rax, [rbx + 8]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.HPBIOS_BIOSSettingInterface
call qword [r10 + 0x30]
mov rcx, qword [rsp + 0x70]
test eax, eax
mov rax, qword [rcx]
jns 0x14002f1fe
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x14002f231
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, rbx
call fcn.14001be60
test eax, eax
je 0x14002f231
cmp dword [rbx + 0x14], 0
je 0x14002f231
mov rcx, qword [rbx + 0x28]
sub rcx, 0x18
call fcn.140004c20
add rax, 0x18
mov qword [rbp], rax
lea rdx, [rbp]
call fcn.1400411f0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14002f244
mov qword [rbx + 8], r14
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14002f255
mov qword [rbx], r14
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rdx, qword [rbx + 0x28]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14002f276
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14002f285
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14002f293
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edx, 0x30
mov rcx, rbx
call fcn.14000df20
jmp 0x14002fd9f
cmp dword [0x1402ea83c], r14d
je 0x14002f3cd
mov rcx, qword [rdi + 0x5b0]
test rcx, rcx
je 0x14002f2c6
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov qword [rdi + 0x5b0], r14
mov ecx, 0x138
call fcn.14004a560
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14002f2f1
mov r8b, 1
mov rdx, rdi
mov rcx, rax
call fcn.140022650
jmp 0x14002f2f4
mov rax, r14
mov qword [rdi + 0x5b0], rax
xor ecx, ecx
mov qword [rbp + 0x110], rcx
mov qword [rbp + 0x118], rcx
mov qword [rbp + 0x120], rcx
mov qword [rbp + 0x128], rcx
mov qword [rbp + 0x130], rcx
mov qword [rbp + 0x138], rcx
mov qword [rbp + 0x140], rcx
mov qword [rbp + 0x148], rcx
lea rdx, [rbp + 0x110]
mov rcx, rax
call fcn.140024490
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x140030b28
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 8], rax
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 8]
call fcn.140042c80
mov rbx, qword [rbp + 8]
lea rcx, [rbx - 0x18]
call fcn.140004c20
add rax, 0x18
mov qword [rbp + 0x10], rax
lea rdx, [rbp + 0x10]
call fcn.1400411f0
mov rcx, qword [rdi + 0x5b0]
test rcx, rcx
je 0x14002f3ac
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov qword [rdi + 0x5b0], r14
lock xadd dword [rbx - 8], esi
sub esi, 1
jg 0x14002fd9f
mov rcx, qword [rbx - 0x18]
lea rdx, [rbx - 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14002fd9f
cmp dword [0x1402ea84c], r14d
je 0x14002f60b
mov rcx, qword [rdi + 0x5b0]
test rcx, rcx
je 0x14002f3ee
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov qword [rdi + 0x5b0], r14
mov ecx, 0x138
call fcn.14004a560
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14002f419
mov r8b, 1
mov rdx, rdi
mov rcx, rax
call fcn.140022650
jmp 0x14002f41c
mov rax, r14
mov qword [rdi + 0x5b0], rax
xor ecx, ecx
mov qword [rbp + 0x150], rcx
mov qword [rbp + 0x158], rcx
mov qword [rbp + 0x160], rcx
mov qword [rbp + 0x168], rcx
mov qword [rbp + 0x170], rcx
mov qword [rbp + 0x178], rcx
mov qword [rbp + 0x180], rcx
mov qword [rbp + 0x188], rcx
lea rdx, [rbp + 0x150]
mov rcx, rax
call fcn.140024490
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x140030b33
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x58], rax
lea rdx, [rbp + 0x150]
lea rcx, [rbp - 0x58]
call fcn.140042c80
mov r15, qword [rbp - 0x58]
add r15, 0xffffffffffffffe8
mov rcx, r15
call fcn.140004c20
add rax, 0x18
mov qword [rbp + 0x18], rax
lea rdx, [rbp + 0x18]
call fcn.1400411f0
cmp eax, 1
jne 0x14002f4d2
lea rcx, str.CRtHDVBgProcWnd::Init_WriteR0Registry_true_n
call fcn.1400056e0
jmp 0x14002f59e
xor eax, eax
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rax
mov qword [rbp + 0x100], rax
mov dword [rbp + 0x108], eax
mov rdx, qword [rdi + 0xe80]
lea rcx, [rbp + 0x20]
call fcn.1400051a0
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x20]
call fcn.140016cd0
mov ebx, eax
mov edx, eax
lea rcx, str.first_time_getR0_d_n
call fcn.1400056e0
test ebx, ebx
je 0x14002f5d9
movups xmm0, xmmword [rbp + 0xf0]
movaps xmmword [rbp + 0xb0], xmm0
movsd xmm1, qword [rbp + 0x100]
movsd qword [rbp + 0xc0], xmm1
mov eax, dword [rbp + 0x108]
mov dword [rbp + 0xc8], eax
lea r8, [rbp + 0xb0]
lea rdx, [rbp - 0x58]
call fcn.140042590
mov r15, qword [rbp - 0x58]
add r15, 0xffffffffffffffe8
mov rcx, r15
call fcn.140004c20
add rax, 0x18
mov qword [rbp + 0x28], rax
lea rdx, [rbp + 0x28]
mov rcx, rdi
call fcn.1400428a0
mov rcx, r15
call fcn.140004c20
add rax, 0x18
mov qword [rbp + 0x30], rax
lea rdx, [rbp + 0x30]
call fcn.1400411f0
mov rcx, qword [rdi + 0x5b0]
test rcx, rcx
je 0x14002f5b9
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov qword [rdi + 0x5b0], r14
lock xadd dword [r15 + 0x10], esi
sub esi, 1
jg 0x14002fd9f
mov rcx, qword [r15]
mov rdx, r15
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14002fd9f
xor r9d, r9d
mov edx, 0x3ef
mov r8d, 0x4e20
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SetTimer]
nop
mov eax, esi
lock xadd dword [r15 + 0x10], eax
sub eax, 1
jg 0x14002f60b
mov rcx, qword [r15]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp dword [0x1402ea864], 0
je 0x14002f62c
xor r9d, r9d
mov edx, 0x3f0
mov r8d, 0x7530
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SetTimer]
cmp dword [0x1402ea840], 0
je 0x14002f6bc
call fcn.140041140
mov r9d, 0x104
lea r8, [rbp + 0x3b0]
lea rdx, str.DDE3B212_51F2_40C2_B51F_43268123D113
lea rcx, str.Real_AMP
call qword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableA]
test eax, eax
jne 0x14002f669
call qword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x140030b3e
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0x38], rax
lea rdx, [rbp + 0x3b0]
lea rcx, [rbp + 0x38]
call fcn.140042c80
mov rbx, qword [rbp + 0x38]
lea rcx, [rbx - 0x18]
call fcn.140004c20
add rax, 0x18
mov qword [rbp + 0x40], rax
lea rdx, [rbp + 0x40]
call fcn.1400411f0
nop
jmp 0x14002f3ac
cmp dword [0x1402ea848], 0
je 0x14002f99c
mov ecx, 0x30
call fcn.14004a560
mov rdi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14002f73f
mov qword [rax], r14
mov qword [rax + 8], r14
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x140030b49
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rdi + 0x28], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
mov qword [rdi + 0x20], r14
lea rdx, [0x140280a28]
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x14002f726
mov r8d, eax
lea rcx, [rdi + 0x28]
call fcn.1400054e0
nop
jmp 0x14002f742
mov rdi, r14
test rdi, rdi
je 0x14002fd9f
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov edx, esi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [0x14021ac30]
mov r8d, r13d
xor edx, edx
lea rcx, [0x14021ac00]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea rdx, str.rootWMI
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rdi]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x14002f82e
mov rcx, qword [rdi]
mov r10, qword [rcx]
lea rax, [rdi + 8]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.BIOSCtrl
call qword [r10 + 0x30]
test eax, eax
jns 0x14002f8f7
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x190]
call fcn.1401e67e0
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x140030b54
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x20], rbx
call fcn.140041140
mov r9d, 0x104
lea r8, [rbp + 0x190]
lea rdx, str.B870EF1B_1810_4A27_B2C3_EC2DCA72B027
lea rcx, str.RLKCODEC
call qword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableA]
test eax, eax
jne 0x14002f89e
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14002f8dc
lea rdx, [rbp + 0x190]
lea rcx, [rbp - 0x20]
call fcn.140042c80
xor edx, edx
lea r8d, [rdx + 2]
lea rcx, [rbp - 0x20]
call fcn.14002ddd0
mov rbx, qword [rbp - 0x20]
lea rcx, [rbx - 0x18]
call fcn.140004c20
add rax, 0x18
mov qword [rbp + 0x48], rax
lea rdx, [rbp + 0x48]
call fcn.1400411f0
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002f928
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14002f928
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, rdi
call fcn.140004660
mov rcx, qword [rdi + 0x28]
sub rcx, 0x18
call fcn.140004c20
add rax, 0x18
mov qword [rbp + 0x50], rax
lea rdx, [rbp + 0x50]
call fcn.1400411f0
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14002f93b
mov qword [rdi + 8], r14
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14002f94c
mov qword [rdi], r14
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rdx, qword [rdi + 0x28]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14002f96d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14002f97c
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14002f98a
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edx, 0x30
mov rcx, rdi
call fcn.14000df20
jmp 0x14002fd9f
cmp dword [0x1402ea850], 0
je 0x14002fb22
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x2a0]
call fcn.1401e67e0
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x140030b5f
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x60], rbx
call fcn.140041140
mov r9d, 0x104
lea r8, [rbp + 0x2a0]
lea rdx, str.B870EF1B_1810_4A27_B2C3_EC2DCA72B027
lea rcx, str.RLKCODEC
call qword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableA]
test eax, eax
jne 0x14002fa12
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14002fb19
lea rdx, [rbp + 0x2a0]
lea rcx, [rsp + 0x60]
call fcn.140042c80
mov qword [rbp + 0x68], r14
mov dword [rbp + 0x70], r14d
mov qword [rbp + 0x78], r14
mov r9d, 0x2001f
lea r8, str.SOFTWARERealtekRealtekEffectsDriver
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x68]
call fcn.14000ddf0
test eax, eax
je 0x14002fa9b
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, str.SOFTWARERealtekRealtekEffectsDriver
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x68]
call fcn.1400147b0
test eax, eax
je 0x14002fa9b
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x14002fa94
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x60]
jmp 0x14002fb19
mov rbx, qword [rsp + 0x60]
cmp dword [rbx - 8], 1
jle 0x14002fab8
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x60]
call fcn.1400052d0
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rbp + 0x68]
test rbx, rbx
je 0x14002faf5
mov rax, rsi
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x14002fac4
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, r13d
xor r8d, r8d
lea rdx, str.MAXIM_CAL
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rdi, rdi
je 0x14002fb0a
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r14
mov qword [rbp + 0x68], r14
test rdi, rdi
je 0x14002fb19
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, [rbx - 0x18]
jmp 0x14002ed3c
test byte [rdi + 0xd94], 1
je 0x14002fc26
mov r15d, r14d
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rdi + 0xe80]
lea rcx, [rbp - 0x80]
call fcn.1400051a0
nop
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x140030b6a
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x18], rax
lea rdx, [0x140288e64]
lea rcx, [rbp - 0x18]
call fcn.1400050a0
test al, al
jne 0x14002fb95
lea rdx, [0x140288e64]
lea rcx, [rbp - 0x18]
call fcn.140042c80
nop
lea rcx, [rbp - 0x80]
call fcn.14000d980
mov rbx, qword [rbp - 0x18]
test rbx, rbx
je 0x14002fbce
mov rcx, qword [rbp - 0x80]
cmp dword [rcx - 0x10], 0
jl 0x14002fbce
mov rdx, rbx
call fcn.1401e5cdc
test rax, rax
je 0x14002fbce
sub rax, qword [rbp - 0x80]
sar rax, 1
cmp eax, 0xffffffff
jne 0x14002fc63
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.140032df0
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002fbfc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002fc19
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc r15d
cmp r15d, 0xa
jl 0x14002fb40
mov eax, dword [rdi + 0xd68]
shr eax, 9
and eax, 1
mov dword [rdi + 0x1400], eax
cmp dword [0x1402ea7b0], 0
je 0x14002fdd1
mov eax, dword [rdi + 0xdd0]
bt eax, 0x16
jae 0x14002fc9c
mov r8d, r13d
mov dword [0x1402ea790], r13d
mov eax, dword [rdi + 0xdd0]
jmp 0x14002fca3
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002fc7d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002fc26
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14002fc26
mov r8d, dword [0x1402ea790]
mov ecx, dword [0x1402ea7a4]
test eax, eax
cmovs ecx, r13d
mov dword [0x1402ea7a4], ecx
mov eax, dword [rdi + 0xd00]
bt eax, 0x10
jae 0x14002fccd
mov dword [0x1402ea7cc], r13d
jmp 0x14002fd7e
mov edx, dword [rdi + 0xdd0]
test edx, 0xa000000
jne 0x14002fd77
bt edx, 0x12
jae 0x14002fcf1
mov dword [0x1402ea78c], r13d
jmp 0x14002fd7e
bt edx, 0x14
jae 0x14002fd00
mov dword [0x1402ea784], r13d
jmp 0x14002fd7e
test dword [rdi + 0xd64], 0x100
jne 0x14002fd6e
mov edx, dword [rdi + 0xd68]
test dl, 0x10
jne 0x14002fd6e
and eax, 0x800
je 0x14002fd30
cmp byte [rdi + 0xda4], 1
jne 0x14002fd30
mov dword [0x1402ea754], r13d
jmp 0x14002fd7e
test eax, eax
je 0x14002fd3d
mov dword [0x1402ea760], r13d
jmp 0x14002fd7e
test dl, 8
je 0x14002fd4b
mov dword [0x1402ea774], r13d
jmp 0x14002fd7e
test dl, 0x20
je 0x14002fd59
mov dword [0x1402ea77c], r13d
jmp 0x14002fd7e
test dword [rdi + 0xd54], 0x40000
je 0x14002fd7e
mov dword [0x1402ea768], r13d
jmp 0x14002fd7e
mov dword [0x1402ea770], r13d
jmp 0x14002fd7e
mov dword [0x1402ea798], r13d
test r8d, r8d
jne 0x14002fd97
test ecx, ecx
jne 0x14002fd97
lea rcx, [0x1402ea5c0]
call fcn.14002dd40
test eax, eax
je 0x14002fd9f
mov rcx, rdi
call fcn.140032170
xor eax, eax
mov rcx, qword [rbp + 0x4c0]
xor rcx, rsp
call fcn.1401e35b0
lea r11, [rsp + 0x5d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [0x1402ea5c0]
call fcn.14002dd40
test eax, eax
jne 0x14002fd97
cmp dword [0x1402ea790], eax
jne 0x14002fd97
cmp dword [0x1402ea7a4], eax
jne 0x14002fd97
cmp dword [0x1402ea7ac], eax
je 0x14002fe58
mov rdx, qword [rdi + 0xe80]
lea rcx, [rbp - 0x78]
call fcn.1400051a0
lea rax, [rbp - 0x78]
mov qword [rsp + 0x58], rax
mov dword [rbp - 0x50], r13d
movups xmm0, xmmword [0x1402821e0]
movaps xmmword [rbp + 0xe0], xmm0
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, r13d
mov r8d, 0x2f
lea rdx, [rbp + 0xe0]
mov rcx, qword [rbp - 0x78]
call fcn.140011360
nop
mov rdx, qword [rbp - 0x78]
jmp 0x14002ed38
mov dword [rdi + 0x7e0], 0x67
mov dword [rdi + 0x7e4], 0x66
cmp dword [0x1402ea7f4], 0
je 0x14002ff0b
add rdi, 0xa60
je 0x14002fd9f
call fcn.140046550
lea rcx, [rdi + 0x1a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [rdi + 0x138]
test esi, esi
je 0x14002fef9
cmp r14d, dword [rdi + 0x138]
jae 0x14002fef1
mov edx, r14d
lea rcx, [rdi + 0x120]
call fcn.14004bdbc
test rax, rax
je 0x140030b75
mov rbx, qword [rax + 0x10]
test rbx, rbx
je 0x14002fef1
mov rcx, qword [rbx]
sub rcx, 0x18
call fcn.140004c20
add rax, 0x18
mov qword [rbp + 0x58], rax
lea rcx, [rbp + 0x58]
call fcn.140046370
mov rcx, rbx
call fcn.1400460d0
inc r14d
cmp r14d, esi
jb 0x14002fea2
lea rcx, [rdi + 0x190]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x14002fd9f
cmp dword [0x1402ea818], 0
je 0x14002ff21
call fcn.140015600
test eax, eax
je 0x14002fd9f
cmp dword [0x1402ea828], 0
je 0x14002ff40
cmp dword [0x1402e9c8c], 0
je 0x14002ff40
call fcn.140015600
test eax, eax
je 0x14002fd9f
cmp dword [0x1402ea740], 0
je 0x14002ff7b
lea rbx, [0x1402db430]
mov r15d, 0x26
mov rdx, qword [rbx]
test rdx, rdx
je 0x14002ff6a
lea rcx, [rdi + 0xeb0]
call fcn.14004c364
add rbx, 8
sub r15, 1
jne 0x14002ff56
mov dword [rdi + 0x13cc], r13d
cmp dword [0x1402ea73c], 0
je 0x14002ff8c
mov rcx, rdi
call fcn.14003a430
cmp dword [0x1402ea7d8], 0
je 0x14002ffee
mov rcx, rdi
call fcn.14003a4c0
test dword [rdi + 0xcec], 0x20000000
je 0x14002ffdd
mov rcx, qword [rdi + 0x13b0]
test rcx, rcx
jne 0x14002ffc9
mov rcx, rdi
call fcn.14003a560
mov rcx, qword [rdi + 0x13b0]
test rcx, rcx
je 0x14002ffdd
mov rax, qword [rcx]
lea rdx, [rdi + 0xe8]
test rdi, rdi
cmove rdx, r14
call qword [rax + 0x28]
test byte [rdi + 0xd54], 0x80
je 0x14002ffee
mov rcx, rdi
call fcn.14003e140
cmp dword [0x1402ea7e0], 0
je 0x14003001d
mov dword [rdi + 0x13cc], r13d
mov rdx, qword [0x1402dbfb0]
test rdx, rdx
je 0x140030016
lea rcx, [rdi + 0xeb0]
call fcn.14004c364
mov dword [rdi + 0x13cc], r13d
cmp dword [0x1402ea7dc], 0
je 0x14003002d
mov dword [rdi + 0x13cc], r13d
cmp dword [0x1402ea744], 0
je 0x1400300cb
xor edx, edx
mov rcx, rdi
call fcn.14003a5e0
lea rcx, [rdi + 0xc00]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r15, qword [rdi + 0xb98]
mov ebx, r14d
test r15d, r15d
je 0x1400300be
cmp ebx, dword [rdi + 0xb98]
jae 0x1400300b7
mov edx, ebx
lea rcx, [rdi + 0xb80]
call fcn.14004bdbc
test rax, rax
je 0x140030b7b
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x1400300b7
cmp dword [rcx + 0x15c], 8
je 0x1400300b7
test dword [rcx + 0x174], 0x20000000
jne 0x1400300b2
test byte [rcx + 0x178], 1
je 0x1400300b7
test dword [rcx + 0x170], 0x800
je 0x1400300b7
call fcn.14000bcb0
inc ebx
cmp ebx, r15d
jb 0x140030060
lea rcx, [rdi + 0xbf0]
mov rax, qword [rcx]
call qword [rax + 0x28]
cmp dword [0x1402ea748], 0
je 0x140030177
mov edx, r13d
mov rcx, rdi
call fcn.14003a5e0
lea rcx, [rdi + 0xc00]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r15, qword [rdi + 0xb98]
mov ebx, r14d
test r15d, r15d
je 0x14003016a
nop
cmp ebx, dword [rdi + 0xb98]
jae 0x140030163
mov edx, ebx
lea rcx, [rdi + 0xb80]
call fcn.14004bdbc
test rax, rax
je 0x140030b81
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x140030163
cmp dword [rcx + 0x15c], 8
je 0x140030163
test dword [rcx + 0x174], 0x20000000
jne 0x140030152
test byte [rcx + 0x178], 1
je 0x140030163
test dword [rcx + 0x170], 0x800
je 0x140030163
test dword [rcx + 0x17c], 0x400
je 0x140030163
call fcn.14000c570
inc ebx
cmp ebx, r15d
jb 0x140030100
lea rcx, [rdi + 0xbf0]
mov rax, qword [rcx]
call qword [rax + 0x28]
cmp dword [0x1402ea74c], 0
je 0x1400301f0
xor edx, edx
mov rcx, rdi
call fcn.14003a5e0
lea rcx, [rdi + 0xc00]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r15, qword [rdi + 0xb98]
mov ebx, r14d
test r15d, r15d
je 0x1400301e3
cmp ebx, dword [rdi + 0xb98]
jae 0x1400301dc
mov edx, ebx
lea rcx, [rdi + 0xb80]
call fcn.14004bdbc
test rax, rax
je 0x140030b87
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x1400301dc
test byte [rcx + 0x174], 0x40
je 0x1400301dc
call fcn.14000ad80
inc ebx
cmp ebx, r15d
jb 0x1400301a6
lea rcx, [rdi + 0xbf0]
mov rax, qword [rcx]
call qword [rax + 0x28]
call fcn.14002dce0
test eax, eax
jne 0x140030209
cmp dword [0x1402ea758], eax
jne 0x140030209
cmp dword [0x1402ea82c], eax
je 0x140030211
mov rcx, rdi
call fcn.1400323c0
cmp dword [0x1402ea750], 0
je 0x140030307
mov dword [rdi + 0xea8], r13d
lea rbx, [0x1402dc040]
mov r15d, SafeArrayGetDim
mov rdx, qword [rbx]
test rdx, rdx
je 0x140030246
lea rcx, [rdi + 0xeb0]
call fcn.14004c364
add rbx, 8
sub r15, 1
jne 0x140030232
mov dword [rdi + 0x13cc], r13d
mov rdx, qword [rdi + 0xe80]
lea rcx, [rbp - 0x70]
call fcn.1400051a0
lea rax, [rbp - 0x70]
mov qword [rsp + 0x58], rax
mov rax, qword [rbp - 0x70]
lea rcx, [rax - 0x18]
mov rbx, qword [rdi + 0xfe0]
sub rbx, 0x18
cmp rcx, rbx
je 0x1400302e1
cmp dword [rbx + 0x10], r15d
jl 0x1400302ca
mov rdx, qword [rbx]
cmp qword [rcx], rdx
jne 0x1400302ca
call fcn.140004c20
mov r13, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x1400302b7
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [r13 + 0x18]
mov qword [rdi + 0xfe0], rax
mov r13d, 1
jmp 0x1400302dd
mov r8d, dword [rax - 0x10]
mov rdx, rax
lea rcx, [rdi + 0xfe0]
call fcn.1400054e0
mov rax, qword [rbp - 0x70]
lea rdx, [rax - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1400302f8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rdi + 0xff0], r13d
mov rcx, rdi
call fcn.14003dab0
cmp dword [0x1402ea7d0], 0
je 0x140030349
lea rcx, [rdi + 0x12d8]
call fcn.140044350
mov rax, qword [rdi + 0x1308]
test rax, rax
je 0x140030337
xor r8d, r8d
mov rdx, rdi
lea rcx, [0x14003eb90]
call rax
mov rcx, rdi
call fcn.14003ebb0
xor edx, edx
mov rcx, rdi
call fcn.14003d950
cmp dword [0x1402ea7d4], 0
je 0x1400305be
mov edx, r13d
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.USER32.dll_ChangeWindowMessageFilter]
movzx edx, word [rdi + 0xc3a]
cmp edx, 0x1025
je 0x14003039a
mov eax, 0x17aa
cmp dx, ax
jne 0x1400303a1
mov dword [0x1402ea544], 0xff
mov dword [0x1402ea540], 0x71
mov dword [rdi + 0x13a8], r13d
jmp 0x1400303a1
mov dword [rdi + 0x13ac], r13d
lea rcx, [rdi + 0xe18]
cmp dword [rcx], 0
jne 0x1400304b4
cmp dword [rdi + 0xe1c], 0
jne 0x1400304b4
cmp dword [rdi + 0xe20], 0
jne 0x1400304b4
cmp dword [rdi + 0xe24], 0
jne 0x1400304b4
mov ecx, dword [rdi + 0xde0]
mov eax, ecx
shr eax, 8
test ecx, ecx
je 0x140030406
movzx eax, al
mov dword [0x1402e9d1c], eax
movzx eax, cl
mov dword [0x1402e9d18], eax
mov rcx, rdi
call fcn.14003dfd0
jmp 0x140030596
test dword [rdi + 0xd64], 0x1000
je 0x14003042b
mov dword [0x1402ea544], 0xff
mov dword [0x1402ea540], 2
jmp 0x140030596
movzx eax, word [rdi + 0xc38]
shl edx, 0x10
or eax, edx
sub eax, 0x17aa215e
je 0x14003048b
sub eax, 0x5a
je 0x140030484
cmp eax, 0x17bd
jne 0x140030596
mov ecx, 0x4010
movzx eax, word [rdi + 0xc3c]
sub ax, cx
mov ecx, 0xfffd
test cx, ax
jne 0x140030596
mov dword [0x1402ea544], 0xff
mov dword [0x1402ea540], 0x71
jmp 0x140030596
mov ecx, 0x21bd
jmp 0x140030453
mov ecx, 0x21a3
movzx eax, word [rdi + 0xc3c]
sub ax, cx
cmp ax, 0x19
ja 0x140030596
mov ecx, 0x2800005
bt ecx, eax
jae 0x140030596
jmp 0x14003046b
mov dword [0x1402e9d04], r14d
mov edx, r14d
lea r9, [0x1402ea530]
sub r9, rdi
lea r10, [0x1402ea520]
sub r10, rdi
lea r11, [0x1402ea534]
sub r11, rdi
lea rbx, [0x1402ea524]
sub rbx, rdi
lea rsi, [0x1402ea538]
sub rsi, rdi
lea r15, [0x1402ea528]
sub r15, rdi
lea r12, [0x1402ea53c]
sub r12, rdi
lea r8, [0x1402ea52c]
sub r8, rdi
nop
movzx eax, byte [rcx + 1]
mov dword [r9 + rcx - 0xe18], eax
movzx eax, byte [rcx]
mov dword [r10 + rcx - 0xe18], eax
movzx eax, byte [rcx + 5]
mov dword [r11 + rcx - 0xe18], eax
movzx eax, byte [rcx + 4]
mov dword [rbx + rcx - 0xe18], eax
movzx eax, byte [rcx + 9]
mov dword [rsi + rcx - 0xe18], eax
movzx eax, byte [rcx + 8]
mov dword [r15 + rcx - 0xe18], eax
movzx eax, byte [rcx + 0xd]
mov dword [r12 + rcx - 0xe18], eax
movzx eax, byte [rcx + 0xc]
mov dword [r8 + rcx - 0xe18], eax
add edx, 4
lea rcx, [rcx + 0x10]
cmp edx, 4
jb 0x140030510
cmp dword [0x1402ea538], 0
jne 0x140030596
mov eax, r14d
cmp dword [0x1402ea53c], r14d
cmovne eax, r13d
mov dword [0x1402e9d04], eax
cmp qword [0x1402e9b68], 0
jne 0x1400305be
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14003dc30]
lea ecx, [r9 + 0xd]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x1402e9b68], rax
test dword [rdi + 0xcec], 0x8000
je 0x1400306a2
mov qword [rbp + 0x98], r14
mov dword [rbp + 0xa0], r14d
mov qword [rbp + 0xa8], r14
mov dword [rsp + 0x68], r14d
mov r9d, 0x2001f
lea r8, [0x140288e68]
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x98]
call fcn.14000ddf0
mov rbx, qword [rbp + 0x98]
test eax, eax
jne 0x140030687
mov dword [rbp - 0x48], 4
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x88]
xor r8d, r8d
lea rdx, str.Logoff
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x68], 2
jne 0x140030687
mov edx, r13d
mov rcx, rdi
call fcn.14003e370
mov dword [rbp - 0x40], r13d
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Logoff
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor edx, edx
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.WTSAPI32.dll_WTSRegisterSessionNotification]
nop
test rbx, rbx
je 0x1400306a2
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call fcn.140038930
cmp dword [0x1402ea740], 0
je 0x1400306bb
mov rcx, rdi
call fcn.140031c30
call fcn.14002dce0
test eax, eax
jne 0x1400306cc
cmp dword [0x1402ea758], eax
je 0x1400306d4
mov rcx, rdi
call fcn.140031f10
cmp dword [0x1402ea7e8], 0
je 0x1400306ec
mov dword [rdi + 0x13cc], r13d
mov rcx, rdi
call fcn.14003ec40
cmp dword [0x1402ea7ec], 0
jne 0x140030707
cmp dword [0x1402ea7f0], 0
jne 0x140030707
cmp dword [0x1402ea7c4], 0
je 0x14003070e
mov dword [rdi + 0x13cc], r13d
cmp dword [0x1402ea81c], 0
jne 0x140030729
cmp dword [0x1402ea800], 0
jne 0x140030729
lea r12, [rdi + 0xa60]
jmp 0x140030746
mov qword [rdi + 0xef8], rdi
lea r12, [rdi + 0xa60]
lea rdx, [rdi + 0xef0]
mov rcx, r12
call fcn.140025f40
cmp dword [0x1402ea7f8], 0
je 0x140030773
lea rcx, [rdi + 0xeb0]
lea rdx, [0x1402817e0]
call fcn.14004c364
mov dword [rdi + 0x13cc], r13d
xor edx, edx
mov rcx, r12
call fcn.140045be0
cmp dword [0x1402ea824], 0
je 0x140030787
mov edx, r13d
mov rcx, r12
call fcn.140045be0
cmp dword [0x1402ea80c], 0
je 0x140030801
lea rcx, [rdi + 0xc00]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [rdi + 0xb98]
mov edx, esi
lea rcx, str.CDtsUpc2PlusSetting::InitDefVol_Device_Count___d_n
call fcn.1400056e0
mov ebx, r14d
test esi, esi
je 0x1400307f4
cmp ebx, dword [rdi + 0xb98]
jae 0x1400307ee
mov edx, ebx
lea rcx, [rdi + 0xb80]
call fcn.14004bdbc
test rax, rax
je 0x140030aeb
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x1400307ee
cmp dword [rcx + 0x148], 0
je 0x1400307ee
call fcn.140019f40
inc ebx
cmp ebx, esi
jb 0x1400307b8
lea rcx, [rdi + 0xbf0]
mov rax, qword [rcx]
call qword [rax + 0x28]
cmp dword [rdi + 0x1018], 0
je 0x140030812
mov rcx, rdi
call fcn.140031960
cmp dword [0x1402ea800], 0
je 0x1400308bf
test byte [rdi + 0xce0], 8
je 0x1400308bf
mov rbx, qword [rdi + 0x40]
lea rcx, str.SkypeControlAPIAttach
call qword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [rdi + 0x13d0], eax
lea rcx, str.SkypeControlAPIDiscover
call qword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [rdi + 0x13d4], eax
mov qword [rdi + 0x13f8], rbx
mov rdx, rbx
lea rcx, str.CSkypeMgr::BroadCastSkypeControlAPIDiscoverMsgID__d_n
call fcn.1400056e0
xor r9d, r9d
mov r8, qword [rdi + 0x13f8]
mov edx, dword [rdi + 0x13d4]
mov ecx, 0xffff
call qword [sym.imp.USER32.dll_PostMessageW]
mov edx, 0x270f
lea rcx, str._tSet_Timer..._d_n
call fcn.1400056e0
xor r9d, r9d
mov edx, 0x270f
mov r8d, 0x3e8
mov rcx, qword [rdi + 0x13f8]
call qword [sym.imp.USER32.dll_SetTimer]
lea rcx, [rdi + 0x1408]
call fcn.140042a60
cmp dword [0x1402ea820], 0
je 0x14003092a
mov rcx, r12
call fcn.140026e00
test rax, rax
je 0x1400308e0
mov rdx, rax
mov rcx, rdi
call fcn.14003f3f0
mov dword [rdi + 0xea8], r13d
lea rsi, [0x1402dbfc0]
mov r15d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [rsi]
lea rbx, [rdi + 0xeb0]
test rdx, rdx
je 0x140030917
mov rcx, rbx
call fcn.14004c364
add rsi, 8
sub r15, 1
jne 0x140030900
mov dword [rdi + 0x13cc], r13d
jmp 0x140030931
lea rbx, [rdi + 0xeb0]
cmp dword [0x1402ea7a0], 0
je 0x14003096c
lea rbx, [rdi + 0xeb0]
lea rdx, [0x140281ba0]
mov rcx, rbx
call fcn.14004c364
mov dword [rdi + 0x13cc], r13d
mov rcx, r12
call fcn.140026ce0
test rax, rax
je 0x14003096c
mov rcx, rax
call fcn.140044610
cmp dword [0x1402ea810], 0
je 0x140030990
lea rdx, [0x140281ba0]
mov rcx, rbx
call fcn.14004c364
mov dword [rdi + 0x13cc], r13d
mov eax, r13d
jmp 0x140030996
mov eax, dword [rdi + 0x13cc]
test eax, eax
je 0x1400309b4
mov qword [rdi + 0xee8], rdi
lea rdx, [rdi + 0xea0]
lea rcx, [rdi + 0xa60]
call fcn.140025f40
mov rcx, rdi
call fcn.140031740
cmp dword [0x1402ea7b8], 0
je 0x1400309ea
cmp qword [0x1402e9b60], 0
jne 0x1400309ea
xor r8d, r8d
lea rdx, [0x1402765c8]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_RegisterPowerSettingNotification]
mov qword [0x1402e9b60], rax
mov eax, dword [0x1402ea7c0]
test eax, eax
je 0x140030a87
mov dword [0x1402e9d00], eax
mov qword [rdi + 0x618], r14
lea rbx, [rdi + 0xa60]
mov rcx, rbx
call fcn.140025e20
mov qword [0x1402ea548], rbx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
lea rcx, [0x140040ae0]
call fcn.14005cd14
mov rsi, rax
test rax, rax
je 0x140030a87
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, [rdi + 0x618]
mov r8, rbx
mov rdx, qword [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [0x1402ea874], 0
je 0x140030ae3
lea rcx, [rdi + 0xa60]
xor r8d, r8d
xor edx, edx
call fcn.140026a80
test byte [rax + 0x188], 8
jne 0x140030ab6
test dword [rax + 0x18c], 0x800000
je 0x140030ae3
lea rdx, str.DolbyEnable
lea rcx, [rsp + 0x50]
call fcn.1400051a0
lea r8, [rbp - 0x38]
mov rdx, rax
lea rcx, str.SOFTWAREDolbyDAX
call fcn.140012520
mov eax, dword [rbp - 0x38]
mov dword [rdi + 0x1424], eax
mov eax, r13d
jmp 0x14002fda1
call fcn.14004b6d4
nop
mov ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
int3
mov ecx, 0x80004005
call fcn.140005680
int3
mov ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
int3
mov ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
nop
call fcn.14004b6d4
int3
call fcn.14004b6d4
int3
call fcn.14004b6d4
int3
call fcn.14004b6d4
int3