Function at 0x51aec0
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 0x51af37
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.ExitLinkBySidArg
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.userId
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.groupId
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.fileId
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 0x5b9c18
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 0xd
push str.extraParam
mov ecx, esi
call edx
mov edx, dword [esi]
add edi, eax
mov eax, dword [ebx + 0x7c]
push eax
mov eax, dword [edx + 0x20]
push 0xb
push 0xb
mov ecx, esi
call eax
add edi, eax
mov eax, dword [ebx + 0x78]
mov ebx, dword [eax]
cmp ebx, eax
je 0x51b09f
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 0x51b097
mov eax, dword [ebx + 8]
cmp byte [eax + 0x45], 0
jne 0x51b07c
mov ebx, eax
mov eax, dword [ebx]
cmp byte [eax + 0x45], 0
jne 0x51b097
lea ecx, [ecx]
mov ebx, eax
mov eax, dword [ebx]
cmp byte [eax + 0x45], 0
je 0x51b070
jmp 0x51b097
mov eax, dword [ebx + 4]
cmp byte [eax + 0x45], 0
jne 0x51b095
cmp ebx, dword [eax + 8]
jne 0x51b095
mov ebx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], 0
je 0x51b085
mov ebx, eax
mov eax, dword [ebp - 0x40]
cmp ebx, dword [eax + 0x78]
jne 0x51b036
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