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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65e688
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x755898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 0x18]
push ebx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov edi, dword [ebp + 8]
push edi
mov ecx, esi
call fcn.005615b0
test eax, eax
jne 0x56f9dd
push 0x3c
push edi
mov ecx, esi
call fcn.005624e0
mov ecx, dword [esi + 0x320c]
cmp dword [ecx + 0x1c], 0
je 0x56f731
add ecx, 0x28
call fcn.00558390
mov eax, 0x7540
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
test eax, eax
jne 0x56f9dd
mov eax, dword [esi + 0x194]
cmp dword [eax + 0x154], 4
jne 0x56f775
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x14]
push edx
push ebx
push edi
mov ecx, esi
call fcn.005617f0
cmp eax, 0x2733
je 0x56f76b
cmp eax, 0x7533
jne 0x56f8a8
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
jmp 0x56f750
lea edx, [ebp + 0x1b]
push edx
push edi
mov ecx, esi
call fcn.00561980
cmp eax, 0x2733
je 0x56f9b7
cmp eax, 0x7533
je 0x56f9b7
test eax, eax
jne 0x56f9dd
cmp byte [ebp + 0x1b], al
je 0x56f842
mov eax, dword [esi + 0x194]
cmp byte [eax + 0x15d], 0
jne 0x56f7f2
push 1
mov ecx, dword [0x75c5ac]
push ecx
mov ecx, esi
call fcn.00560b40
mov edx, dword [0x75c5ac]
push edx
mov ecx, dword [esi + 0xac]
call fcn.00569300
mov eax, 0x7559
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
push edi
mov ecx, esi
call fcn.00562270
test eax, eax
jne 0x56f9dd
push 0x3c
push edi
mov ecx, esi
call fcn.005624e0
mov ecx, dword [esi + 0x320c]
cmp dword [ecx + 0x1c], 0
jne 0x56f710
test eax, eax
jne 0x56f9dd
push edi
mov ecx, esi
call fcn.005623a0
cmp eax, 0x2733
je 0x56f824
cmp eax, 0x7533
je 0x56f824
test eax, eax
jne 0x56f9dd
push ebx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push edi
mov ecx, esi
call fcn.00561dc0
test eax, eax
jne 0x56f9dd
push 0x3c
push edi
mov ecx, esi
call fcn.005624e0
mov ecx, dword [esi + 0x320c]
cmp dword [ecx + 0x1c], 0
jne 0x56f710
test eax, eax
jne 0x56f9dd
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
push ebx
push edi
mov ecx, esi
call fcn.00561ad0
cmp eax, 0x2733
je 0x56f9aa
cmp eax, 0x7533
je 0x56f9aa
test eax, eax
jne 0x56f9dd
test ebx, ebx
je 0x56f994
lea ecx, [ebp + 0x14]
call fcn.00402500
mov byte [ebp - 4], 1
mov ax, word [ebp + 8]
movzx edx, ah
push edx
movzx eax, al
push eax
movzx ecx, byte [ebp - 0x11]
push ecx
movzx edx, byte [ebp - 0x12]
push edx
mov eax, dword [ebp - 0x14]
movzx ecx, ah
push ecx
movzx edx, al
push edx
push str.PORT__d__d__d__d__d__d_r_n
lea eax, [ebp + 0x14]
push eax
call fcn.00402f70
add esp, 0x20
push 1
mov ecx, dword [0x75bb04]
push ecx
mov ecx, esi
call fcn.00560b40
mov edx, dword [ebp + 0x14]
mov eax, edx
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x56f910
sub eax, edi
push str.send___PORT
push 0
push eax
push edx
mov edx, dword [esi + 0x31fc]
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00560c30
mov edi, eax
test edi, edi
je 0x56f96a
mov eax, dword [esi + 0x320c]
mov dword [eax + 0x144], edi
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.00402570
mov eax, edi
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
push 6
lea ecx, [esi + 0x31f0]
call fcn.005a6df0
mov ecx, esi
call fcn.00560550
mov dword [esi + 0x9c], 4
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.00402570
xor eax, eax
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
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x14]
push edx
jmp 0x56f889
lea eax, [ebp + 0x1b]
push eax
jmp 0x56f779
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