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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ec0d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4b2740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x14]
mov edx, dword [0x4b466c]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x28], ecx
mov edi, dword [eax + edx*4]
cmp byte [edi + 0xc], 0
jne 0x482fdf
call fcn.0048d558
mov eax, dword [edi + 4]
test eax, eax
je 0x482fee
mov eax, dword [eax + 4]
jmp 0x482ff0
xor eax, eax
push 4
push 0x50
push eax
push dword [ebp - 0x28]
call fcn.00482b90
add esp, 0x10
mov edi, eax
mov ecx, dword [esi + 0xc]
xor edx, edx
xor esi, esi
test ecx, ecx
je 0x483019
mov eax, dword [ebp - 0x14]
mov esi, ecx
mov edx, dword [eax + 8]
lock inc dword [ecx + 8]
mov dword [edi + 0x14], 0
lea eax, [esi + 8]
mov dword [edi + 0x18], 0x488400
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [ebp - 0x24], eax
test esi, esi
je 0x483073
mov dword [edi + 0x20], edx
mov dword [edi + 0x24], esi
lock inc dword [eax]
jmp 0x483076
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0x28]
push 0
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0x2c], ecx
lea ecx, [edi + 0x34]
push 0
mov eax, dword [eax]
mov dword [edi + 0x30], eax
call fcn.004846c0
test esi, esi
je 0x4830b2
mov ecx, dword [ebp - 0x24]
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x4830b2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
test byte [edx + 4], 0x10
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], ecx
je 0x4830e6
test ecx, ecx
jne 0x4830e6
mov eax, dword [ebx + 4]
add eax, 0x18
lock inc dword [eax]
push ecx
push ecx
mov ecx, dword [ebx + 4]
push edi
call fcn.00489e60
jmp 0x48315c
mov eax, dword [ebx + 4]
add eax, 0x18
lock inc dword [eax]
mov eax, dword [edx]
push 0
cmp eax, 0xffffffff
jne 0x483108
mov ecx, dword [ebx + 4]
push 0x2719
push edi
call fcn.00489e60
jmp 0x48315c
push edi
push dword [ebp + 0x10]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push 1
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
je 0x483153
cmp eax, 0x3e5
je 0x483153
push dword [ebp - 0x14]
mov ecx, dword [ebx + 4]
push eax
push edi
call fcn.00489e60
jmp 0x48315c
mov ecx, dword [ebx + 4]
push edi
call fcn.00489ee0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 1
call fcn.0048a630
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048cd9a
mov esp, ebp
pop ebp
ret 0x14