Function at 0x423994
Capabilities:
Terminate process

Disassembly:
push ecx
push ebp
push esi
xor ebp, ebp
push edi
mov dword [esp + 0xc], ebp
call fcn.0041a785
mov edi, dword [esp + 0x14]
cmp edi, ebp
mov esi, eax
jne 0x4239cd
mov eax, dword [0x4a985c]
mov edi, dword [eax + 8]
cmp edi, ebp
jne 0x4239cd
push ebp
push 0xffffe89d
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
pop ecx
xor eax, eax
jmp 0x423bd7
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 0x423a1a
cmp eax, ebp
jne 0x4239ec
mov dword [edi + 0x10], 1
cmp word [edi + 0x2c], bp
jne 0x4239f7
mov dword [edi + 0x10], ebx
jmp 0x423a15
push dword [edi + 0x20]
call sym.AdobeCollabSync.exe_PR_NotifyAllCondVar
push dword [edi + 0x1c]
call sym.AdobeCollabSync.exe_PR_NotifyAllCondVar
jmp 0x423a13
push 0xffffffffffffffff
push dword [edi + 0x24]
call sym.AdobeCollabSync.exe_PR_WaitCondVar
pop ecx
pop ecx
cmp dword [edi + 0x10], ebx
jne 0x423a09
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 0x423a93
mov eax, dword [ebp]
test eax, eax
je 0x423a8a
push 1
push 0xfffffffffffffffd
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 1
jne 0x423a8a
mov eax, dword [ebp]
push 0
push dword [eax + 8]
call sym.AdobeCollabSync.exe_PR_GetIdentitiesLayer
test eax, eax
pop ecx
pop ecx
je 0x423b59
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 0x423b68
add ebp, 4
cmp ebp, dword [esp + 0x18]
jb 0x423a3c
mov eax, dword [edi + 0x3c]
cmp word [eax], 0
jbe 0x423b47
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 0x423aff
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.0041b0c9
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 0x423aa3
lea ecx, [edi + 8]
mov eax, dword [ecx]
cmp eax, ecx
jne 0x423b8e
push 0
push 0xffffe8d4
jmp 0x423b60
push 0
push 0xffffe89d
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
jmp 0x423bbe
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 0x423bb4
call fcn.00423520
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