Function at 0x41dff6
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.0041a785
mov esi, eax
mov eax, dword [edi + 4]
xor ebx, ebx
cmp dword [eax + 4], ebx
jne 0x41e287
cmp dword [eax + 8], 1
je 0x41e287
cmp dword [esi + 0xa8], ebx
je 0x41e047
push ebx
push 0xffffe8d5
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
pop ecx
or eax, 0xffffffff
jmp 0x41e2cf
cmp dword [eax + 0x2c], ebx
jne 0x41e05f
push dword [ebp - 4]
call fcn.0041b53d
mov eax, dword [edi + 4]
pop ecx
mov dword [eax + 0x2c], 1
cmp dword [esi + 0xdc], ebx
jne 0x41e081
push 0x60
call sym.AdobeCollabSync.exe_PR_Malloc
cmp eax, ebx
pop ecx
mov dword [esi + 0xdc], eax
jne 0x41e081
push ebx
push 0xffffe890
jmp 0x41e038
call fcn.0041df00
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x41e03f
push 0x14
lea eax, [esi + 0xac]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [0x4a8e34], ebx
je 0x41e0b4
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 0x41e0f9
test al, 2
je 0x41e0f9
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 0x41e03f
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 0x41e1ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
mov dword [ebp - 0xc], eax
je 0x41e1ad
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 0x41e19d
test al, 2
je 0x41e19d
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 0x41e03f
push ebx
call edi
push dword [ebp - 0xc]
call fcn.00429849
jmp 0x41e03e
cmp dword [0x4a8e34], 0
je 0x41e1cb
cmp dword [ebp - 8], 0
je 0x41e1cb
push dword [ebp - 0x10]
push dword [ebp - 8]
call fcn.0041b1d2
pop ecx
pop ecx
jmp 0x41e1df
push dword [ebp + 0x14]
mov eax, esi
call fcn.0041b343
cmp eax, 0xffffffff
pop ecx
je 0x41e0ec
xor ebx, ebx
cmp dword [esi + 0xa8], ebx
je 0x41e220
push dword [ebp + 8]
call sub.WS2_32.dll_closesocket
mov eax, dword [esi + 0x8c]
test ax, 0x1000
jne 0x41e215
test al, 2
je 0x41e215
and eax, 0xfffffffd
push ebx
mov dword [esi + 0x8c], eax
push 0xffffe897
jmp 0x41e038
push ebx
push 0xffffe89a
jmp 0x41e038
cmp dword [esi + 0xe8], ebx
jne 0x41e23b
push dword [ebp + 8]
call sub.WS2_32.dll_closesocket
push dword [esi + 0xf0]
jmp 0x41e1a3
cmp dword [ebp + 0x18], ebx
jne 0x41e24d
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.0041b6cf
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 0x41e282
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 0x41e2cf
cmp dword [eax + 0x2c], ebx
jne 0x41e29f
push dword [ebp - 4]
call fcn.0041b56f
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.0041d06e
mov esi, eax
mov eax, dword [edi + 4]
add esp, 0x10
cmp dword [eax + 4], ebx
jne 0x41e2cd
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