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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
cmp dword [0x4fe2b0], 0xffffffff
jne 0x4efb78
push 0
push 0x1776
call fcn.0041f178
push eax
call fcn.004eec3c
xor eax, eax
jmp 0x4efe6b
mov ebx, dword [0x4fe2c8]
test ebx, ebx
je 0x4efba7
cmp dword [ebx + 0x18], 0xffffffff
jne 0x4efba0
mov edi, dword [ebx + 0x30]
push ebx
mov eax, dword [0x4fe2c8]
push eax
call fcn.00498fb0
mov dword [0x4fe2c8], eax
mov ebx, edi
jmp 0x4efb7e
mov ebx, dword [ebx + 0x30]
test ebx, ebx
jne 0x4efb82
cmp dword [0x4fe2c8], 0
je 0x4efbec
test esi, esi
je 0x4efbd8
cmp byte [esi], 0
je 0x4efbd8
mov eax, dword [ebp + 0xc]
push eax
push 0
push esi
mov edx, dword [0x4fe2c8]
push edx
call fcn.00498c08
mov edi, eax
test edi, edi
je 0x4efbd8
mov dword [0x4fe2c8], edi
mov eax, dword [0x4fe2c8]
mov edx, dword [eax + 0x18]
mov dword [ebp + 0xc], edx
mov dword [eax + 0x18], 0xffffffff
mov esi, dword [eax]
test esi, esi
je 0x4efbf5
cmp byte [esi], 0
jne 0x4efbff
mov eax, 1
jmp 0x4efe6b
push esi
call fcn.00401318
pop ecx
mov ebx, eax
cmp dword [0x4f6680], 0
je 0x4efca8
cmp dword [ebp + 0xc], 0
je 0x4efca8
cmp dword [0x4f669c], 0
je 0x4efc39
mov eax, dword [ebp + 0xc]
push eax
push esi
call fcn.004686a8
xor eax, eax
jmp 0x4efe6b
mov eax, dword [0x4f6694]
test eax, eax
je 0x4efc5d
add eax, ebx
cmp eax, dword [0x4f6684]
jl 0x4efc5d
mov edx, dword [ebp + 0xc]
push edx
push esi
call fcn.00468aa4
xor eax, eax
jmp 0x4efe6b
mov eax, dword [0x4f6698]
test eax, eax
je 0x4efca8
add eax, ebx
sar eax, 1
jns 0x4efc6f
adc eax, 0
mov edx, dword [0x4f6684]
cmp eax, edx
jl 0x4efca8
sar edx, 1
jns 0x4efc80
adc edx, 0
sub dword [0x4f6698], edx
cmp dword [0x4f6698], 0
jge 0x4efc97
xor ecx, ecx
mov dword [0x4f6698], ecx
mov eax, dword [ebp + 0xc]
push eax
push esi
call fcn.00468aa4
xor eax, eax
jmp 0x4efe6b
push 1
call fcn.004e3db4
push 0
push ebx
push esi
mov edx, dword [0x4fe2b0]
push edx
call sub.WSOCK32.dll_send
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4efda6
call sub.WSOCK32.dll_WSAGetLastError
mov ebx, eax
cmp ebx, 0x2733
je 0x4efce3
cmp ebx, 0x2734
jne 0x4efd38
mov eax, dword [0x4fe2c8]
test eax, eax
je 0x4efcf8
cmp esi, dword [eax]
jne 0x4efcf8
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x18], edx
xor esi, esi
test esi, esi
je 0x4efd18
push 0
push 0
push esi
mov eax, dword [0x4fe2c8]
push eax
call fcn.00498e1c
mov edi, eax
test edi, edi
je 0x4efd18
mov dword [0x4fe2c8], edi
push 0x23
push 0x40e
mov eax, dword [0x4fd9ec]
push eax
mov edx, dword [0x4fe2b0]
push edx
call sub.WSOCK32.dll_WSAAsyncSelect
xor eax, eax
jmp 0x4efe6b
test ebx, ebx
je 0x4efd86
push ebx
call fcn.004eeb8c
push eax
push 0
push 0x1777
call fcn.0041f178
push eax
push 0x513c45
call sub.USER32.dll_wsprintfA
add esp, 0xc
xor edx, edx
mov dword [0x4fb760], edx
mov dword [0x4fb770], 1
mov ecx, dword [0x4f29d8]
push ecx
push 0x513c45
mov eax, dword [0x4fd9fc]
push eax
call fcn.004bd330
push 0
call fcn.004eef98
push 0
push 0x5e3
call fcn.0041f178
push eax
call fcn.004eec3c
xor eax, eax
jmp 0x4efe6b
cmp dword [ebp - 4], 0
jg 0x4efdb1
xor edx, edx
mov dword [ebp - 4], edx
cmp ebx, dword [ebp - 4]
jle 0x4efde1
push 0
push 0
mov ecx, dword [ebp - 4]
add ecx, esi
push ecx
mov eax, dword [0x4fe2c8]
push eax
call fcn.00498e1c
mov edi, eax
test edi, edi
je 0x4efdd7
mov dword [0x4fe2c8], edi
mov eax, dword [ebp - 4]
mov byte [esi + eax], 0
mov ebx, dword [ebp - 4]
mov eax, dword [0x4f6698]
test eax, eax
jle 0x4efdfa
add eax, ebx
sar eax, 1
jns 0x4efdf3
adc eax, 0
mov dword [0x4f6698], eax
jmp 0x4efe00
mov dword [0x4f6698], ebx
add dword [0x4f6694], ebx
mov eax, dword [0x4f6684]
cmp eax, dword [0x4f6694]
jge 0x4efe18
mov dword [0x4f6694], eax
cmp dword [0x4f1ee0], 0
je 0x4efe43
push 0x4f7cec
push 0x4fe318
push 0x513c45
call sub.USER32.dll_wsprintfA
add esp, 0xc
push esi
push 0x513c45
call fcn.0041f114
cmp dword [0x4fe2c8], 0
je 0x4efe66
push 0x23
push 0x40e
mov edx, dword [0x4fd9ec]
push edx
mov ecx, dword [0x4fe2b0]
push ecx
call sub.WSOCK32.dll_WSAAsyncSelect
mov eax, 1
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8