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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71495d
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 0x4a006d
call fcn.006dfa14
mov eax, dword [esi + 4]
test eax, eax
je 0x4a007c
mov eax, dword [eax + 4]
jmp 0x4a007e
xor eax, eax
push 8
push 0x88
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 0x4a00aa
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], 0x4a4030
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 0x4a0104
mov dword [edi + 0x20], edx
mov dword [edi + 0x24], esi
lock inc dword [eax]
jmp 0x4a0107
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 + 0x68]
mov dword [edi + 0x48], eax
mov eax, dword [edx + 0x20]
mov dword [edi + 0x50], eax
movzx eax, byte [edx + 0x24]
mov byte [edi + 0x54], al
movzx eax, byte [edx + 0x28]
mov byte [edi + 0x58], al
mov eax, dword [edx + 0x2c]
mov dword [edi + 0x5c], eax
mov eax, dword [edx + 0x30]
mov dword [edi + 0x60], eax
push 0
mov dword [edx + 0x30], 0
mov dword [edx + 0x2c], 0
call fcn.00464140
test esi, esi
je 0x4a0194
mov ecx, dword [ebp - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x4a0194
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 0x4a01c8
test edx, edx
jne 0x4a01c8
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 0x4a023e
mov eax, dword [ebx + 4]
add eax, 0x18
lock inc dword [eax]
mov eax, dword [ecx]
push 0
cmp eax, 0xffffffff
jne 0x4a01ea
mov ecx, dword [ebx + 4]
push 0x2719
push edi
call fcn.0047cd40
jmp 0x4a023e
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 0x4a0235
cmp eax, 0x3e5
je 0x4a0235
push dword [ebp + 0x14]
mov ecx, dword [ebx + 4]
push eax
push edi
call fcn.0047cd40
jmp 0x4a023e
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.004a4c00
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