Function at 0x1400538a4
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 [0x1400af530]
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 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 [rsp + 0x58], rax
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.vdsutil.dll_public:_class_CRtlListIter___cdecl_CRtlList::End_void____ptr64]
nop dword [rax + rax]
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 dword [rax + rax]
nop
test rsi, rsi
je 0x140053e91
test r12, r12
je 0x140053e91
test rdi, rdi
je 0x140053e91
mov dword [rdi], r14d
mov ecx, 0x3a98
call fcn.14005af30
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400539cc
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 0x1400539cf
mov rdi, r14
mov qword [rbp - 0x49], rdi
test rdi, rdi
jne 0x140053a05
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]
nop dword [rax + rax]
mov r14, qword [rbp - 0x39]
mov r13, qword [rbp - 0x41]
jmp 0x140053ed9
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 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
je 0x140053a4d
lea rcx, [rsp + 0x40]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
nop dword [rax + rax]
jmp 0x140053a8e
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
jne 0x140053a3a
mov dword [rdi + 0x3a94], 1
lea rcx, [rsp + 0x40]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
nop dword [rax + rax]
mov esi, r14d
test esi, esi
je 0x140053b1d
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]
nop dword [rax + rax]
mov r14, qword [rbp - 0x39]
mov r13, qword [rbp - 0x41]
mov rsi, qword [rbp + 0x6f]
test ebx, ebx
jns 0x140053f9b
cmp dword [rsp + 0x50], 1
jne 0x140053ed9
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]
nop dword [rax + rax]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
test rax, rax
jne 0x140053ed1
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CRtlList::Remove_class_CRtlListIter____ptr64____ptr64]
nop dword [rax + rax]
jmp 0x140053ed9
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 r13, rax
mov qword [rbp - 0x41], rax
test rax, rax
jne 0x140053b7d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
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]
nop dword [rax + rax]
mov r14, qword [rbp - 0x39]
jmp 0x140053ac7
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 0x140053bd9
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
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]
nop dword [rax + rax]
jmp 0x140053ac7
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 0x140053c0d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
lea r8, str.CVdsCallbackObject::Advise__6_error_lX
jmp 0x140053bb2
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 [0x140062e08]
mov byte [rbp + 0x67], 1
lea rdx, [rbp - 0x59]
lea rcx, [r15 + 0x78]
call fcn.140053420
lea rdx, [rsp + 0x40]
lea rcx, [r15 + 0x78]
call qword [sym.imp.vdsutil.dll_public:_class_CRtlListIter___cdecl_CRtlList::End_void____ptr64]
nop dword [rax + rax]
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]
nop dword [rax + rax]
mov dword [rsp + 0x50], 1
lea rcx, [rbp - 0x79]
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, [0x140053570]
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 0x140053ce0
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
lea r8, str.CVdsCallbackObject::Advise__7_error_lX
jmp 0x140053bb2
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 0x140053d5d
cmp eax, 0x80
je 0x140053d2a
mov esi, 0x102
cmp eax, esi
je 0x140053d21
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
mov r9d, eax
lea r8, str.CVdsCallbackObject::Advise__8__error_ld
jmp 0x140053d39
lea r8, str.CVdsCallbackObject::Advise__10__state_ld
jmp 0x140053d36
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]
nop dword [rax + rax]
movzx ebx, si
or ebx, 0x80070000
test esi, esi
cmovle ebx, esi
jmp 0x140053ac7
cmp dword [rsi + 0x38], 0
jge 0x140053e38
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]
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 0x140053db0
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
lea r8, str.CVdsCallbackObject::Advise__12_error_lX
jmp 0x140053bb2
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 0x140053ac7
cmp eax, 0x80
je 0x140053dff
mov esi, 0x102
cmp eax, esi
je 0x140053df6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r15d, eax
mov r9d, eax
lea r8, str.CVdsCallbackObject::Advise__13__error_ld
jmp 0x140053e11
lea r8, str.CVdsCallbackObject::Advise__15__state_ld
jmp 0x140053e0b
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]
nop dword [rax + rax]
movzx ebx, r15w
or ebx, 0x80070000
test r15d, r15d
cmovle ebx, r15d
jmp 0x140053ac7
mov rcx, qword [rsi + 0x30]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140053e57
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 rcx, qword [rbp + 0x7f]
mov dword [rcx], eax
call qword [sym.imp.msvcrt.dll_rand]
nop dword [rax + rax]
add dword [r15 + 0x98], eax
mov rax, qword [r12]
mov rcx, r12
mov rax, qword [rax + 8]
jmp 0x140053f94
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]
nop dword [rax + rax]
mov r14, qword [rbp - 0x39]
mov r13, qword [rbp - 0x41]
mov rdi, qword [rbp - 0x49]
jmp 0x140053acb
mov r8, rax
call fcn.1400534ec
test rdi, rdi
je 0x140053f1e
cmp dword [rdi + 0x3a90], 1
jne 0x140053efa
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 0x140053f16
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 fcn.14005af24
lea rax, [r13 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140053f37
mov rcx, r13
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 0x140053f50
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 0x140053f6a
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 0x140053f84
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
cmp byte [rbp + 0x67], 1
jne 0x140053f9b
mov rdx, qword [rsi]
mov rcx, rsi
mov rax, qword [rdx + 0x10]
call qword [0x140062e08]
nop
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
nop
lea rcx, [rbp + 0xf]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
nop dword [rax + rax]
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