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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8138
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x68fddc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x108], 0
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], 0
lea ecx, [ebp - 0x18]
call fcn.00426320
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x100]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4d7d26
mov dword [ebp - 0x10], 0x1499700
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0xa4], 0xffffffff
jne 0x4d7d5f
push str.No_socket_exists_for_sending__2a_
mov edx, dword [ebp + 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x20]
mov edx, dword [eax + 0x14]
call edx
mov byte [ebp - 0x3d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00426370
mov al, byte [ebp - 0x3d]
jmp 0x4d81d7
mov ecx, dword [ebp - 0x4c]
call fcn.004d0ff0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0xc], 0
je 0x4d81b9
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x28]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.004d8a40
mov byte [ebp - 0x19], al
movzx ecx, byte [ebp - 0x19]
test ecx, ecx
jne 0x4d7dc3
mov ecx, dword [ebp - 0x4c]
call fcn.004d1030
mov byte [ebp - 0x3e], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00426370
mov al, byte [ebp - 0x3e]
jmp 0x4d81d7
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x14]
jle 0x4d7dd7
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp + 0xc]
jbe 0x4d7de5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0
cmp dword [ebp + 0x24], 0
je 0x4d7e43
push 0x174
mov ecx, dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x24]
call fcn.0045d950
mov byte [ebp - 0x2d], al
movzx edx, byte [ebp - 0x2d]
test edx, edx
je 0x4d7e43
mov ecx, dword [ebp - 0x4c]
call fcn.004d1030
push str.Socket_SendBytes2_aborted_by_application.__1_
mov eax, dword [ebp + 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x20]
mov eax, dword [edx + 0x14]
call eax
mov byte [ebp - 0x3f], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00426370
mov al, byte [ebp - 0x3f]
jmp 0x4d81d7
mov byte [ebp - 0x25], 0
lea ecx, [ebp - 0x25]
push ecx
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0xb0
call fcn.005307a0
movzx ecx, byte [ebp - 0x25]
test ecx, ecx
je 0x4d7e96
push str.Aborted_by_application_while_upload_throttling__2_
mov edx, dword [ebp + 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x20]
mov edx, dword [eax + 0x14]
call edx
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00426370
mov al, byte [ebp - 0x40]
jmp 0x4d81d7
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x108], 0
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0xa4]
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x4d7ecc
cmp dword [ebp - 0x24], 0
jge 0x4d7ee1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x108], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x4d7ef1
cmp dword [ebp - 0x24], 0
jge 0x4d80e6
cmp dword [ebp - 0x20], 0x2733
jne 0x4d805f
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x28]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.004d8a40
mov byte [ebp - 0x3a], al
movzx ecx, byte [ebp - 0x3a]
test ecx, ecx
jne 0x4d7f40
mov ecx, dword [ebp - 0x4c]
call fcn.004d1030
mov byte [ebp - 0x41], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00426370
mov al, byte [ebp - 0x41]
jmp 0x4d81d7
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x39], 0
mov byte [ebp - 0x30], 0
mov byte [ebp - 0x31], 0
mov byte [ebp - 0x2e], 0
mov byte [ebp - 0x2f], 0
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x10]
jae 0x4d7ff0
lea eax, [ebp - 0x2e]
push eax
lea ecx, [ebp - 0x31]
push ecx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x2f]
push eax
mov ecx, dword [ebp + 0x24]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push 0x64
push 0
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.004d68a0
movzx ecx, al
test ecx, ecx
je 0x4d7fa0
mov byte [ebp - 0x39], 1
jmp 0x4d7ff0
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x28]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.004d8a40
mov byte [ebp - 0x3b], al
movzx edx, byte [ebp - 0x3b]
test edx, edx
jne 0x4d7fe2
mov ecx, dword [ebp - 0x4c]
call fcn.004d1030
mov byte [ebp - 0x42], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00426370
mov al, byte [ebp - 0x42]
jmp 0x4d81d7
mov eax, dword [ebp - 0x38]
add eax, 0x64
mov dword [ebp - 0x38], eax
jmp 0x4d7f5b
movzx ecx, byte [ebp - 0x39]
test ecx, ecx
jne 0x4d805a
mov ecx, dword [ebp - 0x4c]
call fcn.004d1030
movzx edx, byte [ebp - 0x30]
test edx, edx
je 0x4d801c
push 0x61cf1c
mov eax, dword [ebp + 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x20]
mov eax, dword [edx + 0x14]
call eax
jmp 0x4d803f
mov ecx, dword [ebp - 0x10]
push ecx
push str.idleTimeoutMs
mov ecx, dword [ebp + 0x20]
call fcn.00444050
push str.Socket_send_idle_timeout
mov edx, dword [ebp + 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x20]
mov edx, dword [eax + 0x14]
call edx
mov byte [ebp - 0x43], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00426370
mov al, byte [ebp - 0x43]
jmp 0x4d81d7
jmp 0x4d80e6
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004d1f80
add esp, 8
push str.Error_sending_on_socket__2_
mov edx, dword [ebp + 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x20]
mov edx, dword [eax + 0x14]
call edx
mov eax, dword [ebp - 0x2c]
push eax
push str.send_size
mov ecx, dword [ebp + 0x20]
call fcn.00444050
push 2
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0xa4]
push edx
call dword [sym.imp.WS2_32.dll_shutdown]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0xa4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0xa4], 0xffffffff
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0xa0], 0
mov byte [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00426370
mov al, byte [ebp - 0x44]
jmp 0x4d81d7
cmp dword [ebp - 0x24], 0
jle 0x4d812c
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ecx]
add edx, dword [ebp - 0x24]
mov eax, dword [ebp + 0x2c]
mov dword [eax], edx
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x4c]
add ecx, 0xb0
call fcn.00530710
mov edx, dword [ebp - 0x4c]
movzx eax, byte [edx + 0x16c]
test eax, eax
je 0x4d812c
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x4c]
add ecx, 0x58
call fcn.004dc980
cmp dword [ebp + 0x24], 0
je 0x4d818c
cmp dword [ebp - 0x24], 0
jle 0x4d818c
mov byte [ebp - 0x3c], 0
cmp dword [ebp + 0x24], 0
je 0x4d8152
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp + 0x24]
call fcn.0045dd30
movzx edx, byte [ebp - 0x3c]
test edx, edx
je 0x4d818c
mov ecx, dword [ebp - 0x4c]
call fcn.004d1030
push str.Socket_send_aborted_by_application
mov eax, dword [ebp + 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x20]
mov eax, dword [edx + 0x14]
call eax
mov byte [ebp - 0x45], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00426370
mov al, byte [ebp - 0x45]
jmp 0x4d81d7
cmp dword [ebp - 0x24], 0
jle 0x4d81a4
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 0x24]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x24]
mov dword [ebp + 8], edx
cmp dword [ebp - 0x24], 0
jne 0x4d81b4
push 0xa
call fcn.00442f60
add esp, 4
jmp 0x4d7d6e
mov ecx, dword [ebp - 0x4c]
call fcn.004d1030
mov byte [ebp - 0x46], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00426370
mov al, byte [ebp - 0x46]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x28