Function at 0x140044aa4
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rdi, r9
mov r12, r8
mov rsi, rdx
mov r15, qword [0x14009b3b0]
xor r14d, r14d
mov dword [rsp + 0x50], r14d
mov ebx, r14d
mov byte [rbp + 0x67], r14b
lea r8, str.CVdsCallbackObject::Advise__
lea r13d, [r14 + 0x5e]
mov edx, r13d
lea rcx, [rbp + 0xf]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::constructor_unsigned_long_int__char_const____ptr64____ptr64]
nop
xor edx, edx
lea r8d, [r14 + 0x58]
lea rcx, [rbp - 0x59]
call sub.msvcrt.dll_memset
lea rax, [r15 + 0x78]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.vdsutil.dll_public:_class_CRtlListIter___cdecl_CRtlList::End_void____ptr64]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x79], xmm0
lea rax, [r15 + 0x48]
mov qword [rbp - 0x69], rax
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop
test rsi, rsi
je 0x140044fb5
test r12, r12
je 0x140044fb5
test rdi, rdi
je 0x140044fb5
mov dword [rdi], r14d
mov ecx, 0x3a98
call fcn.14004b320
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140044bba
xor edx, edx
mov r8d, 0x3840
mov rcx, rax
call sub.msvcrt.dll_memset
or eax, 0xffffffff
mov dword [rdi + 0x3a20], eax
mov dword [rdi + 0x3a24], eax
mov qword [rdi + 0x3a90], r14
mov qword [rdi + 0x3a28], r14
mov qword [rdi + 0x3a30], r14
jmp 0x140044bbd
mov rdi, r14
mov qword [rbp - 0x49], rdi
test rdi, rdi
jne 0x140044bed
mov ebx, 0x8007000e
mov r9d, ebx
lea r8, str.CVdsCallbackObject::Advise__2_error_lX
xor edx, edx
mov ecx, r13d
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
mov r14, qword [rbp - 0x39]
mov r13, qword [rbp - 0x41]
jmp 0x140044ff7
lea r8, str.CVdsMessageQueue::Initialize__
mov edx, r13d
lea rcx, [rsp + 0x40]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::constructor_unsigned_long_int__char_const____ptr64____ptr64]
nop
lea rcx, [rdi + 0x3a40]
call qword [sym.imp.vdsutil.dll_VdsInitializeCriticalSection]
mov esi, eax
test eax, eax
je 0x140044c23
lea rcx, [rsp + 0x40]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
jmp 0x140044c58
mov dword [rdi + 0x3a90], 1
lea rcx, [rdi + 0x3a68]
call qword [sym.imp.vdsutil.dll_VdsInitializeCriticalSection]
mov esi, eax
test eax, eax
jne 0x140044c16
mov dword [rdi + 0x3a94], 1
lea rcx, [rsp + 0x40]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
mov esi, r14d
test esi, esi
je 0x140044cd1
movzx ebx, si
or ebx, 0x80070000
test esi, esi
cmovle ebx, esi
mov r9d, ebx
lea r8, str.CVdsCallbackObject::Advise__3_error_lX
xor edx, edx
mov ecx, r13d
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
mov r14, qword [rbp - 0x39]
mov r13, qword [rbp - 0x41]
mov rsi, qword [rbp + 0x6f]
test ebx, ebx
jns 0x140045095
cmp dword [rsp + 0x50], 1
jne 0x140044ff7
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.vdsutil.dll_public:_class_CRtlEntry____ptr64___cdecl_CRtlListIter::GetEntry_void____ptr64]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
test rax, rax
jne 0x140044fef
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CRtlList::Remove_class_CRtlListIter____ptr64____ptr64]
jmp 0x140044ff7
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov r13, rax
mov qword [rbp - 0x41], rax
test rax, rax
jne 0x140044d1f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov r9d, ebx
lea r8, str.CVdsCallbackObject::Advise__4_error_lX
xor edx, edx
lea ecx, [rdx + 0x5e]
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
mov r14, qword [rbp - 0x39]
jmp 0x140044c87
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov r14, rax
mov qword [rbp - 0x39], rax
test rax, rax
jne 0x140044d69
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
lea r8, str.CVdsCallbackObject::Advise__5_error_lX
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov r9d, ebx
xor edx, edx
lea ecx, [rdx + 0x5e]
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
jmp 0x140044c87
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov qword [rbp - 0x29], rax
test rax, rax
jne 0x140044d91
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
lea r8, str.CVdsCallbackObject::Advise__6_error_lX
jmp 0x140044d48
mov qword [rbp - 0x59], r12
mov eax, dword [r15 + 0x98]
mov dword [rbp - 0x51], eax
mov dword [rbp - 0x21], 0x80004005
mov qword [rbp - 0x19], r15
and dword [rbp - 0x11], 0
mov rcx, qword [rbp + 0x6f]
mov qword [rbp - 9], rcx
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140051cd0]
mov byte [rbp + 0x67], 1
lea rdx, [rbp - 0x59]
lea rcx, [r15 + 0x78]
call fcn.1400446a4
lea rdx, [rsp + 0x40]
lea rcx, [r15 + 0x78]
call qword [sym.imp.vdsutil.dll_public:_class_CRtlListIter___cdecl_CRtlList::End_void____ptr64]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x79], xmm0
lea rcx, [rbp - 0x79]
call qword [sym.imp.vdsutil.dll_public:_class_CRtlListIter____ptr64___cdecl_CRtlListIter::Prev_void____ptr64]
mov dword [rsp + 0x50], 1
lea rcx, [rbp - 0x79]
call qword [sym.imp.vdsutil.dll_public:_void____ptr64___cdecl_CRtlListIter::GetEntryPointer_void____ptr64]
mov rsi, rax
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400447d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rsi + 0x28], rax
test rax, rax
jne 0x140044e46
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
lea r8, str.CVdsCallbackObject::Advise__7_error_lX
jmp 0x140044d48
or edx, 0xffffffff
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
test eax, eax
je 0x140044eb1
cmp eax, 0x80
je 0x140044e84
mov esi, 0x102
cmp eax, esi
je 0x140044e7b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
mov r9d, eax
lea r8, str.CVdsCallbackObject::Advise__8__error_ld
jmp 0x140044e93
lea r8, str.CVdsCallbackObject::Advise__10__state_ld
jmp 0x140044e90
mov esi, 0x2df
lea r8, str.CVdsCallbackObject::Advise__9__state_ld
mov r9d, esi
xor edx, edx
lea ecx, [rdx + 0x5e]
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
movzx ebx, si
or ebx, 0x80070000
test esi, esi
cmovle ebx, esi
jmp 0x140044c87
cmp dword [rsi + 0x38], 0
jge 0x140044f68
mov ebx, dword [rsi + 0x38]
mov r9d, ebx
lea r8, str.CVdsCallbackObject::Advise__11_error_lX
xor edx, edx
lea ecx, [rdx + 0x5e]
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
test eax, eax
jne 0x140044ef2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
lea r8, str.CVdsCallbackObject::Advise__12_error_lX
jmp 0x140044d48
or edx, 0xffffffff
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
test eax, eax
je 0x140044c87
cmp eax, 0x80
je 0x140044f35
mov esi, 0x102
cmp eax, esi
je 0x140044f2c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov r15d, eax
mov r9d, eax
lea r8, str.CVdsCallbackObject::Advise__13__error_ld
jmp 0x140044f47
lea r8, str.CVdsCallbackObject::Advise__15__state_ld
jmp 0x140044f41
mov esi, 0x2df
lea r8, str.CVdsCallbackObject::Advise__14__state_ld
mov r9d, esi
mov r15d, esi
xor edx, edx
lea ecx, [rdx + 0x5e]
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
movzx ebx, r15w
or ebx, 0x80070000
test r15d, r15d
cmovle ebx, r15d
jmp 0x140044c87
mov rcx, qword [rsi + 0x30]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140044f81
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
and qword [rsi + 0x30], 0
mov eax, dword [r15 + 0x98]
mov dword [rsi + 8], eax
mov eax, dword [r15 + 0x98]
mov rcx, qword [rbp + 0x7f]
mov dword [rcx], eax
call qword [sym.imp.msvcrt.dll_rand]
add dword [r15 + 0x98], eax
mov rax, qword [r12]
mov rcx, r12
mov rax, qword [rax + 8]
jmp 0x14004508e
mov ebx, 0x80070057
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rsi
mov r9d, ebx
lea r8, str.CVdsCallbackObject::Advise__1_error_lX__pService_p__pSink_p__pulCookie_p
xor edx, edx
mov ecx, r13d
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
mov r14, qword [rbp - 0x39]
mov r13, qword [rbp - 0x41]
mov rdi, qword [rbp - 0x49]
jmp 0x140044c8b
mov r8, rax
call fcn.140044758
test rdi, rdi
je 0x140045030
cmp dword [rdi + 0x3a90], 1
jne 0x140045012
lea rcx, [rdi + 0x3a40]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_DeleteCriticalSection]
cmp dword [rdi + 0x3a94], 1
jne 0x140045028
lea rcx, [rdi + 0x3a68]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_DeleteCriticalSection]
mov rcx, rdi
call fcn.14004b314
lea rax, [r13 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140045043
mov rcx, r13
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140045056
mov rcx, r14
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rbp - 0x29]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14004506a
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rbp - 0x31]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14004507e
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
cmp byte [rbp + 0x67], 1
jne 0x140045095
mov rdx, qword [rsi]
mov rcx, rsi
mov rax, qword [rdx + 0x10]
call qword [0x140051cd0]
nop
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop
lea rcx, [rbp + 0xf]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
mov eax, ebx
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret