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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7152fd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x7f9c40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x14]
mov edx, dword [0x800e58]
mov dword [ebp - 0x28], eax
mov eax, dword fs:[0x2c]
mov esi, dword [eax + edx*4]
cmp byte [esi + 0xc], 0
jne 0x4a7d4d
call fcn.006dfa14
mov eax, dword [esi + 4]
test eax, eax
je 0x4a7d5c
mov eax, dword [eax + 4]
jmp 0x4a7d5e
xor eax, eax
push 8
push 0x80
push eax
push dword [ebp + 0x14]
call fcn.004603b0
add esp, 0x10
mov edi, eax
mov eax, dword [ebp + 8]
xor edx, edx
xor esi, esi
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4a7d8a
mov edx, dword [eax + 8]
mov esi, ecx
lock inc dword [ecx + 8]
mov dword [edi + 0x14], 0
lea eax, [esi + 8]
mov dword [edi + 0x18], 0x4aafb0
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 - 0x10], eax
test esi, esi
je 0x4a7de4
mov dword [edi + 0x20], edx
mov dword [edi + 0x24], esi
lock inc dword [eax]
jmp 0x4a7de7
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x18]
push 0
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x28], eax
mov eax, dword [edx + 4]
mov dword [edi + 0x34], eax
movq xmm0, qword [edx + 8]
movq qword [edi + 0x38], xmm0
mov eax, dword [edx + 0x10]
mov dword [edi + 0x40], eax
mov eax, dword [edx + 0x14]
mov dword [edi + 0x44], eax
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
mov dword [edi + 0x4c], ecx
lea ecx, [edi + 0x60]
mov dword [edi + 0x48], eax
mov al, byte [edx + 0x20]
mov byte [edi + 0x50], al
mov eax, dword [edx + 0x24]
mov dword [edi + 0x54], eax
mov eax, dword [edx + 0x28]
mov dword [edi + 0x58], eax
push 0
mov dword [edx + 0x28], 0
mov dword [edx + 0x24], 0
call fcn.00464140
test esi, esi
je 0x4a7e66
mov ecx, dword [ebp - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x4a7e66
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], edx
test byte [ecx + 4], 0x10
je 0x4a7e9a
test edx, edx
jne 0x4a7e9a
mov eax, dword [ebx + 4]
add eax, 0x18
lock inc dword [eax]
mov ecx, dword [ebx + 4]
push edx
push edx
push edi
call fcn.0047cd40
jmp 0x4a7f10
mov eax, dword [ebx + 4]
add eax, 0x18
lock inc dword [eax]
mov eax, dword [ecx]
push 0
cmp eax, 0xffffffff
jne 0x4a7ebc
mov ecx, dword [ebx + 4]
push 0x2719
push edi
call fcn.0047cd40
jmp 0x4a7f10
push edi
push dword [ebp + 0x10]
lea ecx, [ebp + 0x14]
mov dword [ebp + 0x14], 0
push ecx
push 1
lea ecx, [ebp - 0x1c]
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 0x4a7f07
cmp eax, 0x3e5
je 0x4a7f07
push dword [ebp + 0x14]
mov ecx, dword [ebx + 4]
push eax
push edi
call fcn.0047cd40
jmp 0x4a7f10
mov ecx, dword [ebx + 4]
push edi
call fcn.0047ce70
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.004ab6c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14