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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fa9b8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1013c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi + 0xc]
jne 0x1005e780
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x1005e78d
cmp dword [edi + 0xdc], 0xfffffffe
jne 0x1005e9fa
mov ecx, dword [ebp + 0x10]
movsx eax, cx
mov dword [ebp - 0x18], eax
shr ecx, 0x10
movsx eax, cx
mov ecx, edi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x29]
push 0
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 0x29], 0
push eax
call fcn.10059730
mov ebx, eax
mov eax, dword [edi + 0xdc]
cmp eax, 0xfffffffe
je 0x1005e801
cmp ebx, eax
jne 0x1005e7d0
mov cl, byte [ebp - 0x29]
cmp cl, byte [edi + 0xe0]
je 0x1005e801
test eax, eax
js 0x1005e7ef
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, edi
call fcn.10059640
push 1
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
push 0
push 0xffffffffffffffff
mov ecx, edi
call fcn.10059a50
jmp 0x1005e9fa
test ebx, ebx
js 0x1005e9fa
mov esi, dword [edi + 0xa0]
imul eax, ebx, 0x54
mov dword [ebp - 0x30], eax
add esi, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_ClientToScreen]
test byte [esi + 0x30], 1
je 0x1005e961
cmp byte [0x1014b628], 0
mov cl, byte [ebp - 0x29]
je 0x1005e85a
mov eax, dword [esi]
cmp eax, 9
je 0x1005e85a
cmp eax, 0xa
je 0x1005e85a
test cl, cl
je 0x1005e961
mov eax, dword [edi + 0xa0]
add eax, dword [ebp - 0x30]
test byte [eax + 0x31], 1
je 0x1005e8c8
test cl, cl
je 0x1005e9ea
cmp ebx, dword [edi + 0x4c]
je 0x1005e882
cmp ebx, dword [edi + 0x1c4]
jne 0x1005e94d
cmp dword [edi + 0x50], 0
je 0x1005e89c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x50]
cmp eax, 0x1f4
jle 0x1005e94d
mov ecx, edi
call fcn.1005a870
mov edx, edi
xor ecx, ecx
call fcn.1003e390
push 1
push 1
push ebx
mov ecx, edi
call fcn.10059a50
push 1
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x1005e9fa
cmp byte [0x1014b4d1], 0
je 0x1005e94d
cmp dword [eax], 9
jne 0x1005e94d
mov esi, dword [0x1014e914]
cmp dword [esi], 0
je 0x1005e94d
mov eax, dword [esi + 4]
cmp eax, 2
je 0x1005e8f8
cmp eax, 3
je 0x1005e8f8
cmp eax, 4
je 0x1005e8f8
cmp eax, 5
jne 0x1005e90b
push str.ProgramsStyle
push dword [esi]
call fcn.100dc721
add esp, 8
test eax, eax
je 0x1005e915
add esi, 0x60
cmp dword [esi], 0
jne 0x1005e8e1
jmp 0x1005e94d
push 0x10158d3c
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov esi, dword [esi + 0x40]
push 0x10158d3c
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
cmp esi, 1
jne 0x1005e94d
cmp dword [edi + 0x50], 0
je 0x1005e94d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x50]
cmp eax, 0x1f4
jl 0x1005e9fa
cmp ebx, dword [edi + 0x4c]
je 0x1005e9fa
push 0
push 0
push 1
jmp 0x1005e9f2
mov eax, dword [esi + 0x50]
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0x30], ecx
movzx ecx, ax
test eax, eax
js 0x1005e9a5
cmp byte [edi + 0x5d], 0
je 0x1005e9a5
mov eax, dword [0x1014c0bc]
mov edx, ecx
push 0xffffffffffffffff
lea ecx, [edx + edx*2]
cmp dword [eax + ecx*8], 4
setne al
movzx eax, al
push eax
push dword [ebp - 0x30]
push edx
call fcn.1003a590
add esp, 0x10
mov ecx, edi
call fcn.1005a8c0
jmp 0x1005e9fa
cmp dword [esi], 0x30
jne 0x1005e9ea
cmp dword [esi + 0x48], 4
jb 0x1005e9ea
cmp byte [edi + 0x5d], 0
je 0x1005e9ea
lea ecx, [ebp - 0x28]
call fcn.10023510
mov eax, ecx
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 0x25], 1
push eax
push 4
push ebx
mov ecx, edi
call fcn.10040810
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1005e9fa
push eax
call dword [sym.imp.SHELL32.dll_ILFree]
jmp 0x1005e9fa
push 0
lea eax, [ebp - 0x38]
push eax
push 4
push ebx
mov ecx, edi
call fcn.10040810
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d4906
mov esp, ebp
pop ebp
ret 0x10