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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [ebp + 8]
test byte [0x6dea0150], 8
jne 0x6de9d918
lea esi, [ebx + 0x20]
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x38]
sub esp, 4
mov edi, dword [eax + 0x20]
lea ecx, [edi + 1]
mov dword [eax + 0x20], ecx
mov eax, dword [ebp + 0xc]
sub eax, 0x200
cmp eax, 0xc
ja case.0x6de9d90d.515
jmp dword [eax*4 + 0x6dea8058]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.iface__p__msg__Ix__x__ld__y__ld_n
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], str.dinput_mouse_hook
mov dword [esp + 0x14], eax
mov dword [esp + 4], 0x6dea0150
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x6de9d8e5
xor edi, edi
xor ecx, ecx
lea esi, [esi]
test byte [0x6dea0150], 8
jne 0x6de9dac8
test ecx, ecx
je 0x6de9d98c
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x6de9d98c
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SetEvent]
sub esp, 4
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, edi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x20]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetCursorPos]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebx + 0x525]
sub esp, 4
mov eax, dword [eax]
sub eax, dword [ebp - 0x20]
add edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], edx
mov dword [ebx + 0x525], edx
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx + 4]
mov edx, dword [ebx + 0x529]
sub ecx, dword [ebp - 0x1c]
add edx, ecx
test byte [ebx + 0x50c], 1
mov dword [ebp - 0x1c], ecx
mov dword [ebx + 0x529], edx
cmove edx, ecx
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x2c]
cmove edx, eax
test eax, eax
mov eax, dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x34], eax
jne 0x6de9dd00
test ecx, ecx
je 0x6de9da74
mov eax, dword [ebp - 0x34]
call eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], ebx
call sym._queue_event
mov eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x1c]
je 0x6de9dd37
mov eax, dword [ebx + 0x94c]
cmp eax, 2
je 0x6de9da65
mov ecx, 1
cmp eax, 1
je 0x6de9da74
test byte [ebx + 0x4c0], 1
je 0x6de9da74
mov dword [ebx + 0x944], 1
mov ecx, 1
xor edi, edi
jmp 0x6de9d968
mov byte [ebx + 0x531], 0x80
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 3
xor edi, edi
mov dword [esp], ebx
call sym._queue_event
mov ecx, 1
test byte [0x6dea0150], 8
je 0x6de9d975
lea esi, [esi]
mov eax, dword [ebx + 0x52d]
mov dword [ebp - 0x2c], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x529]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x525]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx + 0x535]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 0x534]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0x533]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 0x532]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 0x531]
mov dword [esp + 0xc], str.buttons__02x__02x__02x__02x__02x__x__ld__y__ld__w__ld_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.dinput_mouse_hook
mov dword [esp + 4], 0x6dea0150
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
mov ecx, dword [ebp - 0x2c]
jmp 0x6de9d975
mov byte [ebx + 0x531], 0
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
jmp 0x6de9da9d
mov byte [ebx + 0x532], 0x80
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 4
xor edi, edi
mov dword [esp], ebx
call sym._queue_event
mov ecx, 1
jmp 0x6de9d968
mov byte [ebx + 0x532], 0
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
jmp 0x6de9db95
mov byte [ebx + 0x533], 0x80
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 5
xor edi, edi
mov dword [esp], ebx
call sym._queue_event
mov ecx, 1
jmp 0x6de9d968
mov byte [ebx + 0x533], 0
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
jmp 0x6de9dbfd
mov eax, dword [ebp + 0x10]
movsx eax, word [eax + 0xa]
add dword [ebx + 0x52d], eax
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x52d]
mov dword [esp + 4], 2
mov dword [esp + 8], eax
mov dword [esp], ebx
call sym._queue_event
mov edi, dword [ebx + 0x940]
xor ecx, ecx
jmp 0x6de9d968
mov eax, dword [ebp + 0x10]
movzx eax, word [eax + 0xa]
mov byte [ebx + eax + 0x533], 0x80
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], pe_nt_image_headers32
mov eax, dword [ebp + 0x10]
xor edi, edi
movzx eax, word [eax + 0xa]
mov dword [esp], ebx
add eax, 5
mov dword [esp + 4], eax
call sym._queue_event
mov ecx, 1
jmp 0x6de9d968
mov eax, dword [ebp + 0x10]
movzx eax, word [eax + 0xa]
mov byte [ebx + eax + 0x533], 0
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
jmp 0x6de9dcad
call eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], ebx
call sym._queue_event
mov edx, dword [ebp - 0x1c]
test edx, edx
jne 0x6de9da17
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x6de9da47
mov ecx, 1
xor edi, edi
jmp 0x6de9d968