Function at 0x480ae0
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 8
push edi
mov edi, ecx
mov eax, dword [edi + 0x68]
test eax, eax
mov dword [edi + 0x70], 0
mov dword [esp + 8], eax
jne 0x480b00
mov dword [esp + 8], 0x1499700
mov eax, dword [edi + 0x4c]
cmp eax, 0xffffffff
jne 0x480b21
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push str.No_socket_exists_for_sending__2_
call edx
xor al, al
pop edi
add esp, 8
ret 0x18
push ebx
push ebp
push esi
lea ecx, [esp + 0x10]
push ecx
push 0x8004667e
push eax
mov dword [esp + 0x1c], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x480c7b
mov ebx, dword [esp + 0x30]
jmp 0x480b54
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
cmp ebp, eax
jbe 0x480b5e
mov ebp, eax
test ebx, ebx
je 0x480b7b
mov edx, dword [esp + 0x28]
push 0x174
push edx
mov ecx, ebx
call fcn.0046fca0
test al, al
jne 0x480ca3
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x4c]
push 0
push ebp
push eax
push ecx
mov dword [edi + 0x70], 0
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
cmp esi, 0xffffffff
jne 0x480c18
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
mov dword [edi + 0x70], eax
jne 0x480cd2
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x30]
push edx
push ebx
push ebp
push eax
push 0
push ecx
mov ecx, edi
mov byte [esp + 0x48], 0
call fcn.00480470
test al, al
jne 0x480c33
mov ecx, dword [edi + 0x4c]
lea eax, [esp + 0x10]
push eax
push 0x8004667e
push ecx
mov dword [esp + 0x1c], 0
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp byte [esp + 0x30], 0
mov edx, dword [ebp]
mov eax, dword [edx + 0x10]
mov ecx, ebp
je 0x480cbf
push str.Socket_send_aborted_by_application
call eax
pop esi
pop ebp
pop ebx
xor al, al
pop edi
add esp, 8
ret 0x18
test esi, esi
jle 0x480c2f
cmp byte [edi + 0x94], 0
je 0x480c2f
push ebx
push esi
lea ecx, [edi + 0x28]
call fcn.004b2380
mov ebp, dword [esp + 0x2c]
test ebx, ebx
je 0x480c58
test esi, esi
jle 0x480c66
lea edx, [esp + 0x30]
push edx
push esi
mov ecx, ebx
mov byte [esp + 0x38], 0
call fcn.0046fee0
cmp byte [esp + 0x30], 0
jne 0x480d08
test esi, esi
jle 0x480c66
sub dword [esp + 0x20], esi
add dword [esp + 0x1c], esi
test esi, esi
jne 0x480c70
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x20], 0
jne 0x480b50
mov ecx, dword [edi + 0x4c]
lea eax, [esp + 0x10]
push eax
push 0x8004667e
push ecx
mov dword [esp + 0x1c], 0
call dword [sym.imp.WS2_32.dll_ioctlsocket]
pop esi
pop ebp
pop ebx
mov al, 1
pop edi
add esp, 8
ret 0x18
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push str.Socket_SendBytes2_aborted_by_application.__1_
call edx
pop esi
pop ebp
pop ebx
xor al, al
pop edi
add esp, 8
ret 0x18
push str.Socket_send_idle_timeout
call eax
pop esi
pop ebp
pop ebx
xor al, al
pop edi
add esp, 8
ret 0x18
mov esi, dword [esp + 0x2c]
push esi
push eax
mov ecx, edi
call fcn.0047f990
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
push str.Error_sending_on_socket
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
push ebp
push str.send_size
mov ecx, esi
call eax
pop esi
pop ebp
pop ebx
xor al, al
pop edi
add esp, 8
ret 0x18
mov edx, dword [edi + 0x4c]
lea ecx, [esp + 0x10]
push ecx
push 0x8004667e
push edx
mov dword [esp + 0x1c], 0
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
push str.Socket_send_aborted_by_application
mov ecx, ebp
call edx
pop esi
pop ebp
pop ebx
xor al, al
pop edi
add esp, 8
ret 0x18