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

Disassembly:
push ebp
mov ebp, esp
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101fa2f8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa57c]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb120]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb2bc]
movss dword [esp], xmm0
mov eax, dword [ebp + 0xc]
sub eax, 0xf
cvtsi2ss xmm0, eax
push ecx
movss dword [esp], xmm0
mov ecx, dword [ebp + 8]
sub ecx, 8
cvtsi2ss xmm0, ecx
push ecx
movss dword [esp], xmm0
push 0xf069
mov edx, 0x637c60
call edx
add esp, 0x30
cmp dword [0x1020ef14], 0
jne 0x1004fff1
push 0xb
push 0xb
mov eax, dword [ebp + 0xc]
sub eax, 0xf
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x42
push ecx
mov edx, 0x790b10
call edx
add esp, 0x10
movzx eax, al
test eax, eax
je 0x1004ff5c
push 1
mov ecx, 0x791070
call ecx
add esp, 4
test eax, eax
je 0x1004fec7
movzx edx, byte [0x8793386]
test edx, edx
je 0x1004fec7
mov eax, 0x83c080
call eax
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101fa270]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa288]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa3c8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa494]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb0e8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb0e8]
movss dword [esp], xmm0
mov ecx, dword [ebp + 0xc]
sub ecx, 0xf
cvtsi2ss xmm0, ecx
push ecx
movss dword [esp], xmm0
mov edx, dword [ebp + 8]
add edx, 0x42
cvtsi2ss xmm0, edx
push ecx
movss dword [esp], xmm0
push 0xf069
mov eax, 0x637c60
call eax
add esp, 0x30
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1020ef18]
add ecx, 0xc8
cmp eax, ecx
jb 0x1004fec2
mov dword [0x1020ef14], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1020ef18], eax
jmp 0x1004ff57
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101fa270]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa288]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa3c8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa424]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb0e8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb0e8]
movss dword [esp], xmm0
mov edx, dword [ebp + 0xc]
sub edx, 0xf
cvtsi2ss xmm0, edx
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp + 8]
add eax, 0x42
cvtsi2ss xmm0, eax
push ecx
movss dword [esp], xmm0
push 0xf069
mov ecx, 0x637c60
call ecx
add esp, 0x30
jmp 0x1004ffec
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101fa270]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa288]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa3c8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa424]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb0e8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb0e8]
movss dword [esp], xmm0
mov edx, dword [ebp + 0xc]
sub edx, 0xf
cvtsi2ss xmm0, edx
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp + 8]
add eax, 0x42
cvtsi2ss xmm0, eax
push ecx
movss dword [esp], xmm0
push 0xf069
mov ecx, 0x637c60
call ecx
add esp, 0x30
jmp 0x10050227
push 0xb
push 0xb
mov edx, dword [ebp + 0xc]
sub edx, 0xf
push edx
mov eax, dword [ebp + 8]
add eax, 0x42
push eax
mov ecx, 0x790b10
call ecx
add esp, 0x10
movzx edx, al
test edx, edx
je 0x10050197
push 1
mov eax, 0x791070
call eax
add esp, 4
test eax, eax
je 0x10050102
movzx ecx, byte [0x8793386]
test ecx, ecx
je 0x10050102
mov edx, 0x83c080
call edx
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101fa270]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa288]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa3c8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa2cc]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb0e8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb0e8]
movss dword [esp], xmm0
mov eax, dword [ebp + 0xc]
sub eax, 0xf
cvtsi2ss xmm0, eax
push ecx
movss dword [esp], xmm0
mov ecx, dword [ebp + 8]
add ecx, 0x42
cvtsi2ss xmm0, ecx
push ecx
movss dword [esp], xmm0
push 0xf069
mov edx, 0x637c60
call edx
add esp, 0x30
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1020ef18]
add ecx, 0xc8
cmp eax, ecx
jb 0x100500fd
mov dword [0x1020ef14], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1020ef18], eax
jmp 0x10050192
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101fa270]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa288]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa3c8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa1d8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb0e8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb0e8]
movss dword [esp], xmm0
mov edx, dword [ebp + 0xc]
sub edx, 0xf
cvtsi2ss xmm0, edx
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp + 8]
add eax, 0x42
cvtsi2ss xmm0, eax
push ecx
movss dword [esp], xmm0
push 0xf069
mov ecx, 0x637c60
call ecx
add esp, 0x30
jmp 0x10050227
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push 1
push 1
push ecx
movss xmm0, dword [0x101fa270]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa288]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa3c8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fa1d8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb0e8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101fb0e8]
movss dword [esp], xmm0
mov edx, dword [ebp + 0xc]
sub edx, 0xf
cvtsi2ss xmm0, edx
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp + 8]
add eax, 0x42
cvtsi2ss xmm0, eax
push ecx
movss dword [esp], xmm0
push 0xf069
mov ecx, 0x637c60
call ecx
add esp, 0x30
pop ebp
ret