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

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx]
mov edx, dword [eax + 0x148]
push edi
push 0
push 0xffffffffffffffff
call edx
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx]
mov edx, dword [esi + 0x40]
mov eax, dword [eax + 0x148]
push 0
push edx
call eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.23b22a20
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
add eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x58]
sar eax, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x54]
push edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], ecx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
call dword [sym.imp.USER32.dll_PtInRect]
lea ecx, [esp + 0x14]
test eax, eax
jne 0x23b23017
lea ecx, [esp + 0x24]
mov edx, dword [ecx]
mov dword [esp + 0x40], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x44], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x48], edx
xor edx, edx
test eax, eax
setne dl
neg eax
sbb eax, eax
add eax, 5
mov dword [esp + 0x4c], ecx
push 0
mov ecx, esi
lea edx, [edx + edx - 1]
mov ebp, edx
mov dword [esi + 0x68], eax
mov dword [esi + 0x64], eax
call fcn.23afe9d0
mov eax, dword [esi]
mov edx, dword [eax + 0x16c]
push ebp
push 1
mov ecx, esi
call edx
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.23a3270a
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx + 0x20]
push 0
push 0x212
push 0x1b3
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x10], 1
call ebx
push 0
push 0
mov edi, eax
push 0
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
mov eax, dword [esp + 0x28]
cmp eax, 0x202
je 0x23b231c3
cmp eax, 0x200
jne 0x23b23115
mov eax, dword [esp + 0x30]
movzx ecx, ax
shr eax, 0x10
push eax
push ecx
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x64], eax
call dword [sym.imp.USER32.dll_PtInRect]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x10c]
mov ecx, esi
call eax
test eax, eax
je 0x23b231a3
call ebx
push 1
mov ecx, esi
mov edi, eax
call fcn.23afe9d0
jmp 0x23b231a3
cmp eax, 0x113
jne 0x23b23184
cmp dword [esp + 0x2c], 0x1b3
jne 0x23b23184
cmp dword [esi + 0x64], 0
je 0x23b2315c
call ebx
sub eax, edi
shr eax, 0xa
mov ecx, 1
cmp eax, 5
jb 0x23b23144
mov ecx, 0x14
jmp 0x23b2314e
cmp eax, 2
jb 0x23b2314e
mov ecx, 5
mov edx, dword [esi]
mov eax, dword [edx + 0x16c]
push ebp
push ecx
mov ecx, esi
call eax
cmp dword [esp + 0x10], 0
je 0x23b2317c
mov ecx, dword [esi + 0xc0]
mov edx, dword [ecx + 0x20]
push 0
push 0x64
push 0x1b3
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esp + 0x10], 0
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.23a3270a
cmp eax, dword [esi + 0xc0]
jne 0x23b231c3
push 0
push 0
push 0
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_GetMessageW]
mov eax, dword [esp + 0x28]
cmp eax, 0x202
jne 0x23b230c8
mov edx, dword [esi + 0xc0]
mov eax, dword [edx + 0x20]
push 0x1b3
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esi + 0x68], 0
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0
mov ecx, esi
call fcn.23afe9d0
mov ecx, dword [esi + 0xc0]
cmp dword [ecx + 0xbc], 5
pop edi
pop esi
pop ebp
pop ebx
je 0x23b23211
mov edx, dword [ecx]
mov eax, dword [edx + 0x140]
push 0
push 1
push 0
call eax
add esp, 0x40
ret 8