Function at 0x14005eedc
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
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, 0xf0
mov r13, r9
mov r12, r8
mov rsi, rdx
mov r15, qword [0x1400af670]
xor r14d, r14d
mov dword [rsp + 0x40], r14d
mov ebx, r14d
mov byte [rbp + 0x67], r14b
lea r8, str.CVdsCallbackObject::Advise__
lea edi, [r14 + 0x5e]
mov edx, edi
lea rcx, [rbp + 0x17]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::constructor_unsigned_long_int__char_const____ptr64____ptr64]
nop dword [rax + rax]
nop
xor edx, edx
lea r8d, [r14 + 0x58]
lea rcx, [rbp - 0x59]
call sub.msvcrt.dll_memset
lea rax, [r15 + 0x78]
mov qword [rbp + 7], rax
lea rdx, [rbp - 0x79]
mov rcx, rax
call qword [sym.imp.vdsutil.dll_public:_class_CRtlListIter___cdecl_CRtlList::End_void____ptr64]
nop dword [rax + rax]
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp - 0x69], xmm0
lea rax, [r15 + 0x48]
mov qword [rbp + 0xf], rax
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
nop
test rsi, rsi
je 0x14005f64e
test r12, r12
je 0x14005f64e
test r13, r13
je 0x14005f64e
mov dword [r13], r14d
mov ecx, 0x3a98
call fcn.1400017e0
mov rdi, rax
mov qword [rbp - 0x79], rax
test rax, rax
je 0x14005eff4
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 0x14005eff7
mov rdi, r14
mov qword [rbp - 0x49], rdi
test rdi, rdi
jne 0x14005f02d
mov ebx, 0x8007000e
mov r9d, ebx
lea r8, str.CVdsCallbackObject::Advise__2_error_lX
xor edx, edx
lea ecx, [rdi + 0x5e]
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
nop dword [rax + rax]
mov r14, qword [rbp - 0x39]
mov r15b, byte [rbp + 0x67]
jmp 0x14005f4d4
lea r8, str.CVdsMessageQueue::Initialize__
mov edx, 0x5e
lea rcx, [rbp - 0x79]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::constructor_unsigned_long_int__char_const____ptr64____ptr64]
nop dword [rax + rax]
nop
lea rcx, [rdi + 0x3a40]
call qword [sym.imp.vdsutil.dll_VdsInitializeCriticalSection]
nop dword [rax + rax]
mov esi, eax
test eax, eax
jne 0x14005f086
mov dword [rdi + 0x3a90], 1
lea rcx, [rdi + 0x3a68]
call qword [sym.imp.vdsutil.dll_VdsInitializeCriticalSection]
nop dword [rax + rax]
mov esi, eax
test eax, eax
je 0x14005f0c9
lea rcx, [rbp - 0x79]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
nop dword [rax + rax]
mov ebx, esi
test ebx, ebx
jle 0x14005f0a5
movzx ebx, bx
or ebx, 0x80070000
lea r8, str.CVdsCallbackObject::Advise__3_error_lX
mov r9d, ebx
xor edx, edx
lea ecx, [rdx + 0x5e]
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
nop dword [rax + rax]
mov r14, qword [rbp - 0x39]
jmp 0x14005f4a7
mov dword [rdi + 0x3a94], 1
lea rcx, [rbp - 0x79]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
nop dword [rax + rax]
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]
nop dword [rax + rax]
mov qword [rbp - 0x41], rax
test rax, rax
jne 0x14005f126
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14005f11d
movzx ebx, ax
or ebx, 0x80070000
lea r8, str.CVdsCallbackObject::Advise__4_error_lX
jmp 0x14005f0ac
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]
nop dword [rax + rax]
mov r14, rax
mov qword [rbp - 0x39], rax
test rax, rax
jne 0x14005f185
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14005f163
movzx ebx, ax
or ebx, 0x80070000
lea r8, str.CVdsCallbackObject::Advise__5_error_lX
mov ecx, 0x5e
mov r9d, ebx
xor edx, edx
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
nop dword [rax + rax]
jmp 0x14005f4a7
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]
nop dword [rax + rax]
mov qword [rbp - 0x29], rax
test rax, rax
jne 0x14005f1c8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14005f1bf
movzx ebx, ax
or ebx, 0x80070000
lea r8, str.CVdsCallbackObject::Advise__6_error_lX
jmp 0x14005f16a
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]
movabs r10, 0xfd41b67356dad870
mov rax, qword [rax + 8]
call qword [0x14006eaa8]
mov byte [rbp + 0x67], 1
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
xor edx, edx
lea r8d, [rdx + 0x58]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
nop dword [rax + rax]
test rax, rax
je 0x14005f277
movaps xmm0, xmmword [rbp - 0x59]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [rbp - 0x49]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [rbp - 0x39]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [rbp - 0x29]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [rbp - 0x19]
movups xmmword [rax + 0x40], xmm0
movsd xmm1, qword [rbp - 9]
movsd qword [rax + 0x50], xmm1
mov rdx, rax
lea rsi, [r15 + 0x78]
mov rcx, rsi
call qword [sym.imp.vdsutil.dll_public:_int___cdecl_CRtlList::InsertTailPointer_void____ptr64____ptr64]
nop dword [rax + rax]
jmp 0x14005f28c
mov ecx, 0xe
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
lea rsi, [r15 + 0x78]
lea rdx, [rbp - 0x79]
mov rcx, rsi
call qword [sym.imp.vdsutil.dll_public:_class_CRtlListIter___cdecl_CRtlList::End_void____ptr64]
nop dword [rax + rax]
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp - 0x69], xmm0
lea rcx, [rbp - 0x69]
call qword [sym.imp.vdsutil.dll_public:_class_CRtlListIter____ptr64___cdecl_CRtlListIter::Prev_void____ptr64]
nop dword [rax + rax]
mov dword [rsp + 0x40], 1
lea rcx, [rbp - 0x69]
call qword [sym.imp.vdsutil.dll_public:_void____ptr64___cdecl_CRtlListIter::GetEntryPointer_void____ptr64]
nop dword [rax + rax]
mov rsi, rax
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14005ff60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
nop dword [rax + rax]
mov qword [rsi + 0x28], rax
test rax, rax
jne 0x14005f328
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14005f31c
movzx ebx, ax
or ebx, 0x80070000
lea r8, str.CVdsCallbackObject::Advise__7_error_lX
jmp 0x14005f16a
or edx, 0xffffffff
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
test eax, eax
je 0x14005f3b2
cmp eax, 0x80
je 0x14005f38a
mov ebx, 0x102
cmp eax, ebx
je 0x14005f381
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov r9d, eax
lea r8, str.CVdsCallbackObject::Advise__8__error_ld
xor edx, edx
lea ecx, [rdx + 0x5e]
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
nop dword [rax + rax]
test ebx, ebx
jg 0x14005f3aa
jmp 0x14005f4a7
lea r8, str.CVdsCallbackObject::Advise__10__state_ld
jmp 0x14005f396
mov ebx, 0x2df
lea r8, str.CVdsCallbackObject::Advise__9__state_ld
mov r9d, ebx
xor edx, edx
lea ecx, [rdx + 0x5e]
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
nop dword [rax + rax]
movzx ebx, bx
jmp 0x14005f4a1
cmp dword [rsi + 0x38], 0
jge 0x14005f5e7
mov ebx, dword [rsi + 0x38]
mov r9d, ebx
lea r8, str.CVdsCallbackObject::Advise__11_error_lX
xor edx, edx
lea r15d, [rdx + 0x5e]
mov ecx, r15d
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
nop dword [rax + rax]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
nop dword [rax + rax]
test eax, eax
jne 0x14005f41b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14005f40c
movzx ebx, ax
or ebx, 0x80070000
lea r8, str.CVdsCallbackObject::Advise__12_error_lX
mov ecx, r15d
jmp 0x14005f16f
or edx, 0xffffffff
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
test eax, eax
je 0x14005f4a7
cmp eax, 0x80
je 0x14005f47c
mov ebx, 0x102
cmp eax, ebx
je 0x14005f473
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov r9d, eax
lea r8, str.CVdsCallbackObject::Advise__13__error_ld
xor edx, edx
mov ecx, r15d
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
nop dword [rax + rax]
mov esi, ebx
test ebx, ebx
jg 0x14005f49e
jmp 0x14005f4a7
lea r8, str.CVdsCallbackObject::Advise__15__state_ld
jmp 0x14005f488
mov ebx, 0x2df
lea r8, str.CVdsCallbackObject::Advise__14__state_ld
mov esi, ebx
mov r9d, ebx
xor edx, edx
mov ecx, r15d
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
nop dword [rax + rax]
movzx ebx, si
or ebx, 0x80070000
mov r15b, byte [rbp + 0x67]
test ebx, ebx
jns 0x14005f5a8
cmp dword [rsp + 0x40], 1
jne 0x14005f4d0
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x79], xmm0
lea rdx, [rbp - 0x79]
mov rcx, qword [rbp + 7]
call fcn.140060a3c
mov rsi, qword [rbp + 0x6f]
test rdi, rdi
je 0x14005f520
cmp dword [rdi + 0x3a90], 1
jne 0x14005f4f5
lea rcx, [rdi + 0x3a40]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_DeleteCriticalSection]
nop dword [rax + rax]
cmp dword [rdi + 0x3a94], 1
jne 0x14005f511
lea rcx, [rdi + 0x3a68]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_DeleteCriticalSection]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x41]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005f53a
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005f553
mov rcx, r14
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x29]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005f56d
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x31]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005f587
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
cmp r15b, 1
jne 0x14005f5a8
mov rdx, qword [rsi]
movabs r10, 0xbaac1f10365eb170
mov rcx, rsi
mov rax, qword [rdx + 0x10]
call qword [0x14006eaa8]
nop
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
nop
lea rcx, [rbp + 0x17]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x140]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rsi + 0x30]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005f606
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
and qword [rsi + 0x30], 0
mov eax, dword [r15 + 0x98]
mov dword [rsi + 8], eax
mov eax, dword [r15 + 0x98]
mov dword [r13], eax
call qword [sym.imp.msvcrt.dll_rand]
nop dword [rax + rax]
add dword [r15 + 0x98], eax
mov rax, qword [r12]
movabs r10, 0xfd41b67356dad870
mov rcx, r12
mov rax, qword [rax + 8]
call qword [0x14006eaa8]
jmp 0x14005f5a8
mov ebx, 0x80070057
mov qword [rsp + 0x30], r13
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, edi
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
nop dword [rax + rax]
mov rdi, qword [rbp - 0x49]
jmp 0x14005f020