Function at 0x14008a550
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x70
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov r12, r8
mov rsi, rdx
mov rbp, rcx
lea rcx, [rax - 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
xor r13d, r13d
mov qword [rsp + 0x30], r13
mov edi, r13d
call fcn.140129a50
mov rcx, rax
mov r8d, r13d
test rax, rax
setne r8b
test r8d, r8d
jne 0x14008a5b2
mov ecx, 0x80004005
call fcn.140002d80
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
mov rcx, qword [rbp + 0x70]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
call qword [rax + 0x48]
test eax, eax
js 0x14008a6fb
mov qword [rsp + 0x20], r13
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x20]
xor edx, edx
call qword [rax + 0x18]
mov rcx, r13
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14008a620
mov r9, qword [rax]
lea r8, [rsp + 0x28]
lea rdx, [0x140193518]
mov rcx, rax
call qword [r9]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14008a6d4
mov qword [rsp + 0x38], r13
mov rax, qword [rcx]
lea r8, [rsp + 0x38]
lea rdx, str.PRMSND_TBHD_Level
call qword [rax + 0x20]
test eax, eax
jne 0x14008a6ae
mov dword [rsp + 0xa8], r13d
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rsp + 0xa8]
call qword [rax + 0x38]
test eax, eax
je 0x14008a675
lea rcx, str._RTK__get_Value_PRMSND_TBHD_Level_fail_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edi, r13d
jmp 0x14008a6ae
mov r8d, dword [rsp + 0xa8]
lea rdx, str._RTK__get_Value_PRMSND_TBHD_Level_ok___val_d_r_n
lea rcx, [rsp + 0x40]
call fcn.140004be0
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edi, 1
mov eax, dword [rsp + 0xa8]
mov dword [rsi], eax
mov dword [r12], edi
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14008a6ca
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
jmp 0x14008a6d4
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14008a6e4
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14008a6f3
mov r8, qword [rax]
mov rcx, rax
call qword [r8 + 0x10]
test edi, edi
jne 0x14008a788
cmp dword [rbp + 0x38], 0
je 0x14008a76b
mov rcx, qword [rbp + 0x50]
mov rax, qword [rcx]
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.PRMSND_TBHD_Level
call qword [rax + 0x40]
test eax, eax
je 0x14008a76b
lea rcx, str._RTK__get_Property_PRMSND_TBHD_Level_fail_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [rsi], r13d
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14008a74b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14008a75c
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
xor eax, eax
jmp 0x14008a7c6
lea rcx, str._RTK__get_Property_PRMSND_TBHD_Level_ok_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r11d, dword [rsp + 0x58]
mov dword [rsi], r11d
mov dword [r12], 2
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14008a7a5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14008a7b6
mov rdx, qword [rcx]
call qword [rdx + 0x10]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, 1
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret