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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x100
cmp dword [0x51eaac], 0
push ebx
push ebp
push esi
push edi
jg 0x404838
mov ecx, dword [0x51b98c]
cmp byte [ecx + 0xed], 0
je 0x404838
mov eax, dword [0x51eac0]
cmp eax, dword [0x51b988]
jge 0x404838
cmp dword [0x51b984], 0
je 0x404838
cmp dword [0x51eaa8], 0
jne 0x404838
cmp byte [ecx + 0xec], 0
mov edx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x40457c
cmp byte [ecx + 0xee], 0
jne 0x40456f
cmp dword [ecx + 0xe0], 0xffffffff
jle 0x40456f
call edx
mov ecx, dword [0x51b98c]
mov edx, dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ecx + 0xdc]
cmp eax, dword [ecx + 0xe0]
jb 0x40456f
mov byte [ecx + 0xec], 1
cmp byte [ecx + 0xec], 0
je 0x404838
mov esi, dword [0x521720]
xor ebp, ebp
test esi, esi
je 0x404838
nop dword [eax]
cmp byte [esi + 0x11], 0
je 0x4045b8
cmp byte [esi + 0x10], 0
ja 0x4045b8
mov eax, dword [esi + 0xc]
cmp eax, dword [ecx + 0x2c]
jl 0x4045b8
call edx
mov ebx, eax
mov ecx, ebx
sub ecx, dword [esi + 8]
cmp ecx, dword [esi + 4]
jae 0x4045e2
mov ecx, dword [0x51b98c]
mov edi, dword [esi + 0x14]
mov edx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, edi
test edi, edi
jne 0x404590
test ebp, ebp
je 0x404838
lea ecx, [esp + 0x10]
call fcn.00404f20
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
test ebp, ebp
jne 0x40469b
mov edi, dword [0x51eabc]
mov ebp, 1
cmp byte [edi + 0x17], 0
jne 0x4045fe
mov edi, dword [edi + 0xc]
test byte [edi + 0x15], 8
je 0x40460b
mov ecx, edi
call fcn.00401490
mov al, byte [edi + 0x17]
cmp al, 1
jne 0x404623
test byte [edi + 0x15], 4
je 0x40461e
push edi
call fcn.0044e530
mov ecx, dword [edi + 8]
jmp 0x404671
cmp al, 2
jne 0x40466c
mov ecx, dword [0x5217d4]
test ecx, ecx
jne 0x404671
mov edi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 0xd
call edi
test eax, eax
jne 0x404654
push 0xf
call edi
test eax, eax
mov ecx, 0x4f03dc
mov eax, 0x4f03e8
cmove ecx, eax
jmp 0x404671
push 0
call fcn.004066a0
cmp eax, 0xffffffff
mov ecx, 0x4f03e8
cmovne ecx, dword [0x5217d0]
jmp 0x404671
mov ecx, 0x5203c8
push 0x7f
push ecx
lea eax, [esp + 0x18]
push eax
call fcn.004d95fc
inc dword [0x51eac0]
xor eax, eax
add esp, 0xc
mov word [esp + 0x10e], ax
add dword [0x51b98c], 0x108
cmp byte [esi + 0x12], 0
mov dword [esi + 8], ebx
je 0x4046ee
mov byte [esi + 0x11], 0
sub dword [0x52172c], 1
jne 0x4046ee
cmp dword [0x51eadc], 0
jne 0x4046ee
cmp dword [0x51f638], 0
jne 0x4046ee
cmp byte [0x51e996], 0
je 0x4046ee
push 9
push dword [0x51ead8]
call dword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x51e996]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov byte [0x51e996], cl
mov eax, dword [0x52318c]
mov dword [0x521784], ebx
mov edx, dword [esi]
test al, 1
jne 0x404715
push 0
or eax, 1
mov ecx, 0x523190
push 0
mov dword [0x52318c], eax
call fcn.0042c320
mov eax, dword [0x5212b8]
mov ecx, dword [edx]
cmp ecx, dword [eax]
je 0x404728
cmp ecx, dword [0x523190]
jne 0x404733
mov eax, dword [edx + 8]
test eax, eax
je 0x404733
mov al, byte [eax]
jmp 0x404735
xor al, al
mov ecx, dword [esi + 0xc]
xor dl, dl
push eax
push 0
call fcn.00404e10
mov eax, dword [0x51b98c]
add esp, 8
mov dword [eax + 0xc0], esi
inc byte [esi + 0x10]
mov ecx, dword [0x51d384]
cmp ecx, dword [0x51d388]
jne 0x40476c
call fcn.00406d30
mov ecx, dword [0x51d384]
cmp ecx, dword [0x51d380]
jb 0x404781
mov eax, dword [0x5212b4]
mov dword [ecx], eax
mov ecx, dword [0x51d384]
add ecx, 0xc
push 0
push 0
mov dword [0x51d384], 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.0049bbf0
sub dword [0x51d384], 0xc
add esp, 0x14
dec byte [esi + 0x10]
cmp byte [esi + 0x12], 0
mov edi, dword [esi + 0x14]
je 0x40481c
cmp byte [esi + 0x11], 0
jne 0x40481c
mov edx, dword [esi]
test edx, edx
je 0x40481c
mov eax, dword [0x52318c]
mov ecx, edx
test al, 1
jne 0x4047f9
push 0
or eax, 1
mov ecx, 0x523190
push 0
mov dword [0x52318c], eax
call fcn.0042c320
mov ecx, dword [esi]
mov eax, dword [0x5212b8]
mov edx, dword [edx]
cmp edx, dword [eax]
je 0x40481c
cmp edx, dword [0x523190]
je 0x40481c
test ecx, ecx
je 0x404816
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi], 0
cmp dword [esi], 0
jne 0x40482d
push 0
mov ecx, 0x520c68
call fcn.00433080
mov ecx, dword [0x51b98c]
jmp 0x4045bb
pop edi
xor al, al
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret