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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5290
push 0x4d8014
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x1c], esi
mov eax, dword [ebx + 0x98]
lea eax, [ebx + eax*4 + 0x28]
cmp dword [eax], esi
je 0x4a20ba
mov dword [ebp - 4], esi
mov dword [eax], esi
mov dword [ebx + 0xa0], 0xffffffff
mov ecx, ebx
call fcn.004a1250
mov eax, dword [ebp + 0x14]
movsx ecx, ax
mov dword [ebp - 0x40], ecx
shr eax, 0x10
movsx eax, ax
mov dword [ebp - 0x3c], eax
mov edx, dword [ebx + 0x98]
mov dword [ebx + edx*8 + 0x64], ecx
mov dword [ebx + edx*8 + 0x68], eax
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov eax, dword [ebx + 0x98]
lea edx, [ebx + eax*2]
mov byte [eax + edx + 0x11], cl
mov eax, dword [ebx + 0x98]
mov edx, dword [ebx + eax*4 + 0x80]
cmp dword [ebx + eax*4 + 0x8c], edx
je 0x4a1dec
lea eax, [eax + eax*2]
add edx, eax
add eax, ecx
mov dl, byte [edx + ebx + 8]
mov byte [eax + ebx + 0x11], dl
inc ecx
mov dword [ebp - 0x38], ecx
mov eax, dword [ebx + 0x98]
lea edx, [ecx + eax*2]
add eax, edx
mov byte [eax + ebx + 0x11], 0
mov eax, dword [ebx + 0x98]
lea edi, [ebx + eax*4 + 0x80]
mov eax, dword [edi]
inc eax
cdq
mov esi, 3
idiv esi
mov dword [edi], edx
jmp 0x4a1d97
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x2c], cl
xor esi, esi
mov dword [ebp - 0x38], esi
cmp esi, 3
jge 0x4a1e93
lea edx, [ebx + esi*2]
lea edx, [esi + edx + 0x11]
mov dword [ebp - 0x4c], edx
test edx, edx
je 0x4a1e8d
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4a1e8d
lea edi, [ebp - 0x34]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4a1e5c
lea edx, [ebp - 0x34]
mov edi, 0x50fba8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x4c]
lea esi, [ebp - 0x34]
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, esi
mov esi, edi
mov edx, ecx
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x38]
inc esi
jmp 0x4a1df9
test esi, esi
jg 0x4a1eb3
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x4a2025
mov dword [ebp - 0x44], 1
mov eax, dword [ebx + 0x98]
lea ecx, [ebx + eax*2]
lea ecx, [eax + ecx + 0x11]
mov edi, 0x50a838
mov esi, ecx
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x4a1f00
test al, al
je 0x4a1efc
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x4a1f00
add esi, 2
add edi, 2
test al, al
jne 0x4a1edc
xor eax, eax
jmp 0x4a1f05
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a1fbe
mov edi, 0x50a814
mov esi, ecx
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x4a1f38
test al, al
je 0x4a1f34
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x4a1f38
add esi, 2
add edi, 2
test al, al
jne 0x4a1f14
xor eax, eax
jmp 0x4a1f3d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a1fbe
mov edi, 0x50a83c
mov esi, ecx
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x4a1f6c
test al, al
je 0x4a1f68
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x4a1f6c
add esi, 2
add edi, 2
test al, al
jne 0x4a1f48
xor eax, eax
jmp 0x4a1f71
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a1fb2
mov edi, 0x50a810
mov esi, ecx
mov cl, byte [esi]
mov al, cl
cmp cl, byte [edi]
jne 0x4a1fa0
test al, al
je 0x4a1f9c
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x4a1fa0
add esi, 2
add edi, 2
test al, al
jne 0x4a1f7c
xor eax, eax
jmp 0x4a1fa5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a1fb2
mov dword [ebp - 0x44], 0
jmp 0x4a1fc8
mov dword [ebx + 0xb8], 1
jmp 0x4a1fc8
mov dword [ebx + 0xb8], 0
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4a2025
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, eax
sub ecx, dword [ebx + 0xc8]
mov dword [ebx + 0xc8], ecx
mov eax, dword [ebx + 0xbc]
lea eax, [eax + eax*4]
jne 0x4a1ff4
shl eax, 1
jmp 0x4a1ffa
shl eax, 1
xor edx, edx
div ecx
mov dword [ebx + 0xcc], eax
call esi
sub eax, dword [ebx + 0xc0]
mov dword [ebx + 0xc4], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4a2025
push 0
push 0xa
push 0x5001
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [ebx + 0xe0]
cmp eax, 3
je 0x4a2035
cmp eax, 2
jne 0x4a2088
xor esi, esi
mov dword [ebx + 0xb4], esi
mov dword [ebx + 0xe0], esi
mov ecx, dword [ebx + 4]
cmp dword [ecx + 0x2c], esi
je 0x4a2088
call fcn.0045caf0
test eax, eax
jne 0x4a205a
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [ebx + 0xd4]
mov ecx, dword [ebx + 0xd0]
push esi
mov edx, dword [ebx + 0xdc]
sub edx, eax
push edx
mov edx, dword [ebx + 0xd8]
sub edx, ecx
push edx
push eax
push ecx
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10