Function at 0x1400493dc
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov rdi, r8
mov r15, rdx
xor r12d, r12d
mov ebx, r12d
mov qword [rbp + 0x60], rbx
mov esi, r12d
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x50], r12
mov r14d, r12d
mov qword [rbp - 0x38], r12
mov r13d, r12d
mov dword [rbp + 0x48], r12d
lea r8, str.CVdsCallbackObject::InitiateSecondAuction__
lea edx, [r12 + 0x5e]
lea rcx, [rbp - 0x20]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::constructor_unsigned_long_int__char_const____ptr64____ptr64]
nop
mov qword [rbp + 0x50], rdi
test r15, r15
je 0x14004956d
test rdi, rdi
je 0x14004956d
call qword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_GetProcessHeap]
mov rcx, rax
lea r8d, [r12 + 0x20]
lea r12d, [r14 + 8]
mov edx, r12d
call qword [sym.imp.vdsutil.dll_void____ptr64___cdecl_VdsHeapAlloc_void____ptr64__unsigned_long_int__unsigned_long_long_unsigned___int64__]
mov rbx, rax
mov qword [rbp + 0x60], rax
xor ecx, ecx
test rax, rax
jne 0x14004949d
mov r13d, r12d
mov qword [rsp + 0x20], r15
mov r9d, r12d
lea r8, str.CVdsCallbackObject::InitiateSecondAuction__2__error_lX__pwszDevicePath_s
xor edx, edx
lea ecx, [rax + 0x5f]
call qword [sym.imp.vdsutil.dll_void___cdecl_VdsTraceExW_unsigned_long_int__unsigned_long_int__unsigned_short_int____ptr64_]
jmp 0x1400495a0
mov qword [rax + 0x18], rdi
or rax, 0xffffffffffffffff
inc rax
cmp word [r15 + rax*2], cx
jne 0x1400494a5
mov qword [rbp - 0x30], rax
lea rsi, [rax*2 + 2]
call qword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_GetProcessHeap]
mov rcx, rax
mov r8, rsi
mov edx, r12d
call qword [sym.imp.vdsutil.dll_void____ptr64___cdecl_VdsHeapAlloc_void____ptr64__unsigned_long_int__unsigned_long_long_unsigned___int64__]
mov rsi, rax
mov qword [rbp + 0x58], rax
mov r8, r15
test rax, rax
jne 0x1400494f3
lea rdx, str.CVdsCallbackObject::InitiateSecondAuction__3___s
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_void___cdecl_VdsTraceW_unsigned_long_int__unsigned_short_int____ptr64_]
jmp 0x1400495a3
mov rdx, qword [rbp - 0x30]
inc rdx
mov rcx, rax
call fcn.14000acd8
mov qword [rbx], rsi
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
xor r12d, r12d
mov dword [rsp + 0x20], r12d
mov r9, rbx
lea r8, [0x140049640]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_CreateThread]
mov r14, rax
mov qword [rbp - 0x38], rax
test rax, rax
jne 0x140049556
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r13d, eax
mov r9d, eax
mov r8, r15
lea rdx, str.CVdsCallbackObject::InitiateSecondAuction__4___s__error_ld
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_void___cdecl_VdsTraceW_unsigned_long_int__unsigned_short_int____ptr64_]
jmp 0x1400495a0
mov rbx, r12
mov qword [rbp + 0x60], rbx
mov rsi, r12
mov qword [rbp + 0x58], r12
mov rdi, r12
mov qword [rbp + 0x50], r12
jmp 0x1400495a0
mov r13d, 0x57
lea rax, str.UNKNOWN
test r15, r15
cmovne rax, r15
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
mov r9d, r13d
lea r8, str.CVdsCallbackObject::InitiateSecondAuction__1__error_lX__pwszDevicePath_s__pLayout_p
xor edx, edx
lea ecx, [rdx + 0x5f]
call qword [sym.imp.vdsutil.dll_void___cdecl_VdsTraceExW_unsigned_long_int__unsigned_long_int__unsigned_short_int____ptr64_]
mov r12d, r13d
lea rcx, [rbp - 0x20]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
nop
xor r15d, r15d
test r14, r14
je 0x1400495c3
mov rcx, r14
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbp - 0x38], r15
test rdi, rdi
je 0x1400495e0
call qword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.vdsutil.dll_int___cdecl_VdsHeapFree_void____ptr64__unsigned_long_int__void____ptr64_]
mov qword [rbp + 0x50], r15
test rsi, rsi
je 0x1400495fd
call qword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_GetProcessHeap]
mov rcx, rax
mov r8, rsi
xor edx, edx
call qword [sym.imp.vdsutil.dll_int___cdecl_VdsHeapFree_void____ptr64__unsigned_long_int__void____ptr64_]
mov qword [rbp + 0x58], r15
test rbx, rbx
je 0x14004961a
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_]
mov qword [rbp + 0x60], r15
mov eax, r12d
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret