Function at 0x14000cecc
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xbc8]
sub rsp, 0xca0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14009a238]
xor rax, rsp
mov qword [rbp + 0xb98], rax
xor edi, edi
lea r8, str.CVdsService::LoadHbaPorts__
lea edx, [rdi + 0x5e]
lea rcx, [rsp + 0x60]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::constructor_unsigned_long_int__char_const____ptr64____ptr64]
nop
mov rax, qword [0x14009b3e8]
test rax, rax
jne 0x14000cf4d
lea rcx, str.hbaapi.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_LoadLibraryW]
mov qword [0x14009b3e8], rax
test rax, rax
je 0x14000d26b
lea rdx, str.HBA_GetNumberOfAdapters
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rbx, rax
lea rdx, str.HBA_GetAdapterName
mov rcx, qword [0x14009b3e8]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov r15, rax
mov qword [rsp + 0x38], rax
lea rdx, str.HBA_OpenAdapter
mov rcx, qword [0x14009b3e8]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rsi, rax
mov qword [rsp + 0x30], rax
lea rdx, str.HBA_GetAdapterAttributes
mov rcx, qword [0x14009b3e8]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov r14, rax
mov qword [rsp + 0x40], rax
lea rdx, str.HBA_GetAdapterPortAttributes
mov rcx, qword [0x14009b3e8]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov r12, rax
mov qword [rsp + 0x48], rax
lea rdx, str.HBA_CloseAdapter
mov rcx, qword [0x14009b3e8]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov r13, rax
mov qword [rsp + 0x50], rax
test rbx, rbx
je 0x14000d26b
test r15, r15
je 0x14000d26b
test rsi, rsi
je 0x14000d26b
test r14, r14
je 0x14000d26b
test r12, r12
je 0x14000d26b
test rax, rax
je 0x14000d26b
mov rax, rbx
call qword [0x140051cd0]
mov r12d, eax
xor r14d, r14d
test eax, eax
je 0x14000d280
xor edi, edi
lea rdx, [rbp + 0xa90]
mov ecx, r14d
mov rax, r15
call qword [0x140051cd0]
test eax, eax
je 0x14000d06e
mov r8d, eax
lea rdx, str.CVdsService::LoadHbaPorts_hbaStatus_lX__2
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
mov edi, 0x80004005
jmp 0x14000d25d
lea rcx, [rbp + 0xa90]
mov rax, rsi
call qword [0x140051cd0]
mov r15d, eax
test eax, eax
jne 0x14000d09e
lea rdx, str.CVdsService::LoadHbaPorts__3
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
mov edi, 0x80004005
jmp 0x14000d258
lea rdx, [rbp + 0x200]
mov ecx, r15d
mov rax, qword [rsp + 0x40]
call qword [0x140051cd0]
test eax, eax
je 0x14000d0d3
mov r8d, eax
lea rdx, str.CVdsService::LoadHbaPorts_hbaStatus_lX__4
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
mov edi, 0x80004005
jmp 0x14000d24c
xor esi, esi
cmp dword [rbp + 0x98c], esi
jbe 0x14000d247
mov r13, qword [rsp + 0x48]
xor ebx, ebx
mov qword [rsp + 0x28], rbx
and qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x70]
call qword [sym.imp.ole32.dll_CoCreateGuid]
mov edi, eax
test eax, eax
jns 0x14000d10f
lea rdx, str.CVdsService::LoadHbaPorts__5__hr_lX
jmp 0x14000d1c6
lea r8, [rbp - 0x80]
mov edx, esi
mov ecx, r15d
mov rax, r13
call qword [0x140051cd0]
test eax, eax
je 0x14000d141
mov r8d, eax
lea rdx, str.CVdsService::LoadHbaPorts_hbaStatus_lX__6
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
mov edi, 0x80004005
jmp 0x14000d207
lea rcx, [rsp + 0x28]
call fcn.14001c310
mov rbx, qword [rsp + 0x28]
test rbx, rbx
jne 0x14000d16e
mov edi, 0x8007000e
lea rdx, str.CVdsService::LoadHbaPorts__7
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
jmp 0x14000d207
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [0x140051cd0]
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.14001e2e4
mov edi, eax
test eax, eax
jns 0x14000d19e
lea rdx, str.CVdsService::LoadHbaPorts__8__hr_lX
jmp 0x14000d1c6
mov rax, qword [rbx]
lea r8, [rsp + 0x20]
lea rdx, [0x140053018]
mov rcx, rbx
mov rax, qword [rax]
call qword [0x140051cd0]
mov edi, eax
test eax, eax
jns 0x14000d1d3
lea rdx, str.CVdsService::LoadHbaPorts__9__hr_lX
mov r8d, eax
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
jmp 0x14000d207
lea rcx, [0x14009ad40]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop
mov rdx, qword [rsp + 0x20]
lea rcx, [0x14009b000]
call qword [sym.imp.vdsutil.dll_public:_int___cdecl_CRtlList::InsertTailPointer_void____ptr64____ptr64]
and qword [rsp + 0x20], 0
lea rcx, [0x14009ad40]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14000d21f
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140051cd0]
nop
test rbx, rbx
je 0x14000d234
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [0x140051cd0]
inc esi
cmp esi, dword [rbp + 0x98c]
jb 0x14000d0e6
mov r13, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x30]
mov ecx, r15d
mov rax, r13
call qword [0x140051cd0]
mov r15, qword [rsp + 0x38]
inc r14d
cmp r14d, r12d
jb 0x14000d039
jmp 0x14000d280
mov edi, 0x80042400
lea rdx, str.CVdsService::LoadHbaPorts__1
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
mov eax, edi
mov rcx, qword [rbp + 0xb98]
xor rcx, rsp
call fcn.14004b730
lea r11, [rsp + 0xca0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret