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

Disassembly:
push ebp
sub esp, 0x3c
lea ebp, [esp - 4]
mov eax, dword [0x49a2a0]
xor eax, ebp
mov dword [ebp + 0x3c], eax
push 0x58
mov eax, 0x474ade
call fcn.0045d993
mov esi, ecx
lea ecx, [ebp + 0xc]
call fcn.00421df9
xor ebx, ebx
push 0x34
lea eax, [ebp - 0x40]
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.0045cd40
add esp, 0xc
cmp dword [0x4a0340], ebx
je 0x42b00a
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x4a0340], ebx
jne 0x42afc4
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [esi + 0xdc], eax
call edi
jmp 0x42b143
call fcn.0042adda
mov dword [ebp + 0x18], ebx
cmp dword [esi + 0x40], ebx
je 0x42b020
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x18], eax
cmp dword [esi + 0x5c], ebx
je 0x42b03a
mov eax, dword [esi + 0x40]
cmp eax, ebx
je 0x42b03a
mov ecx, dword [ebp + 0x18]
sub ecx, dword [esi + 0x44]
cmp ecx, eax
jb 0x42b146
lea edi, [esi + 0x4c]
mov eax, dword [edi]
mov dword [edi + 4], ebx
mov byte [eax], bl
lea eax, [ebp - 0x48]
push eax
push 1
mov ecx, esi
call fcn.0042a975
mov ecx, esi
call fcn.0042ad1d
push edi
lea ecx, [esi + 0xc0]
call fcn.00421ec3
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov edx, eax
or edx, ecx
je 0x42b092
lea edx, [ebp + 0x1c]
push edx
push ecx
push eax
call fcn.004217e7
add esp, 0xc
push 0x20
mov ecx, edi
call fcn.004227d4
lea eax, [ebp + 0x1c]
push eax
mov ecx, edi
call fcn.00421f0c
cmp dword [esi + 0x2c], ebx
je 0x42b0ab
push 0x20
mov ecx, edi
call fcn.004227d4
lea eax, [esi + 0x28]
push eax
mov ecx, edi
call fcn.00421f42
lea eax, [esi + 0x58]
push edi
push eax
call fcn.0042a903
pop ecx
pop ecx
test al, al
je 0x42b12f
push dword [esi + 0x34]
lea eax, [ebp]
push eax
call fcn.00422737
pop ecx
pop ecx
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00421ec3
push dword [ebp]
mov byte [ebp - 4], bl
call fcn.0043e724
mov eax, dword [0x4a0328]
pop ecx
cmp eax, ebx
je 0x42b126
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0xc]
and edx, ecx
cmp edx, 0xffffffff
je 0x42b126
cmp dword [esi + 4], ecx
ja 0x42b126
jb 0x42b106
mov ecx, dword [esi]
cmp ecx, dword [esi + 8]
jae 0x42b126
mov ecx, dword [esi]
mov dword [ebp - 0x48], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x44], ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x40], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x48]
push ebx
push ecx
call eax
pop ecx
pop ecx
push edi
lea ecx, [esi + 0x58]
call fcn.00421ec3
push esi
lea ecx, [esi + 0x80]
call fcn.0042ae28
cmp dword [esi + 0x40], ebx
je 0x42b146
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x44], eax
push dword [ebp + 0xc]
or dword [ebp - 4], 0xffffffff
call fcn.0043e724
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3c]
xor ecx, ebp
call fcn.0045cdba
add ebp, 0x40
leave
ret