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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x44], ecx
mov byte [ebp - 0x40], 0xfc
mov byte [ebp - 0x3f], 0xcf
mov byte [ebp - 0x3e], 0x55
mov byte [ebp - 0x3d], 3
mov byte [ebp - 0x3c], 0
mov byte [ebp - 0x3b], 0xc
xor eax, eax
mov dword [ebp - 0x3a], eax
mov dword [ebp - 0x36], eax
mov dword [ebp - 0x32], eax
mov word [ebp - 0x2e], ax
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x17], ecx
mov dword [ebp - 0x13], ecx
mov dword [ebp - 0xf], ecx
mov dword [ebp - 0xb], ecx
mov word [ebp - 7], cx
mov byte [ebp - 5], cl
mov byte [ebp - 0x20], 0
mov edx, dword [ebp + 8]
shr edx, 0x18
mov byte [ebp - 0x3a], dl
mov eax, dword [ebp + 8]
shr eax, 0x10
mov byte [ebp - 0x39], al
mov ecx, dword [ebp + 8]
shr ecx, 8
mov byte [ebp - 0x38], cl
mov dl, byte [ebp + 8]
mov byte [ebp - 0x37], dl
mov eax, dword [ebp + 0xc]
shr eax, 0x18
mov byte [ebp - 0x36], al
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
mov byte [ebp - 0x35], cl
mov edx, dword [ebp + 0xc]
shr edx, 8
mov byte [ebp - 0x34], dl
mov al, byte [ebp + 0xc]
mov byte [ebp - 0x33], al
mov ecx, dword [ebp + 0x10]
shr ecx, 0x18
mov byte [ebp - 0x32], cl
mov edx, dword [ebp + 0x10]
shr edx, 0x10
mov byte [ebp - 0x31], dl
mov eax, dword [ebp + 0x10]
shr eax, 8
mov byte [ebp - 0x30], al
mov cl, byte [ebp + 0x10]
mov byte [ebp - 0x2f], cl
mov byte [ebp - 0x2e], 0xcf
mov byte [ebp - 0x2d], 0xfc
mov byte [ebp - 0x2c], 0x14
mov edx, dword [ebp - 0x2c]
and edx, 0xff
push edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x44]
call fcn.0041e3eb
and eax, 0xff
test eax, eax
jne 0x420359
xor al, al
jmp 0x4204d4
mov byte [ebp - 0x28], 0
mov word [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
mov ecx, 1
test ecx, ecx
je 0x4203e2
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x1c]
cmp edx, 0x3e8
jb 0x42039b
xor al, al
jmp 0x4204d4
push 1
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x44]
call fcn.0041e45f
and eax, 0xff
test eax, eax
jne 0x4203b4
jmp 0x42036c
mov ecx, dword [ebp - 4]
and ecx, 0xffff
shl ecx, 8
mov edx, dword [ebp - 0x20]
and edx, 0xff
or ecx, edx
mov word [ebp - 4], cx
mov eax, dword [ebp - 4]
and eax, 0xffff
cmp eax, 0xfccf
jne 0x4203e0
jmp 0x4203e2
jmp 0x42036c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
mov ecx, 1
test ecx, ecx
je 0x420493
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x1c]
cmp edx, 0x3e8
jbe 0x42041e
xor al, al
jmp 0x4204d4
push 1
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x44]
call fcn.0041e45f
and eax, 0xff
test eax, eax
jne 0x420437
jmp 0x4203eb
mov ecx, dword [ebp - 0x28]
and ecx, 0xff
mov dl, byte [ebp - 0x20]
mov byte [ebp + ecx - 0x18], dl
mov al, byte [ebp - 0x28]
add al, 1
mov byte [ebp - 0x28], al
mov ecx, dword [ebp - 0x28]
and ecx, 0xff
cmp ecx, 0x14
jl 0x420461
xor al, al
jmp 0x4204d4
mov edx, dword [ebp - 4]
and edx, 0xffff
shl edx, 8
mov eax, dword [ebp - 0x20]
and eax, 0xff
or edx, eax
mov word [ebp - 4], dx
mov ecx, dword [ebp - 4]
and ecx, 0xffff
cmp ecx, 0xcffc
jne 0x42048e
jmp 0x420493
jmp 0x4203eb
mov edx, dword [ebp - 0x18]
and edx, 0xff
cmp edx, 0x80
jne 0x4204b1
mov eax, dword [ebp - 0x17]
and eax, 0xff
cmp eax, 1
je 0x4204b5
xor al, al
jmp 0x4204d4
mov ecx, dword [ebp - 0x16]
and ecx, 0xff
test ecx, ecx
je 0x4204d2
mov dl, byte [ebp - 0x16]
push edx
mov ecx, dword [ebp - 0x44]
call fcn.0041fb94
xor al, al
jmp 0x4204d4
mov al, 1
mov esp, ebp
pop ebp
ret 0xc