Function at 0x100967e0
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0x24], 0
mov ecx, dword [eax + 8]
mov edx, dword [ecx + ebx + 0x14]
mov eax, dword [edx]
lea ecx, [ecx + ebx + 0x14]
push esi
push edi
call eax
mov esi, dword [sym.imp.MSVCR100.dll__errno]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100968af
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
push 0
push 1
push eax
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x1009683a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
call esi
mov dword [eax], edi
or edi, 0xffffffff
jmp 0x1009683c
mov edi, eax
mov dword [ebx + 0x34], edi
cmp edi, 0xffffffff
jne 0x100968af
call esi
mov edx, dword [eax]
mov dword [ebx + 0x30], edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call esi
mov eax, dword [eax]
test eax, eax
je 0x1009685d
mov edi, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
mov dword [eax + 0x144], 0x9ef
push str.socket
mov dword [eax + 0x14c], edi
push str.ACE_WIN32_Asynch_Connect::connect_i:__p_n
mov dword [eax + 0x148], 0xffffffff
push 0x80
mov dword [eax + 0x140], str.WIN32_Asynch_IO.cpp
push eax
mov byte [eax + 0x13c], 1
call sym.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__char_const__
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
mov eax, dword [0x101132a8]
mov ecx, dword [ebp + 0x10]
cmp eax, dword [ecx + 4]
jne 0x100968c7
mov edx, dword [0x101132ac]
cmp edx, dword [ecx + 8]
je 0x10096920
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + 8]
push ecx
push eax
push edi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x10096920
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
call esi
mov dword [eax], edi
call esi
mov edx, dword [eax]
mov dword [ebx + 0x30], edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call esi
mov eax, dword [eax]
test eax, eax
je 0x10096907
mov edi, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
mov dword [eax + 0x144], 0xa10
push str.bind
jmp 0x10096871
lea eax, [ebp + 0x10]
push eax
push 0x8004667e
push edi
mov dword [ebp + 0x10], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x1009694a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
call esi
mov dword [eax], edi
jmp 0x1009694e
test eax, eax
je 0x10096980
call esi
mov ecx, dword [eax]
mov dword [ebx + 0x30], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call esi
mov eax, dword [eax]
test eax, eax
je 0x10096967
mov edi, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
mov dword [eax + 0x144], 0xa1c
push str.set_flags
jmp 0x10096871
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 8]
mov ecx, edx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
push ebx
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x100969ab
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
call esi
mov dword [eax], ebx
jmp 0x100969af
test eax, eax
jns 0x100969d4
call esi
cmp dword [eax], 0x2733
je 0x100969e0
call esi
cmp dword [eax], 0x2734
je 0x100969e0
call esi
cmp dword [eax], 4
je 0x10096980
call esi
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x10