Function at 0x10016e00
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 [0x10273be0]
xorps xmm1, xmm1
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 0x10016e89
test byte [esi + 0xc], 1
je 0x10016e89
movss xmm0, dword [esi + 0x304]
lea ecx, [esi + 0x304]
comiss xmm0, xmm1
mov byte [ebp - 1], 1
ja 0x10016e7d
movss xmm0, dword [esi + 0x30c]
comiss xmm0, xmm1
ja 0x10016e7d
movss xmm0, dword [esi + 0x308]
comiss xmm0, xmm1
ja 0x10016e7d
movss xmm0, dword [esi + 0x310]
comiss xmm0, xmm1
jbe 0x10016e93
mov dword [esi + 0x1b00], 4
jmp 0x10016e93
mov byte [ebp - 1], 0
lea ecx, [esi + 0x304]
test al, al
je 0x10017002
mov edx, dword [esi + 0x64]
test edx, edx
js 0x10016ec2
mov eax, dword [0x10273be0]
mov al, byte [edx + eax + 0x104]
test al, al
je 0x10016ec2
mov dword [ecx], 0x3f800000
mov dword [esi + 0x1b00], 3
mov ecx, dword [esi + 0x68]
test ecx, ecx
js 0x10016eed
mov eax, dword [0x10273be0]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x10016eed
mov dword [esi + 0x30c], 0x3f800000
mov dword [esi + 0x1b00], 3
mov ecx, dword [esi + 0x6c]
test ecx, ecx
js 0x10016f18
mov eax, dword [0x10273be0]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x10016f18
mov dword [esi + 0x308], 0x3f800000
mov dword [esi + 0x1b00], 3
mov ecx, dword [esi + 0x38]
test ecx, ecx
js 0x10016f43
mov eax, dword [0x10273be0]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x10016f43
mov dword [esi + 0x348], 0x3f800000
mov dword [esi + 0x1b00], 3
mov ecx, dword [esi + 0x3c]
test ecx, ecx
js 0x10016f6e
mov eax, dword [0x10273be0]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x10016f6e
mov dword [esi + 0x34c], 0x3f800000
mov dword [esi + 0x1b00], 3
mov ecx, dword [esi + 0x40]
test ecx, ecx
js 0x10016f99
mov eax, dword [0x10273be0]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x10016f99
mov dword [esi + 0x350], 0x3f800000
mov dword [esi + 0x1b00], 3
mov ecx, dword [esi + 0x44]
test ecx, ecx
js 0x10016fc4
mov eax, dword [0x10273be0]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x10016fc4
mov dword [esi + 0x354], 0x3f800000
mov dword [esi + 0x1b00], 3
mov al, byte [esi + 0x100]
test al, al
je 0x10016fd8
mov dword [esi + 0x33c], 0x3f800000
cmp byte [esi + 0x101], 0
je 0x10016feb
mov dword [esi + 0x340], 0x3f800000
cmp byte [esi + 0x102], 0
je 0x10017002
test al, al
jne 0x10017002
mov dword [esi + 0x344], 0x3f800000
movups xmm0, xmmword [esi + 0x1458]
mov eax, dword [esi + 0x14a8]
lea ecx, [esi + 0x1458]
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 0x10017075
movss xmm0, dword [ecx]
comiss xmm1, xmm0
jbe 0x1001706e
movaps xmm0, xmm1
jmp 0x1001707d
addss xmm0, dword [esi + 0x18]
jmp 0x1001707d
movss xmm0, dword [0x1016a6d4]
movss dword [ecx], xmm0
add ecx, 4
sub eax, 1
jne 0x10017053
mov edx, dword [esi + 0x1b40]
test edx, edx
je 0x1001713e
cmp byte [esi + 0x1b3a], al
je 0x100170ab
cmp byte [esi + 0x1b3e], al
je 0x1001713e
cmp dword [esi + 0x1ad8], 0
je 0x1001713e
cmp byte [esi + 0x1b3e], 0
mov edi, dword [esi + 0x1b30]
je 0x10017109
mov ecx, dword [0x10273be0]
mov eax, dword [ecx + 0x1ad8]
mov dword [ecx + 0x1adc], edx
mov dword [eax + edi*4 + 0x314], edx
add edi, edi
movups xmm0, xmmword [esi + 0x1b44]
mov eax, dword [ecx + 0x1ad8]
movups xmmword [eax + edi*8 + 0x31c], xmm0
mov word [ecx + 0x1b39], 1
mov byte [ecx + 0x1b3b], 1
jmp 0x10017121
mov eax, dword [0x10273be0]
mov dword [eax + 0x1adc], edx
mov eax, dword [eax + 0x1ad8]
mov dword [eax + edi*4 + 0x314], edx
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 0x10017169
call fcn.10018060
cmp dword [esi + 0x1b5c], 2
jne 0x10017195
cmp dword [esi + 0x1b6c], 0
jne 0x1001718b
cmp dword [esi + 0x1bbc], 0
jne 0x1001718b
mov byte [esi + 0x1b3a], 0
mov dword [esi + 0x1b5c], 0
cmp byte [esi + 0x1b39], 0
je 0x10017211
cmp byte [esi + 0x1b38], 0
je 0x10017211
test byte [esi + 8], 4
je 0x1001720a
test byte [esi + 0xc], 4
je 0x1001720a
cmp byte [esi + 0x1b3a], 0
jne 0x1001720a
cmp byte [esi + 0x1b3b], 0
je 0x1001720a
cmp dword [esi + 0x1ad8], 0
je 0x1001720a
lea eax, [ebp - 0x18]
push eax
call fcn.100160c0
add esp, 4
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esi + 0x380], xmm0
movss dword [esi + 0x384], xmm1
movss dword [esi + 0xe8], xmm0
movss dword [esi + 0xec], xmm1
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 0x10017255
mov ecx, edx
nop
mov eax, dword [ecx + 8]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1001724b
mov ecx, dword [ecx + 0x300]
test ecx, ecx
jne 0x10017230
jmp 0x10017255
cmp ecx, edx
je 0x10017255
mov dword [ecx + 0x310], edx
mov eax, dword [esi + 0x1ad8]
test eax, eax
je 0x1001727b
cmp dword [eax + 0x310], 0
je 0x1001727b
cmp dword [esi + 0x1b30], 0
jne 0x1001727b
mov dword [eax + 0x310], 0
call fcn.10018620
cmp byte [ebp - 2], 0
jne 0x1001728c
cmp byte [ebp - 1], 0
je 0x100172e9
mov eax, dword [esi + 0x1ad8]
test eax, eax
je 0x100172e9
test dword [eax + 8], 0x40000
jne 0x100172e9
cmp dword [esi + 0x1adc], 0
mov byte [esi + 0x35d], 1
je 0x100172f0
cmp byte [esi + 0x1b3a], 0
jne 0x100172f0
mov al, 1
mov byte [esi + 0x35e], al
xorps xmm2, xmm2
mov ecx, dword [0x10273be0]
movss xmm0, dword [ecx + 0x145c]
comiss xmm2, xmm0
ja 0x100172fd
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x100172fd
movss xmm0, dword [0x1016a658]
jmp 0x10017300
mov byte [esi + 0x35d], 0
cmp dword [esi + 0x1b18], 0
jne 0x100172b8
xor al, al
jmp 0x100172ba
xorps xmm0, xmm0
comiss xmm0, xmm2
seta al
test al, al
je 0x10017332
cmp dword [esi + 0x19ec], 0
je 0x100173e2
mov eax, dword [ecx + 0x1a04]
shr eax, 1
test al, 1
jne 0x10017332
push 0
push 0
call fcn.1001c9c0
add esp, 8
xorps xmm2, xmm2
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 0x1001756f
cmp byte [esi + 0x1b3a], 0
jne 0x1001756f
cmp dword [esi + 0x1b18], 0
jne 0x1001756f
mov eax, dword [esi + 0x1ad8]
test eax, eax
je 0x1001756f
test dword [eax + 8], 0x40000
jne 0x1001756f
mov eax, dword [0x10273be0]
movss xmm0, dword [eax + 0x304]
comiss xmm0, xmm2
seta dh
test dh, dh
je 0x100174d3
movss xmm0, dword [eax + 0x1458]
comiss xmm2, xmm0
ja 0x100174c2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x100174c2
movss xmm0, dword [0x1016a658]
jmp 0x100174c5
mov edi, dword [esi + 0x1ad8]
test edi, edi
je 0x10017448
mov eax, dword [edi + 8]
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x10017448
mov eax, dword [edi + 0x300]
test eax, eax
je 0x10017448
push eax
call fcn.10012de0
mov eax, dword [0x10273be0]
add esp, 4
mov ecx, dword [edi + 0x4c]
mov dword [eax + 0x1adc], ecx
mov eax, dword [eax + 0x1ad8]
mov dword [eax + 0x314], ecx
cmp byte [esi + 0x1b3b], 0
mov byte [esi + 0x1b38], 0
je 0x1001732f
mov byte [esi + 0x1b39], 1
jmp 0x1001732f
mov edx, dword [esi + 0x1ac0]
test edx, edx
jle 0x1001747c
mov eax, dword [esi + 0x1ac8]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*4 - 0x20]
test dword [eax + 8], 0x8000000
jne 0x10017332
lea eax, [edx - 1]
push 1
push eax
call fcn.10011250
jmp 0x1001732c
cmp dword [esi + 0x1b30], 0
je 0x10017494
push 0
call fcn.10016820
add esp, 4
jmp 0x1001732f
test edi, edi
je 0x100174b3
mov eax, dword [edi + 8]
test eax, 0x4000000
jne 0x100174a9
test eax, 0x1000000
jne 0x100174b3
mov dword [edi + 0x314], 0
mov dword [esi + 0x1adc], 0
jmp 0x10017332
xorps xmm0, xmm0
comiss xmm0, xmm2
seta al
test al, al
je 0x100174d3
mov dl, 1
jmp 0x100174d5
xor dl, dl
mov ecx, dword [esi + 0x19ec]
test ecx, ecx
jne 0x100174f1
test dl, dl
je 0x100174f9
mov eax, dword [esi + 0x1adc]
mov dword [esi + 0x1ae0], eax
jmp 0x100174f9
cmp ecx, dword [esi + 0x1adc]
jne 0x1001756f
test dh, dh
je 0x10017509
mov eax, dword [esi + 0x1adc]
mov dword [esi + 0x1ae4], eax
test ecx, ecx
je 0x10017515
cmp ecx, dword [esi + 0x1adc]
jne 0x1001756f
test dl, dl
je 0x10017525
mov eax, dword [esi + 0x1adc]
mov dword [esi + 0x1ae8], eax
test ecx, ecx
je 0x10017531
cmp ecx, dword [esi + 0x1adc]
jne 0x1001756f
mov eax, dword [0x10273be0]
movss xmm0, dword [eax + 0x1460]
comiss xmm2, xmm0
ja 0x10017556
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10017556
movss xmm0, dword [0x1016a658]
jmp 0x10017559
xorps xmm0, xmm0
comiss xmm0, xmm2
seta al
test al, al
je 0x1001756f
mov eax, dword [esi + 0x1adc]
mov dword [esi + 0x1aec], eax
mov ecx, dword [esi + 0x1ad8]
test ecx, ecx
je 0x10017589
test dword [ecx + 8], 0x40000
je 0x10017589
mov byte [esi + 0x1b3a], 1
mov eax, dword [esi + 0x1afc]
mov byte [esi + 0x1b55], 0
test eax, eax
je 0x100175b2
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 0x10017a48
mov dword [esi + 0x1b60], 0xffffffff
mov dword [esi + 0x1b58], 0
test ecx, ecx
je 0x10017a3a
cmp dword [esi + 0x1b18], 0
jne 0x10017a3a
test dword [ecx + 8], 0x40000
jne 0x10017a3a
mov edi, dword [0x10273be0]
test byte [edi + 0x1a00], 1
jne 0x10017711
movss xmm1, dword [edi + 0x1468]
lea eax, [edi + 0x18]
comiss xmm2, xmm1
lea ecx, [edi + 0x90]
mov dword [ebp - 8], eax
lea edx, [edi + 0x8c]
jbe 0x10017636
xorps xmm0, xmm0
jmp 0x10017690
movss xmm0, dword [ecx]
sub esp, 0x10
mulss xmm0, dword [0x1016a64c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edx]
mulss xmm0, dword [0x1016a644]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
subss xmm1, dword [eax]
movss dword [esp], xmm1
call fcn.10010b30
add esp, 0x10
lea ecx, [edi + 0x90]
lea edx, [edi + 0x8c]
xorps xmm2, xmm2
movd xmm0, eax
lea eax, [edi + 0x18]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 8], eax
comiss xmm0, xmm2
seta al
test al, al
jne 0x10017701
movss xmm1, dword [edi + 0x149c]
comiss xmm2, xmm1
jbe 0x100176ac
xorps xmm0, xmm0
jmp 0x100176f7
movss xmm0, dword [ecx]
sub esp, 0x10
mulss xmm0, dword [0x1016a64c]
mov eax, dword [ebp - 8]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edx]
mulss xmm0, dword [0x1016a644]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
subss xmm1, dword [eax]
movss dword [esp], xmm1
call fcn.10010b30
add esp, 0x10
xorps xmm2, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm2
seta al
test al, al
je 0x10017711
mov dword [esi + 0x1b60], 0
mov edi, dword [0x10273be0]
mov eax, dword [edi + 0x1a00]
shr eax, 1
test al, 1
jne 0x10017820
movss xmm1, dword [edi + 0x146c]
lea eax, [edi + 0x18]
comiss xmm2, xmm1
lea ecx, [edi + 0x90]
mov dword [ebp - 8], eax
lea edx, [edi + 0x8c]
jbe 0x10017745
xorps xmm0, xmm0
jmp 0x1001779f
movss xmm0, dword [ecx]
sub esp, 0x10
mulss xmm0, dword [0x1016a64c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edx]
mulss xmm0, dword [0x1016a644]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
subss xmm1, dword [eax]
movss dword [esp], xmm1
call fcn.10010b30
add esp, 0x10
lea ecx, [edi + 0x90]
lea edx, [edi + 0x8c]
xorps xmm2, xmm2
movd xmm0, eax
lea eax, [edi + 0x18]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 8], eax
comiss xmm0, xmm2
seta al
test al, al
jne 0x10017810
movss xmm1, dword [edi + 0x14a0]
comiss xmm2, xmm1
jbe 0x100177bb
xorps xmm0, xmm0
jmp 0x10017806
movss xmm0, dword [ecx]
sub esp, 0x10
mulss xmm0, dword [0x1016a64c]
mov eax, dword [ebp - 8]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edx]
mulss xmm0, dword [0x1016a644]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
subss xmm1, dword [eax]
movss dword [esp], xmm1
call fcn.10010b30
add esp, 0x10
xorps xmm2, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm2
seta al
test al, al
je 0x10017820
mov dword [esi + 0x1b60], 1
mov edi, dword [0x10273be0]
mov eax, dword [edi + 0x1a00]
shr eax, 2
test al, 1
jne 0x10017930
movss xmm1, dword [edi + 0x1470]
lea eax, [edi + 0x18]
comiss xmm2, xmm1
lea ecx, [edi + 0x90]
mov dword [ebp - 8], eax
lea edx, [edi + 0x8c]
jbe 0x10017855
xorps xmm0, xmm0
jmp 0x100178af
movss xmm0, dword [ecx]
sub esp, 0x10
mulss xmm0, dword [0x1016a64c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edx]
mulss xmm0, dword [0x1016a644]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
subss xmm1, dword [eax]
movss dword [esp], xmm1
call fcn.10010b30
add esp, 0x10
lea ecx, [edi + 0x90]
lea edx, [edi + 0x8c]
xorps xmm2, xmm2
movd xmm0, eax
lea eax, [edi + 0x18]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 8], eax
comiss xmm0, xmm2
seta al
test al, al
jne 0x10017920
movss xmm1, dword [edi + 0x14a4]
comiss xmm2, xmm1
jbe 0x100178cb
xorps xmm0, xmm0
jmp 0x10017916
movss xmm0, dword [ecx]
sub esp, 0x10
mulss xmm0, dword [0x1016a64c]
mov eax, dword [ebp - 8]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edx]
mulss xmm0, dword [0x1016a644]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
subss xmm1, dword [eax]
movss dword [esp], xmm1
call fcn.10010b30
add esp, 0x10
xorps xmm2, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm2
seta al
test al, al
je 0x10017930
mov dword [esi + 0x1b60], 2
mov edi, dword [0x10273be0]
mov eax, dword [edi + 0x1a00]
shr eax, 3
test al, 1
jne 0x10017a3a
movss xmm1, dword [edi + 0x1474]
lea eax, [edi + 0x18]
comiss xmm2, xmm1
lea ecx, [edi + 0x90]
mov dword [ebp - 8], eax
lea edx, [edi + 0x8c]
jbe 0x10017965
xorps xmm0, xmm0
jmp 0x100179bf
movss xmm0, dword [ecx]
sub esp, 0x10
mulss xmm0, dword [0x1016a64c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edx]
mulss xmm0, dword [0x1016a644]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
subss xmm1, dword [eax]
movss dword [esp], xmm1
call fcn.10010b30
add esp, 0x10
lea ecx, [edi + 0x90]
lea edx, [edi + 0x8c]
xorps xmm2, xmm2
movd xmm0, eax
lea eax, [edi + 0x18]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 8], eax
comiss xmm0, xmm2
seta al
test al, al
jne 0x10017a30
movss xmm1, dword [edi + 0x14a8]
comiss xmm2, xmm1
jbe 0x100179db
xorps xmm0, xmm0
jmp 0x10017a26
movss xmm0, dword [ecx]
sub esp, 0x10
mulss xmm0, dword [0x1016a64c]
mov eax, dword [ebp - 8]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edx]
mulss xmm0, dword [0x1016a644]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
subss xmm1, dword [eax]
movss dword [esp], xmm1
call fcn.10010b30
add esp, 0x10
xorps xmm2, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm2
seta al
test al, al
je 0x10017a3a
mov dword [esi + 0x1b60], 3
mov eax, dword [esi + 0x1b60]
mov dword [esi + 0x1b68], eax
jmp 0x10017a52
mov dword [esi + 0x1b5c], 2
cmp byte [ebp - 2], 0
xorps xmm0, xmm0
movss dword [ebp - 0xc], xmm0
je 0x10017a75
call fcn.10018290
fstp dword [ebp - 0xc]
movss xmm0, dword [ebp - 0xc]
xorps xmm2, xmm2
movss dword [ebp - 0xc], xmm0
mov eax, dword [esi + 0x1b60]
cmp eax, 0xffffffff
je 0x10017a8d
mov byte [esi + 0x1b55], 1
mov dword [esi + 0x1b64], eax
cmp byte [esi + 0x1b55], 0
je 0x10017ab9
cmp dword [esi + 0x1adc], 0
jne 0x10017ab9
mov word [esi + 0x1b3d], 0x101
mov dword [esi + 0x1b40], 0
mov byte [esi + 0x1b3a], 0
mov eax, dword [0x10273be0]
cmp byte [eax + 0x1b55], 0
jne 0x10017ad4
cmp byte [eax + 0x1b3d], 0
jne 0x10017ad4
xor cl, cl
jmp 0x10017ad6
mov cl, 1
mov byte [eax + 0x1b3c], cl
mov edi, dword [esi + 0x1ad8]
test edi, edi
je 0x10017ca5
test dword [edi + 8], 0x40000
jne 0x10017ca5
cmp dword [esi + 0x1b18], 0
jne 0x10017ca5
mov eax, dword [0x10273be0]
movss xmm0, dword [eax + 0x18c8]
mov eax, dword [edi + 0x300]
mulss xmm0, dword [edi + 0x27c]
test eax, eax
je 0x10017b2b
mulss xmm0, dword [eax + 0x27c]
cmp dword [edi + 0x148], 0
mulss xmm0, dword [0x1016a6a8]
mulss xmm0, dword [esi + 0x18]
addss xmm0, dword [0x1016a630]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [ebp - 8], xmm1
jne 0x10017bfa
cmp byte [edi + 0x151], 0
je 0x10017bfa
cmp byte [esi + 0x1b55], 0
je 0x10017bfa
mov eax, dword [esi + 0x1b60]
test eax, eax
je 0x10017b90
cmp eax, 1
jne 0x10017bb8
movss xmm0, dword [0x1016a658]
jmp 0x10017b98
movss xmm0, dword [0x1016a6d4]
mulss xmm0, xmm1
mov dword [edi + 0x78], 0
addss xmm0, dword [edi + 0x50]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x70], xmm0
mov eax, dword [esi + 0x1b60]
cmp eax, 2
je 0x10017bd2
cmp eax, 3
jne 0x10017bfa
movss xmm0, dword [0x1016a658]
jmp 0x10017bda
movss xmm0, dword [0x1016a6d4]
mulss xmm0, xmm1
mov dword [edi + 0x7c], 0
addss xmm0, dword [edi + 0x54]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x74], xmm0
movss xmm0, dword [0x1016a658]
lea eax, [ebp - 0x18]
divss xmm0, dword [0x1016a68c]
sub esp, 8
mov dword [esp + 4], 0x41200000
movss dword [esp], xmm0
push 0
push 4
push eax
call fcn.10013a70
movss xmm0, dword [ebp - 0x18]
add esp, 0x14
movss xmm1, dword [ebp - 8]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x10017c70
cmp byte [edi + 0x88], 0
je 0x10017c70
mulss xmm0, xmm1
mov dword [edi + 0x78], 0
addss xmm0, dword [edi + 0x50]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x70], xmm0
mov byte [esi + 0x1b54], 1
movss xmm0, dword [ebp - 0x14]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x10017ca5
mulss xmm0, xmm1
mov dword [edi + 0x7c], 0
addss xmm0, dword [edi + 0x54]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 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 0x10017eff
cmp byte [esi + 0x1b54], 0
je 0x10017eff
mov edx, dword [esi + 0x1b30]
movss xmm4, dword [0x1016a658]
test edx, edx
jne 0x10017f07
mov ecx, dword [esi + 0x1ad8]
movss xmm1, dword [ecx + 0x1e4]
subss xmm1, dword [ecx + 0xc]
movss xmm6, dword [ecx + 0x1ec]
movss xmm7, dword [ecx + 0x1f0]
movss xmm5, dword [ecx + 0x1e8]
subss xmm6, dword [ecx + 0xc]
subss xmm7, dword [ecx + 0x10]
subss xmm5, dword [ecx + 0x10]
movss xmm0, dword [ecx + 0x31c]
subss xmm1, xmm4
addss xmm6, xmm4
addss xmm7, xmm4
subss xmm5, xmm4
comiss xmm0, xmm1
movss dword [ebp - 8], xmm1
jb 0x10017e20
movss xmm0, dword [ecx + 0x320]
comiss xmm0, xmm5
jb 0x10017e20
comiss xmm6, dword [ecx + 0x324]
jb 0x10017e20
comiss xmm7, dword [ecx + 0x328]
jae 0x10017ef6
mov eax, dword [0x10273be0]
movss xmm1, dword [eax + 0x18c8]
mov eax, dword [ecx + 0x300]
mulss xmm1, dword [ecx + 0x27c]
test eax, eax
je 0x10017e47
mulss xmm1, dword [eax + 0x27c]
mulss xmm1, dword [0x1016a630]
movaps xmm2, xmm6
add edx, edx
subss xmm2, dword [ebp - 8]
movss xmm0, dword [ebp - 8]
movaps xmm3, xmm7
subss xmm3, xmm5
minss xmm2, xmm1
minss xmm3, xmm1
movss xmm1, dword [ecx + edx*8 + 0x320]
xorps xmm2, xmmword [0x1016a770]
subss xmm0, xmm2
xorps xmm3, xmmword [0x1016a770]
addss xmm2, xmm6
subss xmm5, xmm3
addss xmm3, xmm7
movss dword [ebp - 8], xmm0
movss xmm0, dword [ecx + edx*8 + 0x31c]
maxss xmm0, dword [ebp - 8]
maxss xmm1, xmm5
movss dword [ecx + edx*8 + 0x31c], xmm0
movss dword [ecx + edx*8 + 0x320], xmm1
movss xmm1, dword [ecx + edx*8 + 0x328]
movss xmm0, dword [ecx + edx*8 + 0x324]
minss xmm1, xmm3
minss xmm0, xmm2
xorps xmm2, xmm2
movss dword [ecx + edx*8 + 0x328], xmm1
movss dword [ecx + edx*8 + 0x324], xmm0
mov dword [esi + 0x1adc], 0
mov byte [esi + 0x1b54], 0
jmp 0x10017f07
movss xmm4, dword [0x1016a658]
mov eax, dword [esi + 0x1ad8]
test eax, eax
je 0x10017f57
mov ecx, dword [esi + 0x1b30]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 + 0x31c]
comiss xmm0, dword [eax + ecx*8 + 0x324]
ja 0x10017f57
movss xmm0, dword [eax + ecx*8 + 0x320]
comiss xmm0, dword [eax + ecx*8 + 0x328]
ja 0x10017f57
movups xmm0, xmmword [eax + ecx*8 + 0x31c]
movups xmmword [ebp - 0x20], xmm0
movss xmm2, dword [ebp - 0x18]
movss xmm3, dword [ebp - 0x20]
jmp 0x10017f6c
mov dword [ebp - 0x1c], 0
xorps xmm3, xmm3
mov dword [ebp - 0x14], 0
test eax, eax
je 0x10017f9b
movss xmm0, dword [ebp - 0x1c]
addss xmm2, dword [eax + 0xc]
addss xmm3, dword [eax + 0xc]
addss xmm0, dword [eax + 0x10]
movss xmm1, dword [ebp - 0x14]
addss xmm1, dword [eax + 0x10]
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x20], xmm3
movss dword [ebp - 0x1c], xmm0
jmp 0x10017fbd
mov eax, dword [0x10273be0]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movss xmm0, dword [eax + 0x10]
movss xmm1, dword [eax + 0x14]
movss dword [ebp - 0x18], xmm0
movss dword [ebp - 0x14], xmm1
lea eax, [ebp - 0x20]
movups xmm0, xmmword [eax]
pop edi
movss xmm1, dword [ebp - 0xc]
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, xmm4
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