Function at 0x421d5c
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 0x421fe6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x18
call fcn.004043cc
mov eax, 0x421ffc
call fcn.00416a40
mov byte [ebp - 5], 0
xor ecx, ecx
mov edx, 0x42205c
mov eax, dword [ebp - 4]
call fcn.00422548
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 0x421d1c
xor ecx, ecx
mov dl, 1
mov eax, dword [0x421948]
call fcn.00422120
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 0x421edb
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 0x421edb
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
jne 0x421e4c
cmp dword [eax + 0x10], 0
jbe 0x421e6c
jmp 0x421e4e
jle 0x421e6c
mov eax, dword [ebp - 4]
fild qword [eax + 8]
mov eax, dword [ebp - 4]
fild qword [eax + 0x10]
fdivp st(1)
fmul dword [0x422078]
call fcn.00402dec
mov dword [ebp - 0xc], eax
jmp 0x421e71
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 0x422084
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.0040a680
push dword [ebp - 0x2c]
push 0x4220a0
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.00422548
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jle 0x421edb
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1c], 0
jne 0x421e0d
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, 0x4220b4
call fcn.004046e8
mov eax, dword [ebp - 0x30]
call fcn.00416a40
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0
jne 0x421f26
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.0040b214
test al, al
jne 0x421f41
mov ecx, 0x4220d4
mov dl, 1
mov eax, dword [0x409ef8]
call fcn.0040c05c
call fcn.00403dac
jmp 0x421fc3
mov ecx, 0x64
mov edx, 0x422104
mov eax, dword [ebp - 4]
call fcn.00422548
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 [0x4208a0]
call fcn.00420a50
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x421fbc
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00420ad0
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 0x421fc3
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 0x421fed
lea eax, [ebp - 0x34]
mov edx, 5
call fcn.004043f0
lea eax, [ebp - 0x1c]
call fcn.004043cc
ret