Function at 0x14000d90c
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xbd8]
sub rsp, 0xcb0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400a0008]
xor rax, rsp
mov qword [rbp + 0xba8], rax
xor r14d, r14d
lea r8, str.CVdsService::LoadHbaPorts__
lea edx, [r14 + 0x5e]
lea rcx, [rsp + 0x70]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::constructor_unsigned_long_int__char_const____ptr64____ptr64]
nop
mov rax, qword [0x1400a13f8]
test rax, rax
jne 0x14000d98f
lea rcx, str.hbaapi.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_LoadLibraryW]
mov qword [0x1400a13f8], rax
test rax, rax
je 0x14000dced
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 [0x1400a13f8]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov r15, rax
mov qword [rsp + 0x48], rax
lea rdx, str.HBA_OpenAdapter
mov rcx, qword [0x1400a13f8]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rsi, rax
mov qword [rsp + 0x58], rax
lea rdx, str.HBA_GetAdapterAttributes
mov rcx, qword [0x1400a13f8]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov r12, rax
mov qword [rsp + 0x38], rax
lea rdx, str.HBA_GetAdapterPortAttributes
mov rcx, qword [0x1400a13f8]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov r13, rax
mov qword [rsp + 0x60], rax
lea rdx, str.HBA_CloseAdapter
mov rcx, qword [0x1400a13f8]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rdi, rax
mov qword [rsp + 0x50], rax
test rbx, rbx
je 0x14000dced
test r15, r15
je 0x14000dced
test rsi, rsi
je 0x14000dced
test r12, r12
je 0x14000dced
test r13, r13
je 0x14000dced
test rax, rax
je 0x14000dced
mov rcx, rbx
call qword [sym.vds.exe_public:_void___cdecl_CVdsPtr_char_::destructor_void____ptr64]
call rbx
mov ebx, eax
mov dword [rsp + 0x30], eax
xor r12d, r12d
mov dword [rsp + 0x20], r12d
test eax, eax
je 0x14000dd03
xor r14d, r14d
mov rcx, r15
call qword [sym.vds.exe_public:_void___cdecl_CVdsPtr_char_::destructor_void____ptr64]
lea rdx, [rbp + 0xaa0]
mov ecx, r12d
call r15
test eax, eax
je 0x14000dab6
mov r8d, eax
lea rdx, str.CVdsService::LoadHbaPorts_hbaStatus_lX__2
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_void___cdecl_VdsTraceW_unsigned_long_int__unsigned_short_int____ptr64_]
jmp 0x14000dade
mov rcx, rsi
call qword [sym.vds.exe_public:_void___cdecl_CVdsPtr_char_::destructor_void____ptr64]
lea rcx, [rbp + 0xaa0]
call rsi
mov r13d, eax
test eax, eax
jne 0x14000dae9
lea rdx, str.CVdsService::LoadHbaPorts__3
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_void___cdecl_VdsTraceW_unsigned_long_int__unsigned_short_int____ptr64_]
mov r14d, 0x80004005
jmp 0x14000dcda
mov rcx, qword [rsp + 0x38]
call qword [sym.vds.exe_public:_void___cdecl_CVdsPtr_char_::destructor_void____ptr64]
lea rdx, [rbp + 0x210]
mov ecx, r13d
call qword [rsp + AtlModuleUnregisterServerEx]
test eax, eax
je 0x14000db23
mov r8d, eax
lea rdx, str.CVdsService::LoadHbaPorts_hbaStatus_lX__4
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_void___cdecl_VdsTraceW_unsigned_long_int__unsigned_short_int____ptr64_]
mov r14d, 0x80004005
jmp 0x14000dccc
xor r15d, r15d
cmp dword [rbp + 0x99c], r14d
jbe 0x14000dcc7
mov r12, qword [rsp + 0x60]
xor ebx, ebx
mov qword [rsp + 0x40], rbx
and qword [rsp + 0x28], rbx
lea rcx, [rbp - 0x80]
call qword [sym.imp.ole32.dll_CoCreateGuid]
mov r14d, eax
test eax, eax
jns 0x14000db61
lea rdx, str.CVdsService::LoadHbaPorts__5__hr_lX
jmp 0x14000dc29
mov rcx, r12
call qword [sym.vds.exe_public:_void___cdecl_CVdsPtr_char_::destructor_void____ptr64]
lea r8, [rbp - 0x70]
mov edx, r15d
mov ecx, r13d
call r12
test eax, eax
je 0x14000db98
mov r8d, eax
lea rdx, str.CVdsService::LoadHbaPorts_hbaStatus_lX__6
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_void___cdecl_VdsTraceW_unsigned_long_int__unsigned_short_int____ptr64_]
mov r14d, 0x80004005
jmp 0x14000dc6a
lea rcx, [rsp + 0x40]
call fcn.14001cedc
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jne 0x14000dbc6
mov r14d, 0x8007000e
lea rdx, str.CVdsService::LoadHbaPorts__7
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_void___cdecl_VdsTraceW_unsigned_long_int__unsigned_short_int____ptr64_]
jmp 0x14000dc6a
mov rax, qword [rbx]
mov rdi, qword [rax + 8]
mov rcx, rdi
call qword [sym.vds.exe_public:_void___cdecl_CVdsPtr_char_::destructor_void____ptr64]
mov rcx, rbx
call rdi
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.14001f030
mov r14d, eax
test eax, eax
jns 0x14000dbfb
lea rdx, str.CVdsService::LoadHbaPorts__8__hr_lX
jmp 0x14000dc29
mov rax, qword [rbx]
mov rdi, qword [rax]
mov rcx, rdi
call qword [sym.vds.exe_public:_void___cdecl_CVdsPtr_char_::destructor_void____ptr64]
lea r8, [rsp + 0x28]
lea rdx, [0x1400571d8]
mov rcx, rbx
call rdi
mov r14d, eax
test eax, eax
jns 0x14000dc36
lea rdx, str.CVdsService::LoadHbaPorts__9__hr_lX
mov r8d, eax
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_void___cdecl_VdsTraceW_unsigned_long_int__unsigned_short_int____ptr64_]
jmp 0x14000dc6a
lea rcx, [0x1400a0d50]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_EnterCriticalSection]
nop
mov rdx, qword [rsp + 0x28]
lea rcx, [0x1400a1010]
call qword [sym.imp.vdsutil.dll_public:_int___cdecl_CRtlList::InsertTailPointer_void____ptr64____ptr64]
and qword [rsp + 0x28], 0
lea rcx, [0x1400a0d50]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_LeaveCriticalSection]
nop
mov rdi, qword [rsp + 0x28]
test rdi, rdi
je 0x14000dc8a
mov rax, qword [rdi]
mov rsi, qword [rax + 0x10]
mov rcx, rsi
call qword [sym.vds.exe_public:_void___cdecl_CVdsPtr_char_::destructor_void____ptr64]
mov rcx, rdi
call rsi
nop
test rbx, rbx
je 0x14000dca4
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [sym.vds.exe_public:_void___cdecl_CVdsPtr_char_::destructor_void____ptr64]
mov rcx, rbx
call rdi
inc r15d
cmp r15d, dword [rbp + 0x99c]
jb 0x14000db38
mov r12d, dword [rsp + 0x20]
mov ebx, dword [rsp + 0x30]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov r15, qword [rsp + 0x48]
mov rcx, rdi
call qword [sym.vds.exe_public:_void___cdecl_CVdsPtr_char_::destructor_void____ptr64]
mov ecx, r13d
call rdi
inc r12d
mov dword [rsp + 0x20], r12d
cmp r12d, ebx
jb 0x14000da85
jmp 0x14000dd03
mov r14d, 0x80042400
lea rdx, str.CVdsService::LoadHbaPorts__1
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_void___cdecl_VdsTraceW_unsigned_long_int__unsigned_short_int____ptr64_]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
mov eax, r14d
mov rcx, qword [rbp + 0xba8]
xor rcx, rsp
call fcn.14004eb20
lea r11, [rsp + 0xcb0]
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