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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x8f
push 0
push 0
dec ecx
jne 0x5fd7f5
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x41c], edx
mov dword [ebp - 0x414], eax
mov eax, dword [ebp - 0x41c]
call fcn.00405b48
xor eax, eax
push ebp
push 0x5fddb3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x421], 0
cmp dword [ebp - 0x41c], 0
jne 0x5fd84f
lea eax, [ebp - 0x41c]
mov edx, dword [0x65a970]
mov edx, dword [edx]
mov edx, dword [edx + 0x24]
call fcn.00405744
mov eax, dword [ebp - 0x41c]
call fcn.0040c048
test al, al
jne 0x5fd874
mov eax, dword [ebp - 0x414]
mov eax, dword [eax + 0x364]
call fcn.0057faa4
jmp 0x5fdd33
test bl, bl
jne 0x5fd89a
mov eax, dword [ebp - 0x414]
mov eax, dword [eax + 0x364]
call fcn.0057fab8
mov eax, dword [ebp - 0x414]
mov eax, dword [eax + 0x364]
call fcn.0057faa4
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x434], eax
xor edx, edx
mov eax, dword [ebp - 0x414]
call fcn.005faf7c
xor edx, edx
push ebp
push 0x5fdcfa
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x4221ac]
call fcn.00404718
mov dword [ebp - 0x410], eax
push 0
mov ecx, dword [ebp - 0x41c]
mov dl, 1
mov eax, dword [0x4220a8]
call fcn.00427d00
mov dword [ebp - 0x408], eax
xor edx, edx
push ebp
push 0x5fdce9
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x403]
mov ecx, 4
mov eax, dword [ebp - 0x408]
mov esi, dword [eax]
call dword [esi + 0xc]
lea eax, [ebp - 0x43c]
lea edx, [ebp - 0x403]
mov ecx, 0x401
call fcn.0040591c
mov eax, dword [ebp - 0x43c]
lea ecx, [ebp - 0x438]
mov edx, 3
call fcn.0044f298
mov eax, dword [ebp - 0x438]
mov edx, 0x5fddd0
call fcn.00405af0
je 0x5fd9df
push 0
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x44c]
push eax
mov eax, dword [0x65a508]
mov eax, dword [eax]
mov ecx, 0x5fdddc
mov edx, 7
call fcn.00637180
mov edx, dword [ebp - 0x44c]
lea eax, [ebp - 0x448]
call fcn.00405950
mov eax, dword [ebp - 0x448]
push eax
mov eax, dword [ebp - 0x408]
mov eax, dword [eax + 8]
mov dword [ebp - 0x450], eax
lea ecx, [ebp - 0x450]
mov eax, dword [0x65a508]
mov eax, dword [eax]
pop edx
call fcn.006378a4
mov ecx, dword [ebp - 0x444]
lea eax, [ebp - 0x440]
mov edx, 0x5fddec
call fcn.004059e0
mov ecx, dword [ebp - 0x440]
mov dl, 1
mov eax, dword [0x42128c]
call fcn.004118cc
call fcn.00405004
movzx eax, byte [ebp - 0x400]
cmp al, 0x31
jne 0x5fd9f9
mov dword [ebp - 0x418], 1
jmp 0x5fdaac
cmp al, 0x32
jne 0x5fda0c
mov dword [ebp - 0x418], 2
jmp 0x5fdaac
cmp al, 0x33
jne 0x5fda1f
mov dword [ebp - 0x418], 3
jmp 0x5fdaac
push 0
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x460]
push eax
mov eax, dword [0x65a508]
mov eax, dword [eax]
mov ecx, 0x5fdddc
mov edx, 7
call fcn.00637180
mov edx, dword [ebp - 0x460]
lea eax, [ebp - 0x45c]
call fcn.00405950
mov eax, dword [ebp - 0x45c]
push eax
mov eax, dword [ebp - 0x408]
mov eax, dword [eax + 8]
mov dword [ebp - 0x450], eax
lea ecx, [ebp - 0x450]
mov eax, dword [0x65a508]
mov eax, dword [eax]
pop edx
call fcn.006378a4
mov ecx, dword [ebp - 0x458]
lea eax, [ebp - 0x454]
mov edx, 0x5fddec
call fcn.004059e0
mov ecx, dword [ebp - 0x454]
mov dl, 1
mov eax, dword [0x42128c]
call fcn.004118cc
call fcn.00405004
lea edx, [ebp - 0x426]
mov ecx, 2
mov eax, dword [ebp - 0x408]
mov esi, dword [eax]
call dword [esi + 0xc]
cmp eax, 2
je 0x5fdad0
mov word [ebp - 0x426], 0
mov eax, dword [ebp - 0x414]
mov eax, dword [eax + 0x364]
call fcn.00581768
xor eax, eax
call fcn.00638538
xor eax, eax
push ebp
push 0x5fdcbe
push dword fs:[eax]
mov dword fs:[eax], esp
movzx esi, word [ebp - 0x426]
dec esi
test si, si
jb 0x5fdc87
inc esi
cmp dword [ebp - 0x418], 3
jge 0x5fdb31
push ebp
lea eax, [ebp - 0x464]
call fcn.005fd618
pop ecx
mov edx, dword [ebp - 0x464]
lea eax, [ebp - 0x420]
call fcn.00405744
jmp 0x5fdb60
push ebp
lea eax, [ebp - 0x46c]
call fcn.005fd618
pop ecx
mov eax, dword [ebp - 0x46c]
lea edx, [ebp - 0x468]
call fcn.00407c7c
mov edx, dword [ebp - 0x468]
lea eax, [ebp - 0x420]
call fcn.00405950
test bl, bl
je 0x5fdb78
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x434]
cmp eax, 0x2710
jbe 0x5fdb78
xor ebx, ebx
test bl, bl
je 0x5fdbcd
movzx eax, byte [0x5fddf0]
push eax
lea eax, [ebp - 0x47c]
mov edx, dword [ebp - 0x420]
call fcn.0041a4cc
lea ecx, [ebp - 0x47c]
mov eax, dword [ebp - 0x414]
mov eax, dword [eax + 0x364]
mov edx, 0x5fddfc
mov edi, dword [eax]
call dword [edi + 0x268]
test al, al
je 0x5fdbcd
mov eax, dword [ebp - 0x414]
mov eax, dword [eax + 0x364]
xor edx, edx
call fcn.005e569c
jmp 0x5fdbf8
mov eax, dword [ebp - 0x414]
mov eax, dword [eax + 0x364]
call fcn.00582728
mov eax, dword [ebp - 0x414]
mov eax, dword [eax + 0x36c]
mov edx, dword [ebp - 0x420]
mov ecx, dword [eax]
call dword [ecx + 0xb8]
lea edx, [ebp - 0x430]
mov ecx, 8
mov eax, dword [ebp - 0x408]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp eax, 8
jne 0x5fdc87
push dword [ebp - 0x42c]
push dword [ebp - 0x430]
mov eax, dword [ebp - 0x414]
mov eax, dword [eax + 0x370]
mov edx, dword [eax]
call dword [edx + 0xa8]
lea edx, [ebp - 2]
mov ecx, 2
mov eax, dword [ebp - 0x408]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp eax, 2
jne 0x5fdc87
movzx edx, word [ebp - 2]
mov eax, dword [ebp - 0x414]
mov eax, dword [eax + 0x374]
mov ecx, dword [eax]
call dword [ecx + 0xb0]
push ebp
call fcn.005fd688
pop ecx
mov eax, dword [ebp - 0x414]
mov eax, dword [eax + 0x364]
mov edx, dword [eax]
call dword [edx + 0x270]
dec si
jne 0x5fdb08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fdcc5
xor eax, eax
call fcn.00638560
mov eax, dword [ebp - 0x414]
mov eax, dword [eax + 0x364]
call fcn.00582240
mov eax, dword [ebp - 0x414]
mov eax, dword [eax + 0x364]
call fcn.00581788
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fddba
lea eax, [ebp - 0x47c]
call fcn.00415ea4
lea eax, [ebp - 0x46c]
call fcn.004056ac
lea eax, [ebp - 0x468]
call fcn.00405ea8
lea eax, [ebp - 0x464]
call fcn.004056ac
lea eax, [ebp - 0x460]
call fcn.00405ea8
lea eax, [ebp - 0x45c]
mov edx, 3
call fcn.004056d0
lea eax, [ebp - 0x44c]
call fcn.00405ea8
lea eax, [ebp - 0x448]
mov edx, 5
call fcn.004056d0
lea eax, [ebp - 0x420]
mov edx, 2
call fcn.004056d0
ret