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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x1018f56d], 0
push esi
push edi
je 0x10065eaf
cmp dword [0x102bc21c], 0
xorps xmm1, xmm1
movss dword [ebp - 4], xmm1
je 0x1006599e
movd xmm1, dword [0xe61e58]
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0xe7c3d8]
mulss xmm1, dword [0x10137690]
subss xmm1, dword [0x10138538]
movss dword [ebp - 4], xmm1
addss xmm1, dword [0x1018b1ec]
movss xmm0, dword [0x1018b1f8]
sub esp, 0xc
movss xmm3, dword [0x1018b1f4]
movss xmm2, dword [0x1018b1f0]
mov dword [esp + 4], 0
movss dword [esp], xmm0
call fcn.10033260
cmp byte [0x1018b1cc], 0
jne 0x10065a00
push 0x779250
push 0x779150
push 1
push 0xac
push 0x1018b120
mov eax, 0x9cfa13
call eax
mov byte [0x1018b1cc], 1
push 0
push 0
push 1
push 0x7ec5
push 1
mov eax, 0x779350
mov ecx, 0x1018b120
call eax
movss xmm0, dword [0x1018b1f0]
mov ecx, 0x1018b120
addss xmm0, dword [0x101380f8]
push 0x1d
push 0x24
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x1018b1ec]
push eax
addss xmm0, dword [0x1018b1f4]
subss xmm0, dword [0x101381c4]
cvttss2si eax, xmm0
push eax
mov eax, 0x779410
call eax
push 0
mov eax, 0x7798f0
mov ecx, 0x1018b120
call eax
mov eax, 0x779860
mov ecx, 0x1018b120
call eax
cmp al, 1
jne 0x10065aa7
mov byte [0x1018f575], 0
cmp byte [0x1018f56d], al
jne 0x10065aa0
mov byte [0x1018f56d], 0
mov dword [0xe8cb3c], 0
jmp 0x10065aa7
mov byte [0x1018f56d], 1
movss xmm0, dword [0x1018b1f0]
mov esi, 0x790b10
addss xmm0, dword [0x101381e0]
push 0x15
push 0xaa
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x1018b1ec]
push eax
addss xmm0, dword [0x1013818c]
cvttss2si eax, xmm0
push eax
call esi
add esp, 0x10
mov ecx, 0x10153ce0
test al, al
setne byte [0x1018f5ae]
push 0x166
call fcn.10042ce0
movss xmm0, dword [0x1018b1f0]
addss xmm0, dword [0x10138114]
push eax
push 3
push 0xd2
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x1018b1ec]
push eax
addss xmm0, dword [0x10138124]
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x1018cbf0
call fcn.10078040
add esp, 0x1c
cmp byte [0x1018f576], 1
jne 0x10065b6a
push 0x1012f446
push 0x1018f5b7
mov byte [0x1018f5ae], 1
call sym.Main.dll_sprintf
add esp, 8
movss xmm2, dword [ebp - 4]
mov ecx, 0x1018cbf0
addss xmm2, dword [0x1018b1ec]
movss xmm3, dword [0x1018b1f0]
addss xmm3, dword [0x101381e0]
push 0xa4
addss xmm2, dword [0x1013818c]
call fcn.10075430
cmp byte [0x1018f5ae], 1
jne 0x10065be0
movss xmm2, dword [ebp - 4]
mov ecx, 0x1018cbf0
addss xmm2, dword [0x1018b1ec]
movss xmm3, dword [0x1018b1f0]
addss xmm3, dword [0x101381e0]
push 0xff19bdff
push 0xa4
addss xmm2, dword [0x1013818c]
call fcn.100773d0
push 0x15a
mov ecx, 0x10153ce0
call fcn.10042ce0
movss xmm0, dword [0x1018b1f0]
addss xmm0, dword [0x101381f4]
push eax
push 1
push 0xc8
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x1018b1ec]
push eax
addss xmm0, dword [0x101381c4]
cvttss2si eax, xmm0
push eax
push 0xffffffffffffffff
push 0x1018cbf0
call fcn.10078040
movss xmm0, dword [0x1018b1f0]
add esp, 0x1c
addss xmm0, dword [0x101381f4]
push 0x1018f5b7
push 3
cvttss2si eax, xmm0
push 0xc8
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x1018b1ec]
push eax
addss xmm0, dword [0x101381ec]
cvttss2si eax, xmm0
push eax
push 0xffffffffffffffff
push 0x1018cbf0
call fcn.10078040
movss xmm0, dword [0x1018b1f0]
add esp, 0x1c
addss xmm0, dword [0x10138264]
movss xmm1, dword [ebp - 4]
addss xmm1, dword [0x1018b1ec]
push 0x1e
push 0x36
cvttss2si eax, xmm0
movss xmm0, dword [0x1018b1f4]
mulss xmm0, dword [0x10137690]
push eax
addss xmm1, xmm0
subss xmm1, dword [0x10138198]
cvttss2si eax, xmm1
push eax
call esi
add esp, 0x10
mov edi, 0x790e40
test al, al
je 0x10065e2e
cmp byte [0x1018b060], 0
jne 0x10065dbd
push 1
mov eax, 0x791070
call eax
add esp, 4
test eax, eax
je 0x10065dbd
cmp byte [0x8793386], 0
je 0x10065dbd
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x1018b1d0]
add ecx, 0xfa
cmp eax, ecx
jb 0x10065dbd
movss xmm0, dword [0x1018b1f0]
sub esp, 0x18
addss xmm0, dword [0x10138264]
movss xmm1, dword [ebp - 4]
addss xmm1, dword [0x1018b1ec]
mov dword [esp + 0x14], 0x42700000
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41f00000
mov dword [esp + 8], 0x42580000
movss dword [esp + 4], xmm0
movss xmm0, dword [0x1018b1f4]
mulss xmm0, dword [0x10137690]
addss xmm1, xmm0
subss xmm1, dword [0x10138198]
movss dword [esp], xmm1
push 0x7a5b
call edi
add esp, 0x1c
mov eax, 0x83c080
call eax
push 0x1018f5b7
push dword [0x1018b03c]
mov ecx, 0x10189be0
call fcn.10066110
call fcn.10065ec0
call esi
mov dword [0x1018b1d0], eax
jmp 0x10065e2e
movss xmm0, dword [0x1018b1f0]
sub esp, 0x18
addss xmm0, dword [0x10138264]
movss xmm1, dword [ebp - 4]
addss xmm1, dword [0x1018b1ec]
mov dword [esp + 0x14], 0x41f00000
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41f00000
mov dword [esp + 8], 0x42580000
movss dword [esp + 4], xmm0
movss xmm0, dword [0x1018b1f4]
mulss xmm0, dword [0x10137690]
addss xmm1, xmm0
subss xmm1, dword [0x10138198]
movss dword [esp], xmm1
push 0x7a5b
call edi
add esp, 0x1c
movss xmm0, dword [0x1018b1f0]
sub esp, 0x18
addss xmm0, dword [0x10138264]
movss xmm1, dword [ebp - 4]
addss xmm1, dword [0x1018b1ec]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41f00000
mov dword [esp + 8], 0x42580000
movss dword [esp + 4], xmm0
movss xmm0, dword [0x1018b1f4]
mulss xmm0, dword [0x10137690]
addss xmm1, xmm0
subss xmm1, dword [0x10138198]
movss dword [esp], xmm1
push 0x7a5b
call edi
add esp, 0x1c
cmp byte [0x1018f576], 1
jne 0x10065eaf
mov byte [0x1018f576], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret