Function at 0x418640
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
mov esi, dword [ebp + 0xc]
push edi
lea eax, [ebp - 0x48]
push eax
push dword [esi]
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
call sym.AdobeCollabSync.exe_PR_GetOpenFileInfo
test eax, eax
pop ecx
pop ecx
je 0x418670
or dword [ebp - 4], 0xffffffff
jmp 0x418834
mov eax, dword [esi + 8]
cmp eax, edi
mov ecx, dword [ebp - 0x44]
je 0x4186a1
mov edx, dword [esi + 4]
add edx, eax
cmp ecx, edx
jae 0x418698
push edi
push 0xffffe89d
call sym.AdobeCollabSync.exe_PR_SetError
or dword [ebp - 4], 0xffffffff
pop ecx
jmp 0x418833
cmp eax, edi
je 0x4186a1
mov dword [ebp - 8], eax
jmp 0x4186a7
sub ecx, dword [esi + 4]
mov dword [ebp - 8], ecx
call sym.AdobeCollabSync.exe_PR_GetMemMapAlignment
mov ecx, dword [esi + 4]
mov edi, eax
mov eax, ecx
xor edx, edx
div edi
mov eax, dword [ebp - 8]
mov edi, edx
sub ecx, edi
mov dword [ebp - 0x14], ecx
add eax, edi
mov ecx, 0x40000
cmp eax, ecx
mov dword [ebp - 4], eax
jb 0x4186d2
mov dword [ebp - 4], ecx
push ebx
mov ebx, dword [ebp - 4]
sub ebx, edi
je 0x418710
xor eax, eax
push eax
push eax
push eax
push dword [esi]
call sym.AdobeCollabSync.exe_PR_CreateFileMap
add esp, 0x10
test eax, eax
mov dword [ebp - 0xc], eax
je 0x41880b
push dword [ebp - 4]
push 0
push dword [ebp - 0x14]
push eax
call sym.AdobeCollabSync.exe_PR_MemMap
add esp, 0x10
test eax, eax
mov dword [ebp - 0x10], eax
je 0x41880b
mov eax, dword [esi + 0x10]
test eax, eax
je 0x418725
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x30], ecx
inc eax
jmp 0x418728
mov eax, dword [ebp - 0x18]
test ebx, ebx
je 0x41873a
mov ecx, dword [ebp - 0x10]
add edi, ecx
mov dword [ebp + eax*8 - 0x30], edi
mov dword [ebp + eax*8 - 0x2c], ebx
inc eax
cmp dword [ebp - 8], ebx
jne 0x418752
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x418752
mov edx, dword [esi + 0x14]
mov dword [ebp + eax*8 - 0x30], edx
mov dword [ebp + eax*8 - 0x2c], ecx
inc eax
push dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 8]
call sym.AdobeCollabSync.exe_PR_Writev
add esp, 0x10
test ebx, ebx
mov edi, eax
je 0x418778
push dword [ebp - 4]
push dword [ebp - 0x10]
call sym.AdobeCollabSync.exe_PR_MemUnmap
pop ecx
pop ecx
test edi, edi
jl 0x41880b
sub dword [ebp - 8], ebx
mov dword [ebp - 4], edi
je 0x41880f
jmp 0x4187d6
mov eax, dword [esi + 4]
sub eax, dword [esi + 0x10]
push ebx
add eax, dword [ebp - 4]
xor ecx, ecx
push ecx
push eax
push dword [ebp - 0xc]
call sym.AdobeCollabSync.exe_PR_MemMap
mov edi, eax
add esp, 0x10
test edi, edi
je 0x41880b
push dword [ebp + 0x14]
push 0
push ebx
push edi
push dword [ebp + 8]
call sym.AdobeCollabSync.exe_PR_Send
push ebx
push edi
mov dword [ebp - 0x18], eax
call sym.AdobeCollabSync.exe_PR_MemUnmap
mov eax, dword [ebp - 0x18]
add esp, 0x1c
test eax, eax
jl 0x41880b
sub dword [ebp - 8], eax
add dword [ebp - 4], eax
mov ebx, 0x40000
cmp dword [ebp - 8], ebx
jge 0x4187e3
mov ebx, dword [ebp - 8]
test ebx, ebx
jg 0x41878e
mov eax, dword [esi + 0x18]
test eax, eax
je 0x41880f
push dword [ebp + 0x14]
push 0
push eax
push dword [esi + 0x14]
push dword [ebp + 8]
call sym.AdobeCollabSync.exe_PR_Send
add esp, 0x14
test eax, eax
jl 0x41880b
add dword [ebp - 4], eax
jmp 0x41880f
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xc], 0
pop ebx
je 0x41881f
push dword [ebp - 0xc]
call sym.AdobeCollabSync.exe_PR_CloseFileMap
pop ecx
cmp dword [ebp - 4], 0
jl 0x418834
test byte [ebp + 0x10], 1
je 0x418834
push dword [ebp + 8]
call sym.AdobeCollabSync.exe_PR_Close
pop ecx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret