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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d36f8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6b4774]
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 + 0x120], 0
lea ecx, [ebp - 0x18]
call fcn.00429e70
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x118]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x4cbd2d
mov dword [ebp - 0x10], 0x1499700
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0xa4], 0xffffffff
jne 0x4cbd66
push str.No_socket_exists_for_sending__2a_
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x20]
mov eax, dword [edx + 0x10]
call eax
mov byte [ebp - 0x3d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00429ec0
mov al, byte [ebp - 0x3d]
jmp 0x4cc1cf
mov ecx, dword [ebp - 0x4c]
call fcn.004c5670
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0xc], 0
je 0x4cc1b1
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
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.004cc9a0
mov byte [ebp - 0x19], al
movzx edx, byte [ebp - 0x19]
test edx, edx
jne 0x4cbdca
mov ecx, dword [ebp - 0x4c]
call fcn.004c56b0
mov byte [ebp - 0x3e], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00429ec0
mov al, byte [ebp - 0x3e]
jmp 0x4cc1cf
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp + 0x14]
jle 0x4cbdde
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0xc]
jbe 0x4cbdec
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], 0
cmp dword [ebp + 0x24], 0
je 0x4cbe4a
push 0x174
mov edx, dword [ebp + 0x1c]
push edx
mov ecx, dword [ebp + 0x24]
call fcn.0045e800
mov byte [ebp - 0x2d], al
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x4cbe4a
mov ecx, dword [ebp - 0x4c]
call fcn.004c56b0
push str.Socket_SendBytes2_aborted_by_application.__1_
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x20]
mov eax, dword [edx + 0x10]
call eax
mov byte [ebp - 0x3f], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00429ec0
mov al, byte [ebp - 0x3f]
jmp 0x4cc1cf
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, 0xc8
call fcn.00521b70
movzx ecx, byte [ebp - 0x25]
test ecx, ecx
je 0x4cbe9d
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 + 0x10]
call edx
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00429ec0
mov al, byte [ebp - 0x40]
jmp 0x4cc1cf
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x120], 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
jne 0x4cbee2
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 + 0x120], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x4cc0eb
cmp dword [ebp - 0x20], 0x2733
jne 0x4cc05f
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.004cc9a0
mov byte [ebp - 0x3a], al
movzx ecx, byte [ebp - 0x3a]
test ecx, ecx
jne 0x4cbf3b
mov ecx, dword [ebp - 0x4c]
call fcn.004c56b0
mov byte [ebp - 0x41], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00429ec0
mov al, byte [ebp - 0x41]
jmp 0x4cc1cf
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 0x4cbfeb
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.004caa60
movzx ecx, al
test ecx, ecx
je 0x4cbf9b
mov byte [ebp - 0x39], 1
jmp 0x4cbfeb
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.004cc9a0
mov byte [ebp - 0x3b], al
movzx edx, byte [ebp - 0x3b]
test edx, edx
jne 0x4cbfdd
mov ecx, dword [ebp - 0x4c]
call fcn.004c56b0
mov byte [ebp - 0x42], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00429ec0
mov al, byte [ebp - 0x42]
jmp 0x4cc1cf
mov eax, dword [ebp - 0x38]
add eax, 0x64
mov dword [ebp - 0x38], eax
jmp 0x4cbf56
movzx ecx, byte [ebp - 0x39]
test ecx, ecx
jne 0x4cc05a
mov ecx, dword [ebp - 0x4c]
call fcn.004c56b0
movzx edx, byte [ebp - 0x30]
test edx, edx
je 0x4cc017
push 0x63787c
mov eax, dword [ebp + 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x20]
mov eax, dword [edx + 0x10]
call eax
jmp 0x4cc03f
mov ecx, dword [ebp - 0x10]
push ecx
push str.idleTimeoutMs
mov edx, dword [ebp + 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x20]
mov edx, dword [eax + 0x2c]
call edx
push str.Socket_send_idle_timeout
mov eax, dword [ebp + 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x20]
mov eax, dword [edx + 0x10]
call eax
mov byte [ebp - 0x43], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00429ec0
mov al, byte [ebp - 0x43]
jmp 0x4cc1cf
jmp 0x4cc0eb
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.004c6450
add esp, 8
push str.Error_sending_on_socket
mov eax, dword [ebp + 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x20]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x2c]
push ecx
push str.send_size
mov edx, dword [ebp + 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x20]
mov edx, dword [eax + 0x2c]
call edx
push 2
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0xa4]
push ecx
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0xa4]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0xa4], 0xffffffff
mov edx, dword [ebp - 0x4c]
mov byte [edx + 0xa0], 0
mov byte [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00429ec0
mov al, byte [ebp - 0x44]
jmp 0x4cc1cf
cmp dword [ebp - 0x24], 0
jle 0x4cc124
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0xc8
call fcn.00521ae0
mov ecx, dword [ebp - 0x4c]
movzx edx, byte [ecx + 0x184]
test edx, edx
je 0x4cc124
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x4c]
add ecx, 0x58
call fcn.004d12d0
cmp dword [ebp + 0x24], 0
je 0x4cc184
cmp dword [ebp - 0x24], 0
jle 0x4cc184
mov byte [ebp - 0x3c], 0
cmp dword [ebp + 0x24], 0
je 0x4cc14a
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0x24]
call fcn.0045ec70
movzx ecx, byte [ebp - 0x3c]
test ecx, ecx
je 0x4cc184
mov ecx, dword [ebp - 0x4c]
call fcn.004c56b0
push str.Socket_send_aborted_by_application
mov edx, dword [ebp + 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x20]
mov edx, dword [eax + 0x10]
call edx
mov byte [ebp - 0x45], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00429ec0
mov al, byte [ebp - 0x45]
jmp 0x4cc1cf
cmp dword [ebp - 0x24], 0
jle 0x4cc19c
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x24]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x24]
mov dword [ebp + 8], ecx
cmp dword [ebp - 0x24], 0
jne 0x4cc1ac
push 0xa
call fcn.00450660
add esp, 4
jmp 0x4cbd75
mov ecx, dword [ebp - 0x4c]
call fcn.004c56b0
mov byte [ebp - 0x46], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00429ec0
mov al, byte [ebp - 0x46]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x24