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

Disassembly:
mov ecx, dword [edi + 0x100]
mov eax, dword [ecx]
mov edx, dword [eax + 0x148]
sub esp, 0x78
push ebx
push ebp
push esi
push 0
push 0xffffffffffffffff
call edx
mov ecx, dword [edi + 0x100]
mov eax, dword [ecx]
mov edx, dword [edi + 0x80]
mov eax, dword [eax + 0x148]
push 0
push edx
call eax
lea esi, [esp + 0x24]
mov eax, edi
call fcn.004ad060
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.004152b0
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
lea ecx, [esp + 0x54]
call fcn.00410170
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
lea ecx, [esp + 0x64]
call fcn.00410170
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.00415270
lea ecx, [esp + 0x44]
test eax, eax
jne 0x4ace38
lea ecx, [esp + 0x54]
mov edx, dword [ecx]
xor ebx, ebx
test eax, eax
setne bl
mov dword [esp + 0x34], edx
mov edx, dword [ecx + 4]
neg eax
mov dword [esp + 0x38], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
sbb eax, eax
add eax, 4
lea ebx, [ebx + ebx - 1]
push 0
mov esi, edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x18], ebx
mov dword [edi + 0xa8], eax
mov dword [edi + 0xa4], eax
call fcn.0048ec10
mov edx, dword [edi]
mov eax, dword [edx + 0x150]
push ebx
push 1
mov ecx, edi
call eax
mov eax, dword [edi + 0x100]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004dfd70
mov ecx, dword [edi + 0x100]
push 0
push 0x212
push 0x1b3
call fcn.0040fef0
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x10], 1
call ebp
push 0
push 0
push 0
lea edx, [esp + 0x70]
push edx
mov ebx, eax
call dword [sym.imp.USER32.dll_GetMessageW]
mov eax, dword [esp + 0x68]
cmp eax, 0x202
je 0x4ad006
cmp eax, 0x200
jne 0x4acf56
mov eax, dword [esp + 0x70]
mov ecx, eax
shr ecx, 0x10
movzx edx, ax
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.0040fcd0
mov ecx, dword [eax]
mov esi, dword [edi]
mov dword [esp + 0x88], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x8c], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x3c]
add esi, 0xfc
call fcn.00415270
push eax
mov eax, dword [esi]
mov ecx, edi
call eax
test eax, eax
je 0x4acfe6
call ebp
push 1
mov esi, edi
mov ebx, eax
call fcn.0048ec10
jmp 0x4acfe6
cmp eax, 0x113
jne 0x4acfc7
cmp dword [esp + 0x6c], 0x1b3
jne 0x4acfc7
cmp dword [edi + 0xa4], 0
je 0x4acfa4
call ebp
sub eax, ebx
shr eax, 0xa
mov ecx, 1
cmp eax, 5
jb 0x4acf88
mov ecx, 0x14
jmp 0x4acf92
cmp eax, 2
jb 0x4acf92
mov ecx, 5
mov eax, dword [esp + 0x14]
mov edx, dword [edi]
mov edx, dword [edx + 0x150]
push eax
push ecx
mov ecx, edi
call edx
cmp dword [esp + 0x10], 0
je 0x4acfbf
mov ecx, dword [edi + 0x100]
push 0
push 0x64
push 0x1b3
call fcn.0040fef0
mov dword [esp + 0x10], 0
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004dfd70
cmp eax, dword [edi + 0x100]
jne 0x4ad006
push 0
push 0
push 0
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.USER32.dll_GetMessageW]
mov eax, dword [esp + 0x68]
cmp eax, 0x202
jne 0x4aceec
mov ecx, dword [edi + 0x100]
push 0x1b3
call fcn.0040fed0
mov dword [edi + 0xa8], 0
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0
mov esi, edi
call fcn.0048ec10
mov ecx, dword [edi + 0x100]
cmp dword [ecx + 0x100], 5
je 0x4ad04e
mov edx, dword [ecx]
mov eax, dword [edx + 0x140]
push 0
push 1
push 0
call eax
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 8