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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x1013f4f4], 0
push ebx
push esi
push edi
je 0x10017b86
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0xe8cb3c], 1
call edi
mov ecx, dword [0x1013f4f8]
add ecx, 0xfa
cmp eax, ecx
jb 0x10017b86
movss xmm0, dword [0x1013f688]
sub esp, 0x10
mov esi, 0x790b50
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x1013f678]
mov dword [esp + 8], 0x433e0000
movss dword [esp + 4], xmm0
movss xmm0, dword [0x1013f67c]
movss dword [esp], xmm0
push 0x7a5a
call esi
movss xmm0, dword [0x1013f688]
add esp, 4
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x1013f678]
mov dword [esp + 8], 0x433e0000
movss dword [esp + 4], xmm0
movss xmm0, dword [0x1013f67c]
movss dword [esp], xmm0
push 0x7a7a
call esi
movss xmm0, dword [0x1013f688]
add esp, 4
subss xmm0, dword [0x10135bd0]
subss xmm0, dword [0x10135b7c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x1013f678]
addss xmm0, dword [0x10135bd0]
mov dword [esp + 8], 0x41a80000
movss dword [esp + 4], xmm0
movss xmm0, dword [0x1013f67c]
movss dword [esp], xmm0
push 0x7a7b
call esi
movss xmm0, dword [0x1013f688]
add esp, 4
subss xmm0, dword [0x10135bd0]
subss xmm0, dword [0x10135b7c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x1013f678]
addss xmm0, dword [0x10135bd0]
mov dword [esp + 8], 0x41a80000
movss dword [esp + 4], xmm0
movss xmm0, dword [0x1013f67c]
addss xmm0, dword [0x10135dd0]
subss xmm0, dword [0x10135b04]
movss dword [esp], xmm0
push 0x7a7c
call esi
movss xmm0, dword [0x1013f678]
add esp, 4
addss xmm0, dword [0x1013f688]
mov dword [esp + 0xc], 0x42340000
mov dword [esp + 8], 0x433e0000
subss xmm0, dword [0x10135b7c]
movss dword [esp + 4], xmm0
movss xmm0, dword [0x1013f67c]
movss dword [esp], xmm0
push 0x7a7d
call esi
add esp, 0x14
mov ebx, 0x9cfa13
cmp byte [0x1013f5c0], 0
jne 0x10017512
push 0x779250
push 0x779150
push 1
push 0xac
push 0x1013f514
call ebx
mov byte [0x1013f5c0], 1
push 0
push 0
push 1
push 0x7ec5
push 1
mov eax, 0x779350
mov ecx, 0x1013f514
call eax
movss xmm0, dword [0x1013f684]
mov ecx, 0x1013f514
cvttss2si eax, dword [0x1013f678]
push 0x1d
push 0x24
addss xmm0, dword [0x1013f67c]
push eax
subss xmm0, dword [0x10135c0c]
cvttss2si eax, xmm0
push eax
mov eax, 0x779410
call eax
mov eax, 0x779860
mov ecx, 0x1013f514
call eax
cmp al, 1
jne 0x10017582
mov byte [0x1013f4f4], 0
mov dword [0xe8cb3c], 0
push 0x115
mov ecx, 0x10150cf0
call fcn.10042d90
movss xmm0, dword [0x1013f678]
addss xmm0, dword [0x10135ac8]
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [0x1013f67c]
subss xmm0, dword [0x10135abc]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x10188580
call fcn.10077190
mov esi, dword [0x102c0904]
add esp, 0x1c
mov ecx, 0x10150cf0
push 0x116
call fcn.10042d90
movss xmm0, dword [0x1013f678]
addss xmm0, dword [0x10135b38]
push esi
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [0x1013f67c]
subss xmm0, dword [0x10135a90]
push eax
cvttss2si eax, xmm0
push eax
push 0xff41cc43
push 0x10188580
call fcn.10077190
add esp, 0x20
mov ecx, 0x10150cf0
push 0x117
call fcn.10042d90
movss xmm0, dword [0x1013f678]
addss xmm0, dword [0x10135c5c]
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [0x1013f67c]
subss xmm0, dword [0x10135a90]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x10188580
call fcn.10077190
add esp, 0x1c
mov ecx, 0x10150cf0
push 0x118
call fcn.10042d90
movss xmm0, dword [0x1013f678]
addss xmm0, dword [0x10135c84]
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [0x1013f67c]
subss xmm0, dword [0x10135a90]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x10188580
call fcn.10077190
add esp, 0x1c
mov ecx, 0x10150cf0
push 0x119
call fcn.10042d90
movss xmm0, dword [0x1013f678]
push eax
push 3
push 0xd2
addss xmm0, dword [0x10135cc4]
cvttss2si eax, xmm0
movss xmm0, dword [0x1013f67c]
subss xmm0, dword [0x10135a90]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x10188580
call fcn.10077190
add esp, 0x1c
mov ecx, 0x10150cf0
push 0x11a
call fcn.10042d90
movss xmm0, dword [0x1013f678]
addss xmm0, dword [0x10135cec]
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [0x1013f67c]
subss xmm0, dword [0x10135a90]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x10188580
call fcn.10077190
add esp, 0x1c
mov ecx, 0x10150cf0
push 0x11b
call fcn.10042d90
movss xmm0, dword [0x1013f678]
addss xmm0, dword [0x10135d28]
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [0x1013f67c]
subss xmm0, dword [0x10135a90]
push eax
cvttss2si eax, xmm0
push eax
push 0xff41cc43
push 0x10188580
call fcn.10077190
movss xmm0, dword [0x10135d60]
add esp, 0x1c
mov esi, dword [0x1013f4fc]
movss dword [ebp - 4], xmm0
test esi, esi
jle 0x10017846
push 0x11c
mov ecx, 0x10150cf0
call fcn.10042d90
movss xmm0, dword [0x1013f678]
addss xmm0, dword [0x10135d60]
push esi
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [0x1013f67c]
subss xmm0, dword [0x10135a90]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x10188580
call fcn.10077190
movss xmm0, dword [0x10135d7c]
add esp, 0x20
movss dword [ebp - 4], xmm0
mov esi, dword [0x1013f500]
test esi, esi
jle 0x100178b3
push 0x11d
mov ecx, 0x10150cf0
call fcn.10042d90
movss xmm0, dword [0x1013f678]
addss xmm0, dword [ebp - 4]
push esi
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [0x1013f67c]
subss xmm0, dword [0x10135a90]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x10188580
call fcn.10077190
movss xmm0, dword [ebp - 4]
add esp, 0x20
addss xmm0, dword [0x10135abc]
movss dword [ebp - 4], xmm0
mov esi, dword [0x1013f504]
test esi, esi
jle 0x10017920
push 0x11e
mov ecx, 0x10150cf0
call fcn.10042d90
movss xmm0, dword [0x1013f678]
addss xmm0, dword [ebp - 4]
push esi
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [0x1013f67c]
subss xmm0, dword [0x10135a90]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x10188580
call fcn.10077190
movss xmm0, dword [ebp - 4]
add esp, 0x20
addss xmm0, dword [0x10135abc]
movss dword [ebp - 4], xmm0
mov esi, dword [0x1013f508]
test esi, esi
jle 0x1001798d
push 0x11f
mov ecx, 0x10150cf0
call fcn.10042d90
movss xmm0, dword [0x1013f678]
addss xmm0, dword [ebp - 4]
push esi
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [0x1013f67c]
subss xmm0, dword [0x10135a90]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x10188580
call fcn.10077190
movss xmm0, dword [ebp - 4]
add esp, 0x20
addss xmm0, dword [0x10135abc]
movss dword [ebp - 4], xmm0
mov esi, dword [0x1013f50c]
test esi, esi
jle 0x100179e8
push 0x120
mov ecx, 0x10150cf0
call fcn.10042d90
movss xmm0, dword [0x1013f678]
addss xmm0, dword [ebp - 4]
push esi
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [0x1013f67c]
subss xmm0, dword [0x10135a90]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x10188580
call fcn.10077190
add esp, 0x20
cmp byte [0x1013f674], 0
jne 0x10017a10
push 0x779250
push 0x779150
push 1
push 0xac
push 0x1013f5c8
call ebx
mov byte [0x1013f674], 1
push 0
push 0
push 1
push 0x7a5e
push 1
mov ecx, 0x1013f5c8
mov eax, 0x779350
call eax
movss xmm0, dword [0x1013f678]
mov ecx, 0x1013f5c8
addss xmm0, dword [0x10135bbc]
push 0x1d
push 0x6c
cvttss2si eax, xmm0
movss xmm0, dword [0x1013f67c]
addss xmm0, dword [0x10135b64]
push eax
cvttss2si eax, xmm0
push eax
mov eax, 0x779410
call eax
push 0
mov esi, 0x7798f0
mov ecx, 0x1013f514
call esi
push 0
mov ecx, 0x1013f5c8
call esi
movss xmm0, dword [0x1013f678]
addss xmm0, dword [0x10135bbc]
push 0x1d
push 0x6c
cvttss2si eax, xmm0
movss xmm0, dword [0x1013f67c]
addss xmm0, dword [0x10135b64]
push eax
cvttss2si eax, xmm0
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
mov ecx, 0x10150cf0
mov bl, al
push 0x121
call fcn.10042d90
movss xmm0, dword [0x1013f678]
addss xmm0, dword [0x10135bf0]
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [0x1013f67c]
subss xmm0, dword [0x10135abc]
push eax
cvttss2si eax, xmm0
push eax
test bl, bl
je 0x10017b77
push 0xff0000e1
push 0x10188580
call fcn.10077190
add esp, 0x1c
mov ecx, 0x1013f5c8
mov eax, 0x779860
call eax
cmp al, 1
jne 0x10017b86
call edi
mov edx, dword [0x1013f4f8]
add edx, 0xfa
cmp eax, edx
jb 0x10017b86
push 0xffffffffffffffff
push 0
mov eax, 0x779740
mov ecx, 0x1013f5c8
call eax
mov edx, 8
mov dword [ebp - 8], 0x7f208c1
lea ecx, [ebp - 8]
mov dword [ebp - 4], 1
call fcn.100c3740
call edi
mov dword [0x1013f4f8], eax
mov byte [0x1013f4f4], 0
mov dword [0xe8cb3c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push 0x10188580
call fcn.10077190
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret