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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x33c
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00686186
add esp, 0xc
test eax, eax
jne 0x652fd6
mov eax, dword [ebp + 0xc]
push eax
call fcn.0068667e
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0
cmp dword [ebp - 0xc], 0x2733
je 0x652ce8
cmp dword [ebp - 0xc], 0x2734
je 0x652ce8
mov eax, 0xfffffff1
jmp 0x652fd8
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0068665a
add esp, 4
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x10]
push edx
call fcn.006813fb
add esp, 4
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x324], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd4]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x114], 0
mov eax, 1
test eax, eax
je 0x652fc9
mov dword [ebp - 0x320], 0
cmp dword [ebp - 0x320], 0x40
jae 0x652d6d
mov ecx, dword [ebp - 0x320]
mov edx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x31c], edx
mov eax, dword [ebp - 0x320]
add eax, 1
mov dword [ebp - 0x320], eax
xor ecx, ecx
test ecx, ecx
jne 0x652d45
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x21c], 0
cmp dword [ebp - 0x21c], 0x40
jae 0x652daf
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp - 8]
mov dword [ebp + edx*4 - 0x218], eax
mov ecx, dword [ebp - 0x21c]
add ecx, 1
mov dword [ebp - 0x21c], ecx
xor edx, edx
test edx, edx
jne 0x652d87
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x320]
push edx
lea eax, [ebp - 0x110]
push eax
push 0
call fcn.00667a13
mov dword [ebp - 0x328], eax
cmp dword [ebp - 0x328], 0
jle 0x652ec3
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00667971
test eax, eax
je 0x652ea3
mov dword [ebp - 0x32c], 0
mov dword [ebp - 0x330], 4
lea eax, [ebp - 0x330]
push eax
lea ecx, [ebp - 0x32c]
push ecx
push 0x1007
push 0xffff
mov edx, dword [ebp - 8]
push edx
call sub.WSOCK32.dll_getsockopt
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x652e5e
mov ecx, 1
test ecx, ecx
je 0x652e5e
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x334], eax
jmp 0x652e68
mov dword [ebp - 0x334], 0xfffffff1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x334]
mov dword [ecx + 0x80], edx
push 0
push 0xff
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x32c]
push ecx
push 0xa
push 0xfffffffffffffff1
mov edx, dword [ebp + 8]
push edx
call fcn.00651d00
add esp, 0x1c
mov eax, 0xfffffff1
jmp 0x652fd8
lea eax, [ebp - 0x320]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00667971
test eax, eax
je 0x652ebe
xor eax, eax
jmp 0x652fd8
jmp 0x652fc4
cmp dword [ebp - 0x328], 0
jne 0x652f5a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x324]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xd4]
mov edx, dword [ecx + 0x1c]
imul edx, edx, 0x3cf
cmp eax, edx
jbe 0x652f58
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x652f15
xor ecx, ecx
test ecx, ecx
je 0x652f15
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x338], eax
jmp 0x652f1f
mov dword [ebp - 0x338], 0xffffffa0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x338]
mov dword [ecx + 0x80], edx
push 0
push 0xff
mov eax, dword [ebp - 4]
push eax
push 0
push 0x1eb
push 0xffffffffffffffa0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00651d00
add esp, 0x1c
mov eax, 0xffffffa0
jmp 0x652fd8
jmp 0x652fc4
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0
je 0x652f80
mov eax, 1
test eax, eax
je 0x652f80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 0x33c], edx
jmp 0x652f8a
mov dword [ebp - 0x33c], 0xfffffff1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x33c]
mov dword [eax + 0x80], ecx
push 0
push 0xff
mov edx, dword [ebp - 4]
push edx
call fcn.00667953
push eax
push 0x2730
push 0xfffffffffffffff1
mov eax, dword [ebp + 8]
push eax
call fcn.00651d00
add esp, 0x1c
mov eax, 0xfffffff1
jmp 0x652fd8
jmp 0x652d2e
cmp dword [ebp - 8], 0xffffffff
jne 0x652fd6
mov eax, 0xffffffc7
jmp 0x652fd8
xor eax, eax
mov esp, ebp
pop ebp
ret