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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 0x1114], 1
jne 0x5de071
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 0x112c], 0x14
jge 0x5de025
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x1134]
cmp eax, 0x64
jbe 0x5de222
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x112c]
mov ecx, 5
cdq
idiv ecx
cmp eax, 4
jne 0x5ddfe0
mov eax, 6
call fcn.0040354c
inc eax
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x1120], eax
jmp 0x5de003
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x112c]
mov ecx, 5
cdq
idiv ecx
add eax, 8
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x1120], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x1134], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
inc dword [eax + 0x112c]
jmp 0x5de222
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x111c]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x1120], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x1134]
cmp eax, 0x5dc
jbe 0x5de222
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3f8]
xor edx, edx
call fcn.004d7d0c
jmp 0x5de222
mov byte [ebp - 5], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1114]
dec eax
test eax, eax
jl 0x5de209
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov eax, dword [edx + eax*4 + 0x112c]
mov edx, dword [ebp - 4]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
cmp eax, dword [ecx + edx*4 + 0x1130]
jge 0x5de1a8
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
sub eax, dword [ecx + edx*4 + 0x1134]
cmp eax, 0x64
jbe 0x5de1a2
mov eax, dword [ebp - 4]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov eax, dword [edx + eax*4 + 0x112c]
mov ecx, 5
cdq
idiv ecx
cmp eax, 4
jne 0x5de136
mov eax, 6
call fcn.0040354c
inc eax
mov edx, dword [ebp - 4]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
mov dword [ecx + edx*4 + 0x1120], eax
jmp 0x5de16f
mov eax, dword [ebp - 4]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov eax, dword [edx + eax*4 + 0x112c]
mov ecx, 5
cdq
idiv ecx
add eax, 8
mov edx, dword [ebp - 4]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
mov dword [ecx + edx*4 + 0x1120], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
mov dword [ecx + edx*4 + 0x1134], eax
mov eax, dword [ebp - 4]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
inc dword [edx + eax*4 + 0x112c]
mov byte [ebp - 5], 0
jmp 0x5de1fd
mov eax, dword [ebp - 4]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov eax, dword [edx + eax*4 + 0x111c]
mov edx, dword [ebp - 4]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
mov dword [ecx + edx*4 + 0x1120], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
sub eax, dword [ecx + edx*4 + 0x1134]
cmp eax, 0x7d0
jae 0x5de1fd
mov byte [ebp - 5], 0
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x5de095
cmp byte [ebp - 5], 0
je 0x5de222
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3f8]
xor edx, edx
call fcn.004d7d0c
mov esp, ebp
pop ebp
ret