Function at 0x10017c10
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
movss xmm6, dword [0x10033338]
sub esp, 0x28
xorps xmm0, xmm0
push esi
push edi
mov edi, dword [0x1007262c]
mov byte [edi + 0x367], 0
movups xmmword [edi + 0x350], xmm0
mov dword [edi + 0x360], 0
test byte [edi + 0x1c], 1
je 0x10017da1
mov ecx, dword [edi + 0x5c]
cmp ecx, 0xffffffff
je 0x10017c84
test ecx, ecx
js 0x10017c84
mov eax, dword [0x1007262c]
mov al, byte [ecx + eax + 0xed]
test al, al
je 0x10017c84
mov dword [edi + 0x310], 0x3f800000
mov ecx, dword [edi + 0x60]
cmp ecx, 0xffffffff
je 0x10017caa
test ecx, ecx
js 0x10017caa
mov eax, dword [0x1007262c]
mov al, byte [ecx + eax + 0xed]
test al, al
je 0x10017caa
mov dword [edi + 0x318], 0x3f800000
mov ecx, dword [edi + 0x64]
cmp ecx, 0xffffffff
je 0x10017cd0
test ecx, ecx
js 0x10017cd0
mov eax, dword [0x1007262c]
mov al, byte [ecx + eax + 0xed]
test al, al
je 0x10017cd0
mov dword [edi + 0x314], 0x3f800000
mov ecx, dword [edi + 0x30]
cmp ecx, 0xffffffff
je 0x10017cf6
test ecx, ecx
js 0x10017cf6
mov eax, dword [0x1007262c]
mov al, byte [ecx + eax + 0xed]
test al, al
je 0x10017cf6
mov dword [edi + 0x354], 0x3f800000
mov ecx, dword [edi + 0x34]
cmp ecx, 0xffffffff
je 0x10017d1c
test ecx, ecx
js 0x10017d1c
mov eax, dword [0x1007262c]
mov al, byte [ecx + eax + 0xed]
test al, al
je 0x10017d1c
mov dword [edi + 0x358], 0x3f800000
mov ecx, dword [edi + 0x38]
cmp ecx, 0xffffffff
je 0x10017d42
test ecx, ecx
js 0x10017d42
mov eax, dword [0x1007262c]
mov al, byte [ecx + eax + 0xed]
test al, al
je 0x10017d42
mov dword [edi + 0x35c], 0x3f800000
mov ecx, dword [edi + 0x3c]
cmp ecx, 0xffffffff
je 0x10017d68
test ecx, ecx
js 0x10017d68
mov eax, dword [0x1007262c]
mov al, byte [ecx + eax + 0xed]
test al, al
je 0x10017d68
mov dword [edi + 0x360], 0x3f800000
cmp byte [edi + 0xe9], 0
je 0x10017d7b
mov dword [edi + 0x348], 0x3f800000
cmp byte [edi + 0xea], 0
je 0x10017d8e
mov dword [edi + 0x34c], 0x3f800000
cmp byte [edi + 0xeb], 0
je 0x10017da1
mov dword [edi + 0x350], 0x3f800000
movups xmm0, xmmword [edi + 0x1440]
mov eax, dword [edi + 0x1490]
lea ecx, [edi + 0x1440]
movss xmm1, dword [0x1006900c]
xorps xmm2, xmm2
movups xmmword [edi + 0x1494], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [edi + 0x14a4], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [edi + 0x14b4], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [edi + 0x14c4], xmm0
movups xmm0, xmmword [ecx + 0x40]
movups xmmword [edi + 0x14d4], xmm0
mov dword [edi + 0x14e4], eax
mov eax, 0x15
nop dword [eax]
movss xmm0, dword [ecx - 0x1130]
comiss xmm0, xmm2
jbe 0x10017e36
movss xmm1, dword [ecx]
comiss xmm2, xmm1
jbe 0x10017e23
movss xmm1, dword [0x1006900c]
movaps xmm0, xmm2
jmp 0x10017e39
movss xmm0, dword [edi + 0xc]
addss xmm0, xmm1
movss xmm1, dword [0x1006900c]
jmp 0x10017e39
movaps xmm0, xmm1
movss dword [ecx], xmm0
add ecx, 4
sub eax, 1
jne 0x10017e00
mov edx, dword [edi + 0x1a64]
test edx, edx
je 0x10017eee
cmp byte [edi + 0x1a5e], al
je 0x10017e67
cmp byte [edi + 0x1a62], al
je 0x10017eee
cmp byte [edi + 0x1a62], 0
mov esi, dword [edi + 0x1a54]
je 0x10017eb8
mov ecx, dword [0x1007262c]
mov eax, dword [ecx + 0x1a08]
mov dword [ecx + 0x1a0c], edx
mov dword [eax + esi*4 + 0x284], edx
add esi, esi
movups xmm0, xmmword [edi + 0x1a68]
mov eax, dword [ecx + 0x1a08]
movups xmmword [eax + esi*8 + 0x28c], xmm0
mov word [ecx + 0x1a5d], 1
mov byte [ecx + 0x1a5f], 1
jmp 0x10017ed0
mov eax, dword [0x1007262c]
mov dword [eax + 0x1a0c], edx
mov eax, dword [eax + 0x1a08]
mov dword [eax + esi*4 + 0x284], edx
mov ecx, dword [edi + 0x1a54]
mov eax, dword [edi + 0x1a08]
movups xmm0, xmmword [edi + 0x1a68]
shl ecx, 4
movups xmmword [ecx + eax + 0x28c], xmm0
cmp byte [edi + 0x1a79], 0
mov word [edi + 0x1a61], 0
mov dword [edi + 0x1a64], 0
mov dword [edi + 0x1a28], 0
je 0x100181b9
mov eax, dword [edi + 0x1a88]
lea edx, [edi + 0x1ab0]
test eax, eax
jne 0x10017f30
cmp dword [edx], eax
je 0x100181b9
test eax, eax
mov esi, 0x1ab0
mov ecx, 0x1a88
cmove ecx, esi
add ecx, edi
cmp dword [edx], 0
mov esi, ecx
mov dword [ebp - 4], esi
je 0x10017f9c
mov eax, dword [edi + 0x1ab8]
mov dword [ebp - 4], esi
mov eax, dword [eax + 0x26c]
cmp eax, dword [edi + 0x1a08]
jne 0x10017f9c
movss xmm1, dword [edi + 0x1abc]
movss xmm0, dword [edi + 0x1a94]
comiss xmm0, xmm1
ja 0x10017f97
ucomiss xmm1, xmm0
mov dword [ebp - 4], esi
lahf
test ah, 0x44
jp 0x10017f9c
movss xmm0, dword [edi + 0x1a98]
comiss xmm0, dword [edi + 0x1ac0]
mov dword [ebp - 4], esi
jbe 0x10017f9c
mov esi, edx
mov dword [ebp - 4], edx
cmp dword [edi + 0x1a54], 0
jne 0x1001810f
mov eax, dword [esi + 8]
movss xmm1, dword [esi + 0x18]
mov dword [ebp - 8], eax
movss xmm5, dword [eax + 0x204]
subss xmm5, dword [eax + 0x14]
movss xmm2, dword [eax + 0x20c]
movss xmm4, dword [eax + 0x210]
movss xmm3, dword [eax + 0x208]
subss xmm2, dword [eax + 0x14]
subss xmm4, dword [eax + 0x18]
subss xmm3, dword [eax + 0x18]
subss xmm5, xmm6
addss xmm2, xmm6
addss xmm4, xmm6
subss xmm3, xmm6
comiss xmm1, xmm5
jb 0x10018017
movss xmm0, dword [esi + 0x1c]
comiss xmm0, xmm3
jb 0x10018017
comiss xmm2, dword [esi + 0x20]
jb 0x10018017
comiss xmm4, dword [esi + 0x24]
jae 0x1001810f
cmp byte [eax + 0x84], 0
mov ecx, dword [0x1007262c]
je 0x1001806c
comiss xmm5, xmm1
jbe 0x10018045
movss xmm0, dword [eax + 0x6c]
addss xmm0, xmm1
subss xmm0, dword [ecx + 0x152c]
mov dword [eax + 0x7c], 0
jmp 0x10018067
movss xmm1, dword [esi + 0x20]
comiss xmm1, xmm2
jb 0x1001806c
movss xmm0, dword [eax + 0x6c]
addss xmm0, xmm1
addss xmm0, dword [ecx + 0x152c]
mov dword [eax + 0x7c], 0x3f800000
movss dword [eax + 0x74], xmm0
movss xmm1, dword [esi + 0x1c]
comiss xmm3, xmm1
jbe 0x10018093
movss xmm0, dword [eax + 0x70]
addss xmm0, xmm1
subss xmm0, dword [ecx + 0x1530]
mov dword [eax + 0x80], 0
jmp 0x100180b8
movss xmm1, dword [esi + 0x24]
comiss xmm1, xmm4
jb 0x100180bd
movss xmm0, dword [eax + 0x70]
addss xmm0, xmm1
addss xmm0, dword [ecx + 0x1530]
mov dword [eax + 0x80], 0x3f800000
movss dword [eax + 0x78], xmm0
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1000f7b0
mov eax, dword [ebp - 8]
add esp, 8
movss xmm1, dword [eax + 0x6c]
subss xmm1, dword [ebp - 0x18]
movss xmm2, dword [eax + 0x70]
subss xmm2, dword [ebp - 0x14]
movaps xmm0, xmm1
addss xmm0, dword [esi + 0x18]
addss xmm1, dword [esi + 0x20]
movss dword [esi + 0x18], xmm0
movaps xmm0, xmm2
addss xmm0, dword [esi + 0x1c]
addss xmm2, dword [esi + 0x24]
movss dword [esi + 0x20], xmm1
movss dword [esi + 0x1c], xmm0
movss dword [esi + 0x24], xmm2
mov edx, dword [0x1007262c]
mov ecx, dword [edx + 0x1940]
test ecx, ecx
setne al
mov byte [edx + 0x194d], al
test ecx, ecx
je 0x10018134
mov dword [edx + 0x1948], 0
mov dword [edx + 0x1940], 0
mov dword [edx + 0x1950], 0
mov byte [edx + 0x194e], 0
mov dword [edx + 0x195c], 0
mov eax, dword [esi + 8]
mov edx, dword [edi + 0x1a54]
mov dword [edi + 0x1a08], eax
mov ecx, dword [esi]
mov esi, dword [0x1007262c]
mov eax, dword [esi + 0x1a08]
mov dword [esi + 0x1a0c], ecx
mov dword [eax + edx*4 + 0x284], ecx
add edx, edx
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x1a08]
movups xmm0, xmmword [ecx + 0x18]
movups xmmword [eax + edx*8 + 0x28c], xmm0
mov word [esi + 0x1a5d], 1
mov byte [esi + 0x1a5f], 1
mov eax, dword [ecx]
mov dword [edi + 0x1a28], eax
mov byte [edi + 0x1a78], 0
cmp dword [edi + 0x1a7c], 2
jne 0x100181e5
cmp dword [edi + 0x1a88], 0
jne 0x100181db
cmp dword [edi + 0x1ab0], 0
jne 0x100181db
mov byte [edi + 0x1a5e], 0
mov dword [edi + 0x1a7c], 0
cmp byte [edi + 0x1a5d], 0
je 0x1001823c
cmp byte [edi + 0x1a5c], 0
je 0x1001823c
test byte [edi + 0x1c], 4
je 0x10018235
lea eax, [ebp - 0x18]
push eax
call fcn.10017560
add esp, 4
mov ecx, dword [eax]
mov dword [edi + 0x384], ecx
mov eax, dword [eax + 4]
mov dword [edi + 0x388], eax
mov eax, ecx
mov dword [edi + 0xd0], eax
mov eax, dword [edi + 0x388]
mov dword [edi + 0xd4], eax
mov byte [edi + 0x367], 1
mov byte [edi + 0x1a5d], 0
mov edx, dword [edi + 0x1a08]
mov byte [edi + 0x1a5c], 0
mov dword [edi + 0x1a20], 0
test edx, edx
je 0x10018285
mov ecx, edx
nop dword [eax]
mov eax, dword [ecx + 8]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1001827b
mov ecx, dword [ecx + 0x26c]
test ecx, ecx
jne 0x10018260
jmp 0x10018285
cmp ecx, edx
je 0x10018285
mov dword [ecx + 0x280], edx
mov eax, dword [edi + 0x1a08]
test eax, eax
je 0x100182ab
cmp dword [eax + 0x280], 0
je 0x100182ab
cmp dword [edi + 0x1a54], 0
jne 0x100182ab
mov dword [eax + 0x280], 0
call fcn.10018fc0
test byte [edi + 0x1c], 3
je 0x100182cd
mov eax, dword [edi + 0x1a08]
test eax, eax
je 0x100182cd
test dword [eax + 8], 0x40000
jne 0x100182cd
mov al, 1
jmp 0x100182cf
xor al, al
mov byte [edi + 0x368], al
test al, al
je 0x100182eb
cmp dword [edi + 0x1a0c], 0
je 0x100182eb
cmp byte [edi + 0x1a5e], 0
je 0x10018301
cmp dword [edi + 0x1a40], 0
jne 0x10018301
cmp byte [edi + 0x1a61], 0
jne 0x10018301
xor al, al
jmp 0x10018303
mov al, 1
mov byte [edi + 0x369], al
xorps xmm1, xmm1
mov edx, dword [0x1007262c]
movss xmm0, dword [edx + 0x1444]
comiss xmm1, xmm0
ja 0x10018332
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10018332
movss xmm0, dword [0x10033338]
jmp 0x10018335
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10018464
cmp dword [edi + 0x1940], 0
je 0x10018390
mov ecx, dword [edx + 0x1940]
test ecx, ecx
setne al
mov byte [edx + 0x194d], al
test ecx, ecx
je 0x10018366
mov dword [edx + 0x1948], 0
mov dword [edx + 0x1940], 0
mov dword [edx + 0x1950], 0
mov byte [edx + 0x194e], 0
mov dword [edx + 0x195c], 0
jmp 0x10018464
mov esi, dword [edi + 0x1a08]
test esi, esi
je 0x100183f2
mov eax, dword [esi + 8]
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x100183f2
mov eax, dword [esi + 0x26c]
test eax, eax
je 0x100183f2
push eax
call fcn.100123d0
mov eax, dword [0x1007262c]
add esp, 4
mov ecx, dword [esi + 0x68]
xorps xmm1, xmm1
mov dword [eax + 0x1a0c], ecx
mov eax, dword [eax + 0x1a08]
mov dword [eax + 0x284], ecx
cmp byte [edi + 0x1a5f], 0
mov byte [edi + 0x1a5c], 0
je 0x10018464
mov byte [edi + 0x1a5d], 1
jmp 0x10018464
mov edx, dword [edi + 0x198c]
test edx, edx
jle 0x10018423
mov eax, dword [edi + 0x1994]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*4 - 0x20]
test dword [eax + 8], 0x8000000
jne 0x10018464
lea eax, [edx - 1]
push eax
call fcn.10010630
add esp, 4
xorps xmm1, xmm1
jmp 0x10018464
cmp dword [edi + 0x1a54], 0
je 0x1001843b
push 0
call fcn.10017750
add esp, 4
xorps xmm1, xmm1
jmp 0x10018464
test esi, esi
je 0x1001845a
mov eax, dword [esi + 8]
test eax, 0x4000000
jne 0x10018450
test eax, 0x1000000
jne 0x1001845a
mov dword [esi + 0x284], 0
mov dword [edi + 0x1a0c], 0
mov edx, dword [edi + 0x1a0c]
mov dword [edi + 0x1a1c], 0
mov dword [edi + 0x1a18], 0
mov dword [edi + 0x1a14], 0
mov dword [edi + 0x1a10], 0
test edx, edx
je 0x10018585
cmp byte [edi + 0x1a5e], 0
jne 0x10018585
cmp dword [edi + 0x1a40], 0
jne 0x10018585
mov eax, dword [edi + 0x1a08]
test eax, eax
je 0x10018585
test dword [eax + 8], 0x40000
jne 0x10018585
mov eax, dword [0x1007262c]
movss xmm0, dword [eax + 0x310]
comiss xmm0, xmm1
seta ch
test ch, ch
je 0x10018512
movss xmm0, dword [eax + 0x1440]
comiss xmm1, xmm0
ja 0x10018506
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10018506
movss xmm0, dword [0x10033338]
jmp 0x10018509
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10018512
mov cl, 1
jmp 0x10018514
xor cl, cl
mov eax, dword [edi + 0x1940]
test eax, eax
jne 0x1001852a
test cl, cl
je 0x1001852e
mov dword [edi + 0x1a10], edx
jmp 0x1001852e
cmp eax, edx
jne 0x10018538
test ch, ch
je 0x10018538
mov dword [edi + 0x1a14], edx
test eax, eax
je 0x10018540
cmp eax, edx
jne 0x1001854a
test cl, cl
je 0x1001854a
mov dword [edi + 0x1a18], edx
test eax, eax
je 0x10018552
cmp eax, edx
jne 0x10018585
mov eax, dword [0x1007262c]
movss xmm0, dword [eax + 0x1448]
comiss xmm1, xmm0
ja 0x10018577
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10018577
movss xmm0, dword [0x10033338]
jmp 0x1001857a
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10018585
mov dword [edi + 0x1a1c], edx
mov ecx, dword [edi + 0x1a08]
test ecx, ecx
je 0x1001859f
test dword [ecx + 8], 0x40000
je 0x1001859f
mov byte [edi + 0x1a5e], 1
mov eax, dword [edi + 0x1a24]
mov byte [edi + 0x1a79], 0
test eax, eax
je 0x100185c8
mov dword [edi + 0x1a1c], eax
mov dword [edi + 0x1a18], eax
mov dword [edi + 0x1a14], eax
mov dword [edi + 0x1a10], eax
cmp dword [edi + 0x1940], 0
mov dword [edi + 0x1a24], 0
jne 0x100185e0
or eax, 0xffffffff
jmp 0x100185e6
mov eax, dword [edi + 0x1950]
cmp dword [edi + 0x1a7c], 0
mov dword [ebp - 4], eax
jne 0x10018a0f
mov dword [edi + 0x1a80], 0xffffffff
test ecx, ecx
je 0x10018a21
cmp dword [edi + 0x1a40], 0
jne 0x10018a21
test eax, eax
je 0x10018a21
test dword [ecx + 8], 0x40000
jne 0x10018a21
movss xmm2, dword [0x10068f8c]
test al, 1
je 0x1001872a
mov esi, dword [0x1007262c]
movss xmm3, dword [esi + 0x1450]
comiss xmm1, xmm3
jbe 0x10018654
movss dword [ebp - 8], xmm1
jmp 0x100186ad
movss xmm0, dword [esi + 0x84]
sub esp, 0x10
mulss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 0x80]
mulss xmm0, xmm2
movss dword [esp + 8], xmm0
movaps xmm0, xmm3
subss xmm0, dword [esi + 0xc]
movss dword [esp + 4], xmm0
movss dword [esp], xmm3
call fcn.1000feb0
movss xmm2, dword [0x10068f8c]
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 8], xmm0
movss xmm3, dword [esi + 0x1484]
comiss xmm1, xmm3
jbe 0x100186bf
xorps xmm0, xmm0
jmp 0x1001870b
movss xmm0, dword [esi + 0x84]
sub esp, 0x10
mulss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 0x80]
mulss xmm0, xmm2
movss dword [esp + 8], xmm0
movaps xmm0, xmm3
subss xmm0, dword [esi + 0xc]
movss dword [esp + 4], xmm0
movss dword [esp], xmm3
call fcn.1000feb0
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 8]
movss xmm2, dword [0x10068f8c]
mov eax, dword [ebp - 4]
comiss xmm0, xmm1
jbe 0x1001872a
mov dword [edi + 0x1a80], 0
test al, 2
je 0x1001881a
mov esi, dword [0x1007262c]
movss xmm3, dword [esi + 0x1454]
comiss xmm1, xmm3
jbe 0x1001874c
movss dword [ebp - 8], xmm1
jmp 0x1001879d
movss xmm0, dword [esi + 0x84]
sub esp, 0x10
mulss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 0x80]
mulss xmm0, xmm2
movss dword [esp + 8], xmm0
movaps xmm0, xmm3
subss xmm0, dword [esi + 0xc]
movss dword [esp + 4], xmm0
movss dword [esp], xmm3
call fcn.1000feb0
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 8], xmm0
movss xmm2, dword [esi + 0x1488]
comiss xmm1, xmm2
jbe 0x100187af
xorps xmm0, xmm0
jmp 0x10018803
movss xmm0, dword [esi + 0x84]
sub esp, 0x10
mulss xmm0, dword [0x10068f8c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 0x80]
mulss xmm0, dword [0x10068f8c]
movss dword [esp + 8], xmm0
movaps xmm0, xmm2
subss xmm0, dword [esi + 0xc]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.1000feb0
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 8]
mov eax, dword [ebp - 4]
comiss xmm0, xmm1
jbe 0x1001881a
mov dword [edi + 0x1a80], 1
test al, 4
je 0x10018912
mov esi, dword [0x1007262c]
movss xmm2, dword [esi + 0x1458]
comiss xmm1, xmm2
jbe 0x1001883c
movss dword [ebp - 8], xmm1
jmp 0x10018895
movss xmm0, dword [esi + 0x84]
sub esp, 0x10
mulss xmm0, dword [0x10068f8c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 0x80]
mulss xmm0, dword [0x10068f8c]
movss dword [esp + 8], xmm0
movaps xmm0, xmm2
subss xmm0, dword [esi + 0xc]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.1000feb0
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 8], xmm0
movss xmm2, dword [esi + 0x148c]
comiss xmm1, xmm2
jbe 0x100188a7
xorps xmm0, xmm0
jmp 0x100188fb
movss xmm0, dword [esi + 0x84]
sub esp, 0x10
mulss xmm0, dword [0x10068f8c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 0x80]
mulss xmm0, dword [0x10068f8c]
movss dword [esp + 8], xmm0
movaps xmm0, xmm2
subss xmm0, dword [esi + 0xc]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.1000feb0
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 8]
mov eax, dword [ebp - 4]
comiss xmm0, xmm1
jbe 0x10018912
mov dword [edi + 0x1a80], 2
test al, 8
je 0x10018a1b
mov esi, dword [0x1007262c]
movss xmm2, dword [esi + 0x145c]
comiss xmm1, xmm2
jbe 0x10018934
movss dword [ebp - 8], xmm1
jmp 0x1001898d
movss xmm0, dword [esi + 0x84]
sub esp, 0x10
mulss xmm0, dword [0x10068f8c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 0x80]
mulss xmm0, dword [0x10068f8c]
movss dword [esp + 8], xmm0
movaps xmm0, xmm2
subss xmm0, dword [esi + 0xc]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.1000feb0
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 8], xmm0
movss xmm2, dword [esi + 0x1490]
comiss xmm1, xmm2
jbe 0x1001899f
xorps xmm0, xmm0
jmp 0x100189f3
movss xmm0, dword [esi + 0x84]
sub esp, 0x10
mulss xmm0, dword [0x10068f8c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 0x80]
mulss xmm0, dword [0x10068f8c]
movss dword [esp + 8], xmm0
movaps xmm0, xmm2
subss xmm0, dword [esi + 0xc]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.1000feb0
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 8]
mov edx, dword [edi + 0x1a0c]
comiss xmm0, xmm1
jbe 0x10018a21
mov dword [edi + 0x1a80], 3
jmp 0x10018a21
mov dword [edi + 0x1a7c], 2
jmp 0x10018a21
mov edx, dword [edi + 0x1a0c]
mov eax, dword [edi + 0x1a80]
cmp eax, 0xffffffff
je 0x10018a52
mov byte [edi + 0x1a79], 1
mov dword [edi + 0x1a84], eax
test edx, edx
jne 0x10018a52
mov word [edi + 0x1a61], 0x101
mov dword [edi + 0x1a64], edx
mov byte [edi + 0x1a5e], dl
mov eax, dword [0x1007262c]
cmp byte [eax + 0x1a79], 0
jne 0x10018a6d
cmp byte [eax + 0x1a61], 0
jne 0x10018a6d
xor cl, cl
jmp 0x10018a6f
mov cl, 1
movss xmm2, dword [0x10068f78]
mov byte [eax + 0x1a60], cl
mov esi, dword [edi + 0x1a08]
test esi, esi
je 0x10018c6b
test dword [esi + 8], 0x40000
jne 0x10018c6b
cmp dword [edi + 0x1a40], 0
jne 0x10018c6b
cmp dword [esi + 0x14c], 0
mov eax, dword [0x1007262c]
movss xmm0, dword [eax + 0x1858]
mulss xmm0, dword [esi + 0x264]
mulss xmm0, dword [0x10033358]
mulss xmm0, dword [edi + 0xc]
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss dword [ebp - 4], xmm3
jne 0x10018ba2
cmp byte [esi + 0x141], 0
je 0x10018ba2
cmp byte [edi + 0x1a79], 0
je 0x10018ba2
mov eax, dword [edi + 0x1a80]
movss xmm4, dword [0x1006900c]
test eax, eax
je 0x10018b23
cmp eax, 1
jne 0x10018b5e
movss xmm2, dword [0x10033338]
jmp 0x10018b26
movaps xmm2, xmm4
movss xmm1, dword [esi + 0xf4]
addss xmm1, dword [esi + 0x6c]
mulss xmm2, xmm3
addss xmm2, dword [esi + 0x6c]
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [esi + 0x6c], xmm0
movss dword [esi + 0xf4], xmm1
mov eax, dword [edi + 0x1a80]
cmp eax, 2
je 0x10018b70
cmp eax, 3
jne 0x10018ba2
movss xmm4, dword [0x10033338]
movss xmm1, dword [esi + 0x70]
addss xmm1, dword [esi + 0xf8]
mulss xmm4, xmm3
addss xmm4, dword [esi + 0x70]
cvttss2si eax, xmm4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [esi + 0x70], xmm0
movss dword [esi + 0xf8], xmm1
sub esp, 8
lea eax, [ebp - 0x18]
mov dword [esp + 4], 0x41200000
mov dword [esp], 0x3dcccccd
push 0
push 4
push eax
call fcn.10012b20
movss xmm3, dword [ebp - 0x18]
add esp, 0x14
movss xmm4, dword [ebp - 4]
xorps xmm2, xmm2
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x10018c1c
cmp byte [esi + 0x84], 0
je 0x10018c1c
movss xmm1, dword [esi + 0xf4]
addss xmm1, dword [esi + 0x6c]
mulss xmm3, xmm4
addss xmm3, dword [esi + 0x6c]
cvttss2si eax, xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [esi + 0x6c], xmm0
movss dword [esi + 0xf4], xmm1
mov byte [edi + 0x1a78], 1
movss xmm3, dword [ebp - 0x14]
ucomiss xmm3, xmm2
movss xmm2, dword [0x10068f78]
lahf
test ah, 0x44
jnp 0x10018c6b
movss xmm1, dword [esi + 0x70]
addss xmm1, dword [esi + 0xf8]
mulss xmm3, xmm4
addss xmm3, dword [esi + 0x70]
cvttss2si eax, xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [esi + 0x70], xmm0
movss dword [esi + 0xf8], xmm1
mov byte [edi + 0x1a78], 1
movaps xmm0, xmmword [0x100690b0]
movups xmmword [edi + 0x1aa0], xmm0
mov dword [edi + 0x1a8c], 0
movaps xmm0, xmmword [0x100690b0]
mov dword [edi + 0x1a88], 0
mov dword [edi + 0x1a90], 0
mov dword [edi + 0x1a9c], 0x7f7fffff
mov dword [edi + 0x1a98], 0x7f7fffff
mov dword [edi + 0x1a94], 0x7f7fffff
mov dword [edi + 0x1ab4], 0
mov dword [edi + 0x1ab0], 0
mov dword [edi + 0x1ab8], 0
mov dword [edi + 0x1ac4], 0x7f7fffff
mov dword [edi + 0x1ac0], 0x7f7fffff
mov dword [edi + 0x1abc], 0x7f7fffff
movups xmmword [edi + 0x1ac8], xmm0
cmp byte [edi + 0x1a79], 0
je 0x10018e58
cmp byte [edi + 0x1a78], 0
je 0x10018e58
cmp dword [edi + 0x1a54], 0
jne 0x10018e58
mov ecx, dword [edi + 0x1a08]
movss xmm3, dword [0x10033338]
movss xmm7, dword [ecx + 0x204]
subss xmm7, dword [ecx + 0x14]
movss xmm5, dword [ecx + 0x20c]
movss xmm6, dword [ecx + 0x210]
movss xmm4, dword [ecx + 0x208]
subss xmm5, dword [ecx + 0x14]
subss xmm6, dword [ecx + 0x18]
subss xmm4, dword [ecx + 0x18]
movss xmm0, dword [ecx + 0x28c]
subss xmm7, xmm3
movss dword [ebp - 8], xmm0
addss xmm5, xmm3
addss xmm6, xmm3
subss xmm4, xmm3
comiss xmm0, xmm7
jb 0x10018dad
movss xmm0, dword [ecx + 0x290]
comiss xmm0, xmm4
jb 0x10018dad
comiss xmm5, dword [ecx + 0x294]
jb 0x10018dad
comiss xmm6, dword [ecx + 0x298]
jae 0x10018e51
mov eax, dword [0x1007262c]
movaps xmm3, xmm5
movss xmm0, dword [ecx + 0x290]
subss xmm3, xmm7
movss xmm1, dword [eax + 0x1858]
mulss xmm1, dword [ecx + 0x264]
mulss xmm1, xmm2
movaps xmm2, xmm6
subss xmm2, xmm4
minss xmm3, xmm1
minss xmm2, xmm1
movss xmm1, dword [ebp - 8]
xorps xmm3, xmmword [0x10069090]
subss xmm7, xmm3
addss xmm3, xmm5
xorps xmm2, xmmword [0x10069090]
subss xmm4, xmm2
addss xmm2, xmm6
maxss xmm1, xmm7
maxss xmm0, xmm4
movss dword [ecx + 0x28c], xmm1
movss dword [ecx + 0x290], xmm0
movss xmm1, dword [ecx + 0x294]
movss xmm0, dword [ecx + 0x298]
minss xmm1, xmm3
minss xmm0, xmm2
movss dword [ecx + 0x294], xmm1
movss dword [ecx + 0x298], xmm0
mov dword [edi + 0x1a0c], 0
mov byte [edi + 0x1a78], 0
mov ecx, dword [edi + 0x1a08]
test ecx, ecx
je 0x10018e8a
mov edx, dword [edi + 0x1a54]
add edx, edx
movss xmm0, dword [ecx + edx*8 + 0x28c]
ucomiss xmm0, dword [0x10069000]
lahf
test ah, 0x44
jnp 0x10018e8a
movups xmm0, xmmword [ecx + edx*8 + 0x28c]
jmp 0x10018e8d
xorps xmm0, xmm0
lea eax, [ebp - 0x20]
movups xmmword [ebp - 0x20], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x20], xmm0
test ecx, ecx
je 0x10018ed9
movss xmm2, dword [ecx + 0x14]
movss xmm0, dword [ecx + 0x18]
movaps xmm3, xmm2
addss xmm3, dword [ebp - 0x18]
addss xmm2, dword [ebp - 0x20]
movaps xmm1, xmm0
addss xmm1, dword [ebp - 0x14]
addss xmm0, dword [ebp - 0x1c]
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x20], xmm2
movss dword [ebp - 0x14], xmm1
movss dword [ebp - 0x1c], xmm0
jmp 0x10018f48
mov ecx, dword [0x1007262c]
movss xmm1, dword [ecx + 0xa4]
movss xmm2, dword [ecx + 0xac]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x10018f26
movss xmm0, dword [ecx + 0xa8]
ucomiss xmm0, dword [ecx + 0xb0]
lahf
test ah, 0x44
jnp 0x10018f26
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ecx + 0xb0]
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x18], xmm2
jmp 0x10018f43
movss xmm0, dword [ecx + 4]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ecx + 8]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movss dword [ebp - 0x14], xmm0
lea eax, [ebp - 0x20]
mov dword [edi + 0x1a3c], 0
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x1a2c], xmm0
movss xmm0, dword [edi + 0x1a2c]
addss xmm0, dword [0x10033338]
minss xmm0, dword [edi + 0x1a34]
movss dword [edi + 0x1a2c], xmm0
movss dword [edi + 0x1a34], xmm0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret