Function at 0x41ddef
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x28]
mov dword [ebp - 4], eax
call fcn.0041a4ae
mov esi, eax
mov eax, dword [edi + 4]
xor ebx, ebx
cmp dword [eax + 4], ebx
jne 0x41e080
cmp dword [eax + 8], 1
je 0x41e080
cmp dword [esi + 0xa8], ebx
je 0x41de40
push ebx
push 0xffffe8d5
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
pop ecx
or eax, 0xffffffff
jmp 0x41e0c8
cmp dword [eax + 0x2c], ebx
jne 0x41de58
push dword [ebp - 4]
call fcn.0041b336
mov eax, dword [edi + 4]
pop ecx
mov dword [eax + 0x2c], 1
cmp dword [esi + 0xdc], ebx
jne 0x41de7a
push 0x60
call sym.AdobeCollabSync.exe_PR_Malloc
cmp eax, ebx
pop ecx
mov dword [esi + 0xdc], eax
jne 0x41de7a
push ebx
push 0xffffe890
jmp 0x41de31
call fcn.0041dcf9
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x41de38
push 0x14
lea eax, [esi + 0xac]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [0x4a9e50], ebx
je 0x41dead
mov eax, dword [esi + 0x12c]
mov dword [esi + 0xbc], eax
lea ebx, [esi + 0x3c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x8c]
test ax, 0x1000
jne 0x41def2
test al, 2
je 0x41def2
and eax, 0xfffffffd
push 0
push 0xffffe897
mov dword [esi + 0x8c], eax
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp + 8]
call sub.WS2_32.dll_closesocket
jmp 0x41de38
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
mov dword [esi + 0xa0], 1
mov dword [esi], 6
call edi
mov ecx, dword [ebp - 4]
lea eax, [esi + 0xac]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x30
push 0x30
push 0
push dword [esi + 0xdc]
mov dword [esi + 0xa4], ecx
push dword [ebp + 8]
push ecx
call sub.MSWSOCK.dll_AcceptEx
test eax, eax
mov dword [ebp - 8], eax
jne 0x41dfa6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
mov dword [ebp - 0xc], eax
je 0x41dfa6
push dword [ebp + 8]
call sub.WS2_32.dll_closesocket
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x8c]
and dword [esi + 0xa0], 0
test ax, 0x1000
mov dword [esi], 2
jne 0x41df96
test al, 2
je 0x41df96
and eax, 0xfffffffd
push 0
push 0xffffe897
mov dword [esi + 0x8c], eax
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
pop ecx
push ebx
call edi
jmp 0x41de38
push ebx
call edi
push dword [ebp - 0xc]
call fcn.00429d25
jmp 0x41de37
cmp dword [0x4a9e50], 0
je 0x41dfc4
cmp dword [ebp - 8], 0
je 0x41dfc4
push dword [ebp - 0x10]
push dword [ebp - 8]
call fcn.0041afcb
pop ecx
pop ecx
jmp 0x41dfd8
push dword [ebp + 0x14]
mov eax, esi
call fcn.0041b13c
cmp eax, 0xffffffff
pop ecx
je 0x41dee5
xor ebx, ebx
cmp dword [esi + 0xa8], ebx
je 0x41e019
push dword [ebp + 8]
call sub.WS2_32.dll_closesocket
mov eax, dword [esi + 0x8c]
test ax, 0x1000
jne 0x41e00e
test al, 2
je 0x41e00e
and eax, 0xfffffffd
push ebx
mov dword [esi + 0x8c], eax
push 0xffffe897
jmp 0x41de31
push ebx
push 0xffffe89a
jmp 0x41de31
cmp dword [esi + 0xe8], ebx
jne 0x41e034
push dword [ebp + 8]
call sub.WS2_32.dll_closesocket
push dword [esi + 0xf0]
jmp 0x41df9c
cmp dword [ebp + 0x18], ebx
jne 0x41e046
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.0041b4c8
pop ecx
pop ecx
mov edi, dword [ebp + 0x10]
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x30
push 0x30
push ebx
push dword [esi + 0xdc]
call sub.MSWSOCK.dll_GetAcceptExSockaddrs
cmp dword [ebp + 0xc], ebx
je 0x41e07b
push dword [edi]
push dword [ebp - 0x14]
push dword [ebp + 0xc]
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 8]
jmp 0x41e0c8
cmp dword [eax + 0x2c], ebx
jne 0x41e098
push dword [ebp - 4]
call fcn.0041b368
mov eax, dword [edi + 4]
pop ecx
mov dword [eax + 0x2c], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0041ce67
mov esi, eax
mov eax, dword [edi + 4]
add esp, 0x10
cmp dword [eax + 4], ebx
jne 0x41e0c6
lea eax, [ebp + 8]
push eax
push 0x8004667e
push esi
mov dword [ebp + 8], ebx
call sub.WS2_32.dll_ioctlsocket
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret