Function at 0x140047a40
Capabilities:
Check for software breakpoints

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov qword [rax - 0x70], 0xfffffffffffffffe
mov r12, r9
mov rdi, rcx
xor r15d, r15d
mov qword [rax - 0x80], r15
mov dword [rsp + 0xb8], r15d
mov esi, r15d
mov ebp, r15d
mov r13d, r15d
mov r14d, r15d
mov dword [rsp + 0x20], r15d
lea r8, str.CVdsMessageQueue::DequeueEx__
lea edx, [r15 + 0x5e]
lea rcx, [rax - 0x58]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::constructor_unsigned_long_int__char_const____ptr64____ptr64]
nop
lea rbx, [rdi + 0x3a40]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_EnterCriticalSection]
cmp qword [rdi + 0x3a28], r15
jne 0x140047acb
mov dword [r12], r15d
mov rcx, rbx
jmp 0x140047cb5
lea rax, [rdi + 0x3a68]
mov qword [rsp + 0x30], rax
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_EnterCriticalSection]
mov rax, qword [rdi + 0x3a28]
mov qword [rdi + 0x3a38], rax
mov ecx, 1
inc esi
mov rax, qword [rdi + 0x3a28]
cmp rax, qword [rdi + 0x3a30]
je 0x140047b18
mov rax, qword [rax]
mov qword [rdi + 0x3a28], rax
inc ecx
cmp ecx, 0xa
jbe 0x140047af3
jmp 0x140047b26
mov qword [rdi + 0x3a28], r15
mov qword [rdi + 0x3a30], r15
mov eax, 0xea
cmp qword [rdi + 0x3a28], r15
cmovne ebp, eax
mov dword [rsp + 0x24], ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_LeaveCriticalSection]
mov r15, qword [rdi + 0x3a38]
test esi, esi
je 0x140047bd1
mov r12d, esi
mov rdi, qword [rsp + 0xd0]
lea r14, [r15 + 0x10]
mov r15, qword [r15]
cmp dword [r14], 0x3e
jne 0x140047bb6
cmp dword [r14 + 8], 0xcc
jne 0x140047bb6
movups xmm0, xmmword [r14 + 0xc]
movdqu xmmword [rsp + 0x40], xmm0
mov rax, qword [rdi]
mov rbx, qword [rax + 0x48]
mov rcx, rbx
call qword [sym.vds.exe_public:_void___cdecl_CVdsPtr_char_::destructor_void____ptr64]
lea r9, [rsp + 0x28]
mov r8d, AtlModuleInit
lea rdx, [rsp + 0x40]
mov rcx, rdi
call rbx
test eax, eax
js 0x140047baf
cmp qword [rsp + 0x28], 0
jne 0x140047bb6
and dword [r14], 0
inc r13d
sub r12, 1
jne 0x140047b5c
mov rdi, qword [rsp + 0xb0]
mov r14d, dword [rsp + 0x20]
mov r12, qword [rsp + 0xc8]
mov r9d, r13d
lea r8, str.DequeueEx_Unknown_count_lu
mov r15d, 2
mov edx, r15d
lea r13d, [r15 + 0x5c]
mov ecx, r13d
call qword [sym.imp.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_]
test esi, esi
je 0x140047c8f
mov r12d, dword [rsp + 0xb8]
mov rbp, qword [rsp + 0xc0]
mov rbx, qword [rdi + 0x3a38]
mov rax, qword [rbx]
mov qword [rdi + 0x3a38], rax
cmp dword [rbx + 0x10], 0
jne 0x140047c39
inc r14d
call qword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.vdsutil.dll_int___cdecl_VdsHeapFree_void____ptr64__unsigned_long_int__void____ptr64_]
jmp 0x140047c75
mov eax, r12d
lea rcx, [rax + rax*2]
add rcx, rcx
movups xmm0, xmmword [rbx + 0x10]
movups xmmword [rbp + rcx*8], xmm0
movups xmm1, xmmword [rbx + 0x20]
movups xmmword [rbp + rcx*8 + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x30]
movups xmmword [rbp + rcx*8 + 0x20], xmm0
call qword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.vdsutil.dll_int___cdecl_VdsHeapFree_void____ptr64__unsigned_long_int__void____ptr64_]
inc r12d
sub rsi, 1
jne 0x140047c09
mov dword [rsp + 0xb8], r12d
mov ebp, dword [rsp + 0x24]
mov r12, qword [rsp + 0xc8]
mov r9d, r14d
lea r8, str.DequeueEx_Skip_count_lu
mov edx, r15d
mov ecx, r13d
call qword [sym.imp.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_]
mov eax, dword [rsp + 0xb8]
mov dword [r12], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_LeaveCriticalSection]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
mov eax, ebp
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret