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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x422156
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x18
call fcn.004043cc
mov eax, 0x42216c
call fcn.00416bb0
mov byte [ebp - 5], 0
xor ecx, ecx
mov edx, 0x4221cc
mov eax, dword [ebp - 4]
call fcn.004226b8
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0040b758
mov dl, 1
mov eax, dword [ebp - 0x24]
call fcn.00414818
mov eax, dword [ebp - 4]
mov byte [eax + 0x1c], 1
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
push eax
push 0x421e8c
xor ecx, ecx
mov dl, 1
mov eax, dword [0x421ab8]
call fcn.00422290
mov dword [ebp - 0x14], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.0040497c
mov dword [ebp - 0x10], 1
jmp 0x42204b
push 1
call sub.kernel32.dll_Sleep
mov eax, dword [0x424e7c]
mov eax, dword [eax]
call fcn.0040f5c4
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x18]
cmp eax, 0x1f4
jbe 0x42204b
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
jne 0x421fbc
cmp dword [eax + 0x10], 0
jbe 0x421fdc
jmp 0x421fbe
jle 0x421fdc
mov eax, dword [ebp - 4]
fild qword [eax + 8]
mov eax, dword [ebp - 4]
fild qword [eax + 0x10]
fdivp st(1)
fmul dword [0x4221e8]
call fcn.00402dec
mov dword [ebp - 0xc], eax
jmp 0x421fe1
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
call fcn.0040489c
mov cl, 0x20
mov edx, 3
call fcn.004032a4
mov eax, dword [ebp - 0x1c]
call fcn.0040489c
mov cl, 0x2e
mov edx, dword [ebp - 0x10]
call fcn.004032a4
push 0x4221f4
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.0040a680
push dword [ebp - 0x2c]
push 0x422210
push dword [ebp - 0x1c]
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.0040475c
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004226b8
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jle 0x42204b
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1c], 0
jne 0x421f7d
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.0040a680
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 0x422224
call fcn.004046e8
mov eax, dword [ebp - 0x30]
call fcn.00416bb0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0
jne 0x422096
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.0040b214
test al, al
jne 0x4220b1
mov ecx, 0x422244
mov dl, 1
mov eax, dword [0x409ef8]
call fcn.0040c05c
call fcn.00403dac
jmp 0x422133
mov ecx, 0x64
mov edx, 0x422274
mov eax, dword [ebp - 4]
call fcn.004226b8
mov eax, dword [0x424e7c]
mov eax, dword [eax]
call fcn.0040f5c4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
mov dl, 1
mov eax, dword [0x420a10]
call fcn.00420bc0
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x42212c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00420c40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0040b214
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422133
mov eax, dword [ebp - 0x20]
call fcn.00403674
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.0040b318
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42215d
lea eax, [ebp - 0x34]
mov edx, 5
call fcn.004043f0
lea eax, [ebp - 0x1c]
call fcn.004043cc
ret