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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov edi, eax
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
mov byte [eax], 0
xor edx, edx
push ebp
push 0x45f453
push dword fs:[edx]
mov dword fs:[edx], esp
cmp byte [edi + 0x3aa], 0
je 0x45f1a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45f45d
mov al, byte [edi + 0x3a8]
and al, 2
sub byte [edi + 0x3a8], al
push 1
xor eax, eax
mov al, byte [edi + 0x3a8]
push eax
push 0x37a
mov eax, dword [0x461198]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45f1ff
push 0x30
push 0x45f468
push 0x45f474
mov eax, edi
call fcn.004415c4
push eax
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45f45d
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
mov esi, eax
add esi, 0x3e8
jmp 0x45f287
mov eax, dword [0x4610d4]
mov eax, dword [eax]
call fcn.0045a8ec
push 1
lea eax, [ebp - 0xc]
push eax
push 0x379
mov eax, dword [0x460f60]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45f260
push 0x30
push 0x45f468
push 0x45f480
mov eax, edi
call fcn.004415c4
push eax
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45f45d
mov al, byte [ebp - 0xc]
mov byte [edi + 0x3a9], al
test al, 0x80
jne 0x45f271
mov bl, 1
jmp 0x45f290
cmp byte [edi + 0x3aa], 0
je 0x45f287
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45f45d
call sub.kernel32.dll_GetTickCount
cmp esi, eax
ja 0x45f210
test bl, bl
jne 0x45f2f2
push 1
lea eax, [ebp - 0xc]
push eax
push 0x379
mov eax, dword [0x460f60]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45f2d8
push 0x30
push 0x45f468
push 0x45f480
mov eax, edi
call fcn.004415c4
push eax
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45f45d
mov al, byte [ebp - 0xc]
mov byte [edi + 0x3a9], al
test al, 0x80
je 0x45f2f2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45f45d
mov al, byte [edi + 0x3a9]
and al, 8
cmp al, 8
sete al
xor ecx, ecx
mov edx, 1
call fcn.0045c64c
mov edx, dword [ebp - 4]
mov byte [edx], al
or byte [edi + 0x3a8], 2
push 1
xor eax, eax
mov al, byte [edi + 0x3a8]
push eax
push 0x37a
mov eax, dword [0x461198]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45f360
push 0x30
push 0x45f468
push 0x45f474
mov eax, edi
call fcn.004415c4
push eax
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45f45d
call sub.kernel32.dll_GetTickCount
mov esi, eax
add esi, 0x3e8
xor ebx, ebx
jmp 0x45f3e7
mov eax, dword [0x4610d4]
mov eax, dword [eax]
call fcn.0045a8ec
push 1
lea eax, [ebp - 0xc]
push eax
push 0x379
mov eax, dword [0x460f60]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45f3c1
push 0x30
push 0x45f468
push 0x45f480
mov eax, edi
call fcn.004415c4
push eax
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45f45d
mov al, byte [ebp - 0xc]
mov byte [edi + 0x3a9], al
and al, 0x80
cmp al, 0x80
jne 0x45f3d4
mov bl, 1
jmp 0x45f3f0
cmp byte [edi + 0x3aa], 0
je 0x45f3e7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45f45d
call sub.kernel32.dll_GetTickCount
cmp esi, eax
ja 0x45f371
test bl, bl
jne 0x45f446
push 1
lea eax, [ebp - 0xc]
push eax
push 0x379
mov eax, dword [0x460f60]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45f435
push 0x30
push 0x45f468
push 0x45f480
mov eax, edi
call fcn.004415c4
push eax
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45f45d
mov al, byte [ebp - 0xc]
mov byte [edi + 0x3a9], al
and al, 0x80
cmp al, 0x80
jne 0x45f446
mov bl, 1
mov byte [ebp - 5], bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45f45d
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret