Function at 0x140045c84
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 0x140045e15
test rdi, rdi
je 0x140045e15
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov rcx, rax
lea r8d, [r12 + 0x20]
lea r12d, [r14 + 8]
mov edx, r12d
call qword [sym.imp.vdsutil.dll_VdsHeapAlloc]
mov rbx, rax
mov qword [rbp + 0x60], rax
xor ecx, ecx
test rax, rax
jne 0x140045d45
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]
jmp 0x140045e48
mov qword [rax + 0x18], rdi
or rax, 0xffffffffffffffff
inc rax
cmp word [r15 + rax*2], cx
jne 0x140045d4d
mov qword [rbp - 0x30], rax
lea rsi, [rax*2 + 2]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov rcx, rax
mov r8, rsi
mov edx, r12d
call qword [sym.imp.vdsutil.dll_VdsHeapAlloc]
mov rsi, rax
mov qword [rbp + 0x58], rax
mov r8, r15
test rax, rax
jne 0x140045d9b
lea rdx, str.CVdsCallbackObject::InitiateSecondAuction__3___s
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
jmp 0x140045e4b
mov rdx, qword [rbp - 0x30]
inc rdx
mov rcx, rsi
call fcn.14000a4e0
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, [0x140045ee0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov r14, rax
mov qword [rbp - 0x38], rax
test rax, rax
jne 0x140045dfe
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.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_VdsTraceW]
jmp 0x140045e48
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 0x140045e48
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]
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 0x140045e6b
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 0x140045e88
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.vdsutil.dll_VdsHeapFree]
mov qword [rbp + 0x50], r15
test rsi, rsi
je 0x140045ea5
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov rcx, rax
mov r8, rsi
xor edx, edx
call qword [sym.imp.vdsutil.dll_VdsHeapFree]
mov qword [rbp + 0x58], r15
test rbx, rbx
je 0x140045ec2
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.vdsutil.dll_VdsHeapFree]
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