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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7ebb
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x524ee0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
push 0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x54], eax
call fcn.00444480
mov dword [ebp - 4], 0
call fcn.00418970
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
test al, al
jne 0x4169fe
call edi
mov dword [0x526340], eax
push str.success
lea ecx, [ebp - 0x74]
call fcn.00444440
lea eax, [ebp - 0x74]
push eax
push 0x4dfc64
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.00444920
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0
call fcn.00444690
mov esi, dword [0x526340]
mov byte [ebp - 4], 2
lea ecx, [esi + 1]
lea eax, [esi + 2]
imul eax, ecx
imul eax, esi
cdq
mov ecx, 0x18
idiv ecx
lea ebx, [ecx - 0x17]
cmp edx, 0x15
jne 0x416a67
test esi, esi
cmove esi, ebx
mov dword [0x526340], esi
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x6c], 8
mov dword [ebp - 0x68], 0
call dword [sym.imp.USER32.dll_GetLastInputInfo]
test eax, eax
jne 0x416b3b
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x50]
push str.getLastActiveTime_GetLastInputInfo__d
push eax
call fcn.00406040
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00451390
add esp, 8
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.004443a0
push 0x4dfc64
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 5
call fcn.00444920
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.00444690
cmp dword [ebp - 0x18], 0x10
jb 0x416b0f
push dword [ebp - 0x2c]
call fcn.004a831e
add esp, 4
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
or edi, 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x416b32
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
jmp 0x416c23
call edi
sub eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x64]
push eax
call fcn.004443e0
push str.lastactive
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 6
call fcn.00444920
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.00444690
mov ecx, dword [0x526340]
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, 0xe
idiv ecx
cmp edx, 0xa
jne 0x416c19
call edi
xor edx, edx
mov ecx, 0x50
div ecx
inc edx
mov dword [0x526340], edx
jmp 0x416c19
or edi, 0xffffffff
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.004465d0
mov esi, dword [0x526340]
mov ecx, 0x16
lea eax, [esi + 1]
imul eax, esi
cdq
idiv ecx
mov byte [ebp - 4], 0xb
cmp edx, 0x12
jne 0x416c53
test esi, esi
cmove esi, ebx
mov dword [0x526340], esi
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xc
call fcn.00449500
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 0xd
jb 0x416c8b
mov edx, dword [edx]
sub esp, 0x18
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [edx], 0
jne 0x416caa
xor ecx, ecx
jmp 0x416cb9
mov ecx, edx
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416cb0
sub ecx, ebx
push ecx
push edx
mov ecx, esi
call fcn.00401460
lea eax, [ebp - 0x78]
push eax
call fcn.004512c0
add esp, 0x1c
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xe
call fcn.00402ab0
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xd
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416cfb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x18], 0x10
mov byte [ebp - 4], 0xc
jb 0x416d10
push dword [ebp - 0x2c]
call fcn.004a831e
add esp, 4
mov ebx, dword [ebp - 0x54]
mov eax, 8
mov word [ebx], ax
call fcn.00418800
test al, al
jne 0x416d65
mov esi, dword [0x526340]
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x141]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a7aa0
push eax
call fcn.004a98f0
add esp, 8
mov esi, dword [ebp - 0x50]
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x416d7b
call fcn.00409970
add esi, 0xfffffff0
mov dword [ebx + 8], eax
mov byte [ebp - 4], 0xb
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x416d99
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 4], 0
mov dword [ebp - 0x4c], 0x4dfc5c
jb 0x416db5
push dword [ebp - 0x48]
call fcn.004a831e
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.004466d0
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0xffffffff
call fcn.00444690
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a8b24
mov esp, ebp
pop ebp
ret