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

Disassembly:
sub esp, 0x100
push ebx
mov ebx, dword [esp + 0x114]
push ebp
mov ebp, dword [esp + 0x11c]
push esi
push edi
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x34]
xor esi, esi
rep stosd dword es:[edi], eax
lea eax, [ebx + ebp]
mov dword [esp + 0x30], 0x64
mov dword [esp + 0x80], esi
mov dword [esp + 0x10], esi
lea ecx, [eax + eax + 2]
add eax, 2
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [0x5d3d30]
push ecx
push 0x1000400
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], esi
mov edx, dword [eax]
push esi
push ecx
push eax
call dword [edx + 0x14]
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x94]
push esi
rep stosd dword es:[edi], eax
mov eax, dword [0x5d3d30]
lea ecx, [esp + 0x98]
push 1
mov dword [esp + 0x9c], 0x7c
mov edx, dword [eax]
push ecx
push esi
push eax
call dword [edx + 0x64]
test eax, eax
jne 0x436027
mov esi, dword [esp + 0xa4]
lea edx, [ebx + 1]
sar esi, 2
imul edx, esi
mov eax, dword [esp + 0xb8]
test ebp, ebp
lea ecx, [eax + edx*4 + 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], ecx
jle 0x435f04
mov edi, dword [esp + 0x11c]
mov dword [esp + 0x24], ebp
test ebx, ebx
jle 0x435ee7
mov edx, 2
lea ebp, [esi*4]
sub edx, esi
mov dword [esp + 0x28], ebx
shl edx, 2
mov eax, dword [edi]
test eax, eax
jne 0x435eb0
mov eax, 1
mov ebx, ecx
mov dword [ecx - 4], eax
sub ebx, ebp
mov dword [ecx], eax
mov dword [ecx + 4], eax
add ecx, edx
mov dword [ebx], eax
mov eax, dword [esp + 0x28]
add edi, 4
dec eax
mov dword [esp + 0x28], eax
jne 0x435ea5
mov ebp, dword [esp + 0x124]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x120]
mov edi, dword [esp + 0x11c]
mov eax, dword [esp + 0x24]
lea ecx, [ecx + esi*4 + 8]
lea edi, [edi + ebx*4]
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x11c], edi
mov dword [esp + 0x24], eax
jne 0x435e8c
mov di, word [0x5d65f0]
neg di
sbb edi, edi
and edi, 0xfffffe
inc edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x5d65f4]
add ecx, 0x3e8
cmp ecx, eax
ja 0x435f4a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dl, byte [0x5d65f0]
mov dword [0x5d65f4], eax
dec dl
and edx, 1
mov word [0x5d65f0], dx
lea eax, [esi - 2]
push 0
imul eax, ebx
cdq
sub eax, edx
mov ecx, eax
lea eax, [esi + 2]
imul eax, ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar ecx, 1
sar eax, 1
sub eax, ecx
lea ecx, [esi*4]
lea eax, [edx + eax*4]
mov dword [eax - 4], edi
mov dword [eax], edi
mov dword [eax + 4], edi
sub eax, ecx
mov dword [eax], edi
mov eax, dword [0x5d3d30]
push eax
mov edx, dword [eax]
call dword [edx + 0x80]
test eax, eax
jne 0x436027
mov eax, dword [esp + 0x114]
mov edx, dword [esp + 0x118]
mov ecx, 0x75
add eax, 0x11
sub ecx, ebx
add edx, ecx
mov ecx, dword [esp + 0x10]
test eax, eax
jge 0x435fc0
sub ecx, eax
xor eax, eax
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x18]
sub esi, ecx
add esi, eax
cmp esi, 0x280
jle 0x435fdc
sub ecx, eax
add ecx, 0x280
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
test edx, edx
jge 0x435fec
sub ecx, edx
xor edx, edx
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x1c]
sub esi, ecx
add esi, edx
cmp esi, 0x1e0
jle 0x436008
sub ecx, edx
add ecx, 0x1e0
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x5d28e0]
lea edi, [esp + 0x10]
push 0x11
push edi
mov edi, dword [0x5d3d30]
mov ecx, dword [ecx + 0xc]
push edi
push edx
mov esi, dword [ecx]
push eax
push ecx
call dword [esi + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret