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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x38
push 0
push 0
dec ecx
jne 0x47eec4
push ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404a1c
xor eax, eax
push ebp
push 0x47f316
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004799e0
push 0
lea eax, [ebp - 0x188]
push eax
mov byte [ebp - 0x18c], 9
lea ecx, [ebp - 0x18c]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00469614
mov edx, dword [ebp - 0x188]
lea eax, [ebp - 0xc]
call fcn.00404604
push 0
lea eax, [ebp - 0x190]
push eax
mov byte [ebp - 0x18c], 9
lea ecx, [ebp - 0x18c]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00469614
mov edx, dword [ebp - 0x190]
lea eax, [ebp - 0xc]
call fcn.00404604
push 0
lea eax, [ebp - 0x194]
push eax
mov byte [ebp - 0x18c], 9
lea ecx, [ebp - 0x18c]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00469614
mov edx, dword [ebp - 0x194]
lea eax, [ebp - 0xc]
call fcn.00404604
push 0
lea eax, [ebp - 0x198]
push eax
mov byte [ebp - 0x18c], 9
lea ecx, [ebp - 0x18c]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00469614
mov edx, dword [ebp - 0x198]
lea eax, [ebp - 0xc]
call fcn.00404604
push 0
lea eax, [ebp - 0x19c]
push eax
mov byte [ebp - 0x18c], 9
lea ecx, [ebp - 0x18c]
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00469614
mov edx, dword [ebp - 0x19c]
lea eax, [ebp - 0xc]
call fcn.00404604
push 0
lea eax, [ebp - 0x1a0]
push eax
mov byte [ebp - 0x18c], 9
lea ecx, [ebp - 0x18c]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00469614
mov edx, dword [ebp - 0x1a0]
lea eax, [ebp - 0xc]
call fcn.00404604
cmp dword [ebp - 0x10], 0
je 0x47f2e0
cmp dword [ebp - 0x14], 0
je 0x47f2e0
cmp dword [ebp - 0x18], 0
je 0x47f2e0
cmp dword [ebp - 0x1c], 0
je 0x47f2e0
cmp dword [ebp - 0x20], 0
je 0x47f2e0
cmp dword [ebp - 0x28], 0
je 0x47f2e0
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x47f23b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x10], 0
je 0x47f221
mov eax, dword [0x487478]
mov eax, dword [eax]
call fcn.00476bd8
test al, al
je 0x47f221
mov eax, dword [0x487478]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.004775a0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x47f221
lea ecx, [ebp - 0x184]
mov eax, dword [0x487478]
mov eax, dword [eax]
mov edx, dword [ebp - 0x30]
call fcn.004775fc
test eax, eax
jl 0x47f221
cmp dword [ebp - 0x6b], 5
jl 0x47f0cc
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x67]
cmp eax, 0x2bf20
jbe 0x47f1f3
mov dword [ebp - 0x2c], 0xffffffff
lea eax, [ebp - 0x1a4]
lea edx, [ebp - 0x11b]
call fcn.004047d0
mov eax, dword [ebp - 0x1a4]
mov edx, dword [ebp - 0x14]
call fcn.00404978
jne 0x47f144
mov dword [ebp - 0x2c], 0xfffffffd
lea eax, [ebp - 0x1a8]
lea edx, [ebp - 0x106]
call fcn.004047d0
mov eax, dword [ebp - 0x1a8]
mov edx, dword [ebp - 0x18]
call fcn.00404978
jne 0x47f144
lea eax, [ebp - 0x1ac]
lea edx, [ebp - 0xae]
call fcn.004047d0
mov eax, dword [ebp - 0x1ac]
mov edx, dword [ebp - 0x28]
call fcn.00404978
jne 0x47f144
mov dword [ebp - 0x2c], 1
cmp dword [ebp - 0x2c], 1
je 0x47f1bb
lea eax, [ebp - 0x1b0]
lea edx, [ebp - 0xd0]
call fcn.004047d0
mov eax, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x1c]
call fcn.00404978
jne 0x47f1bb
mov dword [ebp - 0x2c], 0xfffffffd
lea eax, [ebp - 0x1b4]
lea edx, [ebp - 0xbb]
call fcn.004047d0
mov eax, dword [ebp - 0x1b4]
mov edx, dword [ebp - 0x20]
call fcn.00404978
jne 0x47f1bb
lea eax, [ebp - 0x1b8]
lea edx, [ebp - 0xae]
call fcn.004047d0
mov eax, dword [ebp - 0x1b8]
mov edx, dword [ebp - 0x28]
call fcn.00404978
jne 0x47f1bb
mov dword [ebp - 0x2c], 1
cmp dword [ebp - 0x2c], 1
jne 0x47f1d1
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x159]
call fcn.004047d0
jmp 0x47f221
inc dword [ebp - 0x6b]
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x67], eax
lea ecx, [ebp - 0x184]
mov eax, dword [0x487478]
mov eax, dword [eax]
mov edx, dword [ebp - 0x30]
call fcn.0047788c
jmp 0x47f221
mov dword [ebp - 0x2c], 0xfffffffe
call sub.kernel32.dll_GetTickCount
cmp eax, dword [ebp - 0x67]
jae 0x47f221
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x67], eax
lea ecx, [ebp - 0x184]
mov eax, dword [0x487478]
mov eax, dword [eax]
mov edx, dword [ebp - 0x30]
call fcn.0047788c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f242
mov eax, dword [0x487478]
mov eax, dword [eax]
call fcn.00476d30
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f31d
lea eax, [ebp - 0x1c4]
mov edx, 0xe
call fcn.00404590
lea eax, [ebp - 0x188]
call fcn.0040456c
lea eax, [ebp - 0x28]
mov edx, 9
call fcn.00404590
ret