Function at 0x1000f280
Capabilities:
Check for time delay via gettickcount
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10184178
push 0x10132540
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x10189710]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x464], eax
mov esi, ecx
mov dword [ebp - 0x44c], esi
mov ebx, edx
mov dword [ebp - 0x460], ebx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x474], edi
mov dword [ebp - 0x46c], edi
mov byte [ebp - 0x3c], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x450], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x45c], eax
xor eax, eax
mov dword [ebp - 0x444], eax
cmp dword [0x101c3c18], edi
jne 0x1000f338
mov dword [0x101c3c18], 1
lea ecx, [ebp - 0x444]
push ecx
push str.ExtendedDebug
mov ecx, str.SoftwareMicroWorld
mov edx, reloc.WS2_32.dll_bind
call fcn.10059e30
mov eax, dword [ebp - 0x444]
cmp ebx, edi
je 0x1000f33f
mov byte [ebx], 0
mov dword [esi], edi
lea edx, [ebp - 0x445]
mov dword [ebp - 0x478], edx
mov dword [ebp - 0x47c], 1
cmp eax, edi
mov edi, dword [ebp + 8]
je 0x1000f375
push edi
push eax
push str._EXT__u__IsSockRead__Soc_u_
push 0
call fcn.1006ed90
add esp, 0x10
mov eax, dword [ebp - 0x444]
xor ecx, ecx
jne 0x1000f6c7
mov ecx, dword [ebp + 0x18]
cmp dword [ecx], 0
jne 0x1000f6c7
mov esi, dword [ebp - 0x450]
cmp esi, dword [ebp + 0x10]
jge 0x1000f6c7
push 1
push edi
call fcn.1000f050
add esp, 8
cmp eax, 0xffffffff
jne 0x1000f3d2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [ebp - 0x44c]
mov dword [edx], eax
test ebx, ebx
je 0x1000f6c1
push 0x400
mov esi, ebx
call fcn.10065360
add esp, 4
jmp 0x1000f6c1
test eax, eax
jne 0x1000f42a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x45c]
mov ecx, dword [ebp + 0x14]
cmp eax, ecx
jbe 0x1000f41b
mov eax, dword [ebp - 0x44c]
mov dword [eax], 1
test ebx, ebx
je 0x1000f6c1
mov eax, 0x10624dd3
mul ecx
shr edx, 6
push edx
push str.connection_timed_out___d_secs__waiting_for_response
push ebx
call fcn.10127dc0
add esp, 0xc
jmp 0x1000f6c1
mov esi, 0xa
call fcn.1005a8b0
jmp 0x1000f36f
mov eax, dword [ebp - 0x444]
cmp dword [0x101aacf4], 0
jne 0x1000f6c7
test eax, eax
je 0x1000f452
push esi
push eax
push str._EXT__u__cn___d__WSAIoctl
push 0
call fcn.1006ed90
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x454], eax
push eax
push eax
lea ecx, [ebp - 0x468]
push ecx
push 4
lea edx, [ebp - 0x454]
push edx
push eax
push eax
push 0x4004667f
push edi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov esi, eax
mov dword [ebp - 0x470], esi
mov eax, dword [ebp - 0x444]
test eax, eax
je 0x1000f4b7
push esi
mov ecx, dword [ebp - 0x468]
push ecx
mov edx, dword [ebp - 0x454]
push edx
push eax
push str._EXT__u__WSAIoctl:_NoOfBytesThatCanBeRead:_d__BytesReturned:_d__RetVal:_d
push 0
call fcn.1006ed90
add esp, 0x18
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x458], 0
test eax, eax
je 0x1000f4dc
mov ecx, dword [ebp - 0x450]
push ecx
push eax
push str._EXT__u__cn___d__WSARecv
push 0
call fcn.1006ed90
add esp, 0x10
push 0
push 0
lea edx, [ebp - 0x474]
push edx
lea eax, [ebp - 0x46c]
push eax
push 1
lea ecx, [ebp - 0x47c]
push ecx
push edi
call dword [sym.imp.WS2_32.dll_WSARecv]
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov eax, dword [ebp - 0x444]
test eax, eax
je 0x1000f582
mov cl, byte [ebp - 0x445]
push ebx
cmp cl, 0xd
jne 0x1000f533
push 0xd
push edi
push eax
push str._EXT__u__iors___d__CharNum___d__Char___cr___WSALastErr___d
push 0
call fcn.1006ed90
add esp, 0x18
jmp 0x1000f57c
cmp cl, 0xa
jne 0x1000f54d
push 0xa
push edi
push eax
push str._EXT__u__iors___d__CharNum___d__Char___lf___WSALastErr___d
push 0
call fcn.1006ed90
add esp, 0x18
jmp 0x1000f57c
test cl, cl
jne 0x1000f566
push 0
push edi
push eax
push str._EXT__u__iors___d__CharNum___d__Char___null___WSALastErr___d
push 0
call fcn.1006ed90
add esp, 0x18
jmp 0x1000f57c
movsx ecx, cl
push ecx
push ecx
push edi
push eax
push str._EXT__u__iors___d__CharNum___d__Char___c__WSALastErr___d
push 0
call fcn.1006ed90
add esp, 0x1c
mov eax, dword [ebp - 0x444]
cmp dword [ebp + 0x1c], 0
je 0x1000f59e
mov esi, 2
call fcn.1005a8b0
mov eax, dword [ebp - 0x444]
mov esi, dword [ebp - 0x470]
test edi, edi
jne 0x1000f663
cmp dword [ebp - 0x46c], edi
jne 0x1000f5bf
mov edx, dword [ebp - 0x44c]
mov dword [edx], 2
jmp 0x1000f6c7
mov cl, byte [ebp - 0x445]
cmp cl, 0xa
jne 0x1000f5db
mov ecx, dword [ebp - 0x44c]
mov dword [ecx], 0x12
jmp 0x1000f6c7
test cl, cl
je 0x1000f5f5
mov edi, dword [ebp - 0x464]
mov edx, dword [ebp - 0x450]
mov byte [edi + edx], cl
inc edx
mov dword [ebp - 0x450], edx
test esi, esi
jne 0x1000f649
cmp dword [ebp - 0x454], esi
jbe 0x1000f612
mov ecx, 1
add dword [ebp - 0x458], ecx
sub dword [ebp - 0x454], ecx
test esi, esi
jne 0x1000f649
cmp dword [ebp - 0x454], esi
jbe 0x1000f649
cmp dword [ebp - 0x458], 0x100
jae 0x1000f649
mov edx, dword [ebp - 0x450]
cmp edx, dword [ebp + 0x10]
jge 0x1000f649
cmp dword [0x101aacf4], esi
jne 0x1000f6c7
mov edi, dword [ebp + 8]
jmp 0x1000f4c1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x45c], eax
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x460]
jmp 0x1000f36f
mov ecx, dword [ebp - 0x44c]
mov dword [ecx], ebx
mov esi, dword [ebp - 0x460]
test esi, esi
je 0x1000f688
push 0x400
call fcn.10065360
add esp, 4
mov eax, dword [ebp - 0x444]
test eax, eax
je 0x1000f6c7
push 0x400
lea esi, [ebp - 0x440]
call fcn.10065360
add esp, 4
mov edx, dword [ebp - 0x44c]
mov eax, dword [edx]
push eax
mov ecx, esi
push ecx
mov edx, dword [ebp - 0x444]
push edx
push str._EXT__u__Error:_s__err_d_
push 0
call fcn.1006ed90
add esp, 0x14
mov eax, dword [ebp - 0x444]
mov esi, dword [ebp - 0x44c]
cmp dword [esi], 0
jne 0x1000f6d8
mov dword [esi], 0x58
mov edx, dword [ebp - 0x464]
mov ecx, dword [ebp - 0x450]
mov byte [edx + ecx], 0
test eax, eax
je 0x1000f704
push edx
push ecx
push eax
push str._EXT__u__buf__u__s
push 0
call fcn.1006ed90
add esp, 0x14
mov eax, dword [ebp - 0x444]
mov ecx, dword [ebp + 0x18]
cmp dword [ecx], 0
jne 0x1000f74f
cmp dword [0x101aacf4], 0
jne 0x1000f74f
mov ecx, dword [esi]
cmp ecx, 0x12
je 0x1000f72d
cmp ecx, 0x58
je 0x1000f72d
test eax, eax
je 0x1000f777
push eax
push str._EXT__u__Return_FALSE__B
jmp 0x1000f76d
test eax, eax
je 0x1000f741
push eax
push str._EXT__u__Return_TRUE_
push 0
call fcn.1006ed90
add esp, 0xc
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x1000f780
test eax, eax
je 0x1000f777
push eax
push str._EXT__u__Return_FALSE__A
jmp 0x1000f76d
push 0
call fcn.1006ed90
add esp, 0xc
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10127db1
mov esp, ebp
pop ebp
ret