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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
call fcn.004816b0
cmp eax, 1
jle 0x47e7df
mov ecx, edi
call fcn.00481697
cmp eax, 1
jle 0x47e7df
xor ebx, ebx
test edi, edi
jne 0x47e464
mov byte [ebp - 8], bl
jmp 0x47e46e
cmp dword [edi + 0x1ab4], ebx
setne byte [ebp - 8]
mov ecx, dword [edi + 0x4c]
lea eax, [ebp - 4]
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov ecx, dword [ecx]
push eax
call fcn.004db47d
mov ecx, edi
call fcn.004816b0
dec eax
push eax
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00476e0d
add esp, 0xc
mov ecx, edi
call fcn.00481697
dec eax
push eax
lea eax, [ebp - 2]
push ebx
push eax
call fcn.00476e0d
add esp, 0xc
lea eax, [ebp - 0x14]
mov ecx, edi
push dword [ebp - 4]
push eax
call fcn.0048013f
mov esi, 0x201
cmp dword [ebp + 8], esi
je 0x47e4d0
cmp dword [ebp + 8], 0x202
jne 0x47e4dd
mov ecx, edi
call fcn.00481d5b
mov cl, 1
test al, al
jne 0x47e4df
mov cl, bl
mov eax, dword [ebp + 8]
cmp eax, esi
jne 0x47e4ea
test cl, cl
je 0x47e51a
lea esi, [edi + 0x1ab4]
cmp eax, 0x203
jne 0x47e644
mov eax, dword [esi]
mov edx, eax
and edx, 0x300
mov dword [ebp + 0x14], eax
setne cl
bt eax, 0xa
setb al
test al, cl
je 0x47e5f7
test dword [edi + 0x1ab4], 0x400
mov byte [ebp + 0x17], bl
je 0x47e545
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
sub esi, dword [edi + 0x1ac8]
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
mov byte [ebp + 0xb], 1
cmp esi, eax
jbe 0x47e548
mov byte [ebp + 0xb], bl
mov eax, dword [edi + 0x1ab4]
test eax, 0x300
je 0x47e562
shr eax, 9
and al, 1
mov byte [ebp - 8], al
mov al, byte [ebp + 0x17]
jmp 0x47e594
mov ecx, dword [0x5a22a0]
push 1
call fcn.0041f0ec
test eax, eax
je 0x47e7df
mov ecx, dword [0x5a23ec]
shr eax, 9
and al, 1
mov byte [ebp - 8], al
movzx eax, al
push ebx
add eax, 0x7d7
push eax
call fcn.0045edf1
mov dl, byte [ebp + 0xb]
movzx eax, al
shl eax, 0x18
mov byte [edi + 0x1ab7], bl
or dword [edi + 0x1ab4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x10], eax
test dl, dl
je 0x47e5c9
xor eax, eax
mov word [ebp - 0x14], ax
mov ax, word [edi + 0x1afc]
dec ax
mov word [ebp + 0x10], ax
mov eax, dword [ebp - 0x14]
push ebx
xor esi, esi
lea ecx, [ebp + 0x10]
test dl, dl
cmove ecx, esi
push ecx
movzx ecx, dl
lea ecx, [ecx*2 + 0x201]
push ecx
push 1
push dword [ebp - 0x12]
mov ecx, edi
push eax
push dword [ebp - 8]
call fcn.00481008
mov al, 1
jmp 0x47e7e1
test edx, edx
je 0x47e7df
mov eax, dword [ebp - 0x14]
mov ecx, edi
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push 1
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0047a04b
push ebx
lea eax, [ebp + 8]
mov ecx, edi
push eax
mov eax, dword [ebp + 0x14]
push 0x203
push 1
push dword [ebp - 0x12]
shr eax, 9
push dword [ebp - 0x14]
and al, 1
movzx eax, al
push eax
call fcn.00481008
and dword [esi], 0xfffffff7
jmp 0x47e5f0
cmp eax, 0x200
jne 0x47e650
test byte [esi], 8
jne 0x47e6c1
cmp eax, 0x202
jne 0x47e758
mov ebx, esi
mov eax, dword [ebx]
and eax, 4
jne 0x47e66c
test cl, cl
je 0x47e7df
test cl, cl
je 0x47e680
test eax, eax
jne 0x47e680
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x1ac4], eax
test byte [ebx], 4
je 0x47e69d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
sub esi, dword [edi + 0x1ac4]
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
cmp esi, eax
jbe 0x47e6f2
test dword [ebx], 0x400
mov esi, ebx
je 0x47e6c1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
sub esi, dword [edi + 0x1ac8]
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
cmp esi, eax
mov esi, ebx
jbe 0x47e6f4
mov eax, dword [esi]
test eax, 0x400
je 0x47e6d3
and eax, 0xfffffbff
mov dword [esi], eax
jmp 0x47e6e3
push dword [ebp - 8]
mov ecx, edi
push dword [ebp - 0x12]
push dword [ebp - 0x14]
call fcn.00479b16
cmp dword [ebp + 8], 0x202
jne 0x47e5f0
jmp 0x47e6f4
mov esi, ebx
mov ecx, dword [esi]
and ecx, 0xfffffff7
mov dword [esi], ecx
mov eax, dword [0x5a23ec]
cmp byte [eax + 0x10fbc], 0
je 0x47e5f0
test ecx, 0x400
je 0x47e71d
mov ebx, dword [edi + 0x1ac8]
jmp 0x47e723
mov ebx, dword [edi + 0x1ac4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
sub esi, ebx
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
mov ecx, dword [edi + 0x4c]
cmp esi, eax
jbe 0x47e744
call fcn.00482fc9
jmp 0x47e5f0
push 1
call fcn.00496cea
lea ecx, [eax + 0xc]
call fcn.004d0a4d
jmp 0x47e5f0
mov ecx, 0x205
cmp eax, ecx
je 0x47e768
cmp eax, 0x208
jne 0x47e7df
mov edx, dword [edi + 0x1ab4]
test edx, 0x300
je 0x47e7df
cmp eax, ecx
mov eax, dword [0x5a23ec]
jne 0x47e787
mov cl, byte [eax + 0x10fcc]
jmp 0x47e78d
mov cl, byte [eax + 0x10fcd]
cmp cl, 3
jne 0x47e7c1
test dl, 8
jne 0x47e7b1
cmp byte [eax + 0x10fb6], 0
je 0x47e7c9
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
call fcn.00481d9d
test al, al
je 0x47e7c9
push 1
push 1
mov ecx, edi
call fcn.00478833
jmp 0x47e5f0
mov byte [ebp + 8], bl
cmp cl, 1
jne 0x47e7cd
mov byte [ebp + 8], 1
push ebx
push ebx
push ebx
push dword [ebp + 8]
mov ecx, edi
call fcn.004799b5
jmp 0x47e5f0
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10