Function at 0x180006700
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rcx
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x180006754
lea rdx, str._SEARCH__wds_startup:_CoInitializeEx_Failed
lea rcx, str._s._error_d__0x_x_
mov r9d, eax
mov r8d, eax
add rsp, 0x30
pop rbx
jmp fcn.1800060e0
lea rcx, str.query.dll
mov qword [rsp + 0x40], rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 0x20], rax
test rax, rax
jne 0x180006793
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._SEARCH__wds_startup:v2:_LoadLibraryA_query.dll_Failed
lea rcx, str._s._error_d__0x_x_
mov r9d, eax
mov r8d, eax
call fcn.1800060e0
jmp 0x180006849
lea rdx, str.LocateCatalogsW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x28], rax
test rax, rax
jne 0x1800067cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._SEARCH__wds_startup:v2:_GetProcAddress_LocateCatalogsW_Failed
lea rcx, str._s._error_d__0x_x_
mov r9d, eax
mov r8d, eax
call fcn.1800060e0
jmp 0x180006849
mov rcx, qword [rbx + 0x20]
lea rdx, str.CIMakeICommand
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
test rax, rax
jne 0x180006808
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._SEARCH__wds_startup:v2:_GetProcAddress_CIMakeICommand_Failed
lea rcx, str._s._error_d__0x_x_
mov r9d, eax
mov r8d, eax
call fcn.1800060e0
jmp 0x180006849
mov rcx, qword [rbx + 0x20]
lea rdx, str.CITextToFullTree
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
test rax, rax
jne 0x180006843
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._SEARCH__wds_startup:v2:_GetProcAddress_CITextToFullTree_Failed
lea rcx, str._s._error_d__0x_x_
mov r9d, eax
mov r8d, eax
call fcn.1800060e0
jmp 0x180006849
mov dword [rbx], 1
xor edx, edx
lea rdi, [rbx + 8]
lea r9, [0x180044270]
lea r8d, [rdx + 0x17]
lea rcx, str._l_t_b
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x180006893
lea rdx, str._SEARCH__wds_startup:v3:_CoCreateInstance__IID_ISearchManager_Failed
lea rcx, str._s._error_d__0x_x_
mov r9d, eax
mov r8d, eax
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
jmp fcn.1800060e0
mov rcx, qword [rdi]
lea r8, [rbx + 0x10]
lea rdx, str.SystemIndex
mov rax, qword [rcx]
call qword [rax + 0x50]
test eax, eax
jns 0x1800068ce
lea rdx, str._SEARCH__wds_startup:v3:_ISearchManager_GetCatalog_Failed
lea rcx, str._s._error_d__0x_x_
mov r9d, eax
mov r8d, eax
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
jmp fcn.1800060e0
mov rcx, qword [rbx + 0x10]
lea rdx, [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0xe0]
test eax, eax
jns 0x180006906
lea rdx, str._SEARCH__wds_startup:v3:_ISearchCatalogManager_GetCrawlScopeManager_Failed
lea rcx, str._s._error_d__0x_x_
mov r9d, eax
mov r8d, eax
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
jmp fcn.1800060e0
mov dword [rbx + 4], 1
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret