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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10099ad7
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xb8
push esi
push edi
push ecx
call fcn.1007dfc0
test al, al
jne 0x1007ef2e
mov eax, dword [0x1010e030]
cmp dword [eax], 0
je 0x1007eeb6
mov ecx, dword [0x1010ac04]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1007eeb6
mov eax, dword [0x1010e030]
mov ecx, dword [eax]
call fcn.10008830
cmp dword [eax], 0
jne 0x1007eeb6
cmp byte [0x10103d0c], 0
je 0x1007eeb6
cmp dword [0x10103d40], 0
jne 0x1007eeb6
mov eax, dword [0x1010e030]
mov ecx, dword [eax]
call fcn.10005f90
mov ecx, dword [0x1010abe0]
push ecx
mov esi, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov eax, esp
mov dword [eax], esi
call edx
test eax, eax
je case.0x1007ee78.5
mov ecx, dword [0x1010abe0]
push ecx
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov eax, esp
mov dword [eax], esi
call edx
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x734]
call eax
cmp dword [eax + 0xcc], 5
je case.0x1007ee78.2
mov ecx, dword [0x1010abe0]
push ecx
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov eax, esp
mov dword [eax], esi
call edx
mov ecx, dword [eax]
mov edx, dword [ecx + 0x734]
mov ecx, eax
call edx
mov eax, dword [eax + 0xcc]
sub eax, 1
je case.0x1007ee78.2
mov ecx, dword [0x1010abe0]
push ecx
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov eax, esp
mov dword [eax], esi
call edx
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x734]
call eax
mov eax, dword [eax + 0xcc]
add eax, 0xfffffffe
cmp eax, 4
ja case.0x1007ee78.5
jmp dword [eax*4 + 0x1007fb48]
mov esi, dword [ebx + 8]
push 0
push ecx
add esi, 0xc
push esi
sub esp, 0xc
mov ecx, esp
movq xmm0, qword [esi]
mov eax, dword [esi + 8]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call fcn.1007e130
mov ecx, esi
call fcn.1003b2d0
mov ecx, dword [0x1010ac04]
push esi
mov eax, dword [ecx]
call dword [eax + 0x4c]
jmp case.0x1007ee78.5
mov dword [0x10103d88], 0
mov dword [0x10103d8c], 0
mov dword [0x10103d90], 0
cmp byte [0x10103d1a], 0
mov byte [0x10103d94], 0
mov byte [0x10103d78], 0
mov byte [0x10103d9c], 0
je 0x1007ef18
movss xmm0, dword [0x10103d4c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1007ef18
mov al, 1
mov dword [0x10103da0], 0
mov byte [0x10103d79], al
jmp 0x1007fb30
xor al, al
mov dword [0x10103da0], 0
mov byte [0x10103d79], al
jmp 0x1007fb30
mov ecx, dword [0x1010ac04]
lea edx, [ebp - 0xc4]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov eax, dword [ecx]
push edx
call dword [eax + 0x48]
mov edi, dword [ebx + 8]
push dword [edi + 4]
call dword [0x10105b20]
mov eax, dword [0x1010e030]
add esp, 4
mov ecx, dword [eax]
call fcn.10005f90
mov ecx, dword [0x1010abe0]
push ecx
mov eax, dword [eax]
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov ecx, eax
test ecx, ecx
je 0x1007fb30
mov eax, dword [ecx]
mov eax, dword [eax + 0x734]
call eax
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x1007fb30
cmp byte [0x10103d17], 0
movq xmm0, qword [edi + 0xc]
mov eax, dword [edi + 0x14]
movq qword [ebp - 0x34], xmm0
movq xmm0, xmm0
movq qword [ebp - 0x78], xmm0
movq qword [ebp - 0xa0], xmm0
movss xmm0, dword [0x100cb484]
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x98], eax
movss dword [ebp - 0x18], xmm0
je 0x1007f1c6
mov eax, dword [0x1010e030]
mov ecx, dword [0x10105654]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10110924]
cmp eax, dword [ecx + 4]
jle 0x1007f1a7
push 0x10110924
call fcn.10096a77
add esp, 4
cmp dword [0x10110924], 0xffffffff
jne 0x1007f1a7
mov dword [ebp - 4], 0
call fcn.10007910
xorps xmm0, xmm0
mov dword [ebp - 0x84], 0
push 0x20
mov esi, eax
mov dword [ebp - 0x80], 0
movups xmmword [ebp - 0x94], xmm0
call fcn.10096677
movups xmm0, xmmword [str.m_flFlashMaxAlpha]
mov dword [ebp - 0x94], eax
add esp, 4
mov dword [ebp - 0x84], 0x11
mov dword [ebp - 0x80], 0x1f
movups xmmword [eax], xmm0
mov cl, byte [0x100ca3cc]
mov byte [eax + 0x10], cl
mov byte [eax + 0x11], 0
mov ax, word [0x1009c6a0]
xorps xmm0, xmm0
movups xmmword [ebp - 0xb8], xmm0
mov word [ebp - 0xb0], ax
movq xmm0, qword [str.DT_CSPlayer]
mov al, byte [0x1009c6a2]
mov dword [ebp - 0xa8], 0xb
mov dword [ebp - 0xa4], 0xf
movq qword [ebp - 0xb8], xmm0
mov byte [ebp - 0xae], al
mov byte [ebp - 0xad], 0
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xb8]
mov ecx, esi
push eax
call fcn.10095d10
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xa4]
mov dword [0x1011091c], eax
cmp ecx, 0xf
jbe 0x1007f13e
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007f134
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007f16b
push ecx
push edx
call fcn.100969c1
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x80]
cmp ecx, 0xf
jbe 0x1007f17b
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007f171
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007f171
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100969c1
add esp, 8
push 0x10110924
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
mov dword [ebp - 4], 0xffffffff
call fcn.10096a26
add esp, 4
mov eax, dword [0x1011091c]
mov ecx, dword [ebp - 0x20]
movss xmm0, dword [ecx + eax - 8]
cvtps2pd xmm0, xmm0
comisd xmm0, xmmword [0x100caf40]
ja 0x1007f77b
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0xffffffff
push eax
push edi
call fcn.1007e5b0
test eax, eax
je 0x1007f77b
push dword [ebp - 0x14]
mov ecx, dword [0x10103da0]
lea eax, [ebp - 0x88]
push eax
call fcn.10094250
mov ecx, dword [0x10103da0]
mov esi, eax
call fcn.10008cd0
mov ecx, dword [0x1010abfc]
movss xmm0, dword [ecx + 0x20]
lea ecx, [ebp - 0x88]
movaps xmm1, xmm0
mulss xmm1, dword [eax]
push ecx
addss xmm1, dword [esi]
movss dword [ebp - 0x38], xmm1
movaps xmm1, xmm0
mulss xmm1, dword [eax + 4]
mulss xmm0, dword [eax + 8]
mov eax, dword [0x1010e030]
addss xmm1, dword [esi + 4]
addss xmm0, dword [esi + 8]
mov ecx, dword [eax]
movss dword [ebp - 0x58], xmm1
movss dword [ebp - 0x20], xmm0
call fcn.10093fd0
movss xmm0, dword [eax + 8]
subss xmm0, dword [ebp - 0x20]
movss xmm3, dword [eax]
movss xmm2, dword [eax + 4]
subss xmm3, dword [ebp - 0x38]
subss xmm2, dword [ebp - 0x58]
cvtps2pd xmm0, xmm0
movaps xmm1, xmm2
movss dword [ebp - 0x14], xmm3
movsd qword [ebp - 0x48], xmm0
movaps xmm0, xmm3
mulss xmm1, xmm2
mulss xmm0, xmm3
movss dword [ebp - 0x4c], xmm2
addss xmm0, xmm1
call fcn.10005570
movsd xmm1, qword [ebp - 0x48]
cvtss2sd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x100cb3e8]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0x4c]
divss xmm0, dword [ebp - 0x14]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
movss xmm2, dword [ebp - 0x18]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [ebp - 0x14]
xorps xmm7, xmm7
comiss xmm0, xmm7
mulss xmm1, dword [0x100cb3e8]
jb 0x1007f2f7
addss xmm1, xmm2
movss xmm0, dword [ebp - 0x40]
movss xmm5, dword [ebp - 0x38]
movss xmm6, dword [ebp - 0x58]
movss xmm4, dword [ebp - 0x20]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [0x10103d54]
comiss xmm0, dword [0x100cabac]
mov dword [ebp - 0x2c], 0
movss dword [ebp - 0x30], xmm1
movss dword [ebp - 0x4c], xmm5
movss dword [ebp - 0x38], xmm6
movss dword [ebp - 0x14], xmm4
jbe 0x1007f494
cmp byte [0x10103d1f], 0
movss dword [ebp - 0x4c], xmm5
movss dword [ebp - 0x38], xmm6
movss dword [ebp - 0x14], xmm4
je 0x1007f494
movaps xmm0, xmm1
movss xmm1, dword [0x100cb4b0]
subss xmm0, dword [ebp - 0xc0]
comiss xmm0, xmm2
jbe 0x1007f37d
subss xmm0, xmm1
comiss xmm0, xmm2
ja 0x1007f374
movss xmm3, dword [0x100cb58c]
comiss xmm3, xmm0
jbe 0x1007f399
nop word [eax + eax]
addss xmm0, xmm1
comiss xmm3, xmm0
ja 0x1007f390
comiss xmm0, xmm2
jbe 0x1007f3a5
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x10103d20]
lea ecx, [ebp - 0x88]
mov eax, dword [0x1010e030]
movaps xmm1, xmm5
addss xmm1, xmm7
addss xmm0, xmm4
push ecx
mov ecx, dword [eax]
movss dword [ebp - 0x4c], xmm1
movaps xmm1, xmm6
addss xmm1, xmm7
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0x38], xmm1
call fcn.10093fd0
movss xmm0, dword [eax + 8]
subss xmm0, dword [ebp - 0x14]
movss xmm3, dword [eax]
movss xmm2, dword [eax + 4]
subss xmm3, dword [ebp - 0x4c]
subss xmm2, dword [ebp - 0x38]
cvtps2pd xmm0, xmm0
movaps xmm1, xmm2
movss dword [ebp - 0x20], xmm3
movsd qword [ebp - 0x60], xmm0
movaps xmm0, xmm3
mulss xmm1, xmm2
mulss xmm0, xmm3
movss dword [ebp - 0x40], xmm2
addss xmm0, xmm1
call fcn.10005570
movsd xmm1, qword [ebp - 0x60]
cvtss2sd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x100cb3e8]
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [ebp - 0x40]
divss xmm0, dword [ebp - 0x20]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [ebp - 0x20]
comiss xmm0, dword [0x100caa3c]
mulss xmm1, dword [0x100cb3e8]
jb 0x1007f485
addss xmm1, dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x58]
movss dword [ebp - 0x34], xmm0
movss dword [ebp - 0x30], xmm1
lea ecx, [ebp - 0x34]
call fcn.1003b2d0
cmp dword [0x10103d3c], 1
movq xmm0, qword [edi + 0xc]
jne 0x1007f5ed
mov eax, dword [0x1010e030]
lea ecx, [ebp - 0x88]
mov esi, dword [edi + 0x14]
mov edi, dword [ebp - 0x2c]
movq qword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x34]
push ecx
mov ecx, dword [eax]
movq qword [ebp - 0x60], xmm0
call fcn.10093fd0
movss xmm2, dword [eax]
movss xmm0, dword [eax + 4]
subss xmm0, dword [ebp - 0x38]
subss xmm2, dword [ebp - 0x4c]
movss xmm1, dword [eax + 8]
subss xmm1, dword [ebp - 0x14]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.10005570
movq xmm1, qword [ebp - 0x28]
lea edx, [ebp - 0x28]
movq qword [ebp - 0xac], xmm1
lea ecx, [ebp - 0xac]
movq xmm1, qword [ebp - 0x60]
movss dword [ebp - 0x40], xmm0
mov dword [ebp - 0xa4], esi
movq qword [ebp - 0x88], xmm1
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x20], 0x7f800000
mov dword [ebp - 0x24], 0x7f800000
mov dword [ebp - 0x28], 0x7f800000
call fcn.1003b380
lea edx, [ebp - 0x60]
mov dword [ebp - 0x58], 0x7f800000
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x5c], 0x7f800000
mov dword [ebp - 0x60], 0x7f800000
call fcn.1003b380
movss xmm4, dword [ebp - 0x40]
movss xmm3, dword [ebp - 0x28]
movss xmm0, dword [ebp - 0x60]
movss xmm2, dword [ebp - 0x24]
movss xmm1, dword [ebp - 0x20]
mulss xmm0, xmm4
mulss xmm3, xmm4
mulss xmm2, xmm4
subss xmm3, xmm0
mulss xmm1, xmm4
movss xmm0, dword [ebp - 0x5c]
mulss xmm0, xmm4
mulss xmm3, xmm3
subss xmm2, xmm0
movss xmm0, dword [ebp - 0x58]
mulss xmm0, xmm4
mulss xmm2, xmm2
subss xmm1, xmm0
addss xmm2, xmm3
mulss xmm1, xmm1
addss xmm2, xmm1
movaps xmm0, xmm2
call fcn.10005570
divss xmm0, dword [0x100caf58]
mov edi, dword [ebx + 8]
jmp 0x1007f688
mov eax, dword [edi + 0x14]
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x48], xmm0
movss xmm0, dword [ebp - 0x34]
subss xmm0, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x30]
subss xmm0, dword [ebp - 0x44]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ebp - 0x2c]
subss xmm0, dword [ebp - 0x40]
movss dword [ebp - 0x20], xmm0
call fcn.1003b2d0
movss xmm0, dword [ebp - 0x24]
movsd xmm1, qword [0x100cabb0]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
movsd xmm1, qword [0x100cabb0]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0x28]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
movss xmm1, dword [ebp - 0x40]
cvtsd2ss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1007f67f
sqrtsd xmm0, xmm0
jmp 0x1007f684
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
cvtsd2ss xmm0, xmm0
cmp byte [0x10103d1a], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
movss dword [ebp - 0x18], xmm0
mov byte [ebp - 0x64], 1
jne 0x1007f6f1
cmp byte [0x10103d94], 0
jne 0x1007f6f1
cmp byte [0x10103d78], 0
jne 0x1007f6fa
cmp dword [0x10103d5c], 0
jle 0x1007f6f1
mov byte [0x10103d94], 1
mov byte [0x10103d78], 1
call esi
add eax, dword [0x10103d5c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100cb9c0]
cvtpd2ps xmm0, xmm0
movss dword [0x10103d74], xmm0
cmp byte [0x10103d78], 0
je 0x1007f731
call esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100cb9c0]
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [0x10103d74]
jb 0x1007f724
mov byte [0x10103d78], 0
cmp byte [0x10103d78], 0
je 0x1007f731
and dword [edi + 0x30], 0xfffffffe
cmp byte [0x10103d0d], 0
je 0x1007f77b
cmp dword [0x10103d08], 0
je 0x1007f755
call fcn.1003b220
mov ecx, dword [0x10103d08]
cmp dword [eax + ecx*4 + 8], 2
jne 0x1007f77b
mov eax, dword [ebp - 0x7c]
mov edx, dword [edi + 0x30]
cmp byte [eax + 0xf0], 0
jne 0x1007f775
mov eax, edx
and edx, 0xfffffffe
or eax, 1
test byte [edi + 4], 1
cmovne edx, eax
jmp 0x1007f778
or edx, 1
mov dword [edi + 0x30], edx
mov eax, dword [0x1010e030]
mov ecx, dword [eax]
call fcn.1007de20
mov eax, dword [eax]
cmp eax, dword [0x10103d6c]
jge 0x1007f7a8
cmp byte [0x10103d79], 0
je 0x1007f7a8
movss xmm0, dword [ebp - 0x18]
comiss xmm0, dword [0x10103d4c]
jbe 0x1007f7d8
cmp byte [ebp - 0x64], 0
jne 0x1007f7b7
cmp dword [0x10103d40], 0
jne 0x1007f7d8
push dword [ebp - 0x64]
movq xmm0, qword [ebp - 0x78]
lea eax, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x68]
push eax
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], ecx
call fcn.1007e130
cmp dword [0x10103da0], 0
je 0x1007fa29
mov eax, dword [0x1010e030]
mov ecx, dword [eax]
call fcn.1007de20
mov eax, dword [eax]
cmp eax, dword [0x10103d6c]
jge 0x1007f816
cmp byte [0x10103d79], 0
je 0x1007f816
movss xmm0, dword [ebp - 0x18]
comiss xmm0, dword [0x10103d4c]
jbe 0x1007fa29
mov eax, dword [ebp - 0x2c]
movq xmm0, qword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [0x1010e030]
movq qword [ebp - 0x48], xmm0
mov ecx, dword [eax]
call fcn.1007de20
mov eax, dword [eax]
cmp eax, dword [0x10103d6c]
jl 0x1007f84f
cmp byte [0x10103d1e], 0
je 0x1007f84f
movss xmm4, dword [0x10103d58]
jmp 0x1007f857
movss xmm4, dword [0x10103d54]
movss xmm0, dword [0x100cab58]
comiss xmm0, xmm4
movss dword [ebp - 0x58], xmm4
jae 0x1007fa29
movss xmm0, dword [ebp - 0x48]
lea ecx, [ebp - 0x78]
subss xmm0, dword [ebp - 0xa0]
movss dword [ebp - 0x78], xmm0
movss xmm0, dword [ebp - 0x44]
subss xmm0, dword [ebp - 0x9c]
movss dword [ebp - 0x74], xmm0
movss xmm0, dword [ebp - 0x40]
subss xmm0, dword [ebp - 0x98]
movss dword [ebp - 0x70], xmm0
call fcn.1003b2d0
cmp dword [0x10103d34], 1
jne 0x1007f9c9
movss xmm1, dword [ebp - 0x74]
sub esp, 8
movss xmm0, dword [ebp - 0x78]
mulss xmm1, xmm1
mulss xmm0, xmm0
mov dword [esp + 4], 0x3c23d70a
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1007f8eb
sqrtsd xmm0, xmm0
jmp 0x1007f8f0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
cvtsd2ss xmm0, xmm0
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
movss xmm1, dword [0x100cab58]
fstp dword [ebp - 0x20]
divss xmm1, dword [ebp - 0x20]
mov eax, dword [0x1010abfc]
push dword [eax + 0x1c]
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x78]
movss dword [ebp - 0x7c], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x74]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0x70]
mulss xmm0, xmm1
movss dword [ebp - 0x64], xmm0
call dword [0x10105b20]
add esp, 0xc
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movss xmm2, dword [ebp - 0x58]
sub esp, 8
movss xmm0, dword [ebp - 0x20]
mulss xmm2, dword [0x100caac4]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [0x1010abfc]
movss dword [esp + 4], xmm0
divss xmm1, dword [0x100cb50c]
movss xmm0, dword [eax + 0x20]
mulss xmm1, dword [0x100caad8]
mulss xmm0, dword [0x100cb43c]
subss xmm1, dword [0x100caab8]
addss xmm1, xmm2
divss xmm0, xmm1
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fminf]
movss xmm1, dword [ebp - 0x7c]
add esp, 8
movss xmm2, dword [ebp - 0x40]
movss xmm3, dword [ebp - 0x64]
fstp dword [ebp - 0x68]
movss xmm0, dword [ebp - 0x68]
jmp 0x1007f9ee
mov eax, dword [0x1010abfc]
movss xmm3, dword [ebp - 0x70]
movss xmm2, dword [ebp - 0x74]
movss xmm1, dword [ebp - 0x78]
movss xmm0, dword [eax + 0x20]
mulss xmm0, dword [0x100cb43c]
divss xmm0, xmm4
mulss xmm1, xmm0
lea ecx, [ebp - 0x34]
mulss xmm2, xmm0
addss xmm1, dword [ebp - 0xa0]
mulss xmm3, xmm0
addss xmm2, dword [ebp - 0x9c]
addss xmm3, dword [ebp - 0x98]
movss dword [ebp - 0x34], xmm1
movss dword [ebp - 0x30], xmm2
movss dword [ebp - 0x2c], xmm3
call fcn.1003b2d0
lea ecx, [ebp - 0x34]
call fcn.1003b2d0
movss xmm0, dword [ebp - 0x34]
movss dword [edi + 0xc], xmm0
movss xmm0, dword [ebp - 0x30]
movss dword [edi + 0x10], xmm0
movss xmm0, dword [ebp - 0x2c]
movss dword [edi + 0x14], xmm0
mov eax, dword [0x1010e030]
mov ecx, dword [eax]
call fcn.1007de20
mov eax, dword [eax]
cmp eax, dword [0x10103d6c]
jge 0x1007fa7c
cmp byte [0x10103d79], 0
je 0x1007fa7c
movss xmm0, dword [ebp - 0x18]
comiss xmm0, dword [0x10103d4c]
jbe 0x1007fa8b
mov ecx, dword [0x1010ac04]
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov eax, dword [0x1010e030]
mov byte [0x10103d79], 0
mov ecx, dword [eax]
call fcn.10005f90
mov ecx, dword [0x1010abe0]
push ecx
mov eax, dword [eax]
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x734]
call eax
mov eax, dword [eax + 0xcc]
sub eax, 1
jne 0x1007fb30
cmp byte [0x10103d15], al
je 0x1007fb30
mov eax, dword [0x1010e030]
mov ecx, dword [eax]
call fcn.1003bc30
movd xmm0, dword [eax]
mov eax, dword [0x1010abfc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
mov eax, dword [0x1010e030]
movss dword [ebp - 0x68], xmm0
mov ecx, dword [eax]
call fcn.10005f90
mov ecx, dword [0x1010abe0]
push ecx
mov eax, dword [eax]
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov ecx, eax
call fcn.1007dc60
movss xmm0, dword [eax]
subss xmm0, dword [ebp - 0x68]
comiss xmm0, dword [0x100caa3c]
jbe 0x1007fb30
and dword [edi + 0x30], 0xfffffffe
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4