Function at 0x1400574ac
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
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 rdi, r9
mov r12, r8
mov r14, rdx
mov r13, qword [0x1400a34b0]
xor esi, esi
mov dword [rsp + 0x40], esi
mov ebx, esi
mov byte [rbp + 0x67], sil
lea r8, str.CVdsCallbackObject::Advise__
lea r15d, [rsi + 0x5e]
mov edx, r15d
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, [rsi + 0x58]
lea rcx, [rbp - 0x49]
call sub.msvcrt.dll_memset
lea rax, [r13 + 0x78]
mov qword [rbp - 0x59], 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, [r13 + 0x48]
mov qword [rbp - 0x51], rax
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
nop
test r14, r14
je 0x140057b15
test r12, r12
je 0x140057b15
test rdi, rdi
je 0x140057b15
mov dword [rdi], esi
mov ecx, 0x3a98
call fcn.140013c38
mov rdi, rax
mov qword [rbp - 0x79], rax
test rax, rax
je 0x1400575c4
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], rsi
mov qword [rdi + 0x3a28], rsi
mov qword [rdi + 0x3a30], rsi
jmp 0x1400575c7
mov rdi, rsi
mov qword [rbp - 0x39], rdi
test rdi, rdi
jne 0x140057601
mov ebx, 0x8007000e
mov r9d, ebx
lea r8, str.CVdsCallbackObject::Advise__2_error_lX
xor edx, edx
mov ecx, r15d
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
nop dword [rax + rax]
mov r15, qword [rbp - 0x31]
mov rsi, qword [rbp - 0x29]
mov r12b, byte [rbp + 0x67]
jmp 0x1400579d8
mov rcx, rdi
call fcn.140057f24
test eax, eax
je 0x140057644
jg 0x140057613
mov ebx, eax
jmp 0x14005761c
movzx ebx, ax
or ebx, 0x80070000
mov r9d, ebx
lea r8, str.CVdsCallbackObject::Advise__3_error_lX
xor edx, edx
mov ecx, r15d
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
nop dword [rax + rax]
mov rsi, qword [rbp - 0x29]
mov r15, qword [rbp - 0x31]
jmp 0x1400579ab
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 r15, rax
mov qword [rbp - 0x31], rax
test rax, rax
jne 0x1400576a5
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 0x140057681
movzx ebx, ax
or ebx, 0x80070000
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 rsi, qword [rbp - 0x29]
jmp 0x1400579ab
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 rsi, rax
mov qword [rbp - 0x29], rax
test rax, rax
jne 0x140057702
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 0x1400576e2
movzx ebx, ax
or ebx, 0x80070000
lea r8, str.CVdsCallbackObject::Advise__5_error_lX
mov r9d, ebx
xor edx, edx
lea ecx, [rdx + 0x5e]
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
nop dword [rax + rax]
jmp 0x1400579ab
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 - 0x19], rax
test rax, rax
jne 0x140057745
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 0x14005773c
movzx ebx, ax
or ebx, 0x80070000
lea r8, str.CVdsCallbackObject::Advise__6_error_lX
jmp 0x1400576e9
mov qword [rbp - 0x49], r12
mov eax, dword [r13 + 0x98]
mov dword [rbp - 0x41], eax
mov dword [rbp - 0x11], 0x80004005
mov qword [rbp - 9], r13
and dword [rbp - 1], 0
mov qword [rbp + 7], r14
mov rax, qword [r14]
movabs r10, 0xfd41b67356dad870
mov rcx, r14
mov rax, qword [rax + 8]
call qword [0x140063988]
mov byte [rbp + 0x67], 1
lea rdx, [rbp - 0x49]
lea rcx, [r13 + 0x78]
call fcn.140058334
lea rdx, [rbp - 0x79]
lea rcx, [r13 + 0x78]
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 r14, rax
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14000dcb0]
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 [r14 + 0x28], rax
test rax, rax
jne 0x14005782e
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 0x140057822
movzx ebx, ax
or ebx, 0x80070000
lea r8, str.CVdsCallbackObject::Advise__7_error_lX
jmp 0x1400576e9
or edx, 0xffffffff
mov rcx, qword [r14 + 0x30]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
test eax, eax
je 0x1400578b8
cmp eax, 0x80
je 0x140057890
mov ebx, 0x102
cmp eax, ebx
je 0x140057887
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 0x1400578b0
jmp 0x1400579ab
lea r8, str.CVdsCallbackObject::Advise__10__state_ld
jmp 0x14005789c
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 0x1400579a5
cmp dword [r14 + 0x38], 0
jge 0x140057aab
mov ebx, dword [r14 + 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, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
nop dword [rax + rax]
test eax, eax
jne 0x14005791c
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 0x140057910
movzx ebx, ax
or ebx, 0x80070000
lea r8, str.CVdsCallbackObject::Advise__12_error_lX
jmp 0x1400576e9
or edx, 0xffffffff
mov rcx, qword [r14 + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
test eax, eax
je 0x1400579ab
cmp eax, 0x80
je 0x14005797e
mov ebx, 0x102
cmp eax, ebx
je 0x140057975
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
lea ecx, [rdx + 0x5e]
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
nop dword [rax + rax]
mov r14d, ebx
test ebx, ebx
jg 0x1400579a1
jmp 0x1400579ab
lea r8, str.CVdsCallbackObject::Advise__15__state_ld
jmp 0x14005798a
mov ebx, 0x2df
lea r8, str.CVdsCallbackObject::Advise__14__state_ld
mov r14d, ebx
mov r9d, ebx
xor edx, edx
lea ecx, [rdx + 0x5e]
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
nop dword [rax + rax]
movzx ebx, r14w
or ebx, 0x80070000
mov r12b, byte [rbp + 0x67]
test ebx, ebx
jns 0x140057a6c
cmp dword [rsp + 0x40], 1
jne 0x1400579d4
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x79], xmm0
lea rdx, [rbp - 0x79]
mov rcx, qword [rbp - 0x59]
call fcn.140058814
mov r14, qword [rbp + 0x6f]
test rdi, rdi
je 0x1400579e5
mov rcx, rdi
call fcn.14005747c
lea rax, [r15 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400579fe
mov rcx, r15
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140057a17
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x19]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140057a31
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x21]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140057a4b
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
cmp r12b, 1
jne 0x140057a6c
mov rdx, qword [r14]
movabs r10, 0xbaac1f10365eb170
mov rcx, r14
mov rax, qword [rdx + 0x10]
call qword [0x140063988]
nop
mov rcx, qword [rbp - 0x51]
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 [r14 + 0x30]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140057aca
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
and qword [r14 + 0x30], 0
mov eax, dword [r13 + 0x98]
mov dword [r14 + 8], eax
mov eax, dword [r13 + 0x98]
mov rcx, qword [rbp + 0x7f]
mov dword [rcx], eax
call qword [sym.imp.msvcrt.dll_rand]
nop dword [rax + rax]
add dword [r13 + 0x98], eax
mov rax, qword [r12]
movabs r10, 0xfd41b67356dad870
mov rcx, r12
mov rax, qword [rax + 8]
call qword [0x140063988]
jmp 0x140057a6c
mov ebx, 0x80070057
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov r9d, ebx
lea r8, str.CVdsCallbackObject::Advise__1_error_lX__pService_p__pSink_p__pulCookie_p
xor edx, edx
mov ecx, r15d
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
nop dword [rax + rax]
mov rdi, qword [rbp - 0x39]
jmp 0x1400575f0