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

Disassembly:
sub esp, 0x80
cmp dword [0x4fb93c], 0
push ebx
push ebp
push esi
jg 0x403efb
mov ecx, dword [0x4f898c]
cmp byte [ecx + 0xcd], 0
je 0x403efb
mov eax, dword [0x4fb950]
cmp eax, dword [0x4f8988]
jge 0x403efb
cmp dword [0x4f8984], 0
je 0x403efb
cmp dword [0x4fb938], 0
jne 0x403efb
cmp byte [ecx + 0xcc], 0
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x403cbf
cmp byte [ecx + 0xce], 0
jne 0x403cb2
cmp dword [ecx + 0xc0], 0xffffffff
jle 0x403cb2
call ebp
mov ecx, dword [0x4f898c]
sub eax, dword [ecx + 0xbc]
cmp eax, dword [ecx + 0xc0]
jb 0x403cb2
mov byte [ecx + 0xcc], 1
cmp byte [ecx + 0xcc], 0
je 0x403efb
mov esi, dword [0x4fe078]
xor ebx, ebx
test esi, esi
je 0x403efb
push edi
cmp byte [esi + 0x11], 0
je 0x403cf8
cmp byte [esi + 0x10], 0
ja 0x403cf8
mov eax, dword [esi + 0xc]
cmp eax, dword [ecx + 0x2c]
jl 0x403cf8
call ebp
mov edi, eax
mov ecx, edi
sub ecx, dword [esi + 8]
cmp ecx, dword [esi + 4]
jae 0x403d1f
mov ecx, dword [0x4f898c]
mov edi, dword [esi + 0x14]
mov esi, edi
test edi, edi
jne 0x403cd0
pop edi
test ebx, ebx
je 0x403efb
lea ecx, [esp + 0xc]
call fcn.004045b0
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x80
ret
test ebx, ebx
jne 0x403d5e
mov ecx, dword [0x4fb94c]
mov ebx, 1
push 0
push ebx
call fcn.00401670
push 0x7f
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004cc440
inc dword [0x4fb950]
add esp, 0xc
add dword [0x4f898c], 0xe8
mov byte [esp + 0x8f], 0
cmp byte [esi + 0x12], 0
mov dword [esi + 8], edi
je 0x403db1
mov byte [esi + 0x11], 0
sub dword [0x4fe084], 1
jne 0x403db1
cmp dword [0x4fb96c], 0
jne 0x403db1
cmp dword [0x4fc440], 0
jne 0x403db1
cmp byte [0x4fb846], 0
je 0x403db1
push 9
push dword [0x4fb968]
call dword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x4fb846]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov byte [0x4fb846], cl
mov eax, dword [0x51f88c]
mov dword [0x4fe0dc], edi
mov edx, dword [esi]
test al, 1
jne 0x403dd8
push 0
or eax, 1
mov ecx, 0x51f890
push 0
mov dword [0x51f88c], eax
call fcn.0042b9c0
mov eax, dword [0x4fde18]
mov ecx, dword [edx]
cmp ecx, dword [eax]
je 0x403deb
cmp ecx, dword [0x51f890]
jne 0x403df6
mov eax, dword [edx + 8]
test eax, eax
je 0x403df6
mov al, byte [eax]
jmp 0x403df8
xor al, al
mov ecx, dword [esi + 0xc]
xor dl, dl
push eax
push 0
call fcn.004044a0
mov eax, dword [0x4f898c]
add esp, 8
mov dword [eax + 0xa0], esi
inc byte [esi + 0x10]
mov ecx, dword [0x4fa314]
cmp ecx, dword [0x4fa318]
jne 0x403e2f
call fcn.004065b0
mov ecx, dword [0x4fa314]
cmp ecx, dword [0x4fa310]
jb 0x403e44
mov eax, dword [0x4fde14]
mov dword [ecx], eax
mov ecx, dword [0x4fa314]
add ecx, 0xc
push 0
push 0
mov dword [0x4fa314], ecx
push 0
mov dword [ecx], 0
mov dword [ecx + 4], str.Timer
mov dword [ecx + 8], 0
mov ecx, dword [esi]
mov edx, ecx
push 0
push str.call
call fcn.0049a410
sub dword [0x4fa314], 0xc
add esp, 0x14
dec byte [esi + 0x10]
cmp byte [esi + 0x12], 0
mov edi, dword [esi + 0x14]
je 0x403edf
cmp byte [esi + 0x11], 0
jne 0x403edf
mov edx, dword [esi]
test edx, edx
je 0x403edf
mov eax, dword [0x51f88c]
mov ecx, edx
test al, 1
jne 0x403ebc
push 0
or eax, 1
mov ecx, 0x51f890
push 0
mov dword [0x51f88c], eax
call fcn.0042b9c0
mov ecx, dword [esi]
mov eax, dword [0x4fde18]
mov edx, dword [edx]
cmp edx, dword [eax]
je 0x403edf
cmp edx, dword [0x51f890]
je 0x403edf
test ecx, ecx
je 0x403ed9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi], 0
cmp dword [esi], 0
jne 0x403ef0
push 0
mov ecx, 0x4fda88
call fcn.00432f80
mov ecx, dword [0x4f898c]
jmp 0x403cfb
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x80
ret