Function at 0x180007360
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rbp
push rdi
lea rbp, [rax - 0x57]
sub rsp, 0xc8
xor edi, edi
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], r12
mov qword [rax - 0x18], r13
mov qword [rax - 0x20], r14
mov rsi, rcx
lea rcx, str._SEARCH__wds3_search:_Starting...
mov qword [rax - 0x28], r15
mov r14, r9
mov rbx, r8
mov r13, rdx
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x5f], rdi
mov qword [rbp - 1], rdi
mov qword [rbp - 0x21], rdi
mov qword [rbp - 9], rdi
mov qword [rbp + 7], rdi
mov qword [rbp - 0x11], rdi
mov qword [rbp - 0x19], rdi
mov qword [rbp + 0xf], rdi
call fcn.1800060e0
test rsi, rsi
jne 0x1800073db
lea rdx, str._SEARCH__wds3_search:__pWDSInterface
jmp 0x18000784a
cmp dword [rsi + 4], edi
je 0x180007861
cmp qword [rbp + 0x7f], rdi
je 0x180007843
test r14, r14
je 0x180007843
test r13, r13
je 0x180007843
test rbx, rbx
jne 0x180007409
mov rbx, qword [r14 + 8]
mov rcx, qword [rsi + 0x10]
lea rdx, [rbp + 0x5f]
mov rax, qword [rcx]
call qword [rax + 0xc8]
test eax, eax
jns 0x180007432
mov edi, eax
mov r9d, eax
mov r8d, eax
lea rdx, str._SEARCH__wds3_search:_ISearchCatalogManager_GetQueryHelper_Failed
jmp 0x180007855
mov rcx, qword [rbp + 0x5f]
lea rdx, str.size_path_write
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
test eax, eax
jns 0x18000745b
mov edi, eax
mov r9d, eax
mov r8d, eax
lea rdx, str._SEARCH__wds3_search:_ISearchQueryHelper_put_QuerySelectColumns_Failed
jmp 0x180007855
mov r12, rdi
mov r15d, 0xa0
test rbx, rbx
je 0x1800074db
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], di
jne 0x180007470
add rax, r15
mov edx, 2
mov rcx, rax
mov r15, rax
call fcn.18002cde4
mov rsi, rax
test rax, rax
je 0x1800074ca
mov qword [rsp + 0x20], rbx
mov r9, r13
mov rdx, r15
mov rcx, rax
cmp dword [r14 + 0x10], edi
je 0x1800074b9
lea r8, str.AND_SCOPE_s:_s
call fcn.18002efd8
movsxd r12, eax
jmp 0x1800074df
lea r8, str.AND_DIRECTORY_s:_s
call fcn.18002efd8
movsxd r12, eax
jmp 0x1800074df
mov edi, reloc.WS2_32.dll_ntohl
lea rdx, str._SEARCH__wds3_search:__where
jmp 0x18000784f
mov rsi, qword [rbp + 0x5f]
mov ecx, dword [r14 + 0x14]
cmp ecx, 0xffffffff
je 0x180007573
xor eax, eax
lea rdx, [rbp - 0x31]
mov word [rbp - 0x31], di
mov qword [rbp - 0x2f], rax
mov dword [rbp - 0x27], eax
mov word [rbp - 0x23], ax
call fcn.180006540
test eax, eax
jne 0x180007524
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._SEARCH__unable_to_convert_start_date
mov edi, eax
mov r9d, eax
mov r8d, eax
jmp 0x180007855
movzx r8d, word [rbp - 0x27]
movzx eax, word [rbp - 0x25]
movzx r10d, word [rbp - 0x29]
movzx r11d, word [rbp - 0x2b]
movzx ebx, word [rbp - 0x2f]
movzx r9d, word [rbp - 0x31]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov rdx, r15
lea r8, [0x180044bd0]
lea rcx, [rsi + r12*2]
sub rdx, r12
mov dword [rsp + 0x20], ebx
call fcn.18002efd8
movsxd rcx, eax
add r12, rcx
mov ecx, dword [r14 + 0x18]
cmp ecx, 0xffffffff
je 0x180007601
xor eax, eax
lea rdx, [rbp - 0x31]
mov word [rbp - 0x31], di
mov qword [rbp - 0x2f], rax
mov dword [rbp - 0x27], eax
mov word [rbp - 0x23], ax
call fcn.180006540
test eax, eax
jne 0x1800075b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str._SEARCH__unable_to_convert_end_date
mov edi, eax
mov r9d, eax
mov r8d, eax
jmp 0x180007855
movzx r8d, word [rbp - 0x27]
movzx eax, word [rbp - 0x25]
movzx r10d, word [rbp - 0x29]
movzx r11d, word [rbp - 0x2b]
movzx ebx, word [rbp - 0x2f]
movzx r9d, word [rbp - 0x31]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], r10d
sub r15, r12
mov dword [rsp + 0x28], r11d
lea r8, str._AND_System.DateModified__04d__02d__02dT_02d:_02d:_02d
lea rcx, [rsi + r12*2]
mov rdx, r15
mov dword [rsp + 0x20], ebx
call fcn.18002efd8
test rsi, rsi
je 0x18000761e
mov rcx, qword [rbp + 0x5f]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rcx, rsi
call fcn.18002ce28
mov rcx, qword [rbp + 0x5f]
mov rdx, qword [r14]
lea r8, [rbp + 0x17]
mov rax, qword [rcx]
call qword [rax + 0xa0]
test eax, eax
jns 0x18000764a
mov edi, eax
mov r9d, eax
mov r8d, eax
lea rdx, str._SEARCH__wds3_search:_ISearchQueryHelper_GenerateSQLFromUserQuery_Failed
jmp 0x180007855
xor edx, edx
lea rax, [rbp - 1]
lea r9, [0x180044280]
lea r8d, [rdx + 0x17]
lea rcx, [0x180044260]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x180007685
mov edi, eax
mov r9d, eax
mov r8d, eax
lea rdx, str._SEARCH__wds3_search:_CoCreateInstance__IID_IDataInitialize_Failed
jmp 0x180007855
mov rcx, qword [rbp + 0x5f]
lea rdx, [rbp + 0x1f]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jns 0x1800076ab
mov edi, eax
mov r9d, eax
mov r8d, eax
lea rdx, str._SEARCH__wds3_search:_ISearchQueryHelper_get_ConnectionString__IID_IDataInitialize_Failed
jmp 0x180007855
mov rcx, qword [rbp - 1]
mov r9, qword [rbp + 0x1f]
lea rdx, [rbp - 0x21]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdx
lea rdx, [0x180044290]
mov qword [rsp + 0x20], rdx
xor edx, edx
lea r8d, [rdx + 1]
call qword [rax + 0x18]
test eax, eax
jns 0x1800076ec
mov edi, eax
mov r9d, eax
mov r8d, eax
lea rdx, str._SEARCH__wds3_search:_IDataInitialize_GetDataSource_Failed
jmp 0x180007855
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jns 0x18000770e
mov edi, eax
mov r9d, eax
mov r8d, eax
lea rdx, str._SEARCH__wds3_search:_IDBInitialize_Initialize_Failed
jmp 0x180007855
mov rcx, qword [rbp - 0x21]
lea r8, [rbp - 9]
lea rdx, [0x1800442a0]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
jns 0x18000773a
mov edi, eax
mov r9d, eax
mov r8d, eax
lea rdx, str._SEARCH__wds3_search:_IDBInitialize_QueryInterface_Failed
jmp 0x180007855
mov rcx, qword [rbp - 9]
lea r9, [rbp + 7]
lea r8, [0x1800442b0]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x18]
test eax, eax
jns 0x180007769
mov edi, eax
mov r9d, eax
mov r8d, eax
lea rdx, str._SEARCH__wds3_search:_IDBCreateSession_CreateSession_Failed
jmp 0x180007855
mov rcx, qword [rbp + 7]
lea r8, [rbp - 0x11]
lea rdx, [0x1800442c0]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
jns 0x180007795
mov edi, eax
mov r9d, eax
mov r8d, eax
lea rdx, str._SEARCH__wds3_search:_IOpenRowset_QueryInterface_Failed
jmp 0x180007855
mov rcx, qword [rbp - 0x11]
lea r9, [rbp - 0x19]
lea r8, [0x1800442d0]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x18]
test eax, eax
jns 0x1800077c4
mov edi, eax
mov r9d, eax
mov r8d, eax
lea rdx, str._SEARCH__wds3_search:_IDBCreateCommand_CreateCommand_Failed
jmp 0x180007855
mov rcx, qword [rbp - 0x19]
lea r8, [rbp + 0xf]
lea rdx, [0x1800442e0]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
jns 0x1800077ed
mov edi, eax
mov r9d, eax
mov r8d, eax
lea rdx, str._SEARCH__wds3_search:_ICommand_QueryInterface_Failed
jmp 0x180007855
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0xf]
mov r8, qword [rbp + 0x17]
mov rax, qword [rcx]
lea rdx, [0x18004d038]
call qword [rax + reloc.WS2_32.dll_getservbyport]
test eax, eax
jns 0x180007821
mov edi, eax
mov r9d, eax
mov r8d, eax
lea rdx, str._SEARCH__wds3_search:_ICommandText_SetCommandText_Failed
jmp 0x180007855
mov rdx, qword [rbp + 0x7f]
mov rcx, qword [rbp - 0x19]
call fcn.180006b20
test eax, eax
jns 0x180007861
mov edi, eax
mov r9d, eax
mov r8d, eax
lea rdx, str._SEARCH__wds3_search:_wds_execute_Failed
jmp 0x180007855
lea rdx, str._SEARCH__wds3_search:__pResultList___pOptions___wpProtocol
mov edi, 0x57
mov r8d, edi
mov r9, rdi
lea rcx, str._s._error_d__0x_x_
call fcn.1800060e0
lea rcx, str._SEARCH__wds3_search:_Releasing_COM_objects...
call fcn.1800060e0
mov rcx, qword [rbp + 0xf]
mov r15, qword [rsp + 0xb0]
mov r14, qword [rsp + 0xb8]
mov r13, qword [rsp + 0xc0]
mov r12, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xe8]
test rcx, rcx
je 0x1800078ac
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x1800078bb
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1800078ca
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x1800078d9
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x1800078e8
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x5f]
test rcx, rcx
je 0x1800078f7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x180007906
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x180007915
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
lea rcx, str._SEARCH__wds3_search:_Finished.
call fcn.1800060e0
mov eax, edi
add rsp, 0xc8
pop rdi
pop rbp
ret