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

Disassembly:
push ebp
lea ebp, [esp - 0x424]
sub esp, 0x424
push 0xfffffffffffffffe
push 0x66ff90
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x6aae14]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x420], 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 + 0x430]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 0x438]
mov dword [ebp - 0x24], ecx
mov edi, dword [ebp + 0x444]
mov dword [ebp - 0x30], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x38], ebx
mov byte [ebp + 0x410], bl
mov byte [ebp + 0x400], bl
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov dword [ebp - 0x48], esi
mov eax, dword [ebp + 0x44c]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jne 0x42bb5e
cmp dword [0x6b2fbc], ebx
jne 0x42bb5e
mov dword [0x6b2fbc], 1
lea edx, [ebp - 0x1c]
push edx
push str.ExtendedDebug
push 0x60d9ec
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004d5820
mov eax, dword [ebp - 0x1c]
cmp edi, ebx
je 0x42bb64
mov byte [edi], bl
mov ecx, dword [ebp - 0x24]
mov dword [ecx], ebx
lea edx, [ebp - 0x1d]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], 1
mov edi, dword [ebp + 0x42c]
cmp eax, ebx
je 0x42bb93
push edi
push eax
push str._EXT__u__IsSockRead__Soc_u_
push ebx
call fcn.004f0f30
add esp, 0x10
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp ecx, ebx
jne 0x42be67
mov ecx, dword [ebp + 0x440]
cmp dword [ecx], ebx
jne 0x42be67
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp + 0x434]
jge 0x42be67
push 1
push edi
call fcn.0042b940
add esp, 8
cmp eax, 0xffffffff
jne 0x42bbf4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
cmp dword [ebp - 0x30], ebx
je 0x42be64
push 0x400
mov edx, dword [ebp - 0x30]
push edx
call fcn.004d8c20
add esp, 8
jmp 0x42be64
cmp eax, ebx
jne 0x42bc4d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, dword [ebp + 0x43c]
jbe 0x42bc3e
mov eax, dword [ebp - 0x24]
mov dword [eax], 1
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
je 0x42be64
mov eax, 0x10624dd3
mul dword [ebp + 0x43c]
shr edx, 6
push edx
push str.connection_timed_out___d_secs__waiting_for_response
push ecx
call fcn.005dfb23
add esp, 0xc
jmp 0x42be64
push 0xa
call fcn.004d5a60
add esp, 4
jmp 0x42bb90
mov eax, dword [ebp - 0x1c]
cmp dword [0x6b3344], ebx
jne 0x42be67
cmp eax, ebx
je 0x42bc73
mov ecx, dword [ebp - 0x28]
push ecx
push eax
push str._EXT__u__cn___d__WSAIoctl
push ebx
call fcn.004f0f30
add esp, 0x10
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x2c], ebx
push ebx
push ebx
lea edx, [ebp - 0x40]
push edx
push 4
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 0x4004667f
push edi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov ecx, eax
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x42bcba
push ecx
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
push eax
push str._EXT__u__WSAIoctl:_NoOfBytesThatCanBeRead:_d__BytesReturned:_d__RetVal:_d
push ebx
call fcn.004f0f30
add esp, 0x18
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], ebx
lea ecx, [ecx]
cmp eax, ebx
je 0x42bcd7
mov ecx, dword [ebp - 0x28]
push ecx
push eax
push str._EXT__u__cn___d__WSARecv
push ebx
call fcn.004f0f30
add esp, 0x10
push ebx
push ebx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x38]
push eax
push 1
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp + 0x42c]
push edx
call dword [sym.imp.WS2_32.dll_WSARecv]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x42bd6a
mov cl, byte [ebp - 0x1d]
push edi
cmp cl, 0xd
jne 0x42bd22
push 0xd
push esi
push eax
push str._EXT__u__iors___d__CharNum___d__Char___cr___WSALastErr___d
push ebx
call fcn.004f0f30
add esp, 0x18
jmp 0x42bd67
cmp cl, 0xa
jne 0x42bd3b
push 0xa
push esi
push eax
push str._EXT__u__iors___d__CharNum___d__Char___lf___WSALastErr___d
push ebx
call fcn.004f0f30
add esp, 0x18
jmp 0x42bd67
cmp cl, bl
jne 0x42bd52
push ebx
push esi
push eax
push str._EXT__u__iors___d__CharNum___d__Char___null___WSALastErr___d
push ebx
call fcn.004f0f30
add esp, 0x18
jmp 0x42bd67
movsx ecx, cl
push ecx
push ecx
push esi
push eax
push str._EXT__u__iors___d__CharNum___d__Char___c__WSALastErr___d
push ebx
call fcn.004f0f30
add esp, 0x1c
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + 0x448], ebx
je 0x42bd7f
push 2
call fcn.004d5a60
add esp, 4
mov eax, dword [ebp - 0x1c]
cmp esi, ebx
jne 0x42be18
cmp dword [ebp - 0x38], ebx
jne 0x42bd9a
mov ecx, dword [ebp - 0x24]
mov dword [ecx], 2
jmp 0x42be67
mov cl, byte [ebp - 0x1d]
cmp cl, 0xa
jne 0x42bdb0
mov edx, dword [ebp - 0x24]
mov dword [edx], 0x12
jmp 0x42be67
cmp cl, bl
je 0x42bdc1
mov esi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x28]
mov byte [esi + edx], cl
inc edx
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp - 0x44]
cmp ecx, ebx
jne 0x42be02
cmp dword [ebp - 0x2c], ebx
jbe 0x42bdd8
mov edx, 1
add dword [ebp - 0x34], edx
sub dword [ebp - 0x2c], edx
cmp ecx, ebx
jne 0x42be02
cmp dword [ebp - 0x2c], ebx
jbe 0x42be02
cmp dword [ebp - 0x34], 0x100
jae 0x42be02
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp + 0x434]
jge 0x42be02
cmp dword [0x6b3344], ebx
jne 0x42be67
jmp 0x42bcc0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov dword [ebp - 0x48], esi
mov edi, dword [ebp + 0x42c]
jmp 0x42bb90
mov edx, dword [ebp - 0x24]
mov dword [edx], edi
cmp dword [ebp - 0x30], ebx
je 0x42be36
push 0x400
mov eax, dword [ebp - 0x30]
push eax
call fcn.004d8c20
add esp, 8
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x42be67
push 0x400
lea ecx, [ebp]
push ecx
call fcn.004d8c20
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
push eax
lea ecx, [ebp]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push str._EXT__u__Error:_s__err_d_
push ebx
call fcn.004f0f30
add esp, 0x1c
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
cmp dword [esi], ebx
jne 0x42be74
mov dword [esi], 0x58
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x28]
mov byte [edx + ecx], bl
cmp eax, ebx
je 0x42be95
push edx
push ecx
push eax
push str._EXT__u__buf__u__s
push ebx
call fcn.004f0f30
add esp, 0x14
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x440]
cmp dword [ecx], ebx
jne 0x42bee1
cmp dword [0x6b3344], ebx
jne 0x42bee1
mov ecx, dword [esi]
cmp ecx, 0x12
je 0x42bec0
cmp ecx, 0x58
je 0x42bec0
cmp eax, ebx
je 0x42bf0d
push eax
push str._EXT__u__Return_FALSE__B
push ebx
jmp 0x42bf05
cmp eax, ebx
je 0x42bed3
push eax
push str._EXT__u__Return_TRUE_
push ebx
call fcn.004f0f30
add esp, 0xc
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x42bf16
cmp eax, ebx
je 0x42bf0d
push eax
push str._EXT__u__Return_FALSE__A
push ebx
jmp 0x42bf05
call fcn.004f0f30
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 + 0x420]
xor ecx, ebp
call fcn.005dfbbe
add ebp, 0x424
mov esp, ebp
pop ebp
ret