Function at 0x14001391c
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 [0x1400ae3a8]
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 dword [rax + rax]
nop
mov rax, qword [0x1400af568]
test rax, rax
jne 0x1400139a9
lea rcx, str.hbaapi.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_LoadLibraryW]
nop dword [rax + rax]
mov qword [0x1400af568], rax
test rax, rax
je 0x140013d27
lea rdx, str.HBA_GetNumberOfAdapters
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov rbx, rax
lea rdx, str.HBA_GetAdapterName
mov rcx, qword [0x1400af568]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov r15, rax
mov qword [rsp + 0x38], rax
lea rdx, str.HBA_OpenAdapter
mov rcx, qword [0x1400af568]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov rsi, rax
mov qword [rsp + 0x30], rax
lea rdx, str.HBA_GetAdapterAttributes
mov rcx, qword [0x1400af568]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov r14, rax
mov qword [rsp + 0x40], rax
lea rdx, str.HBA_GetAdapterPortAttributes
mov rcx, qword [0x1400af568]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov r12, rax
mov qword [rsp + 0x48], rax
lea rdx, str.HBA_CloseAdapter
mov rcx, qword [0x1400af568]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov r13, rax
mov qword [rsp + 0x50], rax
test rbx, rbx
je 0x140013d27
test r15, r15
je 0x140013d27
test rsi, rsi
je 0x140013d27
test r14, r14
je 0x140013d27
test r12, r12
je 0x140013d27
test rax, rax
je 0x140013d27
mov rax, rbx
call qword [0x140062e08]
mov r12d, eax
xor r14d, r14d
test eax, eax
je 0x140013d42
xor edi, edi
lea rdx, [rbp + 0xa90]
mov ecx, r14d
mov rax, r15
call qword [0x140062e08]
test eax, eax
je 0x140013af4
mov r8d, eax
lea rdx, str.CVdsService::LoadHbaPorts_hbaStatus_lX__2
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
nop dword [rax + rax]
mov edi, 0x80004005
jmp 0x140013d19
lea rcx, [rbp + 0xa90]
mov rax, rsi
call qword [0x140062e08]
mov r15d, eax
test eax, eax
jne 0x140013b2a
lea rdx, str.CVdsService::LoadHbaPorts__3
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
nop dword [rax + rax]
mov edi, 0x80004005
jmp 0x140013d14
lea rdx, [rbp + 0x200]
mov ecx, r15d
mov rax, qword [rsp + 0x40]
call qword [0x140062e08]
test eax, eax
je 0x140013b65
mov r8d, eax
lea rdx, str.CVdsService::LoadHbaPorts_hbaStatus_lX__4
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
nop dword [rax + rax]
mov edi, 0x80004005
jmp 0x140013d08
xor esi, esi
cmp dword [rbp + 0x98c], esi
jbe 0x140013d03
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]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jns 0x140013ba7
lea rdx, str.CVdsService::LoadHbaPorts__5__hr_lX
jmp 0x140013c6a
lea r8, [rbp - 0x80]
mov edx, esi
mov ecx, r15d
mov rax, r13
call qword [0x140062e08]
test eax, eax
je 0x140013bdf
mov r8d, eax
lea rdx, str.CVdsService::LoadHbaPorts_hbaStatus_lX__6
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
nop dword [rax + rax]
mov edi, 0x80004005
jmp 0x140013cc3
lea rcx, [rsp + 0x28]
call fcn.140025770
mov rbx, qword [rsp + 0x28]
test rbx, rbx
jne 0x140013c12
mov edi, 0x8007000e
lea rdx, str.CVdsService::LoadHbaPorts__7
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
nop dword [rax + rax]
jmp 0x140013cc3
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [0x140062e08]
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400280a0
mov edi, eax
test eax, eax
jns 0x140013c42
lea rdx, str.CVdsService::LoadHbaPorts__8__hr_lX
jmp 0x140013c6a
mov rax, qword [rbx]
lea r8, [rsp + 0x20]
lea rdx, [0x140064258]
mov rcx, rbx
mov rax, qword [rax]
call qword [0x140062e08]
mov edi, eax
test eax, eax
jns 0x140013c7d
lea rdx, str.CVdsService::LoadHbaPorts__9__hr_lX
mov r8d, eax
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
nop dword [rax + rax]
jmp 0x140013cc3
lea rcx, [0x1400aeec0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
nop
mov rdx, qword [rsp + 0x20]
lea rcx, [0x1400af180]
call qword [sym.imp.vdsutil.dll_public:_int___cdecl_CRtlList::InsertTailPointer_void____ptr64____ptr64]
nop dword [rax + rax]
and qword [rsp + 0x20], 0
lea rcx, [0x1400aeec0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140013cdb
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140062e08]
nop
test rbx, rbx
je 0x140013cf0
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [0x140062e08]
inc esi
cmp esi, dword [rbp + 0x98c]
jb 0x140013b78
mov r13, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x30]
mov ecx, r15d
mov rax, r13
call qword [0x140062e08]
mov r15, qword [rsp + 0x38]
inc r14d
cmp r14d, r12d
jb 0x140013ab9
jmp 0x140013d42
mov edi, 0x80042400
lea rdx, str.CVdsService::LoadHbaPorts__1
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rbp + 0xb98]
xor rcx, rsp
call fcn.14005b270
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