Function at 0x435670
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4867b8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a89e8]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
lea eax, [esi + 8]
mov dword [esp + 0x30], eax
mov eax, dword [eax]
xor ebx, ebx
cmp eax, ebx
je 0x43547b
push eax
call sym.AdobeCollabSync.exe_PR_EnterMonitor
add esp, 4
mov edi, 1
mov dword [esp + 0x34], edi
mov eax, dword [esi]
cmp eax, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x28], esi
je 0x43549b
push eax
call sym.AdobeCollabSync.exe_PR_EnterMonitor
add esp, 4
mov dword [esp + 0x2c], edi
lea edi, [esi + 0x14]
push edi
lea ecx, [esp + 0x44]
mov byte [esp + 0x5c], 1
call fcn.00434e40
mov eax, dword [esi]
cmp eax, ebx
mov byte [esp + 0x58], 2
mov dword [esp + 0x2c], ebx
je 0x4354c9
push eax
call sym.AdobeCollabSync.exe_PR_ExitMonitor
add esp, 4
mov eax, dword [esp + 0x44]
mov ebx, dword [eax]
lea esi, [esp + 0x40]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], esi
jmp 0x4354e0
test esi, esi
mov ebp, dword [esp + 0x44]
je 0x4354f0
lea ecx, [esp + 0x40]
cmp esi, ecx
je 0x4354f6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, ebp
je 0x43552e
test esi, esi
jne 0x435504
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [esi + 4]
jne 0x43550f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [ebx + 0xc]
push edx
call sym.AdobeCollabSync.exe_PR_JoinThread
add esp, 4
lea ecx, [esp + 0x20]
call fcn.004049a0
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
jmp 0x4354e0
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x435541
push eax
call sym.AdobeCollabSync.exe_PR_EnterMonitor
add esp, 4
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
lea esi, [esp + 0x40]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], esi
jmp 0x435560
test esi, esi
mov ebp, dword [esp + 0x44]
je 0x435570
lea eax, [esp + 0x40]
cmp esi, eax
je 0x43557a
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
call ebx
jmp 0x435580
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x24], ebp
je 0x43562b
test esi, esi
jne 0x435590
call ebx
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esi + 4]
jne 0x43559b
call ebx
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x11], 0
mov ebp, ecx
jne 0x4355c4
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0xc]
cmp ecx, dword [eax + 0xc]
jae 0x4355bb
mov ebp, eax
mov eax, dword [eax]
jmp 0x4355be
mov eax, dword [eax + 8]
cmp byte [eax + 0x11], 0
je 0x4355b0
mov esi, dword [edi + 4]
mov eax, dword [esi + 4]
cmp byte [eax + 0x11], 0
jne 0x4355eb
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 0xc]
cmp dword [eax + 0xc], ecx
jae 0x4355e1
mov eax, dword [eax + 8]
jmp 0x4355e5
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0x11], 0
je 0x4355d7
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x20]
push eax
push ebp
push edi
push esi
push edi
call fcn.004118c0
add esp, 0x18
push ebp
push edi
push esi
push edi
lea ecx, [esp + 0x48]
push ecx
mov ecx, edi
call fcn.0040b0a0
lea ecx, [esp + 0x20]
call fcn.004049a0
mov esi, dword [esp + 0x20]
jmp 0x435560
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
test eax, eax
mov dword [esp + 0x2c], 0
je 0x435646
push eax
call sym.AdobeCollabSync.exe_PR_ExitMonitor
add esp, 4
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx]
push esi
lea eax, [esp + 0x44]
push eax
push ecx
mov edx, eax
push edx
lea edx, [esp + 0x48]
push edx
mov ecx, eax
mov byte [esp + 0x6c], 1
call fcn.0040b0a0
mov eax, dword [esp + 0x44]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov edx, dword [esp + 0x34]
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov eax, dword [edx]
add esp, 4
cmp eax, ecx
je 0x435695
push eax
call sym.AdobeCollabSync.exe_PR_ExitMonitor
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret