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

Disassembly:
sub esp, 0x74
mov eax, dword [ecx + 0x79]
push ebx
push ebp
push esi
cmp eax, 1
push edi
mov dword [esp + 0x20], ecx
je 0x4582c9
mov eax, dword [esp + 0x8c]
mov esi, dword [eax + 0x2d]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x8c]
xor edi, edi
mov ebp, dword [eax + 0x39]
mov edx, dword [eax + 0x31]
mov ebx, dword [eax + 0x3d]
mov ecx, dword [eax + 0x35]
sub ebp, edx
sub ebx, ecx
cmp esi, edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], edi
jle 0x4582c9
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0x18]
lea eax, [esi - 1]
cmp ecx, eax
jge 0x45813c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, edi
cdq
idiv esi
add eax, dword [esp + 0x1c]
cmp ecx, eax
ja 0x458297
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, edi
cdq
idiv esi
add eax, dword [esp + 0x1c]
sub eax, ecx
push eax
push 0
call fcn.0044a490
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
add eax, ebp
add esp, 8
lea ecx, [edx + ebp]
cdq
idiv esi
mov edi, eax
mov eax, ecx
cdq
idiv esi
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add ecx, ebx
sub edi, eax
lea eax, [edx + ebx]
cdq
idiv esi
mov ebx, eax
mov eax, ecx
cdq
idiv esi
sub ebx, eax
test edi, edi
jne 0x458198
test ebx, ebx
je 0x45827f
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x8c]
lea edx, [esp + 0x44]
push 1
mov dword [ecx + 0x81c], eax
push edx
lea ecx, [esp + 0x94]
call fcn.0045dcd0
mov eax, dword [eax + 0x21]
push ecx
mov ecx, esp
push eax
call fcn.00417280
lea ecx, [esp + 0x80]
push ecx
call fcn.00460650
mov edx, ebx
add esp, 0x10
mov eax, edi
lea ecx, [esp + 0x8c]
neg edx
neg eax
push edx
push eax
call fcn.0045dcd0
mov edx, dword [eax + 0x21]
push ecx
mov ecx, esp
push edx
call fcn.00417280
call fcn.00460da0
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
add esp, 0xc
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
push ebx
lea ecx, [esp + 0x38]
push edi
push ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea edx, [esp + 0x34]
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0x58]
push eax
push ecx
call dword [sym.imp.USER32.dll_UnionRect]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x70], edx
mov edx, dword [ecx + 0x2c]
mov ecx, dword [esp + 0x20]
push eax
push 1
push edx
call fcn.004510b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add edx, ebp
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x90]
inc eax
add ecx, ebx
add edi, edx
cmp eax, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], edi
jl 0x458118
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 0xc