Function at 0x45e800
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], ecx
mov ebx, edx
mov edi, eax
mov byte [ebp - 5], 0
xor edx, edx
push ebp
push 0x45ebfc
push dword fs:[edx]
mov dword fs:[edx], esp
cmp byte [edi + 0x3aa], 0
je 0x45e838
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45ec06
push 1
xor eax, eax
mov al, bl
push eax
push 0x378
mov eax, dword [0x461198]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45e87d
push 0x30
push 0x45ec14
push 0x45ec20
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 0x45ec06
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 0x45e8d4
push 0x30
push 0x45ec14
push 0x45ec20
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 0x45ec06
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
mov esi, eax
add esi, 0x3e8
jmp 0x45e95c
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 0x45e935
push 0x30
push 0x45ec14
push 0x45ec2c
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 0x45ec06
mov al, byte [ebp - 0xc]
mov byte [edi + 0x3a9], al
test al, 0x80
jne 0x45e946
mov bl, 1
jmp 0x45e965
cmp byte [edi + 0x3aa], 0
je 0x45e95c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45ec06
call sub.kernel32.dll_GetTickCount
cmp esi, eax
ja 0x45e8e5
test bl, bl
jne 0x45e9c7
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 0x45e9ad
push 0x30
push 0x45ec14
push 0x45ec2c
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 0x45ec06
mov al, byte [ebp - 0xc]
mov byte [edi + 0x3a9], al
test al, 0x80
je 0x45e9c7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45ec06
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 0x45ea17
push 0x30
push 0x45ec14
push 0x45ec20
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 0x45ec06
cmp byte [ebp + 8], 0
je 0x45ea62
push 1
push 0xff
push 0x378
mov eax, dword [0x461198]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45ea62
push 0x30
push 0x45ec14
push 0x45ec20
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 0x45ec06
call sub.kernel32.dll_GetTickCount
mov esi, eax
add esi, dword [ebp - 4]
xor ebx, ebx
jmp 0x45eb31
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 0x45eac3
push 0x30
push 0x45ec14
push 0x45ec2c
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 0x45ec06
mov al, byte [ebp - 0xc]
mov byte [edi + 0x3a9], al
and al, 0x80
cmp al, 0x80
jne 0x45eb1b
push 1
push 0xff
push 0x378
mov eax, dword [0x461198]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45eb17
push 0x30
push 0x45ec14
push 0x45ec20
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 0x45ec06
mov bl, 1
jmp 0x45eb3e
cmp byte [edi + 0x3aa], 0
je 0x45eb31
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45ec06
call sub.kernel32.dll_GetTickCount
cmp esi, eax
ja 0x45ea73
test bl, bl
jne 0x45ebef
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 0x45eb87
push 0x30
push 0x45ec14
push 0x45ec2c
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 0x45ec06
mov al, byte [ebp - 0xc]
mov byte [edi + 0x3a9], al
and al, 0x80
cmp al, 0x80
jne 0x45ebdc
push 1
push 0xff
push 0x378
mov eax, dword [0x461198]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45ebd8
push 0x30
push 0x45ec14
push 0x45ec20
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 0x45ec06
mov bl, 1
jmp 0x45ebef
cmp byte [edi + 0x3aa], 0
je 0x45ebef
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45ec06
mov byte [ebp - 5], bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45ec06
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4