Function at 0x423fd5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x4a8e30], 0
jne 0x423fe9
call sym.AdobeCollabSync.exe_PR_Init
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x424004
call fcn.00423f7b
mov edi, eax
test edi, edi
jne 0x424004
or eax, 0xffffffff
jmp 0x4241da
push ebx
mov ebx, dword [ebp + 0xc]
and dword [ebx + 0x14], 0
push esi
lea esi, [ebx + 0xc]
mov dword [esi], 1
push dword [edi + 0x14]
call sym.AdobeCollabSync.exe_PR_Lock
cmp dword [edi + 0x10], 0
pop ecx
je 0x424047
push 0
push 0xffffe8d5
mov dword [esi], 0xfffffffd
call sym.AdobeCollabSync.exe_PR_SetError
push dword [edi + 0x14]
call sym.AdobeCollabSync.exe_PR_Unlock
add esp, 0xc
jmp 0x424142
lea eax, [edi + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x3c]
cmp word [eax], 0
jne 0x424071
call sym.AdobeCollabSync.exe_PR_IntervalNow
mov dword [edi + 0x38], eax
jmp 0x424071
push edi
call fcn.004236dd
mov esi, eax
test esi, esi
pop ecx
jne 0x424082
mov ecx, dword [edi + 0x3c]
push ebx
call fcn.0042364e
mov esi, eax
cmp esi, 1
pop ecx
je 0x424064
lea eax, [edi + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [edi + 0x20]
call sym.AdobeCollabSync.exe_PR_NotifyCondVar
push dword [edi + 0x14]
neg esi
sbb esi, esi
mov dword [ebp + 8], esi
call sym.AdobeCollabSync.exe_PR_Unlock
push 0x30
push 1
call sym.AdobeCollabSync.exe_PR_Calloc
mov esi, eax
add esp, 0x10
test esi, esi
mov dword [ebp - 4], esi
jne 0x4240d5
push eax
push 0xffffe890
call sym.AdobeCollabSync.exe_PR_SetError
push dword [ebx + 8]
mov esi, edi
call fcn.0042385d
add esp, 0xc
jmp 0x4241d5
mov dword [esi + 0x14], 0x49
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], edi
mov eax, dword [ebx + 0x10]
cmp eax, 0xffffffff
je 0x424122
push esi
push 0x4237f9
push eax
call fcn.0042348a
add esp, 0xc
test eax, eax
mov dword [esi + 0x28], eax
jne 0x424122
push dword [ebx + 8]
mov esi, edi
call fcn.0042385d
push dword [ebp - 4]
call sym.AdobeCollabSync.exe_PR_Free
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xffffe8aa
jmp 0x42413b
push 0
push dword [ebx + 8]
call sym.AdobeCollabSync.exe_PR_GetIdentitiesLayer
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 8], eax
jne 0x42414a
push eax
push 0xffffe89d
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
pop ecx
or eax, 0xffffffff
jmp 0x4241d8
mov eax, dword [eax + 4]
cmp dword [eax + 0x2c], 0
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0xc], ecx
jne 0x42416d
push ecx
call fcn.0041b53d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
pop ecx
mov dword [eax + 0x2c], 1
push esi
push 0
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4241d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
mov dword [ebp - 0xc], eax
je 0x4241d5
cmp dword [ebx + 0x10], 0xffffffff
je 0x4241c8
push 1
push 0xffffffffffffffff
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 1
jne 0x4241b4
mov esi, dword [esi + 0x28]
call fcn.00423520
push dword [ebx + 8]
mov esi, edi
call fcn.0042385d
push dword [ebp - 4]
call sym.AdobeCollabSync.exe_PR_Free
pop ecx
pop ecx
push dword [ebp - 0xc]
call fcn.00429849
or dword [ebp + 8], 0xffffffff
pop ecx
mov eax, dword [ebp + 8]
pop esi
pop ebx
pop edi
leave
ret