Function at 0x48a7a0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 4]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0x1c]
call fcn.004a91c0
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0xa4], 0xffffffff
jne 0x48a7df
push str.No_socket_exists_for_sending.
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x18]
mov eax, dword [edx + 0x14]
call eax
xor al, al
jmp 0x48aab1
cmp dword [ebp + 0x14], 0
jne 0x48a7ec
mov dword [ebp + 0x14], 0x1499700
cmp dword [ebp + 0x10], 0
jne 0x48a7fb
mov dword [ebp + 0x10], 0xfa0
jmp 0x48a81d
cmp dword [ebp + 0x10], 0x3e8
jae 0x48a80d
mov dword [ebp + 0x10], 0x3e8
jmp 0x48a81d
cmp dword [ebp + 0x10], 0x3e80
jbe 0x48a81d
mov dword [ebp + 0x10], 0x3e80
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x1d0], 0
mov ecx, dword [ebp - 0x18]
call fcn.00484b40
cmp dword [ebp + 0xc], 0
je 0x48aaa7
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jbe 0x48a850
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0
cmp dword [ebp - 4], 0
je 0x48a885
mov ecx, dword [ebp - 4]
call fcn.0046ba00
movzx edx, al
test edx, edx
je 0x48a885
push str.Socket_SendBytes2_aborted_by_application.__1a_
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x18]
mov eax, dword [edx + 0x14]
call eax
xor al, al
jmp 0x48aab1
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0xb0
call fcn.004e9b00
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x48a8bf
push str.Aborted_by_application_while_upload_throttling__1b_
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x18]
mov eax, dword [edx + 0x14]
call eax
xor al, al
jmp 0x48aab1
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x1d0], 0
push 0
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xa4]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x48a8f5
cmp dword [ebp - 0xc], 0
jge 0x48a90a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x1d0], ecx
cmp dword [ebp - 0xc], 0xffffffff
je 0x48a91a
cmp dword [ebp - 0xc], 0
jge 0x48a9fe
cmp dword [ebp - 8], 0x2733
jne 0x48a9b8
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x1c]
push eax
push 0
push 0
mov ecx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.004890d0
movzx edx, al
test edx, edx
jne 0x48a9b6
mov ecx, dword [ebp - 0x18]
call fcn.00484b80
mov eax, dword [ebp + 0x1c]
movzx ecx, byte [eax + 0xd]
test ecx, ecx
je 0x48a96d
push 0x59e368
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x18]
mov edx, dword [eax + 0x14]
call edx
jmp 0x48a9af
mov eax, dword [ebp + 0x1c]
movzx ecx, byte [eax + 0xc]
test ecx, ecx
je 0x48a99d
mov edx, dword [ebp + 0x14]
push edx
push str.idleTimeoutMs_wf
mov ecx, dword [ebp + 0x18]
call fcn.00461550
push str.Socket_send_idle_timeout
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x18]
mov eax, dword [edx + 0x14]
call eax
jmp 0x48a9af
push str.Socket_send_failed.
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x18]
mov eax, dword [edx + 0x14]
call eax
xor al, al
jmp 0x48aab1
jmp 0x48a9fe
push str.Error_sending_on_socket__1_
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x18]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00485a60
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push ecx
push str.send_size
mov ecx, dword [ebp + 0x18]
call fcn.00461550
mov ecx, dword [ebp - 0x18]
call fcn.0048a120
xor al, al
jmp 0x48aab1
cmp dword [ebp - 0xc], 0
jle 0x48aa29
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + 0x24c]
test eax, eax
je 0x48aa29
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x58
call fcn.004e4bc0
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x248]
test edx, edx
je 0x48aa7a
cmp dword [ebp - 4], 0
je 0x48aa7a
cmp dword [ebp - 0xc], 0
jle 0x48aa7a
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov ecx, dword [ebp - 4]
call fcn.0046bab0
movzx ecx, al
test ecx, ecx
je 0x48aa7a
mov ecx, dword [ebp - 0x18]
call fcn.00484b80
push str.Socket_send_aborted_by_application
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x18]
mov edx, dword [eax + 0x14]
call edx
xor al, al
jmp 0x48aab1
cmp dword [ebp - 0xc], 0
jle 0x48aa92
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0xc]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
mov dword [ebp + 8], ecx
cmp dword [ebp - 0xc], 0
jne 0x48aaa2
push 1
call fcn.00460580
add esp, 4
jmp 0x48a832
mov ecx, dword [ebp - 0x18]
call fcn.00484b80
mov al, 1
mov esp, ebp
pop ebp
ret 0x18