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

Disassembly:
sub esp, 0x3ec
push ebx
push esi
mov esi, dword [esp + 0x3f8]
push edi
mov ebx, edx
mov edi, ecx
mov ecx, esi
mov dword [esp + 0xc], ebx
call fcn.004f0af0
test eax, eax
je 0x569cfe
cmp dword [esi + 4], 0xffffffff
jne 0x569d0c
xor edx, edx
mov ecx, 0x1774
call fcn.0041f1a0
mov edx, esi
mov ecx, eax
call fcn.00568f00
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x3ec
ret 4
mov eax, dword [esi + 0x834]
test eax, eax
je 0x569d21
mov ecx, esi
call fcn.004f0d40
test eax, eax
jne 0x569cfe
push ebp
push edi
mov edx, 0x3e7
lea ecx, [esp + 0x18]
call fcn.00420d70
mov edx, esi
lea ecx, [esp + 0x14]
lea ebp, [esp + 0x14]
call fcn.00569b60
cmp ebx, 4
je 0x569d6a
push 1
lea eax, [esp + 0x18]
push eax
push esi
xor edx, edx
xor ecx, ecx
call fcn.0055a610
mov eax, dword [0x5f6590]
test eax, eax
je 0x569d6a
lea edx, [esp + 0x14]
xor ecx, ecx
call fcn.0052c6a0
mov edx, dword [esi + 0xcfc]
test edx, edx
je 0x569d99
cmp dword [edx + 0x1c], 0xffffffff
jne 0x569d92
mov ecx, dword [esi + 0xcfc]
mov edi, dword [edx + 0x40]
call fcn.004d3ac0
mov dword [esi + 0xcfc], eax
mov edx, edi
jmp 0x569d95
mov edx, dword [edx + 0x40]
test edx, edx
jne 0x569d74
mov ecx, dword [esi + 0xcfc]
test ecx, ecx
je 0x569de5
mov al, byte [esp + 0x14]
test al, al
je 0x569dbf
push ebx
lea edx, [esp + 0x18]
call fcn.004d38f0
test eax, eax
je 0x569dbf
mov dword [esi + 0xcfc], eax
mov eax, dword [esi + 0xcfc]
mov ecx, dword [eax + 0x1c]
mov dword [eax + 0x1c], 0xffffffff
mov edx, dword [esi + 0xcfc]
mov ebp, dword [edx]
test ebp, ebp
mov dword [esp + 0x10], ecx
je 0x569fd7
mov ebx, ecx
cmp byte [ebp], 0
je 0x569fd7
mov eax, dword [0x5cd3f8]
test eax, eax
je 0x569e0a
push esi
mov edx, ebx
mov ecx, ebp
call fcn.0048c290
test eax, eax
jne 0x569ff6
mov ecx, 1
call fcn.004f0ff0
mov eax, ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x569e20
sub eax, edx
mov ebx, eax
mov eax, dword [esi + 0x24f8]
test eax, eax
je 0x569e65
mov ecx, dword [esi + 4]
push ebx
mov edx, ebp
call fcn.00533f00
mov edi, eax
cmp edi, ebx
je 0x569e75
cmp edi, 0xfffffffd
jne 0x569e58
push 0x2747
call dword [sym.imp.WSOCK32.dll_WSASetLastError]
jmp 0x569e7e
push 0x2745
call dword [sym.imp.WSOCK32.dll_WSASetLastError]
jmp 0x569e7e
mov eax, dword [esi + 4]
push 0
push ebx
push ebp
push eax
call dword [sym.imp.WSOCK32.dll_send]
mov edi, eax
cmp edi, 0xffffffff
jne 0x569f57
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2733
jne 0x569ed4
mov ecx, dword [esi + 0xcfc]
test ecx, ecx
je 0x569eb2
cmp ebp, dword [ecx]
jne 0x569eb2
mov edx, dword [esp + 0x10]
pop ebp
pop edi
pop esi
mov dword [ecx + 0x1c], edx
xor eax, eax
pop ebx
add esp, 0x3ec
ret 4
push 0
mov edx, ebp
call fcn.004d38f0
test eax, eax
je 0x569ec5
mov dword [esi + 0xcfc], eax
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x3ec
ret 4
lea edi, [esi + 0x444]
mov edx, 0x3e7
mov ecx, edi
call fcn.00420e60
test ebx, ebx
je 0x569f2c
mov ecx, ebx
call fcn.00568e70
push eax
xor edx, edx
mov ecx, 0x1775
call fcn.0041f1a0
push eax
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [0x5c9d48]
add esp, 0xc
mov dword [0x5bfd5c], 0
mov dword [0x5f31fc], 1
mov ecx, dword [esi]
push eax
mov edx, edi
call fcn.00514ad0
mov ecx, esi
call fcn.005690a0
xor edx, edx
mov ecx, 0x5e1
call fcn.0041f1a0
mov edx, esi
mov ecx, eax
call fcn.00568f00
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x3ec
ret 4
test edi, edi
jg 0x569f5d
xor edi, edi
cmp edi, ebx
jge 0x569f84
mov ecx, dword [esi + 0xcfc]
push 0
lea ebx, [edi + ebp]
push 0
mov edx, ebx
call fcn.004d4440
test eax, eax
je 0x569f7f
mov dword [esi + 0xcfc], eax
mov byte [ebx], 0
mov ebx, edi
mov eax, dword [esi + 0x1c7c]
test eax, eax
jle 0x569f9d
add eax, ebx
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x1c7c], eax
jmp 0x569fa3
mov dword [esi + 0x1c7c], ebx
mov edi, dword [esi + 0x1c78]
add edi, ebx
mov dword [esi + 0x1c78], edi
mov ecx, dword [0x5bfa94]
mov eax, edi
cmp eax, ecx
jle 0x569fc3
mov dword [esi + 0x1c78], ecx
mov al, byte [esi + 0x2264]
test al, al
je 0x569fd7
push esi
xor edx, edx
mov ecx, ebp
call fcn.00421950
mov eax, dword [esi + 0xcfc]
test eax, eax
je 0x569ff6
mov ecx, dword [0x5f92ec]
push esi
push 0
push 0x804c
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x3ec
ret 4