Function at 0x51f0b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58ac98
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5fb61c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
inc dword [esi + 0x10]
mov eax, dword [esi + 0x10]
mov ebx, ecx
mov dword [ebp - 0x44], esi
cmp dword [esi + 0x14], eax
jae 0x51f124
lea ecx, [ebp - 0x3c]
call fcn.0053484c
push 0x5e4634
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x3c], vtable.apache::thrift::protocol::TProtocolException.0
mov dword [ebp - 0x14], 6
call fcn.00533e7f
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push str.CloudDocContentSearchArg
mov ecx, esi
mov dword [ebp - 4], 0
call eax
mov edx, dword [esi]
push 1
push 0xb
mov edi, eax
mov eax, dword [edx + 0x14]
push str.searchName
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x50]
add edi, eax
lea eax, [ebx + 4]
push eax
mov ecx, esi
call edx
add edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
push 2
add edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push 0xb
push str.exts
mov ecx, esi
call edx
add edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
lea ecx, [ebx + 0x20]
push ecx
mov ecx, esi
call edx
add edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
push 3
add edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push 0xb
push str.orderBy
mov ecx, esi
call edx
add edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
lea ecx, [ebx + 0x3c]
push ecx
mov ecx, esi
call edx
add edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
push 4
add edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push 0xb
push str.order
mov ecx, esi
call edx
lea ecx, [ebx + 0x58]
add edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
push ecx
mov ecx, esi
call edx
add edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
push 5
add edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push 8
push str.offset
mov ecx, esi
call edx
mov edx, dword [esi]
add edi, eax
mov eax, dword [ebx + 0x74]
push eax
mov eax, dword [edx + 0x44]
mov ecx, esi
call eax
mov edx, dword [esi]
add edi, eax
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov edx, dword [esi]
push 6
push 8
add edi, eax
mov eax, dword [edx + 0x14]
push str.count
mov ecx, esi
call eax
mov edx, dword [esi]
add edi, eax
mov eax, dword [ebx + 0x78]
push eax
mov eax, dword [edx + 0x44]
mov ecx, esi
call eax
mov edx, dword [esi]
add edi, eax
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov edx, dword [esi]
push 7
push 2
add edi, eax
mov eax, dword [edx + 0x14]
push str.include_folder
mov ecx, esi
call eax
mov cl, byte [ebx + 0x7c]
mov edx, dword [esi]
mov edx, dword [edx + 0x38]
mov byte [ebp - 0x40], cl
add edi, eax
mov eax, dword [ebp - 0x40]
push eax
mov ecx, esi
call edx
add edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
push 8
add edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push 2
push str.search_file_name
mov ecx, esi
call edx
mov edx, dword [esi]
add edi, eax
movzx eax, byte [ebx + 0x7d]
mov byte [ebp - 0x40], al
mov eax, dword [ebp - 0x40]
mov edx, dword [edx + 0x38]
push eax
mov ecx, esi
call edx
add edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
push 9
add edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push 2
push str.search_file_content
mov ecx, esi
call edx
mov edx, dword [esi]
mov edx, dword [edx + 0x38]
add edi, eax
movzx eax, byte [ebx + 0x7e]
mov byte [ebp - 0x40], al
mov eax, dword [ebp - 0x40]
push eax
mov ecx, esi
call edx
add edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
push 0xa
add edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push 8
push str.highlight_len
mov ecx, esi
call edx
mov edx, dword [esi]
add edi, eax
mov eax, dword [ebx + 0x80]
push eax
mov eax, dword [edx + 0x44]
mov ecx, esi
call eax
mov edx, dword [esi]
add edi, eax
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov edx, dword [esi]
push 0xb
push 0xd
add edi, eax
mov eax, dword [edx + 0x14]
push str.extraParam
mov ecx, esi
call eax
mov edx, dword [esi]
add edi, eax
mov eax, dword [ebx + 0x8c]
push eax
mov eax, dword [edx + 0x20]
push 0xb
push 0xb
mov ecx, esi
call eax
add edi, eax
mov eax, dword [ebx + 0x88]
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
cmp ecx, eax
je 0x51f3e6
jmp 0x51f363
mov ecx, dword [ebp - 0x40]
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
add ecx, 0xc
push ecx
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x50]
add edi, eax
mov eax, dword [ebp - 0x40]
add eax, 0x28
push eax
mov ecx, esi
call edx
mov edx, dword [ebp - 0x40]
add edi, eax
cmp byte [edx + 0x45], 0
jne 0x51f3da
mov ecx, dword [edx + 8]
cmp byte [ecx + 0x45], 0
jne 0x51f3af
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
jne 0x51f3aa
mov edi, edi
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
je 0x51f3a0
mov dword [ebp - 0x40], ecx
jmp 0x51f3d7
mov eax, dword [edx + 4]
cmp byte [eax + 0x45], 0
jne 0x51f3d4
jmp 0x51f3c3
mov edx, dword [ebp - 0x40]
cmp edx, dword [eax + 8]
jne 0x51f3d4
mov dword [ebp - 0x40], eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], 0
je 0x51f3c0
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
cmp edx, dword [ebx + 0x88]
jne 0x51f360
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
add edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
add edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
add edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
add eax, edi
dec dword [esi + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005332ca
mov esp, ebp
pop ebp
ret 4