Function at 0x140036ff0
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, rdx
mov r14d, ecx
lea r13, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tosnotifyeventreader_toseventreaderlib_toseventreader.cpp
lea r15, [0x1402a214c]
lea rcx, [rbp - 0x49]
mov qword [rbp - 0x49], r13
mov qword [rbp - 0x31], r15
test rdx, rdx
jne 0x140037073
mov dword [rbp - 0x41], 0xf
lea rax, str.__TosEventReader::AddNotifyEventMonitor_
mov qword [rbp - 0x39], rax
xor ebx, ebx
mov dword [rbp - 0x29], ebx
mov r8d, 0x80070057
lea rdx, str.Error_Code:_0x_x
call fcn.140008d50
mov eax, 0x80070057
jmp 0x140037333
mov dword [rbp - 0x41], 0x10
lea rbx, str.__TosEventReader::AddNotifyEventMonitor_
mov qword [rbp - 0x39], rbx
mov dword [rbp - 0x29], 3
mov r9d, r14d
lea r8, str.ulNotifyCode
lea rdx, str._s___d
call fcn.140008d50
mov rdx, qword [0x1416ba030]
mov rcx, rdx
mov rax, qword [rdx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400370d9
cmp dword [rax + 0x20], r14d
jae 0x1400370c2
mov rax, qword [rax + 0x10]
jmp 0x1400370c8
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400370b6
cmp rcx, rdx
je 0x1400370d9
cmp r14d, dword [rcx + 0x20]
jae 0x1400370dc
mov rcx, rdx
cmp rcx, rdx
je 0x140037116
mov edi, 0x80004005
mov qword [rbp - 0x49], r13
mov dword [rbp - 0x41], SafeArrayUnaccessData
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], r15
xor ebx, ebx
mov dword [rbp - 0x29], ebx
mov r8d, edi
lea rdx, str.Error_Code:_0x_x
lea rcx, [rbp - 0x49]
call fcn.140008d50
jmp 0x140037331
mov ecx, 0x40
call fcn.1400729ec
mov rsi, rax
mov qword [rbp + 0x6f], rax
lea rax, vtable.CEventReader.0
mov qword [rsi], rax
lea rax, vtable.CTvalzDriver.0
mov qword [rsi + 8], rax
xor ebx, ebx
mov qword [rsi + 0x10], rbx
mov dword [rsi + 0x1c], r14d
mov qword [rsi + 0x20], rbx
mov dword [rsi + 0x28], ebx
mov qword [rsi + 0x38], rdi
mov rax, qword [rsi + 8]
lea rdx, str..TVALZ
lea rcx, [rsi + 8]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, 0x80004005
test al, al
jne 0x1400371bb
mov rax, qword [rsi + 8]
lea rdx, str..DVALZ
lea rcx, [rsi + 8]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
jne 0x1400371bb
lea r12, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tosnotifyeventreader_toseventreaderlibeventreader.cpp
mov qword [rbp - 0x49], r12
mov dword [rbp - 0x41], 0x2a
lea rax, str.__CEventReader::Initialize_
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], r15
mov dword [rbp - 0x29], ebx
mov r8d, edi
lea rdx, str.Error_Code:_0x_x
lea rcx, [rbp - 0x49]
call fcn.140008d50
jmp 0x1400371c6
mov qword [rsi + 0x30], rbx
lea r12, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tosnotifyeventreader_toseventreaderlibeventreader.cpp
lea r8, str.CEventReader::StartMonitorEvent
mov qword [rbp - 0x11], r8
mov qword [rbp - 9], r12
mov dword [rbp - 1], reloc.OLEAUT32.dll_VarBstrFromDisp
lea rax, str.__CEventReader::StartMonitorEvent_
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], r15
mov dword [rbp + 0x17], 3
lea rdx, str.ENTER__s
lea rcx, [rbp - 9]
call fcn.140008d50
nop
mov byte [rsi + 0x18], 0
mov rax, qword [rsi + 0x30]
test rax, rax
jne 0x14003725e
mov r8, rsi
xor edx, edx
lea rcx, [0x140038160]
call fcn.140207a10
mov qword [rsi + 0x30], rax
mov qword [rbp - 0x49], r12
mov dword [rbp - 0x41], 0x79
lea rax, str.__CEventReader::StartMonitorEvent_
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], r15
mov dword [rbp - 0x29], 2
mov r8d, dword [rsi + 0x1c]
lea rdx, str.Start_to_monitor_notify_event_0x_x.
lea rcx, [rbp - 0x49]
call fcn.140008d50
mov rax, qword [rsi + 0x30]
cmp rax, 0xffffffffffffffff
jne 0x1400372a0
mov dword [rbp - 0x41], 0x7b
lea rax, str.c:users_scddocumentsmyworkproject__dynabooksystemdriverdsd_for_tos6208_v6dsd_branch_dev_6.01.0029.xxcentennial_rs5dynabookecoservice_tosnotifyeventreader_toseventreaderlibeventreader.cpp
mov qword [rbp - 0x49], rax
mov r12d, edi
lea rax, str.__CEventReader::StartMonitorEvent_
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], r15
mov dword [rbp - 0x29], ebx
mov r8d, edi
lea rdx, str.Error_Code:_0x_x
lea rcx, [rbp - 0x49]
call fcn.140008d50
jmp 0x1400372b1
test rax, rax
jne 0x1400372ae
mov dword [rbp - 0x41], 0x7c
jmp 0x14003726b
mov r12d, ebx
mov r8, qword [rbp - 0x11]
lea rdx, str.LEAVE__s
lea rcx, [rbp - 9]
call fcn.140008d50
test r12d, r12d
jns 0x14003730c
mov edi, r12d
mov qword [rbp - 0x49], r13
mov dword [rbp - 0x41], 0x19
lea rax, str.__TosEventReader::AddNotifyEventMonitor_
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], r15
mov dword [rbp - 0x29], ebx
mov r8d, r12d
lea rdx, str.Error_Code:_0x_x
lea rcx, [rbp - 0x49]
call fcn.140008d50
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
jmp 0x140037331
mov dword [rbp - 0x21], r14d
mov qword [rbp - 0x19], rsi
lea rdx, [rbp - 0x21]
call fcn.140037a00
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x27]
call fcn.140037a40
mov edi, ebx
mov eax, edi
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret