Function at 0x10006f320
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
sub rsp, 0x100
mov rbp, qword [0x100080118]
xor r12d, r12d
mov r14, r8
mov rsi, rdx
lea r13d, [r12 + 0x5e]
lea r8, [0x10002b208]
lea rcx, [rax - 0x50]
mov edx, r13d
mov r15, r9
mov dword [rsp + 0x40], r12d
mov ebx, r12d
mov byte [rsp + 0x140], r12b
call sub.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::constructor_unsigned_long_int__char_const____ptr64____ptr64
lea r8d, [r12 + 0x58]
lea rcx, [rsp + 0x80]
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [rbp + 0x78]
lea rdx, [rsp + 0x50]
mov rcx, rax
mov qword [rsp + 0x60], rax
call sub.vdsutil.dll_public:_class_CRtlListIter___cdecl_CRtlList::End_void____ptr64
lea rax, [rbp + 0x48]
movaps xmm5, xmmword [rsp + 0x50]
mov rcx, rax
mov qword [rsp + 0xe0], rax
movdqa xmmword [rsp + 0x70], xmm5
call qword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_EnterCriticalSection]
cmp rsi, r12
je 0x10006f8a4
cmp r14, r12
je 0x10006f8a4
cmp r15, r12
je 0x10006f8a4
mov ecx, 0x3a98
mov dword [r15], r12d
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov rdi, rax
cmp rax, r12
je 0x10006f43a
xor edx, edx
mov r8d, 0x3840
mov rcx, rax
call sub.msvcrt.dll_memset
or dword [rdi + 0x3a20], 0xffffffff
or dword [rdi + 0x3a24], 0xffffffff
mov dword [rdi + 0x3a90], r12d
mov dword [rdi + 0x3a94], r12d
mov qword [rdi + 0x3a28], r12
mov qword [rdi + 0x3a30], r12
mov qword [rsp + 0x90], rdi
jmp 0x10006f445
mov rdi, r12
mov qword [rsp + 0x90], r12
cmp rdi, r12
jne 0x10006f478
mov ebx, 0x8007000e
lea r8, [0x10002b280]
xor edx, edx
mov r9d, ebx
mov ecx, r13d
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_
mov r12, qword [rsp + 0xa0]
mov r13, qword [rsp + 0x98]
jmp 0x10006f92a
lea r8, [0x10002b058]
lea rcx, [rsp + 0x50]
mov edx, r13d
call sub.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::constructor_unsigned_long_int__char_const____ptr64____ptr64
lea rcx, [rdi + 0x3a40]
call sub.vdsutil.dll_unsigned_long_int___cdecl_VdsInitializeCriticalSection_struct__RTL_CRITICAL_SECTION____ptr64_
mov esi, eax
cmp eax, r12d
je 0x10006f4ab
lea rcx, [rsp + 0x50]
call sub.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64
jmp 0x10006f4df
lea rcx, [rdi + 0x3a68]
mov dword [rdi + 0x3a90], 1
call sub.vdsutil.dll_unsigned_long_int___cdecl_VdsInitializeCriticalSection_struct__RTL_CRITICAL_SECTION____ptr64_
lea rcx, [rsp + 0x50]
mov esi, eax
cmp eax, r12d
jne 0x10006f4a4
mov dword [rdi + 0x3a94], 1
call sub.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64
mov esi, r12d
cmp esi, r12d
je 0x10006f568
movzx ebx, si
lea r8, [0x10002b2a8]
mov ecx, r13d
or ebx, 0x80070000
cmp esi, r12d
cmovle ebx, esi
xor edx, edx
mov r9d, ebx
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_
mov r12, qword [rsp + 0xa0]
mov r13, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x148]
test ebx, ebx
jns 0x10006f99a
cmp dword [rsp + 0x40], 1
jne 0x10006f8f1
movaps xmm0, xmmword [rsp + 0x70]
lea rcx, [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
call sub.vdsutil.dll_public:_class_CRtlEntry____ptr64___cdecl_CRtlListIter::GetEntry_void____ptr64
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x50]
test rax, rax
jne 0x10006f8e9
call sub.vdsutil.dll_public:_void___cdecl_CRtlList::Remove_class_CRtlListIter____ptr64____ptr64
jmp 0x10006f8f1
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]
mov r13, rax
mov qword [rsp + 0x98], rax
cmp rax, r12
jne 0x10006f5be
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
lea r8, [0x10002b2d0]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, r12d
cmovle ebx, eax
xor edx, edx
lea ecx, [rdx + 0x5e]
mov r9d, ebx
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_
mov r12, qword [rsp + 0xa0]
jmp 0x10006f51b
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]
mov r12, rax
mov qword [rsp + 0xa0], rax
test rax, rax
jne 0x10006f60b
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
lea r8, [0x10002b2f8]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
xor edx, edx
lea ecx, [rdx + 0x5e]
mov r9d, ebx
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_
jmp 0x10006f51b
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]
mov qword [rsp + 0xb0], rax
test rax, rax
jne 0x10006f637
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
lea r8, [0x10002b320]
jmp 0x10006f5eb
mov eax, dword [rbp + 0x98]
mov rcx, qword [rsp + 0x148]
and dword [rsp + 0xc8], ebx
mov dword [rsp + 0x88], eax
mov rax, qword [rcx]
mov qword [rsp + 0x80], r14
mov dword [rsp + 0xb8], 0x80004005
mov qword [rsp + 0xc0], rbp
mov qword [rsp + 0xd0], rcx
call qword [rax + 8]
mov byte [rsp + 0x140], 1
call qword [sym.imp.API_MS_Win_Core_Heap_L1_1_0.dll_GetProcessHeap]
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x58]
call qword [sym.imp.API_MS_Win_Core_Heap_L1_1_0.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x10006f6c8
lea rdx, [rsp + 0x80]
mov rcx, rax
mov r8d, 0x58
call sub.msvcrt.dll_memcpy
mov rdx, rsi
lea rsi, [rbp + 0x78]
mov rcx, rsi
call sub.vdsutil.dll_public:_int___cdecl_CRtlList::InsertTailPointer_void____ptr64____ptr64
jmp 0x10006f6d7
mov ecx, 0xe
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_SetLastError]
lea rsi, [rbp + 0x78]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call sub.vdsutil.dll_public:_class_CRtlListIter___cdecl_CRtlList::End_void____ptr64
lea rcx, [rsp + 0x70]
movaps xmm5, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x70], xmm5
call sub.vdsutil.dll_public:_class_CRtlListIter____ptr64___cdecl_CRtlListIter::Prev_void____ptr64
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x40], 1
call sub.vdsutil.dll_public:_void____ptr64___cdecl_CRtlListIter::GetEntryPointer_void____ptr64
and qword [rsp + 0x28], rbx
and dword [rsp + 0x20], ebx
lea r8, [0x10006f08c]
mov r9, rax
xor edx, edx
xor ecx, ecx
mov rsi, rax
call qword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_CreateThread]
mov qword [rsi + 0x28], rax
test rax, rax
jne 0x10006f746
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
lea r8, [0x10002b348]
jmp 0x10006f5eb
mov rcx, qword [rsi + 0x30]
or edx, 0xffffffff
call qword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_WaitForSingleObject]
test eax, eax
je 0x10006f7b0
cmp eax, 0x80
je 0x10006f784
mov esi, 0x102
cmp eax, esi
je 0x10006f77b
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
lea r8, [0x10002b370]
mov esi, eax
mov r9d, eax
jmp 0x10006f793
lea r8, [0x10002b3d0]
jmp 0x10006f790
mov esi, 0x2df
lea r8, [0x10002b3a0]
mov r9d, esi
xor edx, edx
lea ecx, [rdx + 0x5e]
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_
movzx ebx, si
or ebx, 0x80070000
test esi, esi
cmovle ebx, esi
jmp 0x10006f51b
cmp dword [rsi + 0x38], ebx
jge 0x10006f85f
mov ebx, dword [rsi + 0x38]
xor edx, edx
lea r8, [0x10002b400]
lea ecx, [rdx + 0x5e]
mov r9d, ebx
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_
mov rcx, r12
call qword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_SetEvent]
test eax, eax
jne 0x10006f7ef
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
lea r8, [0x10002b430]
jmp 0x10006f5eb
mov rcx, qword [rsi + 0x28]
or edx, 0xffffffff
call qword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_WaitForSingleObject]
test eax, eax
je 0x10006f51b
cmp eax, 0x80
je 0x10006f831
mov esi, 0x102
cmp eax, esi
je 0x10006f828
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
lea r8, [0x10002b460]
mov ebp, eax
mov r9d, eax
jmp 0x10006f842
lea r8, [0x10002b4c0]
jmp 0x10006f83d
mov esi, 0x2df
lea r8, [0x10002b490]
mov r9d, esi
mov ebp, esi
xor edx, edx
lea ecx, [rdx + 0x5e]
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_
movzx ebx, bp
or ebx, 0x80070000
test ebp, ebp
cmovle ebx, ebp
jmp 0x10006f51b
mov rcx, qword [rsi + 0x30]
test rcx, rcx
je 0x10006f878
cmp rcx, 0xffffffffffffffff
je 0x10006f878
call qword [sym.imp.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle]
and qword [rsi + 0x30], rbx
mov eax, dword [rbp + 0x98]
mov dword [rsi + 8], eax
mov eax, dword [rbp + 0x98]
mov dword [r15], eax
call qword [sym.imp.msvcrt.dll_rand]
mov rcx, r14
add dword [rbp + 0x98], eax
mov rax, qword [r14]
call qword [rax + 8]
jmp 0x10006f99a
mov qword [rsp + 0x30], r15
mov ebx, 0x80070057
lea r8, [0x10002b230]
xor edx, edx
mov ecx, r13d
mov r9d, ebx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_
mov r12, qword [rsp + 0xa0]
mov r13, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x90]
jmp 0x10006f523
mov r8, rax
call fcn.10006f020
test rdi, rdi
je 0x10006f92a
cmp dword [rdi + 0x3a90], 1
jne 0x10006f90c
lea rcx, [rdi + 0x3a40]
call qword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_DeleteCriticalSection]
cmp dword [rdi + 0x3a94], 1
jne 0x10006f922
lea rcx, [rdi + 0x3a68]
call qword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_DeleteCriticalSection]
mov rcx, rdi
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
test r13, r13
je 0x10006f93e
cmp r13, 0xffffffffffffffff
je 0x10006f93e
mov rcx, r13
call qword [sym.imp.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle]
test r12, r12
je 0x10006f952
cmp r12, 0xffffffffffffffff
je 0x10006f952
mov rcx, r12
call qword [sym.imp.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle]
mov rax, qword [rsp + 0xb0]
test rax, rax
je 0x10006f96e
cmp rax, 0xffffffffffffffff
je 0x10006f96e
mov rcx, rax
call qword [sym.imp.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x10006f987
cmp rcx, 0xffffffffffffffff
je 0x10006f987
call qword [sym.imp.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle]
cmp byte [rsp + 0x140], 1
jne 0x10006f99a
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x10]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.API_MS_Win_Core_Synch_L1_1_0.dll_LeaveCriticalSection]
lea rcx, [rsp + 0xe8]
call sub.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64
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