Function at 0x4286d9
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455781
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
mov dword [ebp - 0x10], ecx
push str.GSOCK_BASE::DataAvailable_Internal
lea ecx, [ebp - 0xa8]
call fcn.004117cd
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0xffffffff
jne 0x428744
cmp dword [ebp + 0xc], 0
je 0x428723
mov eax, dword [ebp + 0xc]
and dword [eax], 0
and dword [ebp - 0x90], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.00411939
mov eax, dword [ebp - 0x90]
jmp 0x428eb1
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xb4], 0
je 0x42875c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x428e28
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x28]
push eax
push 0x8004667e
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
push dword [ebp - 0x10]
call dword [eax + 0x1c]
push 0
mov eax, dword [ebp - 0x10]
mov ecx, 0x4000
sub ecx, dword [eax + 0xb4]
push ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb8]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0xb4]
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
push dword [ebp - 0x10]
call dword [eax + 0x24]
mov dword [ebp - 0x24], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x2c], eax
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
push 0x8004667e
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
push dword [ebp - 0x10]
call dword [eax + 0x1c]
cmp dword [ebp - 0x24], 0
jne 0x428811
mov ecx, dword [ebp - 0x10]
call fcn.004284ca
cmp dword [ebp + 0xc], 0
je 0x4287f6
mov eax, dword [ebp + 0xc]
and dword [eax], 0
and dword [ebp - 0x68], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.00411939
mov eax, dword [ebp - 0x68]
jmp 0x428eb1
cmp dword [ebp - 0x24], 0xffffffff
jne 0x428b0d
cmp dword [ebp - 0x2c], 0x2733
jne 0x428a6e
cmp dword [ebp + 0xc], 0
je 0x42883c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0xb4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xb0], 0
je 0x428a4b
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xb4], 0
je 0x428a4b
lea ecx, [ebp - 0x5c]
call fcn.0040661b
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
push dword [eax + 0xb4]
mov ecx, dword [ebp - 0x10]
add ecx, 0x2e
call fcn.00406b07
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00429e60
push dword [eax]
push str._RECV1__ld__s__ld_
lea eax, [ebp - 0x5c]
push eax
call fcn.004090ae
add esp, 0x14
lea ecx, [ebp - 0x44]
call fcn.0040661b
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb8]
mov dword [ebp - 0x18], eax
and dword [ebp - 0x1c], 0
jmp 0x4288c4
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0xb4]
jge 0x428a11
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
cmp eax, 0x20
jge 0x42892f
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
cmp eax, 0xd
jne 0x4288fb
push 0x457b4c
lea ecx, [ebp - 0x44]
call fcn.00406856
jmp 0x42892d
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
cmp eax, 0xa
jne 0x428915
push 0x457b50
lea ecx, [ebp - 0x44]
call fcn.00406856
jmp 0x42892d
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
push eax
push str._03ld
lea eax, [ebp - 0x44]
push eax
call fcn.004090ae
add esp, 0xc
jmp 0x428961
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
cmp eax, 0x5c
jne 0x428949
push 0x457b58
lea ecx, [ebp - 0x44]
call fcn.00406856
jmp 0x428961
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
push eax
push 0x458044
lea eax, [ebp - 0x44]
push eax
call fcn.004090ae
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00406fcc
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 0x3e8
idiv ecx
test edx, edx
jne 0x428a0c
cmp dword [ebp - 0x1c], 0
je 0x428a0c
push 0
lea ecx, [ebp - 0x5c]
call fcn.00406b07
push eax
push 0x458848
lea eax, [ebp - 0xb1]
push eax
call fcn.004077a2
add esp, 0xc
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x78]
call fcn.00406b07
push eax
push str.GSOCK
push 0xbea
push str.D:projectsutil_srcgsock.cpp
call fcn.00405060
add esp, 0x14
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb1]
call fcn.004066e8
mov ecx, dword [ebp - 0x10]
add ecx, 0x2e
call fcn.00406b07
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00429e60
push dword [eax]
push str._RECV1__ld__s_
lea eax, [ebp - 0x5c]
push eax
call fcn.004090ae
add esp, 0x10
jmp 0x4288b6
push 0
lea ecx, [ebp - 0x5c]
call fcn.00406b07
push eax
push str.GSOCK
push 0xbee
push str.D:projectsutil_srcgsock.cpp
call fcn.00405060
add esp, 0x14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.004066e8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.004066e8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb4]
mov dword [ebp - 0x80], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.00411939
mov eax, dword [ebp - 0x80]
jmp 0x428eb1
cmp dword [ebp - 0x2c], 0x2746
je 0x428ade
push 0
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
add ecx, 0x2e
call fcn.00406b07
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
push str.__ld___s:_DataAvailable_returned_error__ld_r_n
lea eax, [ebp - 0xcc]
push eax
call fcn.004077a2
add esp, 0x14
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x64]
call fcn.00406b07
push eax
push str.GSOCK
push 0xbf4
push str.D:projectsutil_srcgsock.cpp
call fcn.00405060
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xcc]
call fcn.004066e8
mov ecx, dword [ebp - 0x10]
call fcn.004284ca
cmp dword [ebp + 0xc], 0
je 0x428af2
mov eax, dword [ebp + 0xc]
and dword [eax], 0
and dword [ebp - 0x74], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.00411939
mov eax, dword [ebp - 0x74]
jmp 0x428eb1
mov eax, dword [ebp - 0x10]
push dword [eax + 0xa8]
mov ecx, dword [ebp - 0x10]
call fcn.00429da7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb4]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xb4], eax
mov eax, dword [ebp - 0x24]
cdq
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0x94]
adc edx, dword [ecx + 0x98]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x94], eax
mov dword [ecx + 0x98], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x10]
sub eax, dword [ecx + 0xa4]
push eax
call fcn.004117bf
pop ecx
cmp eax, 0x1b7740
jle 0x428c0d
push 0
mov eax, dword [ebp - 0x10]
push dword [eax + 0x98]
push dword [eax + 0x94]
mov eax, dword [ebp - 0x10]
push dword [eax + 0xa0]
push dword [eax + 0x9c]
mov ecx, dword [ebp - 0x10]
add ecx, 0x2e
call fcn.00406b07
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
push str.__ld__Stats_for__s_sent_Ld_received_Ld_r_n
lea eax, [ebp - 0xc3]
push eax
call fcn.004077a2
add esp, 0x20
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x7c]
call fcn.00406b07
push eax
push str.GSOCK
push 0xc00
push str.D:projectsutil_srcgsock.cpp
call fcn.00405060
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc3]
call fcn.004066e8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xa4], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xb0], 0
je 0x428e28
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xb4], 0
je 0x428e28
lea ecx, [ebp - 0x50]
call fcn.0040661b
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x10]
push dword [eax + 0xb4]
mov ecx, dword [ebp - 0x10]
add ecx, 0x2e
call fcn.00406b07
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00429e60
push dword [eax]
push str._RECV2__ld__s__ld_
lea eax, [ebp - 0x50]
push eax
call fcn.004090ae
add esp, 0x14
lea ecx, [ebp - 0x38]
call fcn.0040661b
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb8]
mov dword [ebp - 0x14], eax
and dword [ebp - 0x20], 0
jmp 0x428c95
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 0xb4]
jge 0x428dee
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
cmp eax, 0x20
jge 0x428d00
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
cmp eax, 0xd
jne 0x428ccc
push 0x457b4c
lea ecx, [ebp - 0x38]
call fcn.00406856
jmp 0x428cfe
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
cmp eax, 0xa
jne 0x428ce6
push 0x457b50
lea ecx, [ebp - 0x38]
call fcn.00406856
jmp 0x428cfe
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
push eax
push str._03ld
lea eax, [ebp - 0x38]
push eax
call fcn.004090ae
add esp, 0xc
jmp 0x428d32
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
cmp eax, 0x5c
jne 0x428d1a
push 0x457b58
lea ecx, [ebp - 0x38]
call fcn.00406856
jmp 0x428d32
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
push eax
push 0x458044
lea eax, [ebp - 0x38]
push eax
call fcn.004090ae
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.00406fcc
mov eax, dword [ebp - 0x20]
cdq
mov ecx, 0x3e8
idiv ecx
test edx, edx
jne 0x428de9
cmp dword [ebp - 0x20], 0
je 0x428de9
push 0
lea ecx, [ebp - 0x50]
call fcn.00406b07
push eax
push 0x458848
lea eax, [ebp - 0xba]
push eax
call fcn.004077a2
add esp, 0xc
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x84]
call fcn.00406b07
push eax
push str.GSOCK
push 0xc20
push str.D:projectsutil_srcgsock.cpp
call fcn.00405060
add esp, 0x14
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xba]
call fcn.004066e8
mov ecx, dword [ebp - 0x10]
add ecx, 0x2e
call fcn.00406b07
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00429e60
push dword [eax]
push str._RECV2__ld__s_
lea eax, [ebp - 0x50]
push eax
call fcn.004090ae
add esp, 0x10
jmp 0x428c87
push 0
lea ecx, [ebp - 0x50]
call fcn.00406b07
push eax
push str.GSOCK
push 0xc24
push str.D:projectsutil_srcgsock.cpp
call fcn.00405060
add esp, 0x14
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call fcn.004066e8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.004066e8
cmp dword [ebp + 0xc], 0
je 0x428e5c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0xb4]
cmp eax, dword [ecx]
jae 0x428e4c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb4]
mov dword [ebp - 0x60], eax
jmp 0x428e54
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
cmp dword [ebp + 8], 0
je 0x428e8d
cmp dword [ebp + 0xc], 0
je 0x428e8d
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xb4], 0
je 0x428e8d
mov eax, dword [ebp + 0xc]
push dword [eax]
mov eax, dword [ebp - 0x10]
push dword [eax + 0xb8]
push dword [ebp + 8]
call fcn.00438870
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xb4]
mov dword [ebp - 0x94], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.00411939
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc