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

Disassembly:
sub esp, 0x30
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0
push 4
mov eax, ebp
add eax, 0x30
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
push 0
push 0x1c
mov eax, ebp
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
lea eax, [ebp + 0x14]
mov ecx, eax
call fcn.0040c983
push 0
push 4
mov eax, ebp
add eax, 0x10
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
push 0
push 4
mov eax, ebp
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
push 0
push 4
mov eax, ebp
add eax, 8
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
push 0x8000
call fcn.0040341d
push eax
pop eax
mov dword [ebp + 0x10], eax
push 0x40000000
push dword [ebp + 0x3c]
lea eax, [ebp + 0x14]
mov ecx, eax
call fcn.00408e3a
push 0
push 4
mov eax, ebp
add eax, 4
push eax
call dword [sym.imp.KERNEL32.DLL_RtlFillMemory]
push dword [ebp + 0x30]
push 0x8000
pop ebx
pop eax
sub esp, 4
imul eax, ebx
mov dword [esp], eax
pop eax
mov dword [ebp + 4], eax
push dword [ebp + 0x30]
push 1
pop ebx
pop eax
sub esp, 4
cdq
idiv ebx
mov dword [esp], edx
push 0
pop eax
pop ebx
sub esp, 4
xor eax, ebx
je 0x407b73
mov eax, 0xffffffff
not eax
mov dword [esp], eax
pop eax
cmp eax, 0
je 0x407cb7
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x8000
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
push dword [ebp + 0xc]
pop ebx
pop eax
sub esp, 4
sub eax, ebx
mov dword [esp], eax
push 0x3e8
fild dword [esp]
add esp, 4
pop eax
push 0
push eax
fild qword [esp]
add esp, 4
fdivrp st(1)
fstp dword [esp]
fld dword [esp]
add esp, 4
fild dword [esp]
fdivrp st(1)
fstp dword [esp]
push 0x3e8
fild dword [esp]
add esp, 4
fld dword [esp]
fdivrp st(1)
fstp dword [esp]
fld dword [esp]
sub esp, 0x10
mov dword [esp + 4], eax
fnstcw word [esp]
mov ax, word [esp]
or ah, 0xc
mov word [esp + 2], ax
fldcw word [esp + 2]
mov eax, dword [esp + 4]
add esp, 0x10
fistp dword [esp]
sub esp, 0x10
fldcw word [esp]
add esp, 0x10
push dword [ebp + 4]
push dword [ebp + 0x38]
pop eax
push 0
push eax
fild qword [esp]
add esp, 8
pop eax
push 0
push eax
fild qword [esp]
add esp, 4
fdivrp st(1)
fstp dword [esp]
push 0x64
fild dword [esp]
add esp, 4
fld dword [esp]
fmulp st(1)
fstp dword [esp]
fld dword [esp]
sub esp, 0x10
mov dword [esp + 4], eax
fnstcw word [esp]
mov ax, word [esp]
or ah, 0xc
mov word [esp + 2], ax
fldcw word [esp + 2]
mov eax, dword [esp + 4]
add esp, 0x10
fistp dword [esp]
sub esp, 0x10
fldcw word [esp]
add esp, 0x10
push dword [ebp + 0x38]
push dword [ebp + 4]
push 0x8000
pop ebx
pop eax
sub esp, 4
add eax, ebx
mov dword [esp], eax
push 1
pop ebx
pop eax
sub esp, 4
sub eax, ebx
mov dword [esp], eax
push dword [ebp + 4]
push 0x4109bb
call fcn.00408504
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
pop eax
mov dword [ebp + 0xc], eax
push 0
push 0x8000
push dword [ebp + 0x30]
push 0x8000
pop ebx
pop eax
sub esp, 4
imul eax, ebx
mov dword [esp], eax
mov eax, 0x411fb0
mov eax, dword [eax]
mov ecx, eax
call fcn.00406146
push 0x4109eb
mov eax, 0x411f9c
mov eax, dword [eax]
mov ecx, eax
call fcn.00406aee
push 0x8000
push dword [ebp + 0x10]
mov eax, 0x411f9c
mov eax, dword [eax]
mov ecx, eax
call fcn.004049e2
push 0x8000
push dword [ebp + 0x10]
lea eax, [ebp + 0x14]
mov ecx, eax
call fcn.0040d60a
mov eax, dword [ebp + 0x30]
inc eax
mov dword [ebp + 0x30], eax
push dword [ebp + 0x30]
push 0x8000
pop ebx
pop eax
sub esp, 4
imul eax, ebx
mov dword [esp], eax
push dword [ebp + 0x38]
pop ebx
pop eax
sub esp, 4
mov ecx, 0xffffffff
cmp eax, ebx
jae 0x407d71
mov ecx, 0
mov dword [esp], ecx
pop eax
cmp eax, 0
je 0x407d83
jmp 0x407d88
jmp 0x407b21
lea eax, [ebp + 0x14]
mov ecx, eax
call fcn.00408a8b
push dword [ebp + 0x10]
call fcn.0040337c
lea eax, [ebp + 0x14]
mov ecx, eax
call fcn.004084dc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
add esp, 0x30
ret 8