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

Disassembly:
push ebp
mov edx, 0x8000
mov ebp, esp
push edi
mov edi, 0x4321a0
push esi
push ebx
sub esp, 0xcc
mov esi, dword [ebp + 0x14]
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
cmovne edi, dword [ebp + 0x10]
cmovne edx, esi
mov dword [ebp - 0xac], edx
test eax, eax
js 0x40447d
add eax, dword [0x42e198]
mov dword [esp], eax
call fcn.00404411
push ecx
lea eax, [ebp - 0x9c]
mov dword [esp + 4], 4
mov dword [esp], eax
call fcn.004043e9
push edx
push edx
test eax, eax
je 0x4046be
mov ebx, dword [ebp - 0x9c]
test ebx, ebx
jns 0x4046cc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
mov dword [0x4421d0], 8
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x9c]
mov dword [0x44bd78], 0x443d70
and eax, 0x7fffffff
mov dword [0x4426ec], ebx
mov dword [0x44bd74], 0x443d70
mov dword [0x44bd70], 0x44bd70
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x9c], eax
mov dword [0x4426e8], ebx
xor ebx, ebx
mov esi, dword [ebp - 0x9c]
test esi, esi
jle 0x4046f7
mov eax, 0x4000
mov dword [esp], 0x42e1a0
cmp esi, eax
cmovg esi, eax
mov dword [esp + 4], esi
call fcn.004043e9
push ecx
push ecx
test eax, eax
je 0x4046be
sub dword [ebp - 0x9c], esi
mov dword [0x4421c0], 0x42e1a0
mov dword [0x4421c4], esi
mov eax, dword [ebp - 0xac]
mov dword [0x4421c8], edi
mov dword [0x4421cc], eax
mov dword [esp], 0x4421c0
call fcn.00409ee8
push edx
mov dword [ebp - 0xbc], eax
test eax, eax
js 0x4046c5
mov esi, dword [0x4421c8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub esi, edi
mov edx, eax
test byte [0x41a054], 1
je 0x40461d
mov eax, dword [ebp - 0x9c]
mov ecx, edx
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb4]
sub ecx, eax
cmp ecx, 0xc8
ja 0x4045be
cmp dword [ebp - 0xb8], 0
jne 0x40461d
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], edx
mov dword [esp + 4], 0x64
mov dword [esp + 8], eax
mov ecx, eax
mov eax, dword [ebp - 0xb8]
sub ecx, eax
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
lea ecx, [ebp - 0x98]
sub esp, 0xc
mov dword [esp], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], str....__d__
call dword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
lea ecx, [ebp - 0x98]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00407a22
push eax
push eax
test esi, esi
je 0x404506
cmp dword [ebp + 0x10], 0
jne 0x40464d
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.00408605
sub esp, 0xc
test eax, eax
je 0x4046f2
add ebx, esi
jmp 0x40465b
sub dword [ebp - 0xac], esi
mov edi, dword [0x4421c8]
add ebx, esi
cmp dword [ebp - 0xbc], 1
jne 0x40454e
jmp 0x4046f7
mov dword [esp + 8], esi
mov dword [esp + 4], 0x42e1a0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.00408605
sub esp, 0xc
test eax, eax
je 0x4046f2
sub dword [ebp - 0x9c], esi
add ebx, esi
mov esi, dword [ebp - 0x9c]
test esi, esi
jle 0x4046f7
mov eax, dword [ebp - 0xac]
mov dword [esp], 0x42e1a0
cmp esi, eax
cmovg esi, eax
mov dword [esp + 4], esi
call fcn.004043e9
push ecx
push ecx
test eax, eax
jne 0x40466d
mov ebx, 0xfffffffd
jmp 0x4046f7
mov ebx, 0xfffffffc
jmp 0x4046f7
cmp dword [ebp + 0x10], 0
jne 0x4046d6
xor ebx, ebx
jmp 0x404693
cmp ebx, esi
cmovg ebx, esi
mov dword [esp + 4], ebx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.004043e9
push edx
push edx
test eax, eax
jne 0x4046f7
jmp 0x4046be
mov ebx, 0xfffffffe
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10