Function at 0x1000a6e0
Capabilities:
Check for time delay via gettickcount
Check os version

Disassembly:
sub esp, 0xbc
push esi
lea eax, [esp + 0x2c]
push edi
push eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x34], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edi, dword [esp + 0x100]
cmp edi, 5
ja case.default.0x1000a713
jmp dword [edi*4 + 0x1000a9ac]
mov eax, dword [esp + 0x40]
push 0x10023648
sub eax, 2
push 2
neg eax
sbb eax, eax
push 0
and al, 0xbc
add eax, 0x46
push eax
call fcn.10010830
add esp, 0x10
mov dword [0x10023644], eax
test edi, edi
jne 0x1000a757
xor ecx, ecx
pop edi
test eax, eax
setne cl
mov eax, ecx
pop esi
add esp, 0xbc
ret
mov ecx, dword [esp + 0xd8]
test ecx, ecx
jne 0x1000a797
push 0x410
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea edx, [esp + 8]
mov esi, eax
push edx
push esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0x410
call fcn.10010ae0
mov eax, dword [0x10023644]
add esp, 8
mov dword [esp + 0xd8], esi
cmp edi, 2
jne 0x1000a7c4
push eax
mov eax, dword [esp + 0xfc]
push edi
push 0x401
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne case.0x1000a713.1
pop edi
xor eax, eax
pop esi
add esp, 0xbc
ret
cmp edi, 3
jne 0x1000a7ef
mov ecx, dword [esp + 0xfc]
push eax
push edi
push 1
push ecx
call dword [esp + 0x108]
test eax, eax
je case.0x1000a713.1
pop edi
xor eax, eax
pop esi
add esp, 0xbc
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp edi, 4
mov dword [esp + 0x10], eax
jne 0x1000a824
mov edx, dword [esp + 0xf8]
push edx
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenEventA]
test eax, eax
mov dword [esp + 8], eax
jne 0x1000a839
pop edi
pop esi
add esp, 0xbc
ret
push str.IMODTimerEventName
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esp + 8], eax
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push ebx
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
push ebp
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
lea eax, [esp + 0x28]
push 0
push eax
call esi
test eax, eax
je 0x1000a881
lea ecx, [esp + 0x1c]
push ecx
call ebx
lea edx, [esp + 0x1c]
push edx
call ebp
push 1
push 0
push 0
lea eax, [esp + 0x28]
push 0
push eax
call esi
test eax, eax
jne 0x1000a860
mov ecx, dword [esp + 0x10]
push 0x1f4
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp edi, 4
jne 0x1000a89c
test eax, eax
je 0x1000a8c4
jmp 0x1000a84d
cmp edi, 5
jne 0x1000a84d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
mov eax, dword [esp + 0x18]
sub edx, eax
mov eax, 0x10624dd3
mul edx
mov eax, dword [esp + 0x100]
shr edx, 6
cmp edx, eax
jb 0x1000a84d
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0xf0]
mov eax, dword [esp + 0xec]
push ecx
mov ecx, dword [esp + 0xec]
push edx
mov edx, dword [esp + 0xec]
push eax
mov eax, dword [esp + 0xec]
push ecx
mov ecx, dword [esp + 0xec]
push edx
mov edx, dword [esp + 0xec]
push eax
mov eax, dword [0x10023648]
push ecx
mov ecx, dword [0x10023644]
push edx
mov edx, dword [esp + 0xec]
push eax
mov eax, dword [esp + 0xec]
push ecx
push edx
push eax
call fcn.1000a9d0
mov esi, eax
mov eax, dword [esp + 0x3c]
add esp, 0x30
test eax, eax
je 0x1000a947
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [0x10023644]
test eax, eax
je 0x1000a961
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [0x10023644], 0
cmp edi, 2
jne 0x1000a987
mov ecx, dword [esp + 0xf8]
push 0
push edi
push 0x402
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, esi
pop edi
pop esi
add esp, 0xbc
ret
cmp edi, 3
jne 0x1000a9a0
mov edx, dword [esp + 0xfc]
push 0
push edi
push 2
push edx
call dword [esp + 0x108]
mov eax, esi
pop edi
pop esi
add esp, 0xbc
ret