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

Disassembly:
push ebp
mov edx, 0x8000
mov ebp, esp
push edi
push esi
push ebx
mov edi, 0x419880
sub esp, 0xcc
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
cmovne edi, dword [ebp + 0x10]
cmovne edx, ebx
test eax, eax
mov dword [ebp - 0xac], edx
js 0x403d3c
add eax, dword [0x43bab8]
mov dword [esp], eax
call fcn.00403cca
push eax
lea eax, [ebp - 0x9c]
mov dword [esp + 4], 4
mov dword [esp], eax
call fcn.00403ca2
test eax, eax
push esi
push esi
je 0x403f8a
mov eax, dword [ebp - 0x9c]
test eax, eax
jns 0x403f98
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x9c]
xor ebx, ebx
mov dword [0x4298b0], 8
mov dword [0x429dcc], 0
mov dword [0x429dc8], 0
mov dword [0x433458], 0x42b450
and eax, 0x7fffffff
mov dword [0x433454], 0x42b450
mov dword [0x433450], 0x433450
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x9c], eax
mov esi, dword [ebp - 0x9c]
test esi, esi
jle 0x403fc3
cmp esi, 0x4000
mov eax, 0x4000
mov dword [esp], 0x415880
cmovg esi, eax
mov dword [esp + 4], esi
call fcn.00403ca2
test eax, eax
push ecx
push ecx
je 0x403f8a
sub dword [ebp - 0x9c], esi
mov dword [0x4298a0], 0x415880
mov dword [0x4298a4], esi
mov eax, dword [ebp - 0xac]
mov dword [esp], 0x4298a0
mov dword [0x4298a8], edi
mov dword [0x4298ac], eax
call fcn.00409532
test eax, eax
push edx
mov dword [ebp - 0xb8], eax
js 0x403f91
mov esi, dword [0x4298a8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
sub esi, edi
test byte [0x43ba54], 1
je 0x403ee7
mov ecx, edx
sub ecx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x9c]
cmp ecx, 0xc8
ja 0x403e7a
test eax, eax
jne 0x403ee7
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xbc], edx
mov dword [esp + 4], 0x64
mov edx, ecx
mov dword [esp + 8], ecx
sub edx, eax
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
lea ecx, [ebp - 0x98]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], str....__d__
mov dword [esp], ecx
mov dword [ebp - 0xb4], ecx
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0xb4]
mov dword [esp], 0
mov dword [esp + 4], ecx
call fcn.0040724e
mov edx, dword [ebp - 0xbc]
push eax
push eax
mov dword [ebp - 0xb4], edx
test esi, esi
je 0x403dcb
cmp dword [ebp + 0x10], 0
jne 0x403f17
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00407ead
sub esp, 0xc
test eax, eax
je 0x403fbe
add ebx, esi
jmp 0x403f25
sub dword [ebp - 0xac], esi
mov edi, dword [0x4298a8]
add ebx, esi
cmp dword [ebp - 0xb8], 1
jne 0x403e17
jmp 0x403fc3
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], esi
mov dword [esp + 4], 0x415880
mov dword [esp], eax
call fcn.00407ead
sub esp, 0xc
test eax, eax
je 0x403fbe
sub dword [ebp - 0x9c], esi
add ebx, esi
mov esi, dword [ebp - 0x9c]
test esi, esi
jle 0x403fc3
cmp esi, dword [ebp - 0xac]
mov dword [esp], 0x415880
cmovg esi, dword [ebp - 0xac]
mov dword [esp + 4], esi
call fcn.00403ca2
test eax, eax
push ecx
push ecx
jne 0x403f37
mov ebx, 0xfffffffd
jmp 0x403fc3
mov ebx, 0xfffffffc
jmp 0x403fc3
cmp dword [ebp + 0x10], 0
jne 0x403fa2
xor ebx, ebx
jmp 0x403f5d
cmp eax, ebx
cmovle ebx, eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00403ca2
test eax, eax
push edx
push edx
jne 0x403fc3
jmp 0x403f8a
mov ebx, 0xfffffffe
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10