Function at 0x51ee20
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 - 0x40], ebx
mov dword [ebp - 0x44], esi
cmp dword [esi + 0x14], eax
jae 0x51ee97
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.CloudDocSearchArg
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 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 + 0x84]
push eax
mov eax, dword [edx + 0x20]
push 0xb
push 0xb
mov ecx, esi
call eax
add edi, eax
mov eax, dword [ebx + 0x80]
mov ebx, dword [eax]
cmp ebx, eax
je 0x51f062
mov edx, dword [esi]
mov edx, dword [edx + 0x50]
lea eax, [ebx + 0xc]
push eax
mov ecx, esi
call edx
add edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
lea ecx, [ebx + 0x28]
push ecx
mov ecx, esi
call edx
add edi, eax
cmp byte [ebx + 0x45], 0
jne 0x51f057
mov eax, dword [ebx + 8]
cmp byte [eax + 0x45], 0
jne 0x51f03c
mov ebx, eax
mov eax, dword [ebx]
cmp byte [eax + 0x45], 0
jne 0x51f057
nop
mov ebx, eax
mov eax, dword [ebx]
cmp byte [eax + 0x45], 0
je 0x51f030
jmp 0x51f057
mov eax, dword [ebx + 4]
cmp byte [eax + 0x45], 0
jne 0x51f055
cmp ebx, dword [eax + 8]
jne 0x51f055
mov ebx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], 0
je 0x51f045
mov ebx, eax
mov eax, dword [ebp - 0x40]
cmp ebx, dword [eax + 0x80]
jne 0x51eff8
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
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]
add edi, eax
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
mov edx, dword [esi]
add edi, eax
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
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