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

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 6
add esp, 0xfffff004
push eax
dec eax
jne 0x429e1d
mov eax, dword [ebp - 4]
add esp, 0xfffffbd0
push ebx
push esi
push edi
mov esi, dword [ebp + 0x18]
mov byte [ebp - 1], 0
mov edi, dword [ebp + 0x10]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [eax], edx
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
jmp 0x429fb9
push 1
call sub.kernel32.dll_Sleep
cmp dword [0x45b098], 1
jne 0x429f4a
push 0
push edi
lea eax, [ebp + ebx - 0x6421]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x429ea3
call sub.wsock32.dll_WSAGetLastError
mov eax, dword [ebp - 0xc]
xor edx, edx
cmp edx, 0xffffffff
jne 0x429eb0
cmp eax, 0xffffffff
je 0x429fa4
mov eax, dword [ebp - 0xc]
xor edx, edx
push edx
push eax
mov eax, edi
cdq
cmp edx, dword [esp + 4]
jne 0x429ed3
cmp eax, dword [esp]
pop edx
pop eax
jb 0x429fa4
jmp 0x429edb
pop edx
pop eax
jl 0x429fa4
add ebx, dword [ebp - 0xc]
mov eax, ebx
cdq
push edx
push eax
mov eax, dword [ebp + 0x10]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x429ef1
cmp eax, dword [esp]
pop edx
pop eax
jne 0x429f26
mov byte [ebp - 1], 1
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
mov edx, ebx
dec edx
test edx, edx
jl 0x42a005
inc edx
xor ecx, ecx
lea eax, [ebp - 0x6421]
mov ebx, dword [ebp + 0xc]
lea esi, [ebx + ecx]
mov bl, byte [eax]
mov byte [esi], bl
inc ecx
inc eax
dec edx
jne 0x429f12
jmp 0x42a005
mov eax, ebx
cdq
push edx
push eax
mov eax, dword [ebp + 0x10]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x429f3f
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x429fa4
jmp 0x429f43
pop edx
pop eax
jle 0x429fa4
mov edi, dword [ebp + 0x10]
sub edi, ebx
jmp 0x429fa4
mov eax, dword [ebp + 8]
call fcn.00427bd8
test eax, eax
jle 0x429fa4
mov eax, dword [0x45b51c]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
add eax, ebx
push eax
mov eax, dword [ebp + 8]
push eax
call sym.FRDrive.dll_ReadText
test al, al
je 0x429fa4
cmp dword [ebp - 0xc], 0
jbe 0x429fa4
add ebx, dword [ebp - 0xc]
mov eax, ebx
cdq
push edx
push eax
mov eax, dword [ebp + 0x10]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x429f95
cmp eax, dword [esp]
pop edx
pop eax
jne 0x429fa4
mov byte [ebp - 1], 1
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
jmp 0x42a005
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 8]
cmp esi, eax
jb 0x42a005
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x18]
sbb edx, dword [ebp - 0x14]
mov dword [ebp - 0x642c], eax
mov dword [ebp - 0x6428], edx
fild qword [ebp - 0x642c]
mov eax, dword [0x45b184]
fild qword [eax]
fdivp st(1)
fmul dword [0x42a014]
mov dword [ebp - 0x6434], esi
xor eax, eax
mov dword [ebp - 0x6430], eax
fild qword [ebp - 0x6434]
fcompp
fnstsw ax
sahf
ja 0x429e6d
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14