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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1010c040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
movaps xmm1, xmm3
push edi
mov edi, dword [ebp + 8]
movss dword [ebp - 0x38], xmm1
mov dword [ebp - 0x20], ecx
jne 0x10076181
mov eax, dword [ebp + 0x14]
xorps xmm2, xmm2
push esi
test eax, eax
jne 0x100759fb
mov eax, dword [edi + 0x1d8]
movss xmm4, dword [edi + 0xfc]
movss xmm5, dword [edi + 0x100]
movss xmm2, dword [eax + 0xfc]
movss xmm3, dword [eax + 0x100]
movaps xmm1, xmm2
movaps xmm0, xmm3
subss xmm1, xmm4
subss xmm0, xmm5
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x1010436c]
movss dword [ebp - 0x2c], xmm1
jb 0x100758ad
sub esp, 0x10
mov eax, 0x540c30
movss dword [esp + 0xc], xmm3
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm5
movss dword [esp], xmm4
call eax
add esp, 4
mov eax, 0x540ea0
fstp dword [ebp - 0x28]
movss xmm0, dword [ebp - 0x28]
mov dword [esp + 8], 0x41a00000
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0x110]
movss dword [esp], xmm0
call eax
fstp dword [edi + 0x110]
add esp, 0xc
lea esi, [edi + 0x174]
lea eax, [edi + 0x108]
push esi
push eax
mov eax, 0x959ce0
call eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [edi + 0xa8]
push esi
push eax
mov eax, 0x95a1e0
call eax
movss xmm0, dword [ebp - 0x1c]
add esp, 0x14
addss xmm0, dword [edi + 0xfc]
movss dword [edi + 0xfc], xmm0
movss xmm0, dword [ebp - 0x18]
addss xmm0, dword [edi + 0x100]
movss dword [edi + 0x100], xmm0
movss xmm0, dword [ebp - 0x14]
addss xmm0, dword [edi + 0x104]
movss dword [edi + 0x104], xmm0
call fcn.100dc14a
cdq
mov ecx, 0x3e8
idiv ecx
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
test edx, edx
jne 0x1007593c
call eax
mov esi, dword [ebp - 0x20]
mov dword [esi + 0x14], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x1007593f
mov esi, dword [ebp - 0x20]
movss xmm0, dword [0x1010436c]
comiss xmm0, dword [ebp - 0x2c]
jbe 0x10075974
call eax
mov ecx, dword [esi + 0x14]
add ecx, 0xfa0
cmp eax, ecx
ja 0x10075974
mov eax, 1
mov dword [edi + 0xac], 0
mov word [edi + 0x12], ax
jmp 0x100760b8
mov eax, 2
mov word [edi + 0x12], ax
call fcn.100dc14a
and eax, 0x8000001f
jns 0x10075990
dec eax
or eax, 0xffffffe0
add eax, 1
jne 0x100760b8
movss xmm0, dword [0x1010436c]
comiss xmm0, dword [ebp - 0x2c]
jbe 0x100759ba
call fcn.100dc14a
and eax, reloc.WS2_32.dll_ntohs
jns 0x100759b5
dec eax
or eax, 0xfffffff0
inc eax
add eax, 0x30
jmp 0x100759ce
call fcn.100dc14a
and eax, 0x8000001f
jns 0x100759cb
dec eax
or eax, 0xffffffe0
inc eax
sub eax, 0xffffff80
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov dword [edi + 0xa8], 0
xorps xmm0, xmmword [0x10104770]
mulss xmm0, dword [0x10103634]
movss dword [edi + 0xac], xmm0
jmp 0x100760b8
cmp eax, 2
jl 0x10075c78
cmp dword [0xe609e8], 4
jne 0x10075a2b
mov eax, dword [edi + 0x1d8]
movss xmm0, dword [eax + 0x100]
addss xmm0, dword [0x10103fc4]
movss dword [edi + 0x100], xmm0
mov ecx, dword [edi + 0x1d8]
movss xmm7, dword [edi + 0xfc]
movss xmm6, dword [edi + 0x100]
mulss xmm3, xmm1
mov byte [ebp - 0x21], 0
movss xmm0, dword [ecx + 0x60]
mulss xmm0, xmm2
movss dword [ebp - 0x34], xmm3
addss xmm0, dword [ecx + 0x104]
movss dword [edi + 0x104], xmm0
movss xmm4, dword [ecx + 0xfc]
movss xmm5, dword [ecx + 0x100]
movaps xmm0, xmm4
subss xmm0, xmm7
movaps xmm2, xmm5
subss xmm2, xmm6
mulss xmm0, xmm0
mulss xmm2, xmm2
addss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
mulss xmm0, xmm1
movss dword [ebp - 0x20], xmm2
comiss xmm0, xmm2
jbe 0x10075b15
comiss xmm2, xmm3
jb 0x10075b65
sub esp, 0x10
mov eax, 0x540c30
movss dword [esp + 0xc], xmm5
movss dword [esp + 8], xmm4
movss dword [esp + 4], xmm6
movss dword [esp], xmm7
call eax
add esp, 4
mov eax, 0x540ea0
fstp dword [ebp - 0x28]
movss xmm0, dword [ebp - 0x28]
mov dword [esp + 8], 0x41200000
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0x110]
movss dword [esp], xmm0
call eax
mov eax, 2
mov byte [ebp - 0x21], 1
fstp dword [edi + 0x110]
add esp, 0xc
mov word [edi + 0x12], ax
jmp 0x10075b65
movss dword [edi + 0xfc], xmm4
mov eax, dword [ecx + 0x100]
mov dword [edi + 0x100], eax
movss xmm0, dword [ecx + 0x104]
addss xmm0, dword [0x1010413c]
movss dword [edi + 0x104], xmm0
mov eax, dword [ecx + 0x108]
mov dword [edi + 0x108], eax
mov eax, dword [ecx + 0x10c]
mov dword [edi + 0x10c], eax
mov eax, dword [ecx + 0x110]
mov dword [edi + 0x110], eax
lea esi, [edi + 0x174]
lea eax, [edi + 0x108]
push esi
push eax
mov eax, 0x959ce0
call eax
lea ecx, [ebp - 0x10]
push ecx
lea eax, [edi + 0xa8]
push esi
push eax
mov eax, 0x95a1e0
call eax
movss xmm0, dword [ebp - 0x10]
add esp, 0x14
addss xmm0, dword [edi + 0xfc]
movss xmm2, dword [ebp - 0x20]
xorps xmm1, xmm1
comiss xmm2, dword [ebp - 0x34]
movss dword [edi + 0xfc], xmm0
movss xmm0, dword [ebp - 0xc]
addss xmm0, dword [edi + 0x100]
movss dword [edi + 0x100], xmm0
movss xmm0, dword [ebp - 8]
addss xmm0, dword [edi + 0x104]
movss dword [edi + 0x104], xmm0
jbe 0x10075c40
movss xmm0, dword [ebp - 0x38]
addss xmm0, xmm0
movss dword [ebp - 0x34], xmm0
movaps xmm0, xmm2
call fcn.1004bbb0
movss xmm3, dword [ebp - 0x20]
movaps xmm1, xmm0
movss xmm0, dword [ebp - 0x34]
mulss xmm0, xmm0
comiss xmm3, xmm0
jb 0x10075c13
mulss xmm1, dword [0x10103780]
jmp 0x10075c40
movss xmm0, dword [ebp - 0x38]
mulss xmm0, dword [0x10103664]
addss xmm0, dword [ebp - 0x38]
mulss xmm0, xmm0
comiss xmm3, xmm0
jb 0x10075c38
mulss xmm1, dword [0x10103738]
jmp 0x10075c40
mulss xmm1, dword [0x101036f0]
cmp byte [ebp - 0x21], 0
xorps xmm1, xmmword [0x10104770]
mov dword [edi + 0xa8], 0
movss dword [edi + 0xac], xmm1
mov dword [edi + 0xb0], 0
jne 0x100760b8
xor eax, eax
mov word [edi + 0x12], ax
jmp 0x100760b8
mov esi, dword [edi + 0x1d8]
movss xmm7, dword [edi + 0xfc]
movss xmm6, dword [edi + 0x100]
movss dword [ebp - 0x30], xmm6
movss xmm1, dword [esi + 0xfc]
comiss xmm1, xmm7
movss xmm5, dword [esi + 0x100]
movaps xmm2, xmm1
movaps xmm3, xmm5
movss dword [ebp - 0x20], xmm1
subss xmm2, xmm7
movss dword [ebp - 0x40], xmm5
subss xmm3, xmm6
movaps xmm0, xmm2
movss dword [ebp - 0x2c], xmm2
movaps xmm4, xmm3
mulss xmm0, xmm2
mulss xmm4, xmm3
movss dword [ebp - 0x28], xmm3
addss xmm4, xmm0
movss dword [ebp - 0x3c], xmm4
ja 0x10075ce8
movaps xmm2, xmm7
subss xmm2, xmm1
comiss xmm5, xmm6
jbe 0x10075cf2
movaps xmm6, xmm3
jmp 0x10075cf6
subss xmm6, xmm5
movaps xmm1, xmm6
movaps xmm0, xmm2
call fcn.1004bb70
movss xmm2, dword [ebp - 0x38]
movaps xmm1, xmm0
movss xmm3, dword [0x1010410c]
movaps xmm4, xmm2
mulss xmm4, xmm2
mulss xmm1, xmm3
movaps xmm0, xmm4
movss dword [ebp - 0x34], xmm4
mulss xmm0, xmm2
divss xmm1, dword [0x10103a98]
mulss xmm0, xmm2
movss xmm2, dword [ebp - 0x3c]
comiss xmm0, xmm2
jbe 0x10075e33
comiss xmm2, xmm4
jb 0x10075e24
movss xmm4, dword [0x101036cc]
movss xmm2, dword [ebp - 0x20]
movss xmm7, dword [edi + 0xfc]
subss xmm2, xmm4
comiss xmm2, xmm7
jbe 0x10075db2
movss xmm0, dword [esi + 0x100]
movss xmm6, dword [edi + 0x100]
movaps xmm5, xmm0
subss xmm5, xmm4
comiss xmm5, xmm6
jbe 0x10075da3
subss xmm3, xmm1
mov edx, 0x12
mov ecx, edi
xor eax, eax
movss dword [edi + 0x110], xmm3
mov word [edx + ecx], ax
jmp 0x10075e81
comiss xmm6, xmm5
jbe 0x10075dbc
addss xmm1, dword [0x10103564]
jmp 0x10075e1c
movss xmm0, dword [ebp - 0x40]
movss xmm6, dword [ebp - 0x30]
comiss xmm7, xmm2
jbe 0x10075df0
subss xmm0, xmm4
comiss xmm6, xmm0
jbe 0x10075df0
movss xmm0, dword [0x10104284]
mov edx, 0x12
subss xmm0, xmm1
mov ecx, edi
xor eax, eax
movss dword [edi + 0x110], xmm0
mov word [edx + ecx], ax
jmp 0x10075e81
movss xmm0, dword [edi + 0xfc]
comiss xmm0, xmm2
mov eax, dword [edi + 0x1d8]
jbe 0x10075e24
movss xmm0, dword [eax + 0x100]
subss xmm0, xmm4
comiss xmm0, dword [edi + 0x100]
jbe 0x10075e24
addss xmm1, xmm3
movss dword [edi + 0x110], xmm1
mov edx, 0x12
mov ecx, edi
xor eax, eax
mov word [edx + ecx], ax
jmp 0x10075e81
movss xmm2, dword [ebp - 0x20]
movss dword [edi + 0xfc], xmm2
mov eax, dword [esi + 0x100]
mov dword [edi + 0x100], eax
mov eax, dword [esi + 0x104]
mov dword [edi + 0x104], eax
mov eax, dword [esi + 0x108]
mov dword [edi + 0x108], eax
mov eax, dword [esi + 0x10c]
mov dword [edi + 0x10c], eax
mov eax, dword [esi + 0x110]
mov dword [edi + 0x110], eax
movss dword [ebp - 0x34], xmm4
lea esi, [edi + 0x174]
lea eax, [edi + 0x108]
push esi
push eax
mov eax, 0x959ce0
call eax
lea ecx, [ebp - 0x10]
push ecx
lea eax, [edi + 0xa8]
push esi
push eax
mov eax, 0x95a1e0
call eax
movss xmm0, dword [ebp - 0xc]
add esp, 0x14
addss xmm0, dword [edi + 0x100]
movss xmm2, dword [ebp - 0x10]
xorps xmm1, xmm1
addss xmm2, dword [edi + 0xfc]
movss xmm3, dword [ebp - 0x3c]
comiss xmm3, dword [ebp - 0x34]
movss dword [edi + 0x100], xmm0
movss xmm0, dword [ebp - 8]
addss xmm0, dword [edi + 0x104]
movss dword [ebp - 0x20], xmm2
movss dword [edi + 0xfc], xmm2
movss dword [edi + 0x104], xmm0
jbe 0x10075f66
movss xmm0, dword [ebp - 0x38]
addss xmm0, xmm0
movss dword [ebp - 0x30], xmm0
movaps xmm0, xmm3
call fcn.1004bbb0
movss xmm3, dword [ebp - 0x3c]
movaps xmm1, xmm0
movss xmm0, dword [ebp - 0x30]
mulss xmm0, xmm0
comiss xmm3, xmm0
jb 0x10075f34
mulss xmm1, dword [0x10103780]
jmp 0x10075f61
movss xmm0, dword [ebp - 0x38]
mulss xmm0, dword [0x10103664]
addss xmm0, dword [ebp - 0x38]
mulss xmm0, xmm0
comiss xmm3, xmm0
jb 0x10075f59
mulss xmm1, dword [0x10103738]
jmp 0x10075f61
mulss xmm1, dword [0x101036f0]
movss xmm2, dword [ebp - 0x20]
comiss xmm3, dword [0x10104370]
mov dword [edi + 0xa8], 0
mov dword [edi + 0xb0], 0
xorps xmm1, xmmword [0x10104770]
movss dword [edi + 0xac], xmm1
jb 0x1007609d
mov eax, dword [edi + 0x1d8]
mov esi, 0x168
movss xmm0, dword [eax + 0xfc]
comiss xmm0, xmm2
jbe 0x10075fdb
call fcn.100dc14a
cdq
idiv esi
movss xmm1, dword [ebp - 0x2c]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0xfc]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
movss dword [edi + 0xfc], xmm2
jmp 0x10075fe0
movss xmm1, dword [ebp - 0x2c]
mov eax, dword [edi + 0x1d8]
comiss xmm2, dword [eax + 0xfc]
jbe 0x10076018
addss xmm1, xmm2
movss dword [ebp - 0x2c], xmm1
call fcn.100dc14a
cdq
idiv esi
movss xmm1, dword [ebp - 0x2c]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [edi + 0xfc], xmm1
mov eax, dword [edi + 0x1d8]
movss xmm1, dword [edi + 0x100]
movss xmm0, dword [eax + 0x100]
comiss xmm0, xmm1
jbe 0x10076060
call fcn.100dc14a
cdq
idiv esi
movss xmm2, dword [ebp - 0x28]
movaps xmm1, xmm2
addss xmm1, dword [edi + 0x100]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [edi + 0x100], xmm1
jmp 0x10076065
movss xmm2, dword [ebp - 0x28]
mov eax, dword [edi + 0x1d8]
comiss xmm1, dword [eax + 0x100]
jbe 0x1007609d
addss xmm2, xmm1
movss dword [ebp - 0x28], xmm2
call fcn.100dc14a
cdq
idiv esi
movss xmm1, dword [ebp - 0x28]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [edi + 0x100], xmm1
cmp dword [0xe609e8], 4
jne 0x100760b8
mov eax, dword [edi + 0x1d8]
mov eax, dword [eax + 0x104]
mov dword [edi + 0x104], eax
mov esi, dword [edi + 0x30]
add esi, 0xfffffb6d
mov dword [ebp - 0x30], esi
cmp esi, 0x1ac8
jl 0x10076107
cmp esi, 0x1b90
jge 0x10076107
lea eax, [ebp - 0x30]
mov ecx, 0x114edc40
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10011a30
mov eax, dword [ebp - 8]
mov ecx, dword [0x114edc40]
cmp byte [eax + 0xd], 0
jne 0x100760fa
cmp esi, dword [eax + 0x10]
jge 0x100760fc
mov eax, ecx
cmp eax, ecx
je 0x10076107
movss xmm0, dword [eax + 0x28]
jmp 0x1007610a
xorps xmm0, xmm0
mov eax, dword [edi + 0x1d8]
mov esi, dword [edi + 0x30]
add esi, 0xfffffb6d
mov dword [ebp - 0x30], esi
addss xmm0, dword [eax + 0x104]
movss dword [edi + 0x104], xmm0
cmp esi, 0x1ac8
jl 0x1007616d
cmp esi, 0x1b90
jge 0x1007616d
lea eax, [ebp - 0x30]
mov ecx, 0x114edc40
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10011a30
mov eax, dword [ebp - 8]
mov ecx, dword [0x114edc40]
cmp byte [eax + 0xd], 0
jne 0x10076162
cmp esi, dword [eax + 0x10]
jge 0x10076164
mov eax, ecx
cmp eax, ecx
je 0x1007616d
mov ecx, dword [eax + 0x2c]
jmp 0x1007616f
xor ecx, ecx
xor eax, eax
test ecx, ecx
pop esi
setg al
lea eax, [eax*2 - 1]
mov dword [edi + 0x44], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.100d2be8
mov esp, ebp
pop ebp
ret 0x14