Function at 0x1400613f0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov r12, r8
mov rsi, rdx
mov r13, rcx
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x1400617b4
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 9], rax
mov eax, dword [r12]
mov dword [rsp + 0x20], eax
mov r9, qword [rsi]
lea r8, str.CDtsHPSetting::GetModeSharingControlValue
lea rdx, str._HPX___s__s_val_d_r_n
lea rcx, [rbp - 9]
call fcn.14000dd70
mov rdi, qword [rbp - 9]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor r14d, r14d
mov dword [r12], r14d
cmp dword [r13 + 0xc4], r14d
jne 0x1400614dc
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguidtshpsetting.cpp
mov edx, 0x2d9
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
nop
lea rdx, [rdi - 0x18]
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400614bb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400614d5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x140061783
mov qword [rbp - 0x19], r14
mov dword [rbp - 0x39], r14d
mov rcx, qword [r13 + 0xe8]
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
call qword [rax + 0x48]
mov r15d, r14d
test eax, eax
setns r15b
test eax, eax
js 0x14006165b
mov qword [rbp - 0x31], r14
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
lea r8, [rbp - 0x31]
xor edx, edx
call qword [rax + 0x18]
mov rbx, r14
mov qword [rbp - 0x29], rbx
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x14006154c
mov rax, qword [rcx]
lea r8, [rbp - 0x29]
lea rdx, [0x1403326b0]
call qword [rax]
mov rbx, qword [rbp - 0x29]
test eax, eax
cmovs rbx, r14
mov qword [rbp - 0x29], rbx
mov rcx, qword [rbp - 0x31]
test rbx, rbx
je 0x140061634
mov qword [rbp - 0x21], r14
mov rax, qword [rsi]
cmp dword [rax - 8], 1
jle 0x14006156d
mov edx, dword [rax - 0x10]
mov rcx, rsi
call fcn.14000da70
mov rax, qword [rbx]
lea r8, [rbp - 0x21]
mov rdx, qword [rsi]
mov rcx, rbx
call qword [rax + 0x20]
mov ebx, eax
mov rcx, qword [rsi]
test rcx, rcx
jne 0x14006158c
mov eax, r14d
jmp 0x14006159d
movsxd rdx, dword [rcx - 0xc]
call fcn.140289b40
test eax, eax
js 0x14006179e
mov rcx, qword [rsi]
cmp eax, dword [rcx - 0xc]
jg 0x14006179e
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rsi]
mov word [rax + rcx*2], r14w
mov r15d, r14d
test ebx, ebx
setns r15b
test ebx, ebx
js 0x14006161d
mov dword [rbp + 0x7f], r14d
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
lea rdx, [rbp + 0x7f]
call qword [rax + 0x38]
mov r15d, r14d
test eax, eax
setns r15b
mov dword [rbp - 0x39], r15d
mov ecx, r14d
test eax, eax
cmovns ecx, dword [rbp + 0x7f]
mov dword [r12], ecx
mov rcx, qword [rsi]
sub rcx, 0x18
call fcn.140014810
add rax, 0x18
mov qword [rbp - 0x11], rax
mov dword [rsp + 0x20], r14d
mov r9d, dword [rbp + 0x7f]
mov r8d, r15d
lea rdx, [rbp - 0x11]
mov rcx, r13
call fcn.1400600a0
nop
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x14006162c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x31]
mov rbx, qword [rbp - 0x29]
test rbx, rbx
je 0x140061646
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140061651
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp dword [rbp - 0x39], 0
jne 0x140061736
cmp dword [r13 + 0x38], 0
je 0x140061736
xor eax, eax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 1]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [r13 + 0xc8]
mov rax, qword [rsi]
cmp dword [rax - 8], 1
jle 0x14006169a
mov edx, dword [rax - 0x10]
mov rcx, rsi
call fcn.14000da70
mov rax, qword [rbx]
lea r9, [rbp - 1]
xor r8d, r8d
mov rdx, qword [rsi]
mov rcx, rbx
call qword [rax + 0x40]
mov ebx, eax
mov rcx, qword [rsi]
test rcx, rcx
jne 0x1400616bc
mov eax, r14d
jmp 0x1400616cd
movsxd rdx, dword [rcx - 0xc]
call fcn.140289b40
test eax, eax
js 0x1400617a9
mov rcx, qword [rsi]
cmp eax, dword [rcx - 0xc]
jg 0x1400617a9
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rsi]
mov word [rax + rcx*2], r14w
mov r15d, r14d
test ebx, ebx
setns r15b
test ebx, ebx
cmovns r14d, dword [rbp + 7]
mov dword [r12], r14d
mov rcx, qword [rsi]
sub rcx, 0x18
call fcn.140014810
add rax, 0x18
mov qword [rbp - 0x39], rax
mov dword [rsp + 0x20], 1
mov r9d, dword [rbp + 7]
mov r8d, r15d
lea rdx, [rbp - 0x39]
mov rcx, r13
call fcn.1400600a0
nop
lea rcx, [rbp - 1]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x140061746
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea rdx, [rdi - 0x18]
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140061765
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140061780
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, r15d
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80070057
call fcn.14000dc70
nop
mov ecx, 0x80070057
call fcn.14000dc70
nop
mov ecx, 0x80004005
call fcn.14000dc70
int3