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

Disassembly:
sub esp, 0x100
push ebx
mov ebx, dword [esp + 0x118]
push ebp
mov ebp, dword [esp + 0x118]
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 0x43573e
mov edi, dword [esp + 0xa4]
lea edx, [ebp + 1]
sar edi, 2
imul edx, edi
mov eax, dword [esp + 0xb8]
cmp ebx, esi
lea ecx, [eax + edx*4 + 4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
jle 0x43561b
mov dword [esp + 0x20], ebx
xor edx, edx
test ebp, ebp
jle 0x4355f4
mov eax, 2
lea esi, [edi*4]
sub eax, edi
shl eax, 2
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x11c]
xor eax, eax
mov al, byte [edx + ebx]
test eax, eax
je 0x4355cb
mov eax, dword [eax*4 + 0x5d4140]
test eax, eax
jne 0x4355d0
mov eax, 1
mov ebx, ecx
mov dword [ecx - 4], eax
sub ebx, esi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ebx], eax
mov eax, dword [esp + 0x2c]
add ecx, eax
inc edx
cmp edx, ebp
jl 0x4355b0
mov ebx, dword [esp + 0x124]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x11c]
mov eax, dword [esp + 0x20]
add edx, ebp
lea ecx, [ecx + edi*4 + 8]
dec eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x11c], edx
mov dword [esp + 0x20], eax
jne 0x435595
mov si, word [0x5d65d8]
neg si
sbb esi, esi
and esi, 0xfffffe
inc esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x5d65dc]
add ecx, 0x3e8
cmp ecx, eax
ja 0x435661
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dl, byte [0x5d65d8]
mov dword [0x5d65dc], eax
dec dl
and edx, 1
mov word [0x5d65d8], dx
lea eax, [edi - 2]
push 0
imul eax, ebp
cdq
sub eax, edx
mov ecx, eax
lea eax, [edi + 2]
imul eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar ecx, 1
sar eax, 1
sub eax, ecx
lea ecx, [edi*4]
lea eax, [edx + eax*4]
mov dword [eax - 4], esi
mov dword [eax], esi
mov dword [eax + 4], esi
sub eax, ecx
mov dword [eax], esi
mov eax, dword [0x5d3d30]
push eax
mov edx, dword [eax]
call dword [edx + 0x80]
test eax, eax
jne 0x43573e
mov eax, dword [esp + 0x114]
mov edx, dword [esp + 0x118]
mov ecx, 0x75
add eax, 0x11
sub ecx, ebp
add edx, ecx
mov ecx, dword [esp + 0x10]
test eax, eax
jge 0x4356d7
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 0x4356f3
sub ecx, eax
add ecx, 0x280
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
test edx, edx
jge 0x435703
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 0x43571f
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