Function at 0x14004d9f4
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 dword [rax + rax]
nop
mov qword [rbp + 0x50], rdi
test r15, r15
je 0x14004dbc1
test rdi, rdi
je 0x14004dbc1
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 r12d, [r14 + 8]
mov edx, r12d
call qword [sym.imp.vdsutil.dll_VdsHeapAlloc]
nop dword [rax + rax]
mov rbx, rax
mov qword [rbp + 0x60], rax
xor ecx, ecx
test rax, rax
jne 0x14004dacd
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_VdsTraceExW]
nop dword [rax + rax]
jmp 0x14004dbfa
mov qword [rax + 0x18], rdi
or rax, 0xffffffffffffffff
inc rax
cmp word [r15 + rax*2], cx
jne 0x14004dad5
mov qword [rbp - 0x30], rax
lea rsi, [rax*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, rsi
mov edx, r12d
call qword [sym.imp.vdsutil.dll_VdsHeapAlloc]
nop dword [rax + rax]
mov rsi, rax
mov qword [rbp + 0x58], rax
mov r8, r15
test rax, rax
jne 0x14004db35
lea rdx, str.CVdsCallbackObject::InitiateSecondAuction__3___s
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
nop dword [rax + rax]
jmp 0x14004dbfd
mov rdx, qword [rbp - 0x30]
inc rdx
mov rcx, rsi
call fcn.14000af8c
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, [0x14004dcc0]
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 r14, rax
mov qword [rbp - 0x38], rax
test rax, rax
jne 0x14004dbaa
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
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_VdsTraceW]
nop dword [rax + rax]
jmp 0x14004dbfa
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 0x14004dbfa
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_VdsTraceExW]
nop dword [rax + rax]
mov r12d, r13d
lea rcx, [rbp - 0x20]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
nop dword [rax + rax]
nop
xor r15d, r15d
test r14, r14
je 0x14004dc29
mov rcx, r14
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rbp - 0x38], r15
test rdi, rdi
je 0x14004dc52
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.vdsutil.dll_VdsHeapFree]
nop dword [rax + rax]
mov qword [rbp + 0x50], r15
test rsi, rsi
je 0x14004dc7b
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
mov r8, rsi
xor edx, edx
call qword [sym.imp.vdsutil.dll_VdsHeapFree]
nop dword [rax + rax]
mov qword [rbp + 0x58], r15
test rbx, rbx
je 0x14004dca4
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.vdsutil.dll_VdsHeapFree]
nop dword [rax + rax]
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