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

Disassembly:
push ecx
cmp dword [0x4e8cac], 0
push ebx
push ebp
push esi
push edi
jg 0x403f92
mov ecx, dword [0x4e47f8]
mov eax, dword [0x4e8cbc]
cmp byte [ecx + 0x95], 0
jne 0x403c9e
test eax, eax
jne 0x403f92
cmp eax, dword [0x4e47f4]
jge 0x403f92
cmp dword [0x4e47f0], 0
je 0x403f92
cmp dword [0x4e8ca4], 0
jne 0x403f92
mov edx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
test eax, eax
je 0x403d14
cmp byte [ecx + 0x53], 0
jne 0x403d14
cmp dword [ecx + 0x44], 0xffffffff
jle 0x403d0a
call edx
mov ecx, dword [0x4e47f8]
mov edx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [ecx + 0x48]
cmp eax, dword [ecx + 0x44]
jb 0x403d0a
cmp dword [ecx + 0x40], 0
je 0x403d0a
cmp byte [ecx + 0x96], 0
mov byte [ecx + 0x53], 1
jne 0x403d0a
mov dword [ecx + 0x5c], 5
cmp byte [ecx + 0x53], 0
je 0x403f92
mov edi, dword [0x4ea5bc]
xor ebx, ebx
mov dword [esp + 0x10], ebx
test edi, edi
je 0x403f92
mov esi, dword [esp + 0x10]
nop dword [eax]
cmp byte [edi + 0x12], 0
je 0x403d58
cmp byte [edi + 0x10], 0
ja 0x403d58
mov eax, dword [edi + 0xc]
cmp eax, dword [ecx + 0x3c]
jl 0x403d58
call edx
mov ebp, eax
mov ecx, ebp
sub ecx, dword [edi + 8]
cmp ecx, dword [edi + 4]
jae 0x403d7f
mov ecx, dword [0x4e47f8]
mov esi, dword [edi + 0x14]
mov edx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov edi, esi
test esi, esi
jne 0x403d30
cmp dword [esp + 0x10], 0
je 0x403f92
call fcn.00404430
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
test ebx, ebx
mov ebx, dword [0x4e47f8]
jne 0x403da3
inc dword [0x4e8cbc]
add ebx, 0xa0
mov dword [esp + 0x10], 1
mov dword [0x4e47f8], ebx
cmp byte [edi + 0x13], 0
mov dword [edi + 8], ebp
je 0x403df3
mov byte [edi + 0x12], 0
sub dword [0x4ea5c8], 1
jne 0x403df3
cmp dword [0x4e8cd0], 0
jne 0x403df3
cmp dword [0x4e9048], 0
jne 0x403df3
cmp byte [0x4e8c9e], 0
je 0x403df3
push 9
push dword [0x4e8ccc]
call dword [sym.imp.USER32.dll_KillTimer]
mov ebx, dword [0x4e47f8]
test eax, eax
je 0x403df3
mov byte [0x4e8c9e], 0
mov eax, dword [0x4e8ca8]
mov dword [0x4ea61c], ebp
mov ebp, dword [edi + 0xc]
test eax, eax
je 0x403e0a
add eax, 0x58
jmp 0x403e0c
xor eax, eax
test ebx, ebx
je 0x403e15
lea ecx, [ebx + 0x58]
jmp 0x403e17
xor ecx, ecx
movups xmm0, xmmword [eax]
push 0x58
push 0
movups xmmword [ecx], xmm0
push ebx
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.0049d7a0
mov al, byte [ebx + 0x96]
add esp, 0xc
mov byte [ebx + 0x53], 1
mov dword [ebx + 0x3c], ebp
test al, al
jne 0x403e5f
mov byte [ebx + 0x96], al
cmp dword [0x4ea618], 0
je 0x403e71
cmp dword [0x4ea614], 0
jne 0x403e75
test al, al
je 0x403ead
mov dword [ebx + 0x5c], 0x10
mov byte [ebx + 0x53], 0
test al, al
jne 0x403ead
cmp dword [0x4ea618], 0
jge 0x403e96
mov dword [ebx + 0x44], 0xffffffff
jmp 0x403ead
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebx + 0x48], eax
mov eax, dword [0x4ea618]
mov dword [ebx + 0x44], eax
mov ebx, dword [0x4e47f8]
mov dword [ebx + 0x1c], edi
inc byte [edi + 0x10]
mov ecx, dword [0x4e9eac]
cmp ecx, dword [0x4e9eb0]
jne 0x403ecc
call fcn.0040708e
mov ecx, dword [0x4e9eac]
cmp ecx, dword [0x4e9ea8]
jb 0x403ee1
mov eax, dword [0x4ea574]
mov dword [ecx], eax
mov ecx, dword [0x4e9eac]
add ecx, 0xc
mov dword [0x4e9eac], ecx
push 0
mov dword [ecx], 0
mov dword [ecx + 4], 0x4cef3c
mov dword [ecx + 8], 0
mov ecx, dword [edi]
mov edx, ecx
push ecx
push 0
push 0
push 0
push 0
call fcn.00473ae0
mov eax, dword [0x4e9eac]
add esp, 0x18
sub eax, 0xc
mov dword [0x4e9eac], eax
cmp eax, dword [0x4e9ea8]
jb 0x403f36
mov eax, dword [eax]
mov dword [0x4e9ebc], eax
mov dword [0x4ea574], eax
dec byte [edi + 0x10]
mov ecx, edi
nop dword [eax + eax]
cmp byte [ecx + 0x12], 0
jne 0x403f7c
cmp byte [ecx + 0x10], 0
jne 0x403f7c
cmp byte [ecx + 0x11], 0
jne 0x403f7c
mov esi, dword [ecx + 0x14]
test esi, esi
je 0x403f61
mov al, byte [esi + 0x11]
inc al
mov byte [esi + 0x11], al
push dword [ecx]
mov ecx, 0x4e9f30
call fcn.0043eab0
mov ecx, esi
test esi, esi
je 0x403d67
dec byte [esi + 0x11]
jmp 0x403f40
mov ebx, dword [esp + 0x10]
cmp ecx, edi
jne 0x403f87
mov esi, dword [ecx + 0x14]
mov ecx, dword [0x4e47f8]
jmp 0x403d5b
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret