Function at 0x1400480e8
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, 0xf0
mov qword [rbp + 0xf], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rbx, r9
mov r12, r8
mov rsi, rdx
mov r14, qword [0x1400a13c0]
xor r15d, r15d
mov dword [rbp - 0x79], r15d
mov edi, r15d
mov byte [rbp + 0x67], r15b
lea r8, str.CVdsCallbackObject::Advise__
lea r13d, [r15 + 0x5e]
mov edx, r13d
lea rcx, [rbp + 0x17]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::constructor_unsigned_long_int__char_const____ptr64____ptr64]
nop
xor edx, edx
lea r8d, [r15 + 0x58]
lea rcx, [rbp - 0x59]
call sub.msvcrt.dll_memset
lea rax, [r14 + 0x78]
mov qword [rbp - 0x71], 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 - 0x69], xmm0
lea rax, [r14 + 0x48]
mov qword [rbp + 7], rax
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_EnterCriticalSection]
nop
test rsi, rsi
je 0x140048615
test r12, r12
je 0x140048615
test rbx, rbx
je 0x140048615
mov dword [rbx], r15d
mov ecx, 0x3a98
call fcn.14004e700
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400481fc
xor edx, edx
mov r8d, 0x3840
mov rcx, rax
call sub.msvcrt.dll_memset
or eax, 0xffffffff
mov dword [rsi + 0x3a20], eax
mov dword [rsi + 0x3a24], eax
mov qword [rsi + 0x3a90], r15
mov qword [rsi + 0x3a28], r15
mov qword [rsi + 0x3a30], r15
jmp 0x1400481ff
mov rsi, r15
mov qword [rbp - 0x49], rsi
test rsi, rsi
jne 0x14004822f
mov edi, 0x8007000e
mov r9d, edi
lea r8, str.CVdsCallbackObject::Advise__2_error_lX
xor edx, edx
mov ecx, r13d
call qword [sym.imp.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_]
mov r15, qword [rbp - 0x39]
mov r13, qword [rbp - 0x41]
jmp 0x1400486c4
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, [rsi + 0x3a40]
call qword [sym.imp.vdsutil.dll_unsigned_long_int___cdecl_VdsInitializeCriticalSection_struct__RTL_CRITICAL_SECTION____ptr64_]
mov ebx, eax
test eax, eax
je 0x140048265
lea rcx, [rsp + 0x40]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
jmp 0x14004829a
mov dword [rsi + 0x3a90], 1
lea rcx, [rsi + 0x3a68]
call qword [sym.imp.vdsutil.dll_unsigned_long_int___cdecl_VdsInitializeCriticalSection_struct__RTL_CRITICAL_SECTION____ptr64_]
mov ebx, eax
test eax, eax
jne 0x140048258
mov dword [rsi + 0x3a94], 1
lea rcx, [rsp + 0x40]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
mov ebx, r15d
test ebx, ebx
je 0x1400482c6
movzx edi, bx
or edi, 0x80070000
test ebx, ebx
cmovle edi, ebx
mov r9d, edi
lea r8, str.CVdsCallbackObject::Advise__3_error_lX
xor edx, edx
mov ecx, r13d
call qword [sym.imp.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_]
jmp 0x140048642
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_CreateEventW]
mov r13, rax
mov qword [rbp - 0x41], rax
test rax, rax
jne 0x140048310
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov r9d, edi
lea r8, str.CVdsCallbackObject::Advise__4_error_lX
xor edx, edx
lea ecx, [rdx + 0x5e]
call qword [sym.imp.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_]
jmp 0x140048646
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_CreateEventW]
mov r15, rax
mov qword [rbp - 0x39], rax
test rax, rax
jne 0x14004835a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
lea r8, str.CVdsCallbackObject::Advise__5_error_lX
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov r9d, edi
xor edx, edx
lea ecx, [rdx + 0x5e]
call qword [sym.imp.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_]
jmp 0x14004864a
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_CreateEventW]
mov qword [rbp - 0x29], rax
test rax, rax
jne 0x140048382
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
lea r8, str.CVdsCallbackObject::Advise__6_error_lX
jmp 0x140048339
mov qword [rbp - 0x59], r12
mov eax, dword [r14 + 0x98]
mov dword [rbp - 0x51], eax
mov dword [rbp - 0x21], 0x80004005
mov qword [rbp - 0x19], r14
and dword [rbp - 0x11], 0
mov rax, qword [rbp + 0x6f]
mov qword [rbp - 9], rax
mov rax, qword [rax]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [sym.vds.exe_public:_void___cdecl_CVdsPtr_char_::destructor_void____ptr64]
mov rcx, qword [rbp + 0x6f]
call rbx
mov byte [rbp + 0x67], 1
call qword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_GetProcessHeap]
mov rcx, rax
xor edx, edx
lea r8d, [rdx + 0x58]
call qword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_HeapAlloc]
test rax, rax
je 0x14004841e
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 rbx, [r14 + 0x78]
mov rcx, rbx
call qword [sym.imp.vdsutil.dll_public:_int___cdecl_CRtlList::InsertTailPointer_void____ptr64____ptr64]
jmp 0x14004842d
mov ecx, AtlModuleRegisterClassObjects
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_SetLastError]
lea rbx, [r14 + 0x78]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.vdsutil.dll_public:_class_CRtlListIter___cdecl_CRtlList::End_void____ptr64]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x69], xmm0
lea rcx, [rbp - 0x69]
call qword [sym.imp.vdsutil.dll_public:_class_CRtlListIter____ptr64___cdecl_CRtlListIter::Prev_void____ptr64]
mov dword [rbp - 0x79], 1
lea rcx, [rbp - 0x69]
call qword [sym.imp.vdsutil.dll_public:_void____ptr64___cdecl_CRtlListIter::GetEntryPointer_void____ptr64]
mov rbx, rax
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140047e20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_CreateThread]
mov qword [rbx + 0x28], rax
test rax, rax
jne 0x14004849d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
lea r8, str.CVdsCallbackObject::Advise__7_error_lX
jmp 0x140048339
or edx, 0xffffffff
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WaitForSingleObject]
test eax, eax
je 0x140048508
cmp eax, 0x80
je 0x1400484db
mov ebx, 0x102
cmp eax, ebx
je 0x1400484d2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
mov r9d, eax
lea r8, str.CVdsCallbackObject::Advise__8__error_ld
jmp 0x1400484ea
lea r8, str.CVdsCallbackObject::Advise__10__state_ld
jmp 0x1400484e7
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_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_]
movzx edi, bx
or edi, 0x80070000
test ebx, ebx
cmovle edi, ebx
jmp 0x14004864a
cmp dword [rbx + 0x38], 0
jge 0x1400485bf
mov edi, dword [rbx + 0x38]
mov r9d, edi
lea r8, str.CVdsCallbackObject::Advise__11_error_lX
xor edx, edx
lea ecx, [rdx + 0x5e]
call qword [sym.imp.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_SetEvent]
test eax, eax
jne 0x140048549
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
lea r8, str.CVdsCallbackObject::Advise__12_error_lX
jmp 0x140048339
or edx, 0xffffffff
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WaitForSingleObject]
test eax, eax
je 0x14004864a
cmp eax, 0x80
je 0x14004858c
mov ebx, 0x102
cmp eax, ebx
je 0x140048583
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r14d, eax
mov r9d, eax
lea r8, str.CVdsCallbackObject::Advise__13__error_ld
jmp 0x14004859e
lea r8, str.CVdsCallbackObject::Advise__15__state_ld
jmp 0x140048598
mov ebx, 0x2df
lea r8, str.CVdsCallbackObject::Advise__14__state_ld
mov r9d, ebx
mov r14d, ebx
xor edx, edx
lea ecx, [rdx + 0x5e]
call qword [sym.imp.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_]
movzx edi, r14w
or edi, 0x80070000
test r14d, r14d
cmovle edi, r14d
jmp 0x14004864a
mov rcx, qword [rbx + 0x30]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400485d8
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
and qword [rbx + 0x30], 0
mov eax, dword [r14 + 0x98]
mov dword [rbx + 8], eax
mov eax, dword [r14 + 0x98]
mov rcx, qword [rbp + 0x7f]
mov dword [rcx], eax
call qword [sym.imp.msvcrt.dll_rand]
add dword [r14 + 0x98], eax
mov rax, qword [r12]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [sym.vds.exe_public:_void___cdecl_CVdsPtr_char_::destructor_void____ptr64]
mov rcx, r12
jmp 0x14004872f
mov edi, 0x80070057
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rsi
mov r9d, edi
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_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_]
mov rsi, qword [rbp - 0x49]
mov r13, qword [rbp - 0x41]
mov r15, qword [rbp - 0x39]
test edi, edi
jns 0x140048732
cmp dword [rbp - 0x79], 1
jne 0x14004868b
movaps xmm0, xmmword [rbp - 0x69]
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 [rbp - 0x71]
test rax, rax
jne 0x140048683
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CRtlList::Remove_class_CRtlListIter____ptr64____ptr64]
jmp 0x14004868b
mov r8, rax
call fcn.140047da8
test rsi, rsi
je 0x1400486c4
cmp dword [rsi + 0x3a90], 1
jne 0x1400486a6
lea rcx, [rsi + 0x3a40]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_DeleteCriticalSection]
cmp dword [rsi + 0x3a94], 1
jne 0x1400486bc
lea rcx, [rsi + 0x3a68]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_DeleteCriticalSection]
mov rcx, rsi
call fcn.14004e6f4
lea rax, [r13 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400486d7
mov rcx, r13
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
lea rax, [r15 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400486ea
mov rcx, r15
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 0x1400486fe
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 0x140048712
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
cmp byte [rbp + 0x67], 1
jne 0x140048732
mov rsi, qword [rbp + 0x6f]
mov rdx, qword [rsi]
mov rbx, qword [rdx + 0x10]
mov rcx, rbx
call qword [sym.vds.exe_public:_void___cdecl_CVdsPtr_char_::destructor_void____ptr64]
mov rcx, rsi
call rbx
nop
mov rcx, qword [rbp + 7]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_LeaveCriticalSection]
nop
lea rcx, [rbp + 0x17]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
mov eax, edi
mov rbx, qword [rsp + 0x140]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret