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

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xb8]
mov dword [esi + 0xc0], 0
test eax, eax
mov dword [esp + 0x18], eax
jne 0x4494c9
mov dword [esp + 0x18], 0x1499700
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
jne 0x4494eb
mov ecx, dword [esp + 0x30]
push str.No_socket_exists_for_sending__2_
mov eax, dword [ecx]
call dword [eax + 0x10]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret 0x18
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 1
push ecx
push 0x8004667e
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x449652
jmp 0x449516
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
cmp ebx, eax
jbe 0x449520
mov ebx, eax
mov edi, dword [esp + 0x34]
test edi, edi
je 0x449541
mov edx, dword [esp + 0x2c]
push 0x174
push edx
mov ecx, edi
call fcn.00422330
test al, al
jne 0x44967a
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x12]
push eax
lea ebp, [esi + 0x68]
push edi
push ecx
mov ecx, ebp
mov byte [esp + 0x1e], 0
call fcn.004580b0
mov al, byte [esp + 0x12]
test al, al
jne 0x449694
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 0x4c]
push 0
push ebx
push edx
push eax
mov dword [esi + 0xc0], 0
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4495d2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
mov dword [esi + 0xc0], eax
jne 0x449702
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x13]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push ebx
push eax
push 0
push ecx
mov ecx, esi
mov byte [esp + 0x2b], 0
call fcn.00448cd0
test al, al
je 0x4496ae
jmp 0x4495fa
test edi, edi
jle 0x4495f6
push edi
mov ecx, ebp
call fcn.00458050
mov al, byte [esi + 0x100]
test al, al
je 0x4495f6
mov edx, dword [esp + 0x34]
lea ecx, [esi + 0x28]
push edx
push edi
call fcn.00458420
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x449622
test edi, edi
jle 0x44963c
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 0
push eax
push edi
call fcn.004225b0
mov al, byte [esp + 0x13]
test al, al
jne 0x449755
test edi, edi
jle 0x44963c
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
sub ecx, edi
add eax, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
test edi, edi
jne 0x449646
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x449512
mov ecx, dword [esi + 0x4c]
lea eax, [esp + 0x14]
push eax
push 0x8004667e
push ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.WS2_32.dll_ioctlsocket]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xc
ret 0x18
mov ecx, dword [esp + 0x30]
push str.Socket_SendBytes2_aborted_by_application.__1_
mov edx, dword [ecx]
call dword [edx + 0x10]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret 0x18
mov ecx, dword [esp + 0x30]
push str.Aborted_by_application_while_upload_throttling__1_
mov eax, dword [ecx]
call dword [eax + 0x10]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret 0x18
mov edx, dword [esi + 0x4c]
lea ecx, [esp + 0x14]
push ecx
push 0x8004667e
push edx
mov dword [esp + 0x20], 0
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov al, byte [esp + 0x13]
test al, al
je 0x4496ea
mov eax, dword [ebx]
push str.Socket_send_aborted_by_application
mov ecx, ebx
call dword [eax + 0x10]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret 0x18
mov edx, dword [ebx]
push str.Socket_send_idle_timeout
mov ecx, ebx
call dword [edx + 0x10]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret 0x18
mov edi, dword [esp + 0x30]
mov ecx, esi
push edi
push eax
call fcn.00447980
mov eax, dword [edi]
push str.Error_sending_on_socket
mov ecx, edi
call dword [eax + 0x10]
mov edx, dword [edi]
push ebx
push str.send_size
mov ecx, edi
call dword [edx + 0x2c]
mov eax, dword [esi + 0x4c]
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov ecx, dword [esi + 0x4c]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x4c], 0xffffffff
mov byte [esi + 0x48], 0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret 0x18
mov eax, dword [esi + 0x4c]
lea edx, [esp + 0x14]
push edx
push 0x8004667e
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov edx, dword [ebx]
push str.Socket_send_aborted_by_application
mov ecx, ebx
call dword [edx + 0x10]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret 0x18