Function at 0x10016ad0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
push esi
mov esi, dword [0x100881b4]
push edi
mov al, byte [esi + 8]
and al, 1
mov byte [esi + 0x35b], 0
test byte [esi + 8], 2
mov byte [ebp - 2], al
je 0x10016b53
test byte [esi + 0xc], 1
je 0x10016b53
movss xmm0, dword [esi + 0x304]
xorps xmm1, xmm1
comiss xmm0, xmm1
mov byte [ebp - 1], 1
ja 0x10016b47
movss xmm0, dword [esi + 0x30c]
comiss xmm0, xmm1
ja 0x10016b47
movss xmm0, dword [esi + 0x308]
comiss xmm0, xmm1
ja 0x10016b47
movss xmm0, dword [esi + 0x310]
comiss xmm0, xmm1
jbe 0x10016b5a
mov dword [esi + 0x1b58], 4
jmp 0x10016b5a
mov byte [ebp - 1], 0
xorps xmm1, xmm1
test al, al
je 0x10016caa
mov eax, dword [esi + 0x64]
test eax, eax
js 0x10016b88
mov al, byte [esi + eax + 0x104]
test al, al
je 0x10016b88
mov dword [esi + 0x304], 0x3f800000
mov dword [esi + 0x1b58], 3
mov eax, dword [esi + 0x68]
test eax, eax
js 0x10016bae
mov al, byte [eax + esi + 0x104]
test al, al
je 0x10016bae
mov dword [esi + 0x30c], 0x3f800000
mov dword [esi + 0x1b58], 3
mov eax, dword [esi + 0x6c]
test eax, eax
js 0x10016bd4
mov al, byte [eax + esi + 0x104]
test al, al
je 0x10016bd4
mov dword [esi + 0x308], 0x3f800000
mov dword [esi + 0x1b58], 3
mov eax, dword [esi + 0x38]
test eax, eax
js 0x10016bfa
mov al, byte [eax + esi + 0x104]
test al, al
je 0x10016bfa
mov dword [esi + 0x348], 0x3f800000
mov dword [esi + 0x1b58], 3
mov eax, dword [esi + 0x3c]
test eax, eax
js 0x10016c20
mov al, byte [eax + esi + 0x104]
test al, al
je 0x10016c20
mov dword [esi + 0x34c], 0x3f800000
mov dword [esi + 0x1b58], 3
mov eax, dword [esi + 0x40]
test eax, eax
js 0x10016c46
mov al, byte [eax + esi + 0x104]
test al, al
je 0x10016c46
mov dword [esi + 0x350], 0x3f800000
mov dword [esi + 0x1b58], 3
mov eax, dword [esi + 0x44]
test eax, eax
js 0x10016c6c
mov al, byte [eax + esi + 0x104]
test al, al
je 0x10016c6c
mov dword [esi + 0x354], 0x3f800000
mov dword [esi + 0x1b58], 3
mov al, byte [esi + 0x100]
test al, al
je 0x10016c80
mov dword [esi + 0x33c], 0x3f800000
cmp byte [esi + 0x101], 0
je 0x10016c93
mov dword [esi + 0x340], 0x3f800000
cmp byte [esi + 0x102], 0
je 0x10016caa
test al, al
jne 0x10016caa
mov dword [esi + 0x344], 0x3f800000
movups xmm0, xmmword [esi + 0x1460]
mov eax, dword [esi + 0x14b0]
lea ecx, [esi + 0x1460]
movss xmm2, dword [0x1007dc7c]
movups xmmword [esi + 0x14b4], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [esi + 0x14c4], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [esi + 0x14d4], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [esi + 0x14e4], xmm0
movups xmm0, xmmword [ecx + 0x40]
movups xmmword [esi + 0x14f4], xmm0
mov dword [esi + 0x1504], eax
mov eax, 0x15
movss xmm0, dword [ecx - 0x115c]
comiss xmm0, xmm1
jbe 0x10016d39
movss xmm2, dword [ecx]
comiss xmm1, xmm2
jbe 0x10016d26
movss xmm2, dword [0x1007dc7c]
movaps xmm0, xmm1
jmp 0x10016d3c
movss xmm0, dword [esi + 0x18]
addss xmm0, xmm2
movss xmm2, dword [0x1007dc7c]
jmp 0x10016d3c
movaps xmm0, xmm2
movss dword [ecx], xmm0
add ecx, 4
sub eax, 1
jne 0x10016d03
mov ecx, dword [esi + 0x1b80]
test ecx, ecx
je 0x10016ddd
cmp byte [esi + 0x1b7a], al
je 0x10016d66
cmp byte [esi + 0x1b7e], al
je 0x10016ddd
cmp dword [esi + 0x1b28], 0
je 0x10016ddd
mov edx, dword [esi + 0x1b70]
mov eax, dword [esi + 0x1b28]
cmp byte [esi + 0x1b7e], 0
mov dword [esi + 0x1b2c], ecx
mov dword [esi + 0x1b30], 0
mov dword [eax + edx*4 + 0x308], ecx
je 0x10016dc1
movups xmm0, xmmword [esi + 0x1b84]
lea eax, [edx + 0x31]
shl eax, 4
add eax, dword [esi + 0x1b28]
movups xmmword [eax], xmm0
mov word [esi + 0x1b79], 1
mov byte [esi + 0x1b7b], 1
mov eax, dword [esi + 0x1b70]
movups xmm0, xmmword [esi + 0x1b84]
add eax, 0x31
shl eax, 4
add eax, dword [esi + 0x1b28]
movups xmmword [eax], xmm0
cmp byte [esi + 0x1b95], 0
mov word [esi + 0x1b7d], 0
mov dword [esi + 0x1b80], 0
mov dword [esi + 0x1b48], 0
je 0x10016e08
call fcn.100179e0
cmp dword [esi + 0x1b9c], 2
jne 0x10016e34
cmp dword [esi + 0x1bb4], 0
jne 0x10016e2a
cmp dword [esi + 0x1c04], 0
jne 0x10016e2a
mov byte [esi + 0x1b7a], 0
mov dword [esi + 0x1b9c], 0
cmp byte [esi + 0x1b79], 0
je 0x10016ea8
cmp byte [esi + 0x1b78], 0
je 0x10016ea8
test byte [esi + 8], 4
je 0x10016ea1
test byte [esi + 0xc], 4
je 0x10016ea1
cmp byte [esi + 0x1b7a], 0
jne 0x10016ea1
cmp byte [esi + 0x1b7b], 0
je 0x10016ea1
cmp dword [esi + 0x1b28], 0
je 0x10016ea1
lea ecx, [ebp - 0x14]
call fcn.10016830
mov ecx, dword [eax]
mov dword [esi + 0x384], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x388], eax
mov eax, ecx
mov dword [esi + 0xe8], eax
mov eax, dword [esi + 0x388]
mov dword [esi + 0xec], eax
mov byte [esi + 0x35b], 1
mov byte [esi + 0x1b79], 0
mov edx, dword [esi + 0x1b28]
mov byte [esi + 0x1b78], 0
mov dword [esi + 0x1b44], 0
test edx, edx
je 0x10016ef5
mov ecx, edx
nop word [eax + eax]
mov eax, dword [ecx + 8]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x10016eeb
mov ecx, dword [ecx + 0x2f4]
test ecx, ecx
jne 0x10016ed0
jmp 0x10016ef5
cmp ecx, edx
je 0x10016ef5
mov dword [ecx + 0x304], edx
mov eax, dword [esi + 0x1b28]
test eax, eax
je 0x10016f1b
cmp dword [eax + 0x304], 0
je 0x10016f1b
cmp dword [esi + 0x1b70], 0
jne 0x10016f1b
mov dword [eax + 0x304], 0
call fcn.10018070
cmp byte [ebp - 2], 0
jne 0x10016f2c
cmp byte [ebp - 1], 0
je 0x10016fa1
mov eax, dword [esi + 0x1b28]
test eax, eax
je 0x10016fa1
test dword [eax + 8], 0x40000
jne 0x10016fa1
cmp dword [esi + 0x1b2c], 0
mov byte [esi + 0x35d], 1
je 0x10016fa8
cmp byte [esi + 0x1b7a], 0
jne 0x10016fa8
mov al, 1
mov edx, 1
mov byte [esi + 0x35e], al
mov ecx, edx
call fcn.10016950
xorps xmm5, xmm5
comiss xmm0, xmm5
jbe 0x1001710d
cmp dword [esi + 0x1a34], 0
je 0x10016fb5
mov edi, dword [0x100881b4]
mov eax, dword [edi + 0x1a4c]
shr eax, 1
test dl, al
jne 0x10017113
call fcn.1000bca0
jmp 0x10017113
mov byte [esi + 0x35d], 0
cmp dword [esi + 0x1c28], 0
jne 0x10016f58
xor al, al
jmp 0x10016f5a
mov edi, dword [esi + 0x1b28]
test edi, edi
je 0x10017025
mov eax, dword [edi + 8]
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x10017025
mov ecx, dword [edi + 0x2f4]
test ecx, ecx
je 0x10017025
call fcn.10013ce0
mov ecx, dword [edi + 0x4c]
xorps xmm5, xmm5
mov edi, dword [0x100881b4]
mov eax, dword [edi + 0x1b28]
mov dword [edi + 0x1b2c], ecx
mov dword [edi + 0x1b30], 0
mov dword [eax + 0x308], ecx
cmp byte [esi + 0x1b7b], 0
mov byte [esi + 0x1b78], 0
je 0x10017113
mov byte [esi + 0x1b79], 1
jmp 0x10017113
mov edx, dword [esi + 0x1b10]
test edx, edx
jle 0x1001705b
mov eax, dword [esi + 0x1b18]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*4 - 0x20]
test dword [eax + 8], 0x8000000
jne 0x1001710d
lea ecx, [edx - 1]
mov dl, 1
call fcn.10015570
xorps xmm5, xmm5
jmp 0x1001710d
cmp dword [esi + 0x1b70], 0
je 0x100170da
mov edi, dword [0x100881b4]
mov ecx, dword [edi + 0x1b28]
mov dword [edi + 0x1b70], 0
mov eax, dword [ecx + 0x304]
test eax, eax
cmovne ecx, eax
mov dword [edi + 0x1b28], ecx
mov eax, dword [ecx + 0x308]
test eax, eax
je 0x100170d1
mov dword [edi + 0x1b2c], eax
mov dword [edi + 0x1b30], 0
mov dword [ecx + 0x308], eax
movups xmm0, xmmword [ecx + 0x310]
mov eax, dword [edi + 0x1b28]
movups xmmword [eax + 0x310], xmm0
mov word [edi + 0x1b79], 1
mov byte [edi + 0x1b7b], 1
jmp 0x10017113
mov dl, 1
call fcn.10016790
jmp 0x10017113
test edi, edi
je 0x100170f9
mov eax, dword [edi + 8]
test eax, 0x4000000
jne 0x100170ef
test eax, 0x1000000
jne 0x100170f9
mov dword [edi + 0x308], 0
mov dword [esi + 0x1b30], 0
mov dword [esi + 0x1b2c], 0
mov edi, dword [0x100881b4]
cmp dword [esi + 0x1b2c], 0
mov dword [esi + 0x1b40], 0
mov dword [esi + 0x1b3c], 0
mov dword [esi + 0x1b38], 0
mov dword [esi + 0x1b34], 0
je 0x10017225
cmp byte [esi + 0x1b7a], 0
jne 0x10017225
cmp dword [esi + 0x1c28], 0
jne 0x10017225
mov eax, dword [esi + 0x1b28]
test eax, eax
je 0x10017225
test dword [eax + 8], 0x40000
jne 0x10017225
movss xmm0, dword [edi + 0x304]
comiss xmm0, xmm5
seta al
mov byte [ebp - 3], al
test al, al
je 0x100171a7
mov edx, 1
xor ecx, ecx
call fcn.10016950
comiss xmm0, xmm5
jbe 0x100171a7
mov al, dl
jmp 0x100171a9
xor al, al
mov edx, dword [esi + 0x1a34]
mov ecx, dword [esi + 0x1b2c]
mov byte [ebp - 1], al
test edx, edx
jne 0x100171c8
test al, al
je 0x100171cc
mov dword [esi + 0x1b34], ecx
jmp 0x100171cc
cmp edx, ecx
jne 0x10017225
cmp byte [ebp - 3], 0
mov eax, dword [esi + 0x1b38]
cmovne eax, ecx
mov dword [esi + 0x1b38], eax
test edx, edx
je 0x100171e7
cmp edx, ecx
jne 0x10017225
cmp byte [ebp - 1], 0
mov eax, dword [esi + 0x1b3c]
cmovne eax, ecx
mov dword [esi + 0x1b3c], eax
test edx, edx
je 0x10017202
cmp edx, ecx
jne 0x10017225
mov edx, 1
lea ecx, [edx + 1]
call fcn.10016950
mov eax, dword [esi + 0x1b40]
comiss xmm0, xmm5
cmova eax, dword [esi + 0x1b2c]
mov dword [esi + 0x1b40], eax
mov ecx, dword [esi + 0x1b28]
test ecx, ecx
je 0x1001723f
test dword [ecx + 8], 0x40000
je 0x1001723f
mov byte [esi + 0x1b7a], 1
mov eax, dword [esi + 0x1b54]
mov byte [esi + 0x1b95], 0
test eax, eax
je 0x10017268
mov dword [esi + 0x1b40], eax
mov dword [esi + 0x1b3c], eax
mov dword [esi + 0x1b38], eax
mov dword [esi + 0x1b34], eax
cmp dword [esi + 0x1b9c], 0
mov dword [esi + 0x1b54], 0
jne 0x100173fc
or eax, 0xffffffff
mov dword [esi + 0x1ba4], 0xffffffff
mov dword [esi + 0x1b98], 0
test ecx, ecx
je 0x100173f4
or eax, eax
cmp dword [esi + 0x1c28], 0
jne 0x100173f4
or eax, 0xffffffff
test dword [ecx + 8], 0x40000
jne 0x100173f4
test byte [edi + 0x1a48], 1
mov dword [ebp - 8], eax
jne 0x100172fb
lea edx, [eax + 4]
lea ecx, [eax + 5]
call fcn.10016950
comiss xmm0, xmm5
ja 0x100172ec
or eax, 0xffffffff
lea ecx, [edx + 0xe]
mov dword [ebp - 8], eax
call fcn.10016950
comiss xmm0, xmm5
jbe 0x100172fb
xor eax, eax
mov dword [esi + 0x1ba4], 0
mov dword [ebp - 8], eax
mov ecx, dword [edi + 0x1a48]
mov eax, ecx
shr eax, 1
mov dword [ebp - 0xc], ecx
test al, 1
jne 0x10017359
mov edx, 3
lea ecx, [edx + 2]
call fcn.10016950
comiss xmm0, xmm5
ja 0x1001733a
mov eax, dword [ebp - 8]
lea ecx, [edx + 0xf]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x1a48]
mov dword [ebp - 0xc], eax
call fcn.10016950
comiss xmm0, xmm5
jbe 0x10017356
mov dword [esi + 0x1ba4], 1
mov ecx, dword [edi + 0x1a48]
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], ecx
jmp 0x10017359
mov ecx, dword [ebp - 0xc]
mov eax, ecx
shr eax, 2
test al, 1
jne 0x100173aa
mov edx, 3
lea ecx, [edx + 3]
call fcn.10016950
comiss xmm0, xmm5
ja 0x1001738d
mov eax, dword [ebp - 8]
lea ecx, [edx + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
call fcn.10016950
comiss xmm0, xmm5
jbe 0x100173a7
mov eax, 2
mov dword [esi + 0x1ba4], 2
mov ecx, dword [edi + 0x1a48]
mov dword [ebp - 8], eax
jmp 0x100173ad
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
shr ecx, 3
test cl, 1
jne 0x100173f4
mov edx, 3
lea ecx, [edx + 4]
call fcn.10016950
comiss xmm0, xmm5
ja 0x100173da
mov eax, dword [ebp - 8]
lea ecx, [edx + 0x11]
mov dword [ebp - 8], eax
call fcn.10016950
comiss xmm0, xmm5
jbe 0x100173f1
mov eax, 3
mov dword [esi + 0x1ba4], 3
mov dword [esi + 0x1bac], eax
jmp 0x10017406
mov eax, dword [ebp - 8]
mov dword [esi + 0x1bac], eax
jmp 0x10017406
mov dword [esi + 0x1b9c], 2
cmp byte [ebp - 2], 0
movss dword [ebp - 0x10], xmm5
je 0x1001741e
call fcn.10017c20
movss dword [ebp - 0x10], xmm0
xorps xmm5, xmm5
mov ecx, dword [esi + 0x1ba4]
cmp ecx, 0xffffffff
je 0x10017442
mov eax, dword [esi + 0x380]
mov byte [esi + 0x1b95], 1
mov dword [esi + 0x1ba0], eax
mov dword [esi + 0x1ba8], ecx
cmp byte [esi + 0x1b95], 0
je 0x1001746e
cmp dword [esi + 0x1b2c], 0
jne 0x1001746e
mov word [esi + 0x1b7d], 0x101
mov dword [esi + 0x1b80], 0
mov byte [esi + 0x1b7a], 0
cmp byte [edi + 0x1b95], 0
jne 0x10017484
cmp byte [edi + 0x1b7d], 0
jne 0x10017484
xor al, al
jmp 0x10017486
mov al, 1
movss xmm2, dword [0x1007db04]
mov byte [edi + 0x1b7c], al
mov ecx, dword [esi + 0x1b28]
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x1001768b
test dword [ecx + 8], 0x40000
jne 0x1001768b
cmp dword [esi + 0x1c28], 0
jne 0x1001768b
movss xmm1, dword [edi + 0x18d4]
mov eax, dword [ecx + 0x2f4]
mulss xmm1, dword [ecx + 0x270]
test eax, eax
je 0x100174e1
mulss xmm1, dword [eax + 0x270]
cmp dword [ecx + 0x13c], 0
mulss xmm1, dword [0x1007dc40]
mulss xmm1, dword [esi + 0x18]
addss xmm1, xmm2
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [ebp - 0xc], xmm1
jne 0x100175ac
cmp byte [ecx + 0x149], 0
je 0x100175ac
cmp byte [esi + 0x1b95], 0
je 0x100175ac
mov eax, dword [esi + 0x1ba4]
test eax, eax
je 0x10017542
cmp eax, 1
jne 0x10017570
movss xmm0, dword [0x1007db34]
jmp 0x1001754a
movss xmm0, dword [0x1007dc7c]
mulss xmm0, xmm1
mov dword [ecx + 0x68], 0
addss xmm0, dword [ecx + 0x50]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x60], xmm0
mov eax, dword [esi + 0x1ba4]
cmp eax, 2
je 0x10017584
cmp eax, 3
jne 0x100175ac
movss xmm0, dword [0x1007db34]
jmp 0x1001758c
movss xmm0, dword [0x1007dc7c]
mulss xmm0, xmm1
mov dword [ecx + 0x6c], 0
addss xmm0, dword [ecx + 0x54]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x64], xmm0
xor edx, edx
lea ecx, [edx + 9]
call fcn.10016950
lea ecx, [edx + 8]
movaps xmm7, xmm0
call fcn.10016950
subss xmm7, xmm0
lea ecx, [edx + 0xb]
addss xmm7, xmm5
call fcn.10016950
lea ecx, [edx + 0xa]
movaps xmm6, xmm0
call fcn.10016950
movss xmm1, dword [edi + 0x33c]
subss xmm6, xmm0
comiss xmm1, xmm5
addss xmm6, xmm5
jbe 0x10017601
mulss xmm7, dword [0x1007dadc]
mulss xmm6, dword [0x1007dadc]
movss xmm0, dword [edi + 0x340]
comiss xmm0, xmm5
jbe 0x1001761e
mulss xmm7, dword [0x1007dc08]
mulss xmm6, dword [0x1007dc08]
mov ecx, dword [ebp - 8]
movss xmm1, dword [ebp - 0xc]
ucomiss xmm7, xmm5
lahf
test ah, 0x44
jnp 0x10017657
cmp byte [ecx + 0x78], dl
je 0x10017657
mulss xmm7, xmm1
mov dword [ecx + 0x68], edx
addss xmm7, dword [ecx + 0x50]
cvttss2si eax, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x60], xmm0
mov byte [esi + 0x1b94], 1
movss xmm2, dword [0x1007db04]
ucomiss xmm6, xmm5
lahf
test ah, 0x44
jnp 0x1001768b
mulss xmm6, xmm1
mov dword [ecx + 0x6c], edx
addss xmm6, dword [ecx + 0x54]
cvttss2si eax, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x64], xmm0
mov byte [esi + 0x1b94], 1
mov dword [esi + 0x1bb0], 0
xorps xmm0, xmm0
mov dword [esi + 0x1bb8], 0
mov dword [esi + 0x1bb4], 0
mov dword [esi + 0x1bc4], 0x7f7fffff
mov dword [esi + 0x1bc0], 0x7f7fffff
mov dword [esi + 0x1bbc], 0x7f7fffff
movups xmmword [esi + 0x1bc8], xmm0
mov dword [esi + 0x1bd8], 0
mov dword [esi + 0x1be0], 0
mov dword [esi + 0x1bdc], 0
mov dword [esi + 0x1bec], 0x7f7fffff
mov dword [esi + 0x1be8], 0x7f7fffff
mov dword [esi + 0x1be4], 0x7f7fffff
movups xmmword [esi + 0x1bf0], xmm0
mov dword [esi + 0x1c00], 0
mov dword [esi + 0x1c08], 0
mov dword [esi + 0x1c04], 0
mov dword [esi + 0x1c14], 0x7f7fffff
mov dword [esi + 0x1c10], 0x7f7fffff
mov dword [esi + 0x1c0c], 0x7f7fffff
movups xmmword [esi + 0x1c18], xmm0
cmp byte [esi + 0x1b95], 0
je 0x100178c7
cmp byte [esi + 0x1b94], 0
je 0x100178c7
cmp dword [esi + 0x1b70], 0
jne 0x100178c7
mov eax, dword [esi + 0x1b28]
movss xmm3, dword [0x1007db34]
movss xmm7, dword [eax + 0x1fc]
subss xmm7, dword [eax + 0xc]
movss xmm4, dword [eax + 0x204]
movss xmm5, dword [eax + 0x208]
movss xmm6, dword [eax + 0x200]
subss xmm4, dword [eax + 0xc]
subss xmm5, dword [eax + 0x10]
subss xmm6, dword [eax + 0x10]
movss xmm0, dword [eax + 0x310]
subss xmm7, xmm3
movss dword [ebp - 0xc], xmm0
addss xmm4, xmm3
addss xmm5, xmm3
subss xmm6, xmm3
comiss xmm0, xmm7
jb 0x10017805
movss xmm0, dword [eax + 0x314]
comiss xmm0, xmm6
jb 0x10017805
comiss xmm4, dword [eax + 0x318]
jb 0x10017805
comiss xmm5, dword [eax + 0x31c]
jae 0x100178c0
movss xmm3, dword [edi + 0x18d4]
mov ecx, dword [eax + 0x2f4]
mulss xmm3, dword [eax + 0x270]
test ecx, ecx
je 0x10017827
mulss xmm3, dword [ecx + 0x270]
movss xmm0, dword [eax + 0x314]
movaps xmm1, xmm4
mulss xmm3, xmm2
subss xmm1, xmm7
movaps xmm2, xmm5
subss xmm2, xmm6
minss xmm1, xmm3
minss xmm2, xmm3
movss xmm3, dword [ebp - 0xc]
xorps xmm1, xmmword [0x1007e1b0]
subss xmm7, xmm1
addss xmm4, xmm1
xorps xmm2, xmmword [0x1007e1b0]
subss xmm6, xmm2
addss xmm5, xmm2
maxss xmm3, xmm7
maxss xmm0, xmm6
movss dword [eax + 0x310], xmm3
movss dword [eax + 0x314], xmm0
movss xmm1, dword [eax + 0x318]
movss xmm0, dword [eax + 0x31c]
minss xmm1, xmm4
minss xmm0, xmm5
movss dword [eax + 0x318], xmm1
movss dword [eax + 0x31c], xmm0
mov dword [esi + 0x1b30], 0
mov dword [esi + 0x1b2c], 0
mov byte [esi + 0x1b94], 0
mov ecx, dword [esi + 0x1b28]
test ecx, ecx
je 0x100178fb
mov eax, dword [esi + 0x1b70]
add eax, 0x31
add eax, eax
movss xmm0, dword [ecx + eax*8]
comiss xmm0, dword [ecx + eax*8 + 8]
ja 0x100178fb
movss xmm0, dword [ecx + eax*8 + 4]
comiss xmm0, dword [ecx + eax*8 + 0xc]
ja 0x100178fb
movups xmm0, xmmword [ecx + eax*8]
jmp 0x100178fe
xorps xmm0, xmm0
lea eax, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
test ecx, ecx
je 0x1001794d
movss xmm2, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x10]
movaps xmm3, xmm2
addss xmm3, dword [ebp - 0x28]
addss xmm2, dword [ebp - 0x30]
movaps xmm1, xmm0
addss xmm1, dword [ebp - 0x24]
addss xmm0, dword [ebp - 0x2c]
movss dword [ebp - 0x28], xmm3
movss dword [ebp - 0x30], xmm2
movss dword [ebp - 0x24], xmm1
movss dword [ebp - 0x2c], xmm0
jmp 0x1001796f
movss xmm0, dword [edi + 0x10]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [edi + 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movss dword [ebp - 0x24], xmm0
movups xmm0, xmmword [eax]
pop edi
movups xmmword [esi + 0x1b5c], xmm0
movss xmm0, dword [esi + 0x1b60]
addss xmm0, dword [ebp - 0x10]
movss dword [esi + 0x1b60], xmm0
movss xmm0, dword [esi + 0x1b68]
addss xmm0, dword [ebp - 0x10]
movss dword [esi + 0x1b68], xmm0
movss xmm0, dword [esi + 0x1b5c]
addss xmm0, dword [0x1007db34]
mov dword [esi + 0x1b6c], 0
minss xmm0, dword [esi + 0x1b64]
movss dword [esi + 0x1b5c], xmm0
movss dword [esi + 0x1b64], xmm0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret