Function at 0x10011a90
Capabilities:
Check for time delay via gettickcount
Get socket status
Send data
Send data on socket

Disassembly:
sub esp, 0x174
push ebx
push ebp
mov ebp, dword [esp + 0x188]
push esi
test ebp, ebp
push edi
jg 0x10011ab3
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x174
ret
mov eax, dword [esp + 0x188]
mov edx, dword [eax]
inc edx
mov ecx, edx
mov dword [eax], edx
cmp ecx, 0x270f
jle 0x10011acf
mov dword [eax], 0xa
mov eax, dword [eax]
lea ecx, [esp + 0x38]
push eax
push str.0000_d
push ecx
call fcn.10016963
lea esi, [esp + 0x44]
add esp, 0xc
xor edx, edx
sub esi, 4
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, esi
inc edx
cmp edx, 4
mov al, byte [ecx + edx - 1]
mov byte [esp + edx + 0x13], al
jl 0x10011aed
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push ebp
push edx
lea eax, [esp + 0x58]
push str._Msg_s__ld__Msg_s_
push eax
mov byte [esp + 0x2c], 0
call fcn.10016963
lea edi, [esp + 0x60]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
add ebx, ebp
push ebx
call fcn.10016aee
mov ebp, eax
lea edi, [esp + 0x64]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [esp + 0x64]
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x2c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x64]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
mov esi, dword [esp + 0x1a4]
dec ecx
mov edi, ecx
mov ecx, dword [esp + 0x1a8]
mov eax, ecx
add edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], 0
push ecx
push ebx
push ebp
push edx
call fcn.10013270
add esp, 0x28
test eax, eax
push ebp
jne 0x10011bc9
call fcn.10016a05
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x174
ret
call fcn.10016a05
mov eax, dword [esp + 0x14]
add esp, 4
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov edi, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x194]
mov ebx, eax
sub eax, esi
cmp eax, ecx
jg 0x10011cfa
sub ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
mov ebp, dword [esp + 0x188]
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov dword [esp + 0x30], edx
mov ecx, 0x3e8
cdq
idiv ecx
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 0x80]
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], 1
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [esp + 0x30]
push eax
push 0
shl edx, 3
push ecx
inc esi
push 0
push esi
mov dword [esp + 0x48], edx
call sub.WS2_32.dll_select
test eax, eax
jl 0x10011d14
je 0x10011d2f
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x80]
push edx
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x10011bef
mov ecx, dword [esp + 0x20]
mov edx, ebp
push 0
push edi
mov eax, dword [edx + 0xc]
push ecx
push eax
call sub.WS2_32.dll_send
test eax, eax
jge 0x10011cc4
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x10011d49
jmp 0x10011bef
cmp eax, edi
mov dword [esp + 0x1c], ebx
jge 0x10011cdd
mov ecx, dword [esp + 0x20]
sub edi, eax
add ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x10011bef
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10011d64
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov edi, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], edx
jmp 0x10011bef
mov eax, dword [esp + 0x10]
push eax
call fcn.10013390
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x174
ret
mov ecx, dword [esp + 0x10]
push ecx
call fcn.10013390
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x174
ret
mov edx, dword [esp + 0x10]
push edx
call fcn.10013390
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x174
ret
mov eax, dword [esp + 0x10]
push eax
call fcn.10013390
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x174
ret
mov ecx, dword [esp + 0x10]
push ecx
call fcn.10013390
add esp, 4
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [esp + 0x1c]
mov ebx, eax
mov edi, ebx
sub edi, esi
mov esi, dword [esp + 0x188]
push esi
call fcn.10011f40
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x10011def
lea esi, [esp + 0x14]
lea eax, [ebp + 0xc]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x10011dce
test cl, cl
je 0x10011dca
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x10011dce
add eax, 2
add esi, 2
test cl, cl
jne 0x10011da6
xor eax, eax
jmp 0x10011dd3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10011e8c
mov eax, dword [ebp + 8]
push eax
call fcn.10016a05
push ebp
call fcn.10016a05
add esp, 8
jmp 0x10011d79
xor ecx, ecx
lea edx, [esp + 0x24]
mov dword [esp + 0x24], ecx
push edx
push esi
mov byte [esp + 0x30], cl
call fcn.10011ef0
add esp, 8
lea esi, [esp + 0x14]
lea eax, [esp + 0x24]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x10011e33
test cl, cl
je 0x10011e2f
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x10011e33
add eax, 2
add esi, 2
test cl, cl
jne 0x10011e0f
xor eax, eax
jmp 0x10011e38
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10011e4f
push 0x64
call fcn.10013260
add esp, 4
mov dword [esp + 0x1c], ebx
jmp 0x10011d79
cmp edi, dword [esp + 0x194]
jge 0x10011e67
push 0x64
call fcn.10013260
add esp, 4
jmp 0x10011d79
mov eax, dword [esp + 0x188]
lea edx, [esp + 0x14]
mov ecx, dword [eax + 0xc]
push ecx
push edx
call fcn.100130e0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x174
ret
mov eax, dword [ebp + 4]
push eax
call fcn.10016aee
mov ecx, dword [esp + 0x19c]
mov edi, eax
mov dword [ecx], eax
mov ecx, dword [ebp + 4]
mov esi, dword [ebp + 8]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1a0]
mov eax, dword [ebp + 4]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
push edx
call fcn.10016a05
push ebp
call fcn.10016a05
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x174
ret