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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5190b8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x54f040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 4
call fcn.00443e65
mov dword [ebp - 0x14], eax
push 0x10
mov dword [eax], edi
call fcn.00443e65
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x28]
push 0x10000
mov dword [esi + 0xc], ecx
mov dword [esi + 4], 0
mov dword [esi], 0x10000
call fcn.004441a2
add esp, 0xc
mov dword [esi + 8], eax
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0049aa80
test eax, eax
jle 0x4e1f8f
mov ebx, dword [sym.imp.PHDPFuncs.dll_LogPrintf]
push edi
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
jne 0x4e1e9f
push str.Waiting_to_enter_critical_section
push 0x54
push str.Task::Run
push 0
push 0
push 4
push 6
call ebx
add esp, 0x1c
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x4e1e73
mov eax, dword [esi + 8]
mov dword [esi + 4], 8
cmp dword [eax], 0x3e8
je 0x4e1f88
mov dword [esi + 4], 8
mov eax, dword [eax]
test eax, eax
js 0x4e1f39
cmp eax, 0x81
jae 0x4e1f39
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax*4 + 0x525bb0]
push esi
push dword [ecx]
call eax
add esp, 8
cmp eax, 0xfffffffe
je 0x4e1f88
push 0
push dword [esi + 4]
push dword [esi + 8]
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, dword [esi + 4]
jge 0x4e1f1a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.WSA_Error__d
push 0x19
push str.EcoMessage::Send
push 0
push 0
push 5
push 6
call ebx
add esp, 0x20
push edi
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, esi
call fcn.0049aa80
test eax, eax
jg 0x4e1e68
jmp 0x4e1f8f
push eax
push str.Command___d__out_of_range.
push 0xbe
push str.TaskCmd::ProcCmd
push 0
push 0
push 5
push 6
call ebx
mov eax, dword [esi + 8]
add esp, 0x1c
mov dword [esi + 4], 8
mov dword [esi], 0x10000
mov dword [eax], 0x10002
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov ecx, esp
push str.Command_out_of_range
call fcn.00403420
mov ecx, esi
call fcn.0049ade0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 0x38]
test eax, eax
je 0x4e2090
cmp byte [eax + 0x14], 0
je 0x4e2090
push 0x7180
call fcn.00443e65
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 1
mov ecx, dword [edi + 0x38]
add ecx, 4
push ecx
mov ecx, ebx
call fcn.00426f90
mov dword [ebx], vtable.DbPhdVersion.0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 0x18]
cmp dword [eax - 0xc], 0
jle 0x4e2080
add eax, 0xfffffff0
push eax
call fcn.00403870
add eax, 0x10
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.00427600
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
push 1
call fcn.004286e0
push ecx
mov dword [ebp - 0x14], esp
call fcn.00402df0
mov ecx, eax
test ecx, ecx
je 0x4e20db
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
push str.call_corp.DeleteLocks___
mov byte [ebp - 4], 3
call fcn.00403590
test al, al
jne 0x4e2053
mov ecx, dword [ebp - 0x14]
push 0x1a
push str.call_corp.DeleteLocks___
call fcn.004044a0
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00427b20
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4e2080
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov ecx, dword [edi + 0x38]
call fcn.00494990
mov eax, dword [esi + 8]
test eax, eax
je 0x4e20a0
push eax
call fcn.0044419d
add esp, 4
push 0x10
push esi
call fcn.00443e34
mov ecx, dword [edi + 0x50]
add esp, 8
push 1
call fcn.0043ebe0
push 1
push dword [edi + 0x28]
call dword [sym.imp.WS2_32.dll_shutdown]
push dword [edi + 0x28]
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404320
int3