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

Disassembly:
cmp dword [0x4dbc50], 0
push ebp
push esi
jg 0x403f5a
mov ecx, dword [0x4d78c8]
mov eax, dword [0x4dbc60]
cmp byte [ecx + 0x95], 0
jne 0x403d2b
test eax, eax
jne 0x403f5a
cmp eax, dword [0x4d78c4]
jge 0x403f5a
cmp dword [0x4d78c0], 0
je 0x403f5a
cmp dword [0x4dbc4c], 0
jne 0x403f5a
mov edx, dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
je 0x403d91
cmp byte [ecx + 0x53], 0
jne 0x403d91
cmp dword [ecx + 0x44], 0xffffffff
jle 0x403d87
call edx
mov ecx, dword [0x4d78c8]
mov edx, dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ecx + 0x48]
cmp eax, dword [ecx + 0x44]
jb 0x403d87
cmp dword [ecx + 0x40], 0
je 0x403d87
mov byte [ecx + 0x53], 1
cmp byte [ecx + 0x53], 0
je 0x403f5a
mov esi, dword [0x4dd3f0]
xor ebp, ebp
test esi, esi
je 0x403f5a
push ebx
push edi
cmp byte [esi + 0x11], 0
je 0x403dcb
cmp byte [esi + 0x10], 0
ja 0x403dcb
mov eax, dword [esi + 0xc]
cmp eax, dword [ecx + 0x3c]
jl 0x403dcb
call edx
mov ebx, eax
mov ecx, ebx
sub ecx, dword [esi + 8]
cmp ecx, dword [esi + 4]
jae 0x403dee
mov ecx, dword [0x4d78c8]
mov edi, dword [esi + 0x14]
mov edx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, edi
test edi, edi
jne 0x403da3
pop edi
pop ebx
test ebp, ebp
je 0x403f5a
call fcn.00404340
pop esi
mov al, 1
pop ebp
ret
mov edi, dword [0x4d78c8]
test ebp, ebp
jne 0x403e0f
inc dword [0x4dbc60]
mov ebp, 1
add edi, 0xa0
mov dword [0x4d78c8], edi
cmp byte [esi + 0x12], 0
mov dword [esi + 8], ebx
je 0x403e68
mov byte [esi + 0x11], 0
sub dword [0x4dd3fc], 1
jne 0x403e68
cmp dword [0x4dbc74], 0
jne 0x403e68
cmp dword [0x4dbfe8], 0
jne 0x403e68
cmp byte [0x4dbc42], 0
je 0x403e68
push 9
push dword [0x4dbc70]
call dword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x4dbc42]
xor edx, edx
mov edi, dword [0x4d78c8]
test eax, eax
cmovne ecx, edx
mov byte [0x4dbc42], cl
mov eax, dword [0x4dbc48]
mov dword [0x4dd444], ebx
mov ebx, dword [esi + 0xc]
test eax, eax
je 0x403e7f
add eax, 0x58
jmp 0x403e81
xor eax, eax
test edi, edi
je 0x403e8a
lea ecx, [edi + 0x58]
jmp 0x403e8c
xor ecx, ecx
movups xmm0, xmmword [eax]
push 0x58
push 0
movups xmmword [ecx], xmm0
push edi
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ecx + 0x30], xmm0
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x40], eax
call fcn.004956d0
mov al, byte [edi + 0x96]
add esp, 0xc
mov byte [edi + 0x53], 1
mov dword [edi + 0x3c], ebx
test al, al
jne 0x403ed4
mov byte [edi + 0x96], al
cmp dword [0x4dd440], 0
je 0x403ee6
cmp dword [0x4dd43c], 0
jne 0x403eea
test al, al
je 0x403f1b
mov byte [edi + 0x53], 0
test al, al
jne 0x403f1b
cmp dword [0x4dd440], 0
jge 0x403f04
mov dword [edi + 0x44], 0xffffffff
jmp 0x403f1b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x48], eax
mov eax, dword [0x4dd440]
mov dword [edi + 0x44], eax
mov edi, dword [0x4d78c8]
push 0
push 0
mov dword [edi + 0x1c], esi
inc byte [esi + 0x10]
mov ecx, dword [esi]
mov edx, ecx
push 0
push 0
push 0
call fcn.0046f110
dec byte [esi + 0x10]
add esp, 0x14
cmp byte [esi + 0x11], 0
mov edi, dword [esi + 0x14]
jne 0x403f4f
push dword [esi]
mov ecx, 0x4dcd68
call fcn.00419eb0
mov ecx, dword [0x4d78c8]
jmp 0x403dce
pop esi
xor al, al
pop ebp
ret