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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, eax
lea ebp, [esp + 4]
mov byte [esp], 0
push 1
push 0x15
push 0x378
mov eax, dword [0x461198]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45f4d7
push 0x30
push 0x45f800
push 0x45f80c
mov eax, edi
call fcn.004415c4
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x45f7f2
xor eax, eax
mov dword [esp + 8], eax
cmp dword [esp + 8], 8
jae 0x45f7e7
cmp byte [edi + 0x3aa], 0
jne 0x45f7e7
mov edx, 0x45f820
mov eax, dword [edi + 0x3a0]
call fcn.0043ae0c
mov eax, dword [edi + 0x3a0]
call fcn.0043b318
mov eax, dword [0x4610d4]
mov eax, dword [eax]
call fcn.0045a8ec
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 0x45f56b
push 0x30
push 0x45f800
push 0x45f80c
mov eax, edi
call fcn.004415c4
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x45f7f2
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
mov esi, eax
add esi, 0xa
jmp 0x45f5cf
mov eax, dword [0x4610d4]
mov eax, dword [eax]
call fcn.0045a8ec
push 1
push ebp
push 0x379
mov eax, dword [0x460f60]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45f5be
push 0x30
push 0x45f800
push 0x45f838
mov eax, edi
call fcn.004415c4
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x45f7f2
mov al, byte [ebp]
mov byte [edi + 0x3a9], al
test al, 0x80
jne 0x45f5cf
mov bl, 1
jmp 0x45f5d8
call sub.kernel32.dll_GetTickCount
cmp esi, eax
ja 0x45f579
test bl, bl
jne 0x45f680
push 1
push ebp
push 0x379
mov eax, dword [0x460f60]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45f619
push 0x30
push 0x45f800
push 0x45f838
mov eax, edi
call fcn.004415c4
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x45f7f2
mov al, byte [ebp]
mov byte [edi + 0x3a9], al
test al, 0x80
je 0x45f680
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 0x45f66e
push 0x30
push 0x45f800
push 0x45f80c
mov eax, edi
call fcn.004415c4
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x45f7f2
push 0x32
call sub.kernel32.dll_Sleep_1
xor eax, eax
mov dword [esp + 8], eax
jmp 0x45f7dc
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 0x45f6c8
push 0x30
push 0x45f800
push 0x45f80c
mov eax, edi
call fcn.004415c4
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x45f7f2
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
mov esi, eax
add esi, 0xa
jmp 0x45f72e
mov eax, dword [0x4610d4]
mov eax, dword [eax]
call fcn.0045a8ec
push 1
push ebp
push 0x379
mov eax, dword [0x460f60]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45f71b
push 0x30
push 0x45f800
push 0x45f838
mov eax, edi
call fcn.004415c4
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x45f7f2
mov al, byte [ebp]
mov byte [edi + 0x3a9], al
and al, 0x80
cmp al, 0x80
jne 0x45f72e
mov bl, 1
jmp 0x45f737
call sub.kernel32.dll_GetTickCount
cmp esi, eax
ja 0x45f6d6
test bl, bl
jne 0x45f7d8
push 1
push ebp
push 0x379
mov eax, dword [0x460f60]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45f775
push 0x30
push 0x45f800
push 0x45f838
mov eax, edi
call fcn.004415c4
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x45f7f2
mov al, byte [ebp]
mov byte [edi + 0x3a9], al
and al, 0x80
cmp al, 0x80
je 0x45f7d8
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 0x45f7c9
push 0x30
push 0x45f800
push 0x45f80c
mov eax, edi
call fcn.004415c4
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x45f7f2
push 0x32
call sub.kernel32.dll_Sleep_1
xor eax, eax
mov dword [esp + 8], eax
jmp 0x45f7dc
inc dword [esp + 8]
cmp dword [esp + 8], 8
jb 0x45f4e8
cmp dword [esp + 8], 8
jne 0x45f7f2
mov byte [esp], 1
mov al, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret