Function at 0x4dba50
Capabilities:
Connect socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5184db
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x54f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x48], 5
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0
mov ecx, dword [esi]
mov edx, dword [esi + 4]
cmp ecx, edx
je 0x4dbab8
push ecx
call fcn.00417a30
mov eax, dword [esi]
add esp, 4
mov dword [esi + 4], eax
cmp byte [ebp + 0xc], 0
je 0x4dbad5
mov ecx, edi
call fcn.004dc030
mov eax, dword [0x5515c0]
lock inc dword [eax]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 1
mov eax, dword [ecx + 4]
mov dword [ebp - 0x54], ecx
mov eax, dword [eax]
mov dword [ecx], eax
cmp eax, dword [ecx + 4]
je 0x4dbbac
movups xmm0, xmmword [eax + 0x14]
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [eax + 0x24]
movq qword [ebp - 0x78], xmm0
call fcn.00401c60
mov byte [ebp - 0x21], 1
movups xmm0, xmmword [ebp - 0x84]
lea ecx, [ebp - 0x4c]
movups xmmword [ebp - 0x20], xmm0
call fcn.00505400
test al, al
je 0x4dbb8b
mov edi, dword [ebp - 0x4c]
push edi
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x20]
push 0x10
push eax
push dword [ebp - 0x44]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x4dbbd9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
movzx eax, byte [ebp - 0x19]
push edi
push eax
movzx eax, byte [ebp - 0x1a]
push eax
movzx eax, byte [ebp - 0x1b]
push eax
movzx eax, byte [ebp - 0x1c]
push eax
push str.Unable_to_make_TCP_connection_to__d._d._d._d_on_port__d__error___d_.
push 0x5b
push str.TCPListener::Connect
push 0
push 0
push 5
push 6
call dword [sym.imp.PHDPFuncs.dll_LogPrintf]
add esp, 0x34
push dword [ebp - 0x44]
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
cmp ecx, edx
je 0x4dbba2
push ecx
call fcn.00417a30
mov eax, dword [esi]
mov dword [esi + 4], eax
add esp, 4
cmp byte [ebp - 0x21], 0
jne 0x4dbb0d
cmp byte [ebp + 0xc], 0
je 0x4dbbba
mov eax, dword [0x5515c0]
lock dec dword [eax]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443e26
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp - 0x44]
push 0x10000
mov dword [ebp - 0x28], edi
call fcn.004441a2
add esp, 4
mov dword [ebp - 0x2c], eax
push 0
push 8
mov byte [ebp - 4], 2
push eax
mov dword [eax], 0x3c
push edi
mov dword [ebp - 0x34], 0x10000
mov dword [eax + 4], 8
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 8
jge 0x4dbc3c
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 dword [sym.imp.PHDPFuncs.dll_LogPrintf]
add esp, 0x20
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x30], 0
call fcn.0049aa80
mov edi, dword [ebp - 0x2c]
test eax, eax
jle 0x4dbe45
cmp dword [edi], 0x10001
mov dword [ebp - 0x30], 8
jne 0x4dbe45
call fcn.00402df0
mov ecx, eax
test ecx, ecx
je 0x4dbebb
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x60], eax
call fcn.00402df0
mov ecx, eax
test ecx, ecx
je 0x4dbebb
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x5c], edi
mov byte [ebp - 4], 3
mov edx, 2
mov ecx, dword [ebp - 0x2c]
movzx eax, word [ecx + 8]
cmp dx, ax
jne 0x4dbdf2
cmp word [ecx + 0xa], 1
mov dword [ebp - 0x30], 0xc
jne 0x4dbdf2
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], 0x10
test eax, eax
jle 0x4dbdf2
movups xmm0, xmmword [ebp - 0x84]
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
movups xmmword [ebp - 0x98], xmm0
movups xmmword [ebp - 0x70], xmm0
call fcn.0049a7c0
mov byte [ebp - 4], 4
lea esi, [edi - 0x10]
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x4dbd60
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4dbd49
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x4dbd49
push ecx
call fcn.00403870
add esp, 4
mov dword [ebp - 0x40], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4dbd41
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x40]
lea edi, [eax + 0x10]
mov dword [ebp - 0x5c], edi
jmp 0x4dbd60
push dword [edx - 0xc]
lea ecx, [ebp - 0x5c]
push edx
call fcn.004044a0
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [ebp - 0x98], xmm0
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4dbd7f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x38]
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
je 0x4dbdd9
movups xmm0, xmmword [ebp - 0x98]
mov eax, dword [ebp - 0x60]
lea esi, [edi + 0x10]
add eax, 0xfffffff0
mov dword [ebp - 0x40], edi
push eax
movups xmmword [edi], xmm0
mov dword [ebp - 0x58], esi
call fcn.00403870
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 5
lea esi, [edi + 0x14]
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x58], esi
lea eax, [edi - 0x10]
push eax
call fcn.00403870
add eax, 0x10
mov byte [ebp - 4], 3
mov dword [esi], eax
add esp, 8
mov esi, dword [ebp - 0x38]
add dword [esi + 4], 0x18
jmp 0x4dbde8
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
push edi
call fcn.00417ac0
mov edi, dword [ebp - 0x5c]
sub dword [ebp - 0x3c], 1
jne 0x4dbce1
mov byte [ebp - 4], 2
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4dbe0e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x60]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4dbe29
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x2c]
push dword [ebp - 0x44]
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jne 0x4dbe86
mov byte [ebp - 0x21], 0
jmp 0x4dbea4
mov ecx, dword [ebp - 0x80]
mov eax, ecx
shr eax, 0x18
push eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
push eax
mov eax, ecx
shr eax, 8
movzx eax, al
push eax
movzx eax, cl
push eax
push str.Failed_to_get_local_users_from_peer__d._d._d._d
push 0x1a7
push str.Scheduler::GetNetworkUsers
push 0
push 0
push 5
push 6
call dword [sym.imp.PHDPFuncs.dll_LogPrintf]
add esp, 0x2c
jmp 0x4dbe2c
movups xmm0, xmmword [eax + 0x14]
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [eax + 0x24]
movq qword [ebp - 0x78], xmm0
call fcn.00401c60
mov byte [ebp - 0x21], 1
mov byte [ebp - 4], 1
test edi, edi
je 0x4dbba2
push edi
call fcn.0044419d
jmp 0x4dbb9f
push 0x80004005
call fcn.00404320
int3