Function at 0x100162c0
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, 0x28
push esi
mov esi, dword [0x101e1d00]
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 0x10016343
test byte [esi + 0xc], 1
je 0x10016343
movss xmm0, dword [esi + 0x304]
xorps xmm1, xmm1
comiss xmm0, xmm1
mov byte [ebp - 1], 1
ja 0x10016337
movss xmm0, dword [esi + 0x30c]
comiss xmm0, xmm1
ja 0x10016337
movss xmm0, dword [esi + 0x308]
comiss xmm0, xmm1
ja 0x10016337
movss xmm0, dword [esi + 0x310]
comiss xmm0, xmm1
jbe 0x1001634a
mov dword [esi + 0x1b00], 4
jmp 0x1001634a
mov byte [ebp - 1], 0
xorps xmm1, xmm1
test al, al
je 0x1001649a
mov eax, dword [esi + 0x64]
test eax, eax
js 0x10016378
mov al, byte [eax + esi + 0x104]
test al, al
je 0x10016378
mov dword [esi + 0x304], 0x3f800000
mov dword [esi + 0x1b00], 3
mov eax, dword [esi + 0x68]
test eax, eax
js 0x1001639e
mov al, byte [eax + esi + 0x104]
test al, al
je 0x1001639e
mov dword [esi + 0x30c], 0x3f800000
mov dword [esi + 0x1b00], 3
mov eax, dword [esi + 0x6c]
test eax, eax
js 0x100163c4
mov al, byte [eax + esi + 0x104]
test al, al
je 0x100163c4
mov dword [esi + 0x308], 0x3f800000
mov dword [esi + 0x1b00], 3
mov eax, dword [esi + 0x38]
test eax, eax
js 0x100163ea
mov al, byte [eax + esi + 0x104]
test al, al
je 0x100163ea
mov dword [esi + 0x348], 0x3f800000
mov dword [esi + 0x1b00], 3
mov eax, dword [esi + 0x3c]
test eax, eax
js 0x10016410
mov al, byte [eax + esi + 0x104]
test al, al
je 0x10016410
mov dword [esi + 0x34c], 0x3f800000
mov dword [esi + 0x1b00], 3
mov eax, dword [esi + 0x40]
test eax, eax
js 0x10016436
mov al, byte [eax + esi + 0x104]
test al, al
je 0x10016436
mov dword [esi + 0x350], 0x3f800000
mov dword [esi + 0x1b00], 3
mov eax, dword [esi + 0x44]
test eax, eax
js 0x1001645c
mov al, byte [eax + esi + 0x104]
test al, al
je 0x1001645c
mov dword [esi + 0x354], 0x3f800000
mov dword [esi + 0x1b00], 3
mov al, byte [esi + 0x100]
test al, al
je 0x10016470
mov dword [esi + 0x33c], 0x3f800000
cmp byte [esi + 0x101], 0
je 0x10016483
mov dword [esi + 0x340], 0x3f800000
cmp byte [esi + 0x102], 0
je 0x1001649a
test al, al
jne 0x1001649a
mov dword [esi + 0x344], 0x3f800000
movups xmm0, xmmword [esi + 0x1458]
mov eax, dword [esi + 0x14a8]
lea ecx, [esi + 0x1458]
movss xmm2, dword [0x1016d830]
movups xmmword [esi + 0x14ac], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [esi + 0x14bc], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [esi + 0x14cc], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [esi + 0x14dc], xmm0
movups xmm0, xmmword [ecx + 0x40]
movups xmmword [esi + 0x14ec], xmm0
mov dword [esi + 0x14fc], eax
mov eax, 0x15
movss xmm0, dword [ecx - 0x1154]
comiss xmm0, xmm1
jbe 0x10016515
movss xmm0, dword [ecx]
comiss xmm1, xmm0
jbe 0x1001650e
movaps xmm0, xmm1
jmp 0x10016518
addss xmm0, dword [esi + 0x18]
jmp 0x10016518
movaps xmm0, xmm2
movss dword [ecx], xmm0
add ecx, 4
sub eax, 1
jne 0x100164f3
mov ecx, dword [esi + 0x1b40]
test ecx, ecx
je 0x100165b1
cmp byte [esi + 0x1b3a], al
je 0x10016542
cmp byte [esi + 0x1b3e], al
je 0x100165b1
cmp dword [esi + 0x1ad8], 0
je 0x100165b1
mov edx, dword [esi + 0x1b30]
mov eax, dword [esi + 0x1ad8]
cmp byte [esi + 0x1b3e], 0
mov dword [esi + 0x1adc], ecx
mov dword [eax + edx*4 + 0x314], ecx
je 0x10016594
mov eax, dword [esi + 0x1ad8]
add edx, edx
movups xmm0, xmmword [esi + 0x1b44]
movups xmmword [eax + edx*8 + 0x31c], xmm0
mov word [esi + 0x1b39], 1
mov byte [esi + 0x1b3b], 1
mov ecx, dword [esi + 0x1b30]
mov eax, dword [esi + 0x1ad8]
add ecx, ecx
movups xmm0, xmmword [esi + 0x1b44]
movups xmmword [eax + ecx*8 + 0x31c], xmm0
cmp byte [esi + 0x1b55], 0
mov word [esi + 0x1b3d], 0
mov dword [esi + 0x1b40], 0
mov dword [esi + 0x1af4], 0
je 0x100165dc
call fcn.10017120
cmp dword [esi + 0x1b5c], 2
jne 0x10016608
cmp dword [esi + 0x1b6c], 0
jne 0x100165fe
cmp dword [esi + 0x1bbc], 0
jne 0x100165fe
mov byte [esi + 0x1b3a], 0
mov dword [esi + 0x1b5c], 0
cmp byte [esi + 0x1b39], 0
je 0x1001667c
cmp byte [esi + 0x1b38], 0
je 0x1001667c
test byte [esi + 8], 4
je 0x10016675
test byte [esi + 0xc], 4
je 0x10016675
cmp byte [esi + 0x1b3a], 0
jne 0x10016675
cmp byte [esi + 0x1b3b], 0
je 0x10016675
cmp dword [esi + 0x1ad8], 0
je 0x10016675
lea ecx, [ebp - 0x18]
call fcn.10015e60
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x384], eax
mov eax, ecx
mov dword [esi + 0x380], ecx
mov ecx, dword [esi + 0x384]
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], ecx
mov byte [esi + 0x35b], 1
mov byte [esi + 0x1b39], 0
mov edx, dword [esi + 0x1ad8]
mov byte [esi + 0x1b38], 0
mov dword [esi + 0x1af0], 0
test edx, edx
je 0x100166c5
mov ecx, edx
nop dword [eax]
mov eax, dword [ecx + 8]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x100166bb
mov ecx, dword [ecx + 0x300]
test ecx, ecx
jne 0x100166a0
jmp 0x100166c5
cmp ecx, edx
je 0x100166c5
mov dword [ecx + 0x310], edx
mov eax, dword [esi + 0x1ad8]
test eax, eax
je 0x100166eb
cmp dword [eax + 0x310], 0
je 0x100166eb
cmp dword [esi + 0x1b30], 0
jne 0x100166eb
mov dword [eax + 0x310], 0
call fcn.10017770
cmp byte [ebp - 2], 0
jne 0x100166fc
cmp byte [ebp - 1], 0
je 0x10016775
mov eax, dword [esi + 0x1ad8]
test eax, eax
je 0x10016775
test dword [eax + 8], 0x40000
jne 0x10016775
cmp dword [esi + 0x1adc], 0
mov byte [esi + 0x35d], 1
je 0x1001677c
cmp byte [esi + 0x1b3a], 0
jne 0x1001677c
mov al, 1
mov edx, 1
mov byte [esi + 0x35e], al
mov ecx, edx
call fcn.10015f80
xorps xmm5, xmm5
comiss xmm0, xmm5
jbe 0x100168c3
cmp dword [esi + 0x19ec], 0
je 0x10016789
mov edi, dword [0x101e1d00]
mov eax, dword [edi + 0x1a04]
shr eax, 1
test dl, al
jne 0x100168c9
xor edx, edx
xor ecx, ecx
call fcn.1000b720
jmp 0x100168c9
mov byte [esi + 0x35d], 0
cmp dword [esi + 0x1b18], 0
jne 0x10016728
xor al, al
jmp 0x1001672a
mov edi, dword [esi + 0x1ad8]
test edi, edi
je 0x100167ef
mov eax, dword [edi + 8]
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x100167ef
mov ecx, dword [edi + 0x300]
test ecx, ecx
je 0x100167ef
call fcn.10013450
mov ecx, dword [edi + 0x4c]
xorps xmm5, xmm5
mov edi, dword [0x101e1d00]
mov eax, dword [edi + 0x1ad8]
mov dword [edi + 0x1adc], ecx
mov dword [eax + 0x314], ecx
cmp byte [esi + 0x1b3b], 0
mov byte [esi + 0x1b38], 0
je 0x100168c9
mov byte [esi + 0x1b39], 1
jmp 0x100168c9
mov edx, dword [esi + 0x1ac0]
test edx, edx
jle 0x10016825
mov eax, dword [esi + 0x1ac8]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*4 - 0x20]
test dword [eax + 8], 0x8000000
jne 0x100168c3
lea ecx, [edx - 1]
mov dl, 1
call fcn.10014b60
xorps xmm5, xmm5
jmp 0x100168c3
cmp dword [esi + 0x1b30], 0
je 0x1001689a
mov edi, dword [0x101e1d00]
mov ecx, dword [edi + 0x1ad8]
mov dword [edi + 0x1b30], 0
mov eax, dword [ecx + 0x310]
test eax, eax
cmovne ecx, eax
mov dword [edi + 0x1ad8], ecx
mov eax, dword [ecx + 0x314]
test eax, eax
je 0x10016891
mov dword [edi + 0x1adc], eax
mov dword [ecx + 0x314], eax
movups xmm0, xmmword [ecx + 0x31c]
mov eax, dword [edi + 0x1ad8]
movups xmmword [eax + 0x31c], xmm0
mov word [edi + 0x1b39], 1
mov byte [edi + 0x1b3b], 1
jmp 0x100168c9
mov dl, 1
call fcn.10015de0
jmp 0x100168c9
test edi, edi
je 0x100168b9
mov eax, dword [edi + 8]
test eax, 0x4000000
jne 0x100168af
test eax, 0x1000000
jne 0x100168b9
mov dword [edi + 0x314], 0
mov dword [esi + 0x1adc], 0
mov edi, dword [0x101e1d00]
cmp dword [esi + 0x1adc], 0
mov dword [esi + 0x1aec], 0
mov dword [esi + 0x1ae8], 0
mov dword [esi + 0x1ae4], 0
mov dword [esi + 0x1ae0], 0
je 0x100169db
cmp byte [esi + 0x1b3a], 0
jne 0x100169db
cmp dword [esi + 0x1b18], 0
jne 0x100169db
mov eax, dword [esi + 0x1ad8]
test eax, eax
je 0x100169db
test dword [eax + 8], 0x40000
jne 0x100169db
movss xmm0, dword [edi + 0x304]
comiss xmm0, xmm5
seta al
mov byte [ebp - 3], al
test al, al
je 0x1001695d
mov edx, 1
xor ecx, ecx
call fcn.10015f80
comiss xmm0, xmm5
jbe 0x1001695d
mov al, dl
jmp 0x1001695f
xor al, al
mov edx, dword [esi + 0x19ec]
mov ecx, dword [esi + 0x1adc]
mov byte [ebp - 1], al
test edx, edx
jne 0x1001697e
test al, al
je 0x10016982
mov dword [esi + 0x1ae0], ecx
jmp 0x10016982
cmp edx, ecx
jne 0x100169db
cmp byte [ebp - 3], 0
mov eax, dword [esi + 0x1ae4]
cmovne eax, ecx
mov dword [esi + 0x1ae4], eax
test edx, edx
je 0x1001699d
cmp edx, ecx
jne 0x100169db
cmp byte [ebp - 1], 0
mov eax, dword [esi + 0x1ae8]
cmovne eax, ecx
mov dword [esi + 0x1ae8], eax
test edx, edx
je 0x100169b8
cmp edx, ecx
jne 0x100169db
mov edx, 1
lea ecx, [edx + 1]
call fcn.10015f80
mov eax, dword [esi + 0x1aec]
comiss xmm0, xmm5
cmova eax, dword [esi + 0x1adc]
mov dword [esi + 0x1aec], eax
mov ecx, dword [esi + 0x1ad8]
test ecx, ecx
je 0x100169f5
test dword [ecx + 8], 0x40000
je 0x100169f5
mov byte [esi + 0x1b3a], 1
mov eax, dword [esi + 0x1afc]
mov byte [esi + 0x1b55], 0
test eax, eax
je 0x10016a1e
mov dword [esi + 0x1aec], eax
mov dword [esi + 0x1ae8], eax
mov dword [esi + 0x1ae4], eax
mov dword [esi + 0x1ae0], eax
cmp dword [esi + 0x1b5c], 0
mov dword [esi + 0x1afc], 0
jne 0x10016bb2
or eax, 0xffffffff
mov dword [esi + 0x1b60], 0xffffffff
mov dword [esi + 0x1b58], 0
test ecx, ecx
je 0x10016baa
or eax, eax
cmp dword [esi + 0x1b18], 0
jne 0x10016baa
or eax, 0xffffffff
test dword [ecx + 8], 0x40000
jne 0x10016baa
test byte [edi + 0x1a00], 1
mov dword [ebp - 8], eax
jne 0x10016ab1
lea edx, [eax + 4]
lea ecx, [eax + 5]
call fcn.10015f80
comiss xmm5, xmm0
jb 0x10016aa2
or eax, 0xffffffff
lea ecx, [edx + 0xe]
mov dword [ebp - 8], eax
call fcn.10015f80
comiss xmm0, xmm5
jbe 0x10016ab1
xor eax, eax
mov dword [esi + 0x1b60], 0
mov dword [ebp - 8], eax
mov ecx, dword [edi + 0x1a00]
mov eax, ecx
shr eax, 1
mov dword [ebp - 0xc], ecx
test al, 1
jne 0x10016b0f
mov edx, 3
lea ecx, [edx + 2]
call fcn.10015f80
comiss xmm5, xmm0
jb 0x10016af0
mov eax, dword [ebp - 8]
lea ecx, [edx + 0xf]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x1a00]
mov dword [ebp - 0xc], eax
call fcn.10015f80
comiss xmm0, xmm5
jbe 0x10016b0c
mov dword [esi + 0x1b60], 1
mov ecx, dword [edi + 0x1a00]
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], ecx
jmp 0x10016b0f
mov ecx, dword [ebp - 0xc]
mov eax, ecx
shr eax, 2
test al, 1
jne 0x10016b60
mov edx, 3
lea ecx, [edx + 3]
call fcn.10015f80
comiss xmm5, xmm0
jb 0x10016b43
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.10015f80
comiss xmm0, xmm5
jbe 0x10016b5d
mov eax, 2
mov dword [esi + 0x1b60], 2
mov ecx, dword [edi + 0x1a00]
mov dword [ebp - 8], eax
jmp 0x10016b63
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
shr ecx, 3
test cl, 1
jne 0x10016baa
mov edx, 3
lea ecx, [edx + 4]
call fcn.10015f80
comiss xmm5, xmm0
jb 0x10016b90
mov eax, dword [ebp - 8]
lea ecx, [edx + 0x11]
mov dword [ebp - 8], eax
call fcn.10015f80
comiss xmm0, xmm5
jbe 0x10016ba7
mov eax, 3
mov dword [esi + 0x1b60], 3
mov dword [esi + 0x1b68], eax
jmp 0x10016bbc
mov eax, dword [ebp - 8]
mov dword [esi + 0x1b68], eax
jmp 0x10016bbc
mov dword [esi + 0x1b5c], 2
cmp byte [ebp - 2], 0
xorps xmm0, xmm0
movss dword [ebp - 0x10], xmm0
je 0x10016bd4
call fcn.10017330
movss dword [ebp - 0x10], xmm0
mov eax, dword [esi + 0x1b60]
cmp eax, 0xffffffff
je 0x10016bec
mov byte [esi + 0x1b55], 1
mov dword [esi + 0x1b64], eax
cmp byte [esi + 0x1b55], 0
je 0x10016c18
cmp dword [esi + 0x1adc], 0
jne 0x10016c18
mov word [esi + 0x1b3d], 0x101
mov dword [esi + 0x1b40], 0
mov byte [esi + 0x1b3a], 0
cmp byte [edi + 0x1b55], 0
jne 0x10016c2e
cmp byte [edi + 0x1b3d], 0
jne 0x10016c2e
xor al, al
jmp 0x10016c30
mov al, 1
movss xmm7, dword [0x1016ddc0]
mov byte [edi + 0x1b3c], al
mov ecx, dword [esi + 0x1ad8]
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x10016dd9
test dword [ecx + 8], 0x40000
jne 0x10016dd9
cmp dword [esi + 0x1b18], 0
jne 0x10016dd9
movss xmm0, dword [edi + 0x18c8]
mov eax, dword [ecx + 0x300]
mulss xmm0, dword [ecx + 0x27c]
test eax, eax
je 0x10016c8b
mulss xmm0, dword [eax + 0x27c]
cmp dword [ecx + 0x148], 0
mulss xmm0, dword [0x1016d700]
mulss xmm0, dword [esi + 0x18]
addss xmm0, dword [0x1016d538]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xc], xmm0
jne 0x10016d31
cmp byte [ecx + 0x151], 0
je 0x10016d31
cmp byte [esi + 0x1b55], 0
je 0x10016d31
mov eax, dword [esi + 0x1b60]
test eax, eax
je 0x10016cdc
cmp eax, 1
jne 0x10016d06
jmp 0x10016cdf
xorps xmm0, xmm7
addss xmm0, dword [ecx + 0x50]
mov dword [ecx + 0x78], 0
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x70], xmm0
mov eax, dword [esi + 0x1b60]
movss xmm0, dword [ebp - 0xc]
cmp eax, 2
je 0x10016d12
cmp eax, 3
jne 0x10016d31
jmp 0x10016d15
xorps xmm0, xmm7
addss xmm0, dword [ecx + 0x54]
mov dword [ecx + 0x7c], 0
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x74], xmm0
movss xmm3, dword [0x1016d4b8]
mov edx, 4
push ecx
mov dword [esp], 0x41200000
lea ecx, [ebp - 0x18]
push 0
call fcn.10016100
movss xmm0, dword [ebp - 0x18]
add esp, 8
mov ecx, dword [ebp - 8]
xorps xmm1, xmm1
movss xmm2, dword [ebp - 0xc]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10016d9c
cmp byte [ecx + 0x88], 0
je 0x10016d9c
mulss xmm0, xmm2
mov dword [ecx + 0x78], 0
addss xmm0, dword [ecx + 0x50]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x70], xmm0
mov byte [esi + 0x1b54], 1
movss xmm0, dword [ebp - 0x14]
movss xmm7, dword [0x1016ddc0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10016dd9
mulss xmm0, xmm2
mov dword [ecx + 0x7c], 0
addss xmm0, dword [ecx + 0x54]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x74], xmm0
mov byte [esi + 0x1b54], 1
mov dword [esi + 0x1b70], 0
xorps xmm0, xmm0
mov dword [esi + 0x1b6c], 0
mov dword [esi + 0x1b74], 0
mov dword [esi + 0x1b80], 0x7f7fffff
mov dword [esi + 0x1b7c], 0x7f7fffff
mov dword [esi + 0x1b78], 0x7f7fffff
movups xmmword [esi + 0x1b84], xmm0
mov dword [esi + 0x1b98], 0
mov dword [esi + 0x1b94], 0
mov dword [esi + 0x1b9c], 0
mov dword [esi + 0x1ba8], 0x7f7fffff
mov dword [esi + 0x1ba4], 0x7f7fffff
mov dword [esi + 0x1ba0], 0x7f7fffff
movups xmmword [esi + 0x1bac], xmm0
mov dword [esi + 0x1bc0], 0
mov dword [esi + 0x1bbc], 0
mov dword [esi + 0x1bc4], 0
mov dword [esi + 0x1bd0], 0x7f7fffff
mov dword [esi + 0x1bcc], 0x7f7fffff
mov dword [esi + 0x1bc8], 0x7f7fffff
movups xmmword [esi + 0x1bd4], xmm0
cmp byte [esi + 0x1b55], 0
je 0x10016ff5
cmp byte [esi + 0x1b54], 0
je 0x10016ff5
cmp dword [esi + 0x1b30], 0
jne 0x10016ff5
mov eax, dword [esi + 0x1ad8]
movss xmm2, dword [0x1016d58c]
movss xmm6, dword [eax + 0x1e4]
subss xmm6, dword [eax + 0xc]
movss xmm4, dword [eax + 0x1ec]
movss xmm5, dword [eax + 0x1f0]
movss xmm3, dword [eax + 0x1e8]
subss xmm4, dword [eax + 0xc]
subss xmm5, dword [eax + 0x10]
subss xmm3, dword [eax + 0x10]
movss xmm0, dword [eax + 0x31c]
subss xmm6, xmm2
addss xmm4, xmm2
addss xmm5, xmm2
subss xmm3, xmm2
comiss xmm0, xmm6
jb 0x10016f4e
movss xmm0, dword [eax + 0x320]
comiss xmm0, xmm3
jb 0x10016f4e
comiss xmm4, dword [eax + 0x324]
jb 0x10016f4e
comiss xmm5, dword [eax + 0x328]
jae 0x10016fee
movss xmm2, dword [edi + 0x18c8]
mov ecx, dword [eax + 0x300]
mulss xmm2, dword [eax + 0x27c]
test ecx, ecx
je 0x10016f70
mulss xmm2, dword [ecx + 0x27c]
mulss xmm2, dword [0x1016d538]
movaps xmm1, xmm5
movaps xmm0, xmm4
subss xmm1, xmm3
subss xmm0, xmm6
minss xmm1, xmm2
minss xmm0, xmm2
xorps xmm1, xmm7
xorps xmm0, xmm7
subss xmm3, xmm1
subss xmm6, xmm0
addss xmm4, xmm0
addss xmm5, xmm1
maxss xmm3, dword [eax + 0x320]
maxss xmm6, dword [eax + 0x31c]
movss dword [eax + 0x320], xmm3
movss dword [eax + 0x31c], xmm6
minss xmm4, dword [eax + 0x324]
minss xmm5, dword [eax + 0x328]
movss dword [eax + 0x324], xmm4
movss dword [eax + 0x328], xmm5
mov dword [esi + 0x1adc], 0
mov byte [esi + 0x1b54], 0
mov eax, dword [esi + 0x1ad8]
test eax, eax
je 0x10017037
mov ecx, dword [esi + 0x1b30]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 + 0x31c]
comiss xmm0, dword [eax + ecx*8 + 0x324]
ja 0x10017037
movss xmm0, dword [eax + ecx*8 + 0x320]
comiss xmm0, dword [eax + ecx*8 + 0x328]
ja 0x10017037
movups xmm0, xmmword [eax + ecx*8 + 0x31c]
jmp 0x1001703a
xorps xmm0, xmm0
lea ecx, [ebp - 0x20]
movups xmmword [ebp - 0x20], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x20], xmm0
test eax, eax
je 0x1001708a
movss xmm4, dword [ebp - 0x18]
movss xmm3, dword [ebp - 0x14]
movss xmm1, dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x1c]
addss xmm4, dword [eax + 0xc]
addss xmm3, dword [eax + 0x10]
addss xmm1, dword [eax + 0xc]
addss xmm0, dword [eax + 0x10]
movss dword [ebp - 0x18], xmm4
movss dword [ebp - 0x14], xmm3
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x1c], xmm0
jmp 0x100170ac
movss xmm0, dword [edi + 0x10]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [edi + 0x14]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movss dword [ebp - 0x14], xmm0
movss xmm1, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
movups xmm0, xmmword [eax]
pop edi
movups xmmword [esi + 0x1b04], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esi + 0x1b08]
addss xmm1, dword [esi + 0x1b10]
movss dword [esi + 0x1b08], xmm0
movss dword [esi + 0x1b10], xmm1
movss xmm0, dword [esi + 0x1b04]
addss xmm0, dword [0x1016d58c]
mov dword [esi + 0x1b14], 0
minss xmm0, dword [esi + 0x1b0c]
movss dword [esi + 0x1b04], xmm0
movss dword [esi + 0x1b0c], xmm0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret