Function at 0x14000c8cc
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 0x14000c94d
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 0x14000cc6b
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 0x14000cc6b
test r15, r15
je 0x14000cc6b
test rsi, rsi
je 0x14000cc6b
test r14, r14
je 0x14000cc6b
test r12, r12
je 0x14000cc6b
test rax, rax
je 0x14000cc6b
mov rax, rbx
call qword [0x140051cb8]
mov r12d, eax
xor r14d, r14d
test eax, eax
je 0x14000cc80
xor edi, edi
lea rdx, [rbp + 0xa90]
mov ecx, r14d
mov rax, r15
call qword [0x140051cb8]
test eax, eax
je 0x14000ca6e
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 0x14000cc5d
lea rcx, [rbp + 0xa90]
mov rax, rsi
call qword [0x140051cb8]
mov r15d, eax
test eax, eax
jne 0x14000ca9e
lea rdx, str.CVdsService::LoadHbaPorts__3
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
mov edi, 0x80004005
jmp 0x14000cc58
lea rdx, [rbp + 0x200]
mov ecx, r15d
mov rax, qword [rsp + 0x40]
call qword [0x140051cb8]
test eax, eax
je 0x14000cad3
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 0x14000cc4c
xor esi, esi
cmp dword [rbp + 0x98c], esi
jbe 0x14000cc47
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 0x14000cb0f
lea rdx, str.CVdsService::LoadHbaPorts__5__hr_lX
jmp 0x14000cbc6
lea r8, [rbp - 0x80]
mov edx, esi
mov ecx, r15d
mov rax, r13
call qword [0x140051cb8]
test eax, eax
je 0x14000cb41
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 0x14000cc07
lea rcx, [rsp + 0x28]
call fcn.14001b9e0
mov rbx, qword [rsp + 0x28]
test rbx, rbx
jne 0x14000cb6e
mov edi, 0x8007000e
lea rdx, str.CVdsService::LoadHbaPorts__7
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
jmp 0x14000cc07
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [0x140051cb8]
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.14001d8b8
mov edi, eax
test eax, eax
jns 0x14000cb9e
lea rdx, str.CVdsService::LoadHbaPorts__8__hr_lX
jmp 0x14000cbc6
mov rax, qword [rbx]
lea r8, [rsp + 0x20]
lea rdx, [0x140053008]
mov rcx, rbx
mov rax, qword [rax]
call qword [0x140051cb8]
mov edi, eax
test eax, eax
jns 0x14000cbd3
lea rdx, str.CVdsService::LoadHbaPorts__9__hr_lX
mov r8d, eax
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
jmp 0x14000cc07
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 0x14000cc1f
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140051cb8]
nop
test rbx, rbx
je 0x14000cc34
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [0x140051cb8]
inc esi
cmp esi, dword [rbp + 0x98c]
jb 0x14000cae6
mov r13, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x30]
mov ecx, r15d
mov rax, r13
call qword [0x140051cb8]
mov r15, qword [rsp + 0x38]
inc r14d
cmp r14d, r12d
jb 0x14000ca39
jmp 0x14000cc80
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.14004a710
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