Function at 0x1003f9c0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a01cb
mov eax, dword fs:[0]
push eax
sub esp, 0x400
mov eax, dword [0x10112018]
xor eax, esp
mov dword [esp + 0x3f8], eax
push ebx
push esi
push edi
mov eax, dword [0x10112018]
xor eax, esp
push eax
lea eax, [esp + 0x410]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov esi, dword [ecx]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], eax
test eax, eax
je 0x1003fa68
mov ecx, dword [ebp + 0x14]
push ecx
push eax
push esi
call sym.ACE.dll_int___cdecl_ACE::handle_timed_accept_void___class_ACE_Time_Value___bool_
add esp, 0xc
cmp eax, 0xffffffff
je 0x1003fa60
lea edx, [esp + 0x14]
push edx
push 0x8004667e
push esi
mov dword [esp + 0x20], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x1003fa68
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], esi
or eax, 0xffffffff
jmp 0x1003fee0
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x2c], ebx
je 0x1003fa86
lea edi, [esp + 0x68]
mov dword [esp + 0x14], 0x10
lea ebx, [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
push ebx
push edi
push eax
call dword [sym.imp.WS2_32.dll_accept]
cmp eax, 0xffffffff
jne 0x1003faad
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], esi
or eax, 0xffffffff
mov esi, dword [esp + 0x18]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x1003fad0
cmp byte [ebp + 0x14], 0
je 0x1003fad0
call dword [sym.imp.MSVCR100.dll__errno]
cmp dword [eax], 4
jne 0x1003fad0
cmp dword [esp + 0x20], 0
je 0x1003fa86
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x1003fb06
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x54]
call sym.ACE.dll_public:_void___thiscall_ACE_INET_Addr::constructor_struct_sockaddr_in_const___int_
mov ax, word [esp + 0x5a]
rol ax, 8
movzx eax, ax
rol ax, 8
movzx eax, ax
mov word [edi + 0x1a], ax
mov word [edi + 0x36], ax
mov ecx, dword [ebp + 0x18]
mov edx, dword [esi]
mov edi, dword [esp + 0x1c]
push ecx
mov ecx, dword [esi + 4]
push 1
sub esp, 0x14
mov eax, esp
mov dword [eax], edx
mov edx, dword [esi + 8]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0xc]
mov dword [eax + 8], edx
mov edx, dword [esi + 0x10]
mov dword [eax + 0xc], ecx
mov ecx, edi
mov dword [eax + 0x10], edx
call sym.ACE.dll_public:_int___thiscall_ACE_MEM_Acceptor::shared_accept_finish_class_ACE_MEM_Stream__int__bool_const
cmp eax, 0xffffffff
je 0x1003fa60
xor eax, eax
mov ecx, 2
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0x10
mov dword [esp + 0x30], vtable.ACE_INET_Addr.0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
cmp ecx, ecx
jne 0x1003fb77
mov eax, ecx
mov word [esp + 0x3c], ax
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
mov dword [esp + 0x41c], 0
call sym.ACE.dll_public:_int___thiscall_ACE_SOCK::get_local_addr_class_ACE_Addr__const
cmp eax, 0xffffffff
je 0x1003fa60
mov eax, dword [edi + 4]
test eax, eax
je 0x1003fbc6
mov dx, word [esp + 0x3e]
rol dx, 8
movzx ecx, dx
push ecx
push eax
lea edx, [esp + 0xf4]
push str._s__d_
push edx
call sym.ACE.dll_int___cdecl_ACE_OS::sprintf_char___char_const__
add esp, 0x10
jmp 0x1003fc93
lea eax, [esp + 0xec]
push 0xec
push eax
call sym.ACE.dll_int___cdecl_ACE::get_temp_dir_char___unsigned_int_
add esp, 8
cmp eax, 0xffffffff
jne 0x1003fc41
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.MSVCR100.dll__errno]
mov eax, dword [eax]
test eax, eax
je 0x1003fbf6
mov esi, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
push str.Temporary_path_too_long__defaulting_to_current_directory_n
push 0x80
push eax
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], str.MEM_Acceptor.cpp
mov dword [eax + 0x144], 0x9b
mov dword [eax + 0x148], 0xffffffff
mov dword [eax + 0x14c], esi
call sym.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__char_const__
add esp, 0xc
mov byte [esp + 0xec], 0
mov cx, word [esp + 0x3e]
rol cx, 8
movzx edx, cx
push edx
lea eax, [esp + 0x6c]
push str.MEM_Acceptor__d_
push eax
call sym.ACE.dll_int___cdecl_ACE_OS::sprintf_char___char_const__
lea eax, [esp + 0x74]
add esp, 0xc
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003fc66
lea edi, [esp + 0xec]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1003fc77
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
lea ecx, [esp + 0x8c]
push str._p_d
push ecx
call sym.ACE.dll_int___cdecl_ACE_OS::sprintf_char___char_const__
push 0x103
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x314]
push eax
mov byte [esp + 0x318], 0
call dword [sym.imp.MSVCR100.dll_strncat]
lea eax, [esp + 0x318]
add esp, 0x1c
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003fce0
lea edi, [esp + 0xec]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1003fcf1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xec]
push ecx
call dword [sym.imp.MSVCR100.dll__unlink]
mov edi, dword [esp + 0x1c]
mov eax, dword [edi]
add esp, 4
lea edx, [esp + 0x20]
push edx
push 0x8004667e
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x1003fd50
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, dword [sym.imp.MSVCR100.dll__errno]
mov esi, eax
call ebx
mov dword [eax], esi
jmp 0x1003fd56
mov ebx, dword [sym.imp.MSVCR100.dll__errno]
mov esi, dword [edi]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x28]
mov edi, dword [sym.imp.WS2_32.dll_send]
push 0
push 2
lea edx, [esp + 0x2c]
push edx
push esi
mov dword [esp + 0x34], ecx
call edi
cmp eax, 0xffffffff
jne 0x1003fde0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call ebx
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call ebx
mov eax, dword [eax]
test eax, eax
je 0x1003fd98
mov esi, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
push str.ACE_MEM_Acceptor::accept_error_sending_strategy_n
push 4
push eax
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], str.MEM_Acceptor.cpp
mov dword [eax + 0x144], 0xbd
mov dword [eax + 0x148], 0xffffffff
mov dword [eax + 0x14c], esi
call sym.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__char_const__
add esp, 0xc
or eax, 0xffffffff
jmp 0x1003fee0
push 0
push 2
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x1003fe55
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call ebx
mov dword [eax], esi
call sym.ACE.dll_public:_static_int___cdecl_ACE_Log_Msg::last_error_adapter_void_
mov esi, eax
call sym.ACE.dll_public:_static_class_ACE_Log_Msg____cdecl_ACE_Log_Msg::instance_void_
push str.accept
push str.ACE_MEM_Acceptor::_p_error_receiving_strategy_n
push 4
push eax
mov byte [eax + 0x13c], 1
mov dword [eax + 0x140], str.MEM_Acceptor.cpp
mov dword [eax + 0x144], 0xc5
mov dword [eax + 0x148], 0xffffffff
mov dword [eax + 0x14c], esi
call sym.ACE.dll_public:_int___cdecl_ACE_Log_Msg::log_enum_ACE_Log_Priority__char_const__
add esp, 0x10
or eax, 0xffffffff
jmp 0x1003fee0
mov eax, dword [esp + 0x1c]
mov ecx, 0x1000
cmp dword [eax + 0x14], ecx
jae 0x1003fe66
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x24]
add eax, 8
push eax
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xf4]
push edx
call sym.ACE.dll_public:_int___thiscall_ACE_MEM_IO::init_char_const___enum_ACE_MEM_IO::Signal_Strategy__class_ACE_MMAP_Memory_Pool_Options__
cmp eax, 0xffffffff
je 0x1003fa60
lea eax, [esp + 0xec]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003fe93
sub eax, edx
push 0
inc eax
push 2
lea ecx, [esp + 0x30]
movzx eax, ax
push ecx
push esi
mov dword [esp + 0x38], eax
call edi
cmp eax, 0xffffffff
jne 0x1003fec6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call ebx
mov dword [eax], esi
or eax, 0xffffffff
jmp 0x1003fee0
movzx eax, word [esp + 0x28]
push 0
push eax
lea edx, [esp + 0xf4]
push edx
push esi
call edi
cmp eax, 0xffffffff
je 0x1003feb5
xor eax, eax
mov ecx, dword [esp + 0x410]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3f8]
xor ecx, esp
call fcn.1009acfd
mov esp, ebp
pop ebp
ret 0x14