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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x659892
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x5c], ecx
push str.OnClientReading
lea ecx, [ebp - 0x40]
call fcn.006225d4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
push 0x782600
lea ecx, [ebp - 0x18]
call fcn.0041d9d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00622566
mov byte [ebp - 4], 3
xor ecx, ecx
mov cl, byte [0x782634]
and ecx, 1
test ecx, ecx
jne 0x41c66e
mov dl, byte [0x782634]
or dl, 1
mov byte [0x782634], dl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x782624], eax
mov eax, dword [0x78263c]
add eax, dword [ebp + 0xc]
mov dword [0x78263c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x782624]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3e8
jb 0x41c6cc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x782624], eax
mov eax, dword [0x78263c]
imul eax, eax, 0x3e8
xor edx, edx
div dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x5c]
add edx, 0x18
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [0x78263c], 0
cmp dword [ebp + 0xc], 0
jne 0x41c6fb
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.0041cc08
mov byte [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0041da40
mov al, byte [ebp - 0x44]
jmp 0x41c925
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x48
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x14
call fcn.004022b6
push 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x5c]
call dword [eax + 4]
mov ecx, dword [ebp + 8]
add ecx, 0x14
call fcn.0040241f
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 8
jbe 0x41c8cd
mov dword [ebp - 0x24], 0
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x14
call fcn.0040274a
mov dword [ebp - 0x64], eax
push 4
mov ecx, dword [ebp - 0x64]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.005fb2d0
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0x14
call fcn.0040241f
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
imul eax, eax, 0x64
xor edx, edx
div dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x3c], eax
cmp dword [ebp - 0x24], 0
je 0x41c8c6
mov ecx, dword [ebp + 8]
add ecx, 0x14
call fcn.0040241f
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
cmp edx, dword [ebp - 0x24]
jb 0x41c8c6
mov dword [ebp - 0x3c], 0
push 4
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x14
call fcn.00402373
push 4
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x14
call fcn.00402373
mov edx, dword [ebp - 0x24]
sub edx, 8
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.0061d6a5
add esp, 4
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0061d6a5
add esp, 4
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x14
call fcn.00402373
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0041b6e0
add esp, 8
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.0044ae80
add esp, 0x10
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x41c88b
mov ecx, dword [ebp + 8]
add ecx, 0x24
call fcn.00402655
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x24
call fcn.004022b6
push 5
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x5c]
call dword [edx + 4]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.0061d6ce
add esp, 4
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
push eax
call fcn.0061d6ce
add esp, 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2054]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x2054], edx
jmp 0x41c8c8
jmp 0x41c8cd
jmp 0x41c724
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x5c]
call fcn.0041c35c
jmp 0x41c908
mov dword [ebp - 4], 2
mov byte [ebp - 0x58], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0041da40
mov al, byte [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8