Function at 0x140057fbc
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, 0x58
mov rdi, r8
mov rsi, rdx
xor r12d, r12d
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x50], r12
mov qword [rbp - 0x28], r12
mov qword [rbp + 0x60], r12
mov r15d, 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 dword [rax + rax]
nop
mov qword [rbp - 0x28], rdi
test rsi, rsi
je 0x14005817c
test rdi, rdi
je 0x14005817c
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
lea r8d, [r12 + 0x20]
lea r14d, [r12 + 8]
mov edx, r14d
call qword [sym.imp.vdsutil.dll_VdsHeapAlloc]
nop dword [rax + rax]
mov rdx, rax
lea rcx, [rbp + 0x58]
call sym.vds.exe_public:_struct__AUCTION_THREAD_PARAMETER____ptr64___cdecl_CVdsHeapPtr_struct__AUCTION_THREAD_PARAMETER_::operator_struct__AUCTION_THREAD_PARAMETER____ptr64____ptr64
mov rbx, qword [rbp + 0x58]
test rbx, rbx
jne 0x14005808c
mov r15d, r14d
mov qword [rsp + 0x20], rsi
mov r9d, r14d
lea r8, str.CVdsCallbackObject::InitiateSecondAuction__2__error_lX__pwszDevicePath_s
xor edx, edx
lea ecx, [rbx + 0x5f]
call qword [sym.imp.vdsutil.dll_VdsTraceExW]
nop dword [rax + rax]
jmp 0x1400581b5
mov qword [rbx + 0x18], rdi
or r13, 0xffffffffffffffff
inc r13
cmp word [rsi + r13*2], r12w
jne 0x140058094
lea rdi, [r13*2 + 2]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
mov r8, rdi
mov edx, r14d
call qword [sym.imp.vdsutil.dll_VdsHeapAlloc]
nop dword [rax + rax]
mov rdx, rax
lea rcx, [rbp + 0x50]
call sym.vds.exe_public:_unsigned_short_int____ptr64___cdecl_CVdsHeapPtr_unsigned_short_int_::operator_unsigned_short_int____ptr64____ptr64
mov r10, qword [rbp + 0x50]
mov r8, rsi
test r10, r10
jne 0x1400580f9
lea rdx, str.CVdsCallbackObject::InitiateSecondAuction__3___s
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
nop dword [rax + rax]
jmp 0x1400581b8
lea rdx, [r13 + 1]
mov rcx, r10
call fcn.14000aef0
mov qword [rbx], r10
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov r9, rbx
lea r8, [0x140057b70]
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 rdx, rax
lea rcx, [rbp + 0x60]
call sym.vds.exe_public:_void____ptr64___cdecl_CVdsHandleImpl_0_::operator_void____ptr64____ptr64
cmp qword [rbp + 0x60], r12
jne 0x14005816e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r15d, eax
mov r9d, eax
mov r8, rsi
lea rdx, str.CVdsCallbackObject::InitiateSecondAuction__4___s__error_ld
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
nop dword [rax + rax]
jmp 0x1400581b5
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x50], r12
mov qword [rbp - 0x28], r12
jmp 0x1400581b5
mov r15d, 0x57
lea rax, str.UNKNOWN
test rsi, rsi
cmove rsi, rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
mov r9d, r15d
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_VdsTraceExW]
nop dword [rax + rax]
mov r14d, r15d
lea rcx, [rbp - 0x20]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
nop dword [rax + rax]
nop
lea rcx, [rbp + 0x60]
call sym.vds.exe_public:_void___cdecl_CVdsHandleImpl_0_::destructor_void____ptr64
nop
lea rcx, [rbp - 0x28]
call sym.vds.exe_public:_void___cdecl_CVdsHeapPtr_char_::destructor_void____ptr64
nop
lea rcx, [rbp + 0x50]
call sym.vds.exe_public:_void___cdecl_CVdsHeapPtr_char_::destructor_void____ptr64
nop
lea rcx, [rbp + 0x58]
call sym.vds.exe_public:_void___cdecl_CVdsHeapPtr_char_::destructor_void____ptr64
mov eax, r14d
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret