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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x101474f4], 0
push ebx
push esi
push edi
je 0x10018ce6
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0xe8cb3c], 1
call edi
mov ecx, dword [0x101474f8]
add ecx, 0xfa
cmp eax, ecx
jb 0x10018ce6
movss xmm0, dword [0x10147688]
sub esp, 0x10
mov esi, 0x790b50
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x10147678]
mov dword [esp + 8], 0x433e0000
movss dword [esp + 4], xmm0
movss xmm0, dword [0x1014767c]
movss dword [esp], xmm0
push 0x7a5a
call esi
movss xmm0, dword [0x10147688]
add esp, 4
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x10147678]
mov dword [esp + 8], 0x433e0000
movss dword [esp + 4], xmm0
movss xmm0, dword [0x1014767c]
movss dword [esp], xmm0
push 0x7a7a
call esi
movss xmm0, dword [0x10147688]
add esp, 4
subss xmm0, dword [0x1013cd84]
subss xmm0, dword [0x1013cd34]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x10147678]
addss xmm0, dword [0x1013cd84]
mov dword [esp + 8], 0x41a80000
movss dword [esp + 4], xmm0
movss xmm0, dword [0x1014767c]
movss dword [esp], xmm0
push 0x7a7b
call esi
movss xmm0, dword [0x10147688]
add esp, 4
subss xmm0, dword [0x1013cd84]
subss xmm0, dword [0x1013cd34]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x10147678]
addss xmm0, dword [0x1013cd84]
mov dword [esp + 8], 0x41a80000
movss dword [esp + 4], xmm0
movss xmm0, dword [0x1014767c]
addss xmm0, dword [0x1013cf80]
subss xmm0, dword [0x1013ccbc]
movss dword [esp], xmm0
push 0x7a7c
call esi
movss xmm0, dword [0x10147678]
add esp, 4
addss xmm0, dword [0x10147688]
mov dword [esp + 0xc], 0x42340000
mov dword [esp + 8], 0x433e0000
subss xmm0, dword [0x1013cd34]
movss dword [esp + 4], xmm0
movss xmm0, dword [0x1014767c]
movss dword [esp], xmm0
push 0x7a7d
call esi
add esp, 0x14
mov ebx, 0x9cfa13
cmp byte [0x101475c0], 0
jne 0x10018672
push 0x779250
push 0x779150
push 1
push 0xac
push 0x10147514
call ebx
mov byte [0x101475c0], 1
push 0
push 0
push 1
push 0x7ec5
push 1
mov eax, 0x779350
mov ecx, 0x10147514
call eax
movss xmm0, dword [0x10147684]
mov ecx, 0x10147514
cvttss2si eax, dword [0x10147678]
push 0x1d
push 0x24
addss xmm0, dword [0x1014767c]
push eax
subss xmm0, dword [0x1013cdc4]
cvttss2si eax, xmm0
push eax
mov eax, 0x779410
call eax
mov eax, 0x779860
mov ecx, 0x10147514
call eax
cmp al, 1
jne 0x100186e2
mov byte [0x101474f4], 0
mov dword [0xe8cb3c], 0
push 0x115
mov ecx, 0x10158cf0
call fcn.10043ca0
movss xmm0, dword [0x10147678]
addss xmm0, dword [0x1013cc80]
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [0x1014767c]
subss xmm0, dword [0x1013cc74]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x10191cb0
call fcn.100777f0
mov esi, dword [0x102ca384]
add esp, 0x1c
mov ecx, 0x10158cf0
push 0x116
call fcn.10043ca0
movss xmm0, dword [0x10147678]
addss xmm0, dword [0x1013ccf0]
push esi
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [0x1014767c]
subss xmm0, dword [0x1013cc48]
push eax
cvttss2si eax, xmm0
push eax
push 0xff41cc43
push 0x10191cb0
call fcn.100777f0
add esp, 0x20
mov ecx, 0x10158cf0
push 0x117
call fcn.10043ca0
movss xmm0, dword [0x10147678]
addss xmm0, dword [0x1013ce14]
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [0x1014767c]
subss xmm0, dword [0x1013cc48]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x10191cb0
call fcn.100777f0
add esp, 0x1c
mov ecx, 0x10158cf0
push 0x118
call fcn.10043ca0
movss xmm0, dword [0x10147678]
addss xmm0, dword [0x1013ce40]
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [0x1014767c]
subss xmm0, dword [0x1013cc48]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x10191cb0
call fcn.100777f0
add esp, 0x1c
mov ecx, 0x10158cf0
push 0x119
call fcn.10043ca0
movss xmm0, dword [0x10147678]
push eax
push 3
push 0xd2
addss xmm0, dword [0x1013ce80]
cvttss2si eax, xmm0
movss xmm0, dword [0x1014767c]
subss xmm0, dword [0x1013cc48]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x10191cb0
call fcn.100777f0
add esp, 0x1c
mov ecx, 0x10158cf0
push 0x11a
call fcn.10043ca0
movss xmm0, dword [0x10147678]
addss xmm0, dword [0x1013cea8]
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [0x1014767c]
subss xmm0, dword [0x1013cc48]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x10191cb0
call fcn.100777f0
add esp, 0x1c
mov ecx, 0x10158cf0
push 0x11b
call fcn.10043ca0
movss xmm0, dword [0x10147678]
addss xmm0, dword [0x1013cee0]
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [0x1014767c]
subss xmm0, dword [0x1013cc48]
push eax
cvttss2si eax, xmm0
push eax
push 0xff41cc43
push 0x10191cb0
call fcn.100777f0
movss xmm0, dword [0x1013cf14]
add esp, 0x1c
mov esi, dword [0x101474fc]
movss dword [ebp - 4], xmm0
test esi, esi
jle 0x100189a6
push 0x11c
mov ecx, 0x10158cf0
call fcn.10043ca0
movss xmm0, dword [0x10147678]
addss xmm0, dword [0x1013cf14]
push esi
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [0x1014767c]
subss xmm0, dword [0x1013cc48]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x10191cb0
call fcn.100777f0
movss xmm0, dword [0x1013cf30]
add esp, 0x20
movss dword [ebp - 4], xmm0
mov esi, dword [0x10147500]
test esi, esi
jle 0x10018a13
push 0x11d
mov ecx, 0x10158cf0
call fcn.10043ca0
movss xmm0, dword [0x10147678]
addss xmm0, dword [ebp - 4]
push esi
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [0x1014767c]
subss xmm0, dword [0x1013cc48]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x10191cb0
call fcn.100777f0
movss xmm0, dword [ebp - 4]
add esp, 0x20
addss xmm0, dword [0x1013cc74]
movss dword [ebp - 4], xmm0
mov esi, dword [0x10147504]
test esi, esi
jle 0x10018a80
push 0x11e
mov ecx, 0x10158cf0
call fcn.10043ca0
movss xmm0, dword [0x10147678]
addss xmm0, dword [ebp - 4]
push esi
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [0x1014767c]
subss xmm0, dword [0x1013cc48]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x10191cb0
call fcn.100777f0
movss xmm0, dword [ebp - 4]
add esp, 0x20
addss xmm0, dword [0x1013cc74]
movss dword [ebp - 4], xmm0
mov esi, dword [0x10147508]
test esi, esi
jle 0x10018aed
push 0x11f
mov ecx, 0x10158cf0
call fcn.10043ca0
movss xmm0, dword [0x10147678]
addss xmm0, dword [ebp - 4]
push esi
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [0x1014767c]
subss xmm0, dword [0x1013cc48]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x10191cb0
call fcn.100777f0
movss xmm0, dword [ebp - 4]
add esp, 0x20
addss xmm0, dword [0x1013cc74]
movss dword [ebp - 4], xmm0
mov esi, dword [0x1014750c]
test esi, esi
jle 0x10018b48
push 0x120
mov ecx, 0x10158cf0
call fcn.10043ca0
movss xmm0, dword [0x10147678]
addss xmm0, dword [ebp - 4]
push esi
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [0x1014767c]
subss xmm0, dword [0x1013cc48]
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x10191cb0
call fcn.100777f0
add esp, 0x20
cmp byte [0x10147674], 0
jne 0x10018b70
push 0x779250
push 0x779150
push 1
push 0xac
push 0x101475c8
call ebx
mov byte [0x10147674], 1
push 0
push 0
push 1
push 0x7a5e
push 1
mov ecx, 0x101475c8
mov eax, 0x779350
call eax
movss xmm0, dword [0x10147678]
mov ecx, 0x101475c8
addss xmm0, dword [0x1013cd70]
push 0x1d
push 0x6c
cvttss2si eax, xmm0
movss xmm0, dword [0x1014767c]
addss xmm0, dword [0x1013cd1c]
push eax
cvttss2si eax, xmm0
push eax
mov eax, 0x779410
call eax
push 0
mov esi, 0x7798f0
mov ecx, 0x10147514
call esi
push 0
mov ecx, 0x101475c8
call esi
movss xmm0, dword [0x10147678]
addss xmm0, dword [0x1013cd70]
push 0x1d
push 0x6c
cvttss2si eax, xmm0
movss xmm0, dword [0x1014767c]
addss xmm0, dword [0x1013cd1c]
push eax
cvttss2si eax, xmm0
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
mov ecx, 0x10158cf0
mov bl, al
push 0x121
call fcn.10043ca0
movss xmm0, dword [0x10147678]
addss xmm0, dword [0x1013cda8]
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [0x1014767c]
subss xmm0, dword [0x1013cc74]
push eax
cvttss2si eax, xmm0
push eax
test bl, bl
je 0x10018cd7
push 0xff0000e1
push 0x10191cb0
call fcn.100777f0
add esp, 0x1c
mov ecx, 0x101475c8
mov eax, 0x779860
call eax
cmp al, 1
jne 0x10018ce6
call edi
mov edx, dword [0x101474f8]
add edx, 0xfa
cmp eax, edx
jb 0x10018ce6
push 0xffffffffffffffff
push 0
mov eax, 0x779740
mov ecx, 0x101475c8
call eax
mov edx, 8
mov dword [ebp - 8], 0x7f208c1
lea ecx, [ebp - 8]
mov dword [ebp - 4], 1
call fcn.100ca020
call edi
mov dword [0x101474f8], eax
mov byte [0x101474f4], 0
mov dword [0xe8cb3c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push 0x10191cb0
call fcn.100777f0
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret