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

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x5233a9
mov eax, dword [ebp - 4]
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x201c], ebx
mov ebx, ecx
xor eax, eax
push ebp
push 0x5236a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
jle 0x523690
xor eax, eax
push ebp
push 0x523655
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x5235ce
xor edx, edx
mov eax, dword [ebp + 8]
call fcn.00420a68
mov edi, eax
lea edx, [ebp - 0x10]
mov eax, edi
mov ecx, 4
call fcn.00403258
mov esi, edi
add esi, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2000
jl 0x523522
cmp dword [ebp - 0x14], 0
jle 0x523463
lea edx, [ebp - 0x2018]
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x14]
call fcn.00487a8c
inc eax
je 0x5235e0
inc dword [ebx + 0x64]
mov eax, dword [ebp - 0x14]
add dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x18], 0x2000
jle 0x523496
mov edx, esi
mov eax, dword [ebx]
mov ecx, 0x2000
call fcn.00487a8c
inc eax
je 0x5234b3
add esi, 0x2000
sub dword [ebp - 0x18], 0x2000
inc dword [ebx + 0x64]
add dword [ebx + 0x5c], 0x2000
jmp 0x523463
mov edx, esi
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x18]
call fcn.00487a8c
inc eax
je 0x5234b3
inc dword [ebx + 0x64]
mov eax, dword [ebp - 0x18]
add dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x5234cf
xor edx, edx
mov eax, dword [ebp + 8]
call fcn.0042090c
mov eax, edi
call fcn.0040300c
jmp 0x5235ce
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
jge 0x5235e0
mov eax, dword [ebp - 0x18]
add eax, 4
call fcn.00402ff0
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x18]
mov ecx, 4
call fcn.00403258
mov eax, dword [ebp - 0xc]
lea edx, [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0x18]
call fcn.00403258
mov eax, edi
call fcn.0040300c
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp + 8]
call fcn.00420bc4
jmp 0x5235e0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
cmp eax, 0x2000
jle 0x52358b
cmp dword [ebp - 0x14], 0
jle 0x5235e0
lea edx, [ebp - 0x2018]
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x14]
call fcn.00487a8c
inc eax
je 0x5235e0
inc dword [ebx + 0x64]
mov eax, dword [ebp - 0x14]
add dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
lea edx, [ebp + eax - 0x2018]
mov eax, esi
mov ecx, dword [ebp - 0x18]
call fcn.00403258
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
xor edx, edx
mov eax, dword [ebp + 8]
call fcn.0042090c
mov eax, edi
call fcn.0040300c
jmp 0x5235b6
mov eax, dword [ebp - 0x14]
lea edx, [ebp + eax - 0x2018]
mov eax, esi
mov ecx, dword [ebp - 0x18]
call fcn.00403258
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
xor edx, edx
mov eax, dword [ebp + 8]
call fcn.0042090c
mov eax, edi
call fcn.0040300c
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
mov edx, dword [0x707700]
cmp eax, dword [edx]
jbe 0x5235ce
mov byte [ebp - 1], 0
jmp 0x5235e0
cmp dword [ebx], 0
je 0x5235e0
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
jg 0x523405
cmp dword [ebp - 0x14], 0
jle 0x52364b
lea edx, [ebp - 0x2018]
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x14]
call fcn.00487a8c
inc eax
jne 0x523642
mov eax, dword [ebp - 0x14]
add eax, 4
call fcn.00402ff0
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x14]
mov ecx, 4
call fcn.00403258
mov eax, dword [ebp - 0xc]
lea edx, [eax + 4]
lea eax, [ebp - 0x2018]
mov ecx, dword [ebp - 0x14]
call fcn.00403258
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp + 8]
call fcn.00420af4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x523690
inc dword [ebx + 0x64]
mov eax, dword [ebp - 0x14]
add dword [ebx + 0x5c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x523690
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5236b0
lea eax, [ebp - 0x201c]
call fcn.004054d0
ret