Function at 0x1400912d0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov rdi, r8
mov rbp, rdx
mov r14, rcx
call fcn.14013d07c
mov rcx, rax
xor r12d, r12d
mov eax, r12d
test rcx, rcx
setne al
test eax, eax
jne 0x14009132c
mov ecx, 0x80004005
call fcn.140001c00
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov eax, dword [rdi]
mov dword [rsp + 0x20], eax
mov r9, qword [rbp]
lea r8, str.CDtsHPSetting::GetModeSharingControlValue
lea rdx, str._HPX___s__s_val_d_r_n
lea rcx, [rsp + 0x50]
call fcn.140001f50
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [rdi], r12d
cmp dword [r14 + 0xc0], 0
jne 0x1400913bb
lea rdx, [rbx - 0x18]
or rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x140091397
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x1400913b4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x1400916a9
mov qword [rsp + 0x48], r12
mov r15d, r12d
mov rcx, qword [r14 + 0xe8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [rax + 0x48]
mov r13d, r12d
test eax, eax
setns r13b
or rsi, 0xffffffffffffffff
test r13d, r13d
je 0x140091579
mov qword [rsp + 0x30], r12
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
xor edx, edx
call qword [rax + 0x18]
mov rdi, r12
mov qword [rsp + 0x38], r12
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14009142f
mov rax, qword [rcx]
lea r8, [rsp + 0x38]
lea rdx, [0x1401b1198]
call qword [rax]
mov rcx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x140091552
mov qword [rsp + 0x40], r12
mov rax, qword [rbp]
cmp dword [rax - 8], 1
jle 0x140091452
mov edx, dword [rax - 0x10]
mov rcx, rbp
call fcn.140001e50
mov rax, qword [rdi]
lea r8, [rsp + 0x40]
mov rdx, qword [rbp]
mov rcx, rdi
call qword [rax + 0x20]
mov r11d, eax
mov rdx, qword [rbp]
test rdx, rdx
jne 0x140091475
mov ecx, r12d
jmp 0x14009148f
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
test ecx, ecx
js 0x140091547
cmp ecx, dword [rdx - 0xc]
jg 0x140091547
mov dword [rdx - 0x10], ecx
movsxd rcx, ecx
mov rax, qword [rbp]
mov word [rax + rcx*2], 0
mov r13d, r12d
test r11d, r11d
setns r13b
test r13d, r13d
je 0x14009151f
mov dword [rsp + 0xe8], r12d
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0xe8]
call qword [rax + 0x38]
mov r13d, r12d
test eax, eax
setns r13b
mov r15d, r13d
mov eax, r12d
test r13d, r13d
cmovne eax, dword [rsp + 0xe8]
mov rcx, qword [rsp + 0xe0]
mov dword [rcx], eax
mov rdx, rbp
lea rcx, [rsp + 0x70]
call fcn.140001cd0
mov dword [rsp + 0x20], r12d
mov r9d, dword [rsp + 0xe8]
mov r8d, r13d
mov rdx, rax
mov rcx, r14
call fcn.14008f850
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14009153b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
jmp 0x140091552
mov rcx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
jmp 0x140091552
mov ecx, 0x80070057
call fcn.140001c00
nop
test rdi, rdi
je 0x140091565
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140091570
mov rax, qword [rcx]
call qword [rax + 0x10]
test r15d, r15d
jne 0x14009165c
cmp dword [r14 + 0x38], 0
je 0x14009165c
lea rcx, [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov rdi, qword [r14 + 0xc8]
mov rax, qword [rbp]
cmp dword [rax - 8], 1
jle 0x1400915ac
mov edx, dword [rax - 0x10]
mov rcx, rbp
call fcn.140001e50
mov rax, qword [rdi]
lea r9, [rsp + 0x58]
xor r8d, r8d
mov rdx, qword [rbp]
mov rcx, rdi
call qword [rax + 0x40]
mov r11d, eax
mov rdx, qword [rbp]
test rdx, rdx
jne 0x1400915d2
mov ecx, r12d
jmp 0x1400915e8
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
test ecx, ecx
js 0x140091651
cmp ecx, dword [rdx - 0xc]
jg 0x140091651
mov dword [rdx - 0x10], ecx
movsxd rcx, ecx
mov rax, qword [rbp]
mov word [rax + rcx*2], 0
mov r13d, r12d
test r11d, r11d
setns r13b
test r13d, r13d
cmovne r12d, dword [rsp + 0x60]
mov rax, qword [rsp + 0xe0]
mov dword [rax], r12d
mov rdx, rbp
lea rcx, [rsp + 0x78]
call fcn.140001cd0
mov dword [rsp + 0x20], 1
mov r9d, dword [rsp + 0x60]
mov r8d, r13d
mov rdx, rax
mov rcx, r14
call fcn.14008f850
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x14009165c
mov ecx, 0x80070057
call fcn.140001c00
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14009166d
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140091689
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x1400916a6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r13d
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret