Function at 0x420fbb
Capabilities:
Terminate process

Disassembly:
push ecx
push ebp
push esi
xor ebp, ebp
push edi
mov dword [esp + 0xc], ebp
call fcn.0041a4ae
mov edi, dword [esp + 0x14]
cmp edi, ebp
mov esi, eax
jne 0x420ff4
mov eax, dword [0x4aa85c]
mov edi, dword [eax + 8]
cmp edi, ebp
jne 0x420ff4
push ebp
push 0xffffe89d
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
pop ecx
xor eax, eax
jmp 0x4211fe
push ebx
push dword [edi + 0x14]
call sym.AdobeCollabSync.exe_PR_Lock
mov eax, dword [edi + 0x10]
pop ecx
push 2
pop ebx
cmp eax, ebx
je 0x421041
cmp eax, ebp
jne 0x421013
mov dword [edi + 0x10], 1
cmp word [edi + 0x2c], bp
jne 0x42101e
mov dword [edi + 0x10], ebx
jmp 0x42103c
push dword [edi + 0x20]
call sym.AdobeCollabSync.exe_PR_NotifyAllCondVar
push dword [edi + 0x1c]
call sym.AdobeCollabSync.exe_PR_NotifyAllCondVar
jmp 0x42103a
push 0xffffffffffffffff
push dword [edi + 0x24]
call sym.AdobeCollabSync.exe_PR_WaitCondVar
pop ecx
pop ecx
cmp dword [edi + 0x10], ebx
jne 0x421030
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0x40]
push eax
call ebx
mov eax, dword [edi + 0x3c]
movzx ecx, word [eax + 2]
lea ecx, [eax + ecx*4 + 4]
lea ebp, [eax + 4]
cmp ebp, ecx
mov dword [esp + 0x18], ecx
jae 0x4210ba
mov eax, dword [ebp]
test eax, eax
je 0x4210b1
push 1
push 0xfffffffffffffffd
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 1
jne 0x4210b1
mov eax, dword [ebp]
push 0
push dword [eax + 8]
call sym.AdobeCollabSync.exe_PR_GetIdentitiesLayer
test eax, eax
pop ecx
pop ecx
je 0x421180
mov ecx, dword [eax + 4]
mov dword [ecx], 0x55555555
mov eax, dword [eax + 4]
push dword [eax + 0x28]
call sub.WS2_32.dll_closesocket
cmp eax, 0xffffffff
je 0x42118f
add ebp, 4
cmp ebp, dword [esp + 0x18]
jb 0x421063
mov eax, dword [edi + 0x3c]
cmp word [eax], 0
jbe 0x42116e
lea ebp, [esi + 0x6c]
lea eax, [esi + 0x3c]
push eax
call ebx
mov dword [esi], 6
lea eax, [edi + 0x58]
mov dword [ebp], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x5c]
mov dword [eax], ebp
mov dword [edi + 0x5c], ebp
test byte [esi + 0x8c], 0x80
jne 0x421126
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x24]
add eax, 0x18
push eax
call ebx
push 0xffffffffffffffff
push esi
mov dword [esi + 0x54], 2
call sym.AdobeCollabSync.exe__PR_AddSleepQ
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x24]
pop ecx
pop ecx
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esi + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [edi + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [edi + 0x14]
call sym.AdobeCollabSync.exe_PR_Unlock
push 0xffffffffffffffff
push esi
call fcn.0041aec2
mov dword [esi], 2
push dword [edi + 0x14]
call sym.AdobeCollabSync.exe_PR_Lock
add esp, 0x10
lea eax, [edi + 0x40]
push eax
call ebx
mov eax, dword [edi + 0x3c]
cmp word [eax], 0
ja 0x4210ca
lea ecx, [edi + 8]
mov eax, dword [ecx]
cmp eax, ecx
jne 0x4211b5
push 0
push 0xffffe8d4
jmp 0x421187
push 0
push 0xffffe89d
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
jmp 0x4211e5
call sub.WS2_32.dll_WSAGetLastError
push eax
push str.closesocket_failed:__d_n
call dword [sym.imp.MSVCR80.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR80.dll_fprintf]
add esp, 0xc
push 1
call dword [sym.imp.MSVCR80.dll_exit]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
lea ebx, [eax - 0x18]
mov dword [eax], eax
mov dword [eax + 4], eax
mov esi, dword [ebx + 0x28]
test esi, esi
mov ebp, dword [ebx + 0x20]
je 0x4211db
call fcn.00420b47
push ebx
call sym.AdobeCollabSync.exe_PR_Free
mov dword [esp + 0x14], ebp
pop ecx
lea eax, [edi + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [edi + 0x14]
call sym.AdobeCollabSync.exe_PR_Unlock
mov eax, dword [esp + 0x14]
pop ecx
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret