Function at 0x1002e150
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 [0x101132e0]
push edi
mov al, byte [esi + 8]
and al, 1
mov byte [esi + 0x35f], 0
test byte [esi + 8], 2
mov byte [ebp - 2], al
je 0x1002e1d3
test byte [esi + 0xc], 1
je 0x1002e1d3
movss xmm0, dword [esi + 0x304]
xorps xmm1, xmm1
comiss xmm0, xmm1
mov byte [ebp - 1], 1
ja 0x1002e1c7
movss xmm0, dword [esi + 0x30c]
comiss xmm0, xmm1
ja 0x1002e1c7
movss xmm0, dword [esi + 0x308]
comiss xmm0, xmm1
ja 0x1002e1c7
movss xmm0, dword [esi + 0x310]
comiss xmm0, xmm1
jbe 0x1002e1da
mov dword [esi + 0x1afc], 4
jmp 0x1002e1da
mov byte [ebp - 1], 0
xorps xmm1, xmm1
test al, al
je 0x1002e378
mov ecx, dword [esi + 0x64]
test ecx, ecx
js 0x1002e20d
mov eax, dword [0x101132e0]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x1002e20d
mov dword [esi + 0x304], 0x3f800000
mov dword [esi + 0x1afc], 3
mov ecx, dword [esi + 0x68]
test ecx, ecx
js 0x1002e238
mov eax, dword [0x101132e0]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x1002e238
mov dword [esi + 0x30c], 0x3f800000
mov dword [esi + 0x1afc], 3
mov ecx, dword [esi + 0x6c]
test ecx, ecx
js 0x1002e263
mov eax, dword [0x101132e0]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x1002e263
mov dword [esi + 0x308], 0x3f800000
mov dword [esi + 0x1afc], 3
mov ecx, dword [esi + 0x38]
test ecx, ecx
js 0x1002e28e
mov eax, dword [0x101132e0]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x1002e28e
mov dword [esi + 0x34c], 0x3f800000
mov dword [esi + 0x1afc], 3
mov ecx, dword [esi + 0x3c]
test ecx, ecx
js 0x1002e2b9
mov eax, dword [0x101132e0]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x1002e2b9
mov dword [esi + 0x350], 0x3f800000
mov dword [esi + 0x1afc], 3
mov ecx, dword [esi + 0x40]
test ecx, ecx
js 0x1002e2e4
mov eax, dword [0x101132e0]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x1002e2e4
mov dword [esi + 0x354], 0x3f800000
mov dword [esi + 0x1afc], 3
mov ecx, dword [esi + 0x44]
test ecx, ecx
js 0x1002e30f
mov eax, dword [0x101132e0]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x1002e30f
mov dword [esi + 0x358], 0x3f800000
mov dword [esi + 0x1afc], 3
mov ecx, dword [esi + 0x34]
test ecx, ecx
js 0x1002e33a
mov eax, dword [0x101132e0]
mov al, byte [ecx + eax + 0x104]
test al, al
je 0x1002e33a
mov dword [esi + 0x348], 0x3f800000
mov dword [esi + 0x1afc], 3
mov al, byte [esi + 0x100]
test al, al
je 0x1002e34e
mov dword [esi + 0x33c], 0x3f800000
cmp byte [esi + 0x101], 0
je 0x1002e361
mov dword [esi + 0x340], 0x3f800000
cmp byte [esi + 0x102], 0
je 0x1002e378
test al, al
jne 0x1002e378
mov dword [esi + 0x344], 0x3f800000
movups xmm0, xmmword [esi + 0x1460]
lea eax, [esi + 0x1460]
mov ecx, 0x16
movss xmm2, dword [0x100f0bb4]
movups xmmword [esi + 0x14b8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x14c8], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esi + 0x14d8], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [esi + 0x14e8], xmm0
movups xmm0, xmmword [eax + 0x40]
movups xmmword [esi + 0x14f8], xmm0
movq xmm0, qword [eax + 0x50]
movq qword [esi + 0x1508], xmm0
movss xmm0, dword [eax - 0x115c]
comiss xmm0, xmm1
jbe 0x1002e408
movss xmm2, dword [eax]
comiss xmm1, xmm2
jbe 0x1002e3f5
movss xmm2, dword [0x100f0bb4]
movaps xmm0, xmm1
jmp 0x1002e40b
movss xmm0, dword [esi + 0x18]
addss xmm0, xmm2
movss xmm2, dword [0x100f0bb4]
jmp 0x1002e40b
movaps xmm0, xmm2
movss dword [eax], xmm0
add eax, 4
sub ecx, 1
jne 0x1002e3d2
mov edx, dword [esi + 0x1b3c]
test edx, edx
je 0x1002e4cc
cmp byte [esi + 0x1b36], cl
je 0x1002e439
cmp byte [esi + 0x1b3a], cl
je 0x1002e4cc
cmp dword [esi + 0x1ad4], 0
je 0x1002e4cc
cmp byte [esi + 0x1b3a], 0
mov edi, dword [esi + 0x1b2c]
je 0x1002e497
mov ecx, dword [0x101132e0]
mov eax, dword [ecx + 0x1ad4]
mov dword [ecx + 0x1ad8], edx
mov dword [eax + edi*4 + 0x304], edx
add edi, edi
movups xmm0, xmmword [esi + 0x1b40]
mov eax, dword [ecx + 0x1ad4]
movups xmmword [eax + edi*8 + 0x30c], xmm0
mov word [ecx + 0x1b35], 1
mov byte [ecx + 0x1b37], 1
jmp 0x1002e4af
mov eax, dword [0x101132e0]
mov dword [eax + 0x1ad8], edx
mov eax, dword [eax + 0x1ad4]
mov dword [eax + edi*4 + 0x304], edx
mov ecx, dword [esi + 0x1b2c]
mov eax, dword [esi + 0x1ad4]
add ecx, ecx
movups xmm0, xmmword [esi + 0x1b40]
movups xmmword [eax + ecx*8 + 0x30c], xmm0
cmp byte [esi + 0x1b51], 0
mov word [esi + 0x1b39], 0
mov dword [esi + 0x1b3c], 0
mov dword [esi + 0x1af0], 0
je 0x1002e4f7
call fcn.1002f3a0
cmp dword [esi + 0x1b58], 2
jne 0x1002e523
cmp dword [esi + 0x1b68], 0
jne 0x1002e519
cmp dword [esi + 0x1bb8], 0
jne 0x1002e519
mov byte [esi + 0x1b36], 0
mov dword [esi + 0x1b58], 0
cmp byte [esi + 0x1b35], 0
je 0x1002e59b
cmp byte [esi + 0x1b34], 0
je 0x1002e59b
test byte [esi + 8], 4
je 0x1002e594
test byte [esi + 0xc], 4
je 0x1002e594
cmp byte [esi + 0x1b36], 0
jne 0x1002e594
cmp byte [esi + 0x1b37], 0
je 0x1002e594
cmp dword [esi + 0x1ad4], 0
je 0x1002e594
lea eax, [ebp - 0x18]
push eax
call fcn.1002d3d0
add esp, 4
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 + 0x35f], 1
mov byte [esi + 0x1b35], 0
mov edx, dword [esi + 0x1ad4]
mov byte [esi + 0x1b34], 0
mov dword [esi + 0x1aec], 0
test edx, edx
je 0x1002e5e5
mov ecx, edx
nop dword [eax + eax]
mov eax, dword [ecx + 8]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1002e5db
mov ecx, dword [ecx + 0x2f0]
test ecx, ecx
jne 0x1002e5c0
jmp 0x1002e5e5
cmp ecx, edx
je 0x1002e5e5
mov dword [ecx + 0x300], edx
mov eax, dword [esi + 0x1ad4]
test eax, eax
je 0x1002e60b
cmp dword [eax + 0x300], 0
je 0x1002e60b
cmp dword [esi + 0x1b2c], 0
jne 0x1002e60b
mov dword [eax + 0x300], 0
call fcn.1002f940
cmp byte [ebp - 2], 0
jne 0x1002e61c
cmp byte [ebp - 1], 0
je 0x1002e678
mov eax, dword [esi + 0x1ad4]
test eax, eax
je 0x1002e678
test dword [eax + 8], 0x40000
jne 0x1002e678
cmp dword [esi + 0x1ad8], 0
mov byte [esi + 0x361], 1
je 0x1002e67f
cmp byte [esi + 0x1b36], 0
jne 0x1002e67f
mov al, 1
mov byte [esi + 0x362], al
xorps xmm1, xmm1
mov eax, dword [0x101132e0]
movss xmm0, dword [eax + 0x1464]
comiss xmm1, xmm0
ja 0x1002e68c
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002e68c
movss xmm0, dword [0x100f0b58]
jmp 0x1002e68f
mov byte [esi + 0x361], 0
cmp dword [esi + 0x1b14], 0
jne 0x1002e648
xor al, al
jmp 0x1002e64a
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1002e6b2
cmp dword [esi + 0x19f0], 0
je 0x1002e766
test byte [esi + 0x1a08], 2
jne 0x1002e6b2
call fcn.100257f0
xorps xmm1, xmm1
mov ecx, dword [esi + 0x1ad8]
mov dword [esi + 0x1ae8], 0
mov dword [esi + 0x1ae4], 0
mov dword [esi + 0x1ae0], 0
mov dword [esi + 0x1adc], 0
test ecx, ecx
je 0x1002e8e4
cmp byte [esi + 0x1b36], 0
jne 0x1002e8e4
cmp dword [esi + 0x1b14], 0
jne 0x1002e8e4
mov eax, dword [esi + 0x1ad4]
test eax, eax
je 0x1002e8e4
test dword [eax + 8], 0x40000
jne 0x1002e8e4
mov eax, dword [0x101132e0]
movss xmm0, dword [eax + 0x304]
comiss xmm0, xmm1
seta dl
mov byte [ebp - 3], dl
test dl, dl
je 0x1002e855
movss xmm0, dword [eax + 0x1460]
comiss xmm1, xmm0
ja 0x1002e849
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002e849
movss xmm0, dword [0x100f0b58]
jmp 0x1002e84c
mov edi, dword [esi + 0x1ad4]
test edi, edi
je 0x1002e7cc
mov eax, dword [edi + 8]
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1002e7cc
mov eax, dword [edi + 0x2f0]
test eax, eax
je 0x1002e7cc
push eax
call fcn.10027e70
mov eax, dword [0x101132e0]
add esp, 4
mov ecx, dword [edi + 0x4c]
mov dword [eax + 0x1ad8], ecx
mov eax, dword [eax + 0x1ad4]
mov dword [eax + 0x304], ecx
cmp byte [esi + 0x1b37], 0
mov byte [esi + 0x1b34], 0
je 0x1002e6af
mov byte [esi + 0x1b35], 1
jmp 0x1002e6af
mov edx, dword [esi + 0x1abc]
test edx, edx
jle 0x1002e803
mov eax, dword [esi + 0x1ac4]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*4 - 0x20]
test dword [eax + 8], 0x8000000
jne 0x1002e6b2
lea eax, [edx - 1]
push 1
push eax
call fcn.10025a10
add esp, 8
jmp 0x1002e6af
cmp dword [esi + 0x1b2c], 0
je 0x1002e81b
push 0
call fcn.1002dbb0
add esp, 4
jmp 0x1002e6af
test edi, edi
je 0x1002e83a
mov eax, dword [edi + 8]
test eax, 0x4000000
jne 0x1002e830
test eax, 0x1000000
jne 0x1002e83a
mov dword [edi + 0x304], 0
mov dword [esi + 0x1ad8], 0
jmp 0x1002e6b2
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1002e855
mov al, 1
jmp 0x1002e857
xor al, al
mov edx, dword [esi + 0x19f0]
mov byte [ebp - 1], al
test edx, edx
jne 0x1002e870
test al, al
je 0x1002e874
mov dword [esi + 0x1adc], ecx
jmp 0x1002e874
cmp edx, ecx
jne 0x1002e8e4
cmp byte [ebp - 3], 0
mov eax, dword [esi + 0x1ae0]
cmovne eax, ecx
mov dword [esi + 0x1ae0], eax
test edx, edx
je 0x1002e88f
cmp edx, ecx
jne 0x1002e8e4
cmp byte [ebp - 1], 0
mov eax, dword [esi + 0x1ae4]
cmovne eax, ecx
mov dword [esi + 0x1ae4], eax
test edx, edx
je 0x1002e8aa
cmp edx, ecx
jne 0x1002e8e4
mov eax, dword [0x101132e0]
movss xmm0, dword [eax + 0x1468]
comiss xmm1, xmm0
ja 0x1002e8cf
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002e8cf
movss xmm0, dword [0x100f0b58]
jmp 0x1002e8d2
xorps xmm0, xmm0
mov eax, dword [esi + 0x1ae8]
comiss xmm0, xmm1
cmova eax, ecx
mov dword [esi + 0x1ae8], eax
mov ecx, dword [esi + 0x1ad4]
test ecx, ecx
je 0x1002e8fe
test dword [ecx + 8], 0x40000
je 0x1002e8fe
mov byte [esi + 0x1b36], 1
mov eax, dword [esi + 0x1af8]
mov byte [esi + 0x1b51], 0
test eax, eax
je 0x1002e927
mov dword [esi + 0x1ae8], eax
mov dword [esi + 0x1ae4], eax
mov dword [esi + 0x1ae0], eax
mov dword [esi + 0x1adc], eax
cmp dword [esi + 0x19f0], 0
mov dword [esi + 0x1af8], 0
jne 0x1002e93f
or eax, 0xffffffff
jmp 0x1002e945
mov eax, dword [esi + 0x1a04]
cmp dword [esi + 0x1b58], 0
mov dword [ebp - 8], eax
jne 0x1002ed9b
mov dword [esi + 0x1b5c], 0xffffffff
mov dword [esi + 0x1b54], 0
test ecx, ecx
je 0x1002ed8d
cmp dword [esi + 0x1b14], 0
jne 0x1002ed8d
test eax, eax
je 0x1002ed8d
test dword [ecx + 8], 0x40000
jne 0x1002ed8d
movss xmm2, dword [0x100f0b4c]
test al, 1
je 0x1002ea98
mov edi, dword [0x101132e0]
movss xmm3, dword [edi + 0x1470]
comiss xmm1, xmm3
jbe 0x1002e9bd
movss dword [ebp - 0xc], xmm1
jmp 0x1002ea16
movss xmm0, dword [edi + 0x90]
sub esp, 0x10
mulss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x8c]
mulss xmm0, xmm2
movss dword [esp + 8], xmm0
movaps xmm0, xmm3
subss xmm0, dword [edi + 0x18]
movss dword [esp + 4], xmm0
movss dword [esp], xmm3
call fcn.10025000
movss xmm2, dword [0x100f0b4c]
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xc], xmm0
movss xmm3, dword [edi + 0x14a8]
comiss xmm1, xmm3
jbe 0x1002ea28
xorps xmm0, xmm0
jmp 0x1002ea74
movss xmm0, dword [edi + 0x90]
sub esp, 0x10
mulss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x8c]
mulss xmm0, xmm2
movss dword [esp + 8], xmm0
movaps xmm0, xmm3
subss xmm0, dword [edi + 0x18]
movss dword [esp + 4], xmm0
movss dword [esp], xmm3
call fcn.10025000
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xc]
mov eax, dword [esi + 0x1b5c]
xor ecx, ecx
movss xmm2, dword [0x100f0b4c]
comiss xmm0, xmm1
cmova eax, ecx
mov dword [esi + 0x1b5c], eax
mov eax, dword [ebp - 8]
test al, 2
je 0x1002eb90
mov edi, dword [0x101132e0]
movss xmm3, dword [edi + 0x1474]
comiss xmm1, xmm3
jbe 0x1002eaba
movss dword [ebp - 0xc], xmm1
jmp 0x1002eb0b
movss xmm0, dword [edi + 0x90]
sub esp, 0x10
mulss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x8c]
mulss xmm0, xmm2
movss dword [esp + 8], xmm0
movaps xmm0, xmm3
subss xmm0, dword [edi + 0x18]
movss dword [esp + 4], xmm0
movss dword [esp], xmm3
call fcn.10025000
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xc], xmm0
movss xmm2, dword [edi + 0x14ac]
comiss xmm1, xmm2
jbe 0x1002eb1d
xorps xmm0, xmm0
jmp 0x1002eb71
movss xmm0, dword [edi + 0x90]
sub esp, 0x10
mulss xmm0, dword [0x100f0b4c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x8c]
mulss xmm0, dword [0x100f0b4c]
movss dword [esp + 8], xmm0
movaps xmm0, xmm2
subss xmm0, dword [edi + 0x18]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.10025000
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xc]
mov eax, dword [esi + 0x1b5c]
mov ecx, 1
comiss xmm0, xmm1
cmova eax, ecx
mov dword [esi + 0x1b5c], eax
mov eax, dword [ebp - 8]
test al, 4
je 0x1002ec90
mov edi, dword [0x101132e0]
movss xmm2, dword [edi + 0x1478]
comiss xmm1, xmm2
jbe 0x1002ebb2
movss dword [ebp - 0xc], xmm1
jmp 0x1002ec0b
movss xmm0, dword [edi + 0x90]
sub esp, 0x10
mulss xmm0, dword [0x100f0b4c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x8c]
mulss xmm0, dword [0x100f0b4c]
movss dword [esp + 8], xmm0
movaps xmm0, xmm2
subss xmm0, dword [edi + 0x18]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.10025000
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xc], xmm0
movss xmm2, dword [edi + 0x14b0]
comiss xmm1, xmm2
jbe 0x1002ec1d
xorps xmm0, xmm0
jmp 0x1002ec71
movss xmm0, dword [edi + 0x90]
sub esp, 0x10
mulss xmm0, dword [0x100f0b4c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x8c]
mulss xmm0, dword [0x100f0b4c]
movss dword [esp + 8], xmm0
movaps xmm0, xmm2
subss xmm0, dword [edi + 0x18]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.10025000
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xc]
mov eax, dword [esi + 0x1b5c]
mov ecx, 2
comiss xmm0, xmm1
cmova eax, ecx
mov dword [esi + 0x1b5c], eax
mov eax, dword [ebp - 8]
test al, 8
je 0x1002ed8d
mov edi, dword [0x101132e0]
movss xmm2, dword [edi + 0x147c]
comiss xmm1, xmm2
jbe 0x1002ecb2
movss dword [ebp - 0xc], xmm1
jmp 0x1002ed0b
movss xmm0, dword [edi + 0x90]
sub esp, 0x10
mulss xmm0, dword [0x100f0b4c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x8c]
mulss xmm0, dword [0x100f0b4c]
movss dword [esp + 8], xmm0
movaps xmm0, xmm2
subss xmm0, dword [edi + 0x18]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.10025000
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xc], xmm0
movss xmm2, dword [edi + 0x14b4]
comiss xmm1, xmm2
jbe 0x1002ed1d
xorps xmm0, xmm0
jmp 0x1002ed71
movss xmm0, dword [edi + 0x90]
sub esp, 0x10
mulss xmm0, dword [0x100f0b4c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi + 0x8c]
mulss xmm0, dword [0x100f0b4c]
movss dword [esp + 8], xmm0
movaps xmm0, xmm2
subss xmm0, dword [edi + 0x18]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.10025000
add esp, 0x10
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xc]
mov eax, dword [esi + 0x1b5c]
mov ecx, 3
comiss xmm0, xmm1
cmova eax, ecx
mov dword [esi + 0x1b5c], eax
mov eax, dword [esi + 0x1b5c]
mov dword [esi + 0x1b64], eax
jmp 0x1002eda5
mov dword [esi + 0x1b58], 2
cmp byte [ebp - 2], 0
movss dword [ebp - 0xc], xmm1
je 0x1002edc8
push dword [ebp - 8]
call fcn.1002f5d0
fstp dword [ebp - 0xc]
movss xmm1, dword [ebp - 0xc]
add esp, 4
movss dword [ebp - 0xc], xmm1
mov eax, dword [esi + 0x1b5c]
cmp eax, 0xffffffff
je 0x1002ede2
mov byte [esi + 0x1b51], 1
mov dword [esi + 0x1b60], eax
jmp 0x1002edeb
cmp byte [esi + 0x1b51], 0
je 0x1002ee0e
cmp dword [esi + 0x1ad8], 0
jne 0x1002ee0e
mov word [esi + 0x1b39], 0x101
mov dword [esi + 0x1b3c], 0
mov byte [esi + 0x1b36], 0
mov eax, dword [0x101132e0]
cmp byte [eax + 0x1b51], 0
jne 0x1002ee29
cmp byte [eax + 0x1b39], 0
jne 0x1002ee29
xor cl, cl
jmp 0x1002ee2b
mov cl, 1
movss xmm2, dword [0x100f0b30]
mov byte [eax + 0x1b38], cl
mov edi, dword [esi + 0x1ad4]
test edi, edi
je 0x1002eff5
test dword [edi + 8], 0x40000
jne 0x1002eff5
cmp dword [esi + 0x1b14], 0
jne 0x1002eff5
mov eax, dword [0x101132e0]
movss xmm1, dword [eax + 0x18d8]
mov eax, dword [edi + 0x2f0]
mulss xmm1, dword [edi + 0x26c]
test eax, eax
je 0x1002ee88
mulss xmm1, dword [eax + 0x26c]
cmp dword [edi + 0x138], 0
mulss xmm1, dword [0x100f0b8c]
mulss xmm1, dword [esi + 0x18]
addss xmm1, xmm2
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [ebp - 8], xmm1
jne 0x1002ef53
cmp byte [edi + 0x141], 0
je 0x1002ef53
cmp byte [esi + 0x1b51], 0
je 0x1002ef53
mov eax, dword [esi + 0x1b5c]
test eax, eax
je 0x1002eee9
cmp eax, 1
jne 0x1002ef17
movss xmm0, dword [0x100f0b58]
jmp 0x1002eef1
movss xmm0, dword [0x100f0bb4]
mulss xmm0, xmm1
mov dword [edi + 0x68], 0
addss xmm0, dword [edi + 0x50]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x60], xmm0
mov eax, dword [esi + 0x1b5c]
cmp eax, 2
je 0x1002ef2b
cmp eax, 3
jne 0x1002ef53
movss xmm0, dword [0x100f0b58]
jmp 0x1002ef33
movss xmm0, dword [0x100f0bb4]
mulss xmm0, xmm1
mov dword [edi + 0x6c], 0
addss xmm0, dword [edi + 0x54]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x64], xmm0
sub esp, 8
lea eax, [ebp - 0x18]
mov dword [esp + 4], 0x41200000
mov dword [esp], 0x3dcccccd
push 0
push 4
push eax
call fcn.10029510
movss xmm0, dword [ebp - 0x18]
add esp, 0x14
movss xmm2, dword [ebp - 8]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002efb8
cmp byte [edi + 0x78], 0
je 0x1002efb8
mulss xmm0, xmm2
mov dword [edi + 0x68], 0
addss xmm0, dword [edi + 0x50]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x60], xmm0
mov byte [esi + 0x1b50], 1
movss xmm0, dword [ebp - 0x14]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1002efed
mulss xmm0, xmm2
mov dword [edi + 0x6c], 0
addss xmm0, dword [edi + 0x54]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x64], xmm0
mov byte [esi + 0x1b50], 1
movss xmm2, dword [0x100f0b30]
movaps xmm0, xmmword [0x100f0ca0]
movups xmmword [esi + 0x1b80], xmm0
mov dword [esi + 0x1b6c], 0
movaps xmm0, xmmword [0x100f0ca0]
mov dword [esi + 0x1b68], 0
mov dword [esi + 0x1b70], 0
mov dword [esi + 0x1b7c], 0x7f7fffff
mov dword [esi + 0x1b78], 0x7f7fffff
mov dword [esi + 0x1b74], 0x7f7fffff
movups xmmword [esi + 0x1ba8], xmm0
mov dword [esi + 0x1b94], 0
movaps xmm0, xmmword [0x100f0ca0]
mov dword [esi + 0x1b90], 0
mov dword [esi + 0x1b98], 0
mov dword [esi + 0x1ba4], 0x7f7fffff
mov dword [esi + 0x1ba0], 0x7f7fffff
mov dword [esi + 0x1b9c], 0x7f7fffff
mov dword [esi + 0x1bbc], 0
mov dword [esi + 0x1bb8], 0
mov dword [esi + 0x1bc0], 0
mov dword [esi + 0x1bcc], 0x7f7fffff
mov dword [esi + 0x1bc8], 0x7f7fffff
mov dword [esi + 0x1bc4], 0x7f7fffff
movups xmmword [esi + 0x1bd0], xmm0
cmp byte [esi + 0x1b51], 0
je 0x1002f23e
cmp byte [esi + 0x1b50], 0
je 0x1002f23e
cmp dword [esi + 0x1b2c], 0
jne 0x1002f23e
mov ecx, dword [esi + 0x1ad4]
movss xmm3, dword [0x100f0b58]
movss xmm7, dword [ecx + 0x1d4]
subss xmm7, dword [ecx + 0xc]
movss xmm4, dword [ecx + 0x1dc]
movss xmm5, dword [ecx + 0x1e0]
movss xmm6, dword [ecx + 0x1d8]
subss xmm4, dword [ecx + 0xc]
subss xmm5, dword [ecx + 0x10]
subss xmm6, dword [ecx + 0x10]
movss xmm0, dword [ecx + 0x30c]
subss xmm7, xmm3
movss dword [ebp - 8], xmm0
addss xmm4, xmm3
addss xmm5, xmm3
subss xmm6, xmm3
comiss xmm0, xmm7
jb 0x1002f181
movss xmm0, dword [ecx + 0x310]
comiss xmm0, xmm6
jb 0x1002f181
comiss xmm4, dword [ecx + 0x314]
jb 0x1002f181
comiss xmm5, dword [ecx + 0x318]
jae 0x1002f237
mov eax, dword [0x101132e0]
movss xmm3, dword [eax + 0x18d8]
mov eax, dword [ecx + 0x2f0]
mulss xmm3, dword [ecx + 0x26c]
test eax, eax
je 0x1002f1a8
mulss xmm3, dword [eax + 0x26c]
movss xmm0, dword [ecx + 0x310]
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 - 8]
xorps xmm1, xmmword [0x100f0c60]
subss xmm7, xmm1
addss xmm4, xmm1
xorps xmm2, xmmword [0x100f0c60]
subss xmm6, xmm2
addss xmm5, xmm2
maxss xmm3, xmm7
maxss xmm0, xmm6
movss dword [ecx + 0x30c], xmm3
movss dword [ecx + 0x310], xmm0
movss xmm1, dword [ecx + 0x314]
movss xmm0, dword [ecx + 0x318]
minss xmm1, xmm4
minss xmm0, xmm5
movss dword [ecx + 0x314], xmm1
movss dword [ecx + 0x318], xmm0
mov dword [esi + 0x1ad8], 0
mov byte [esi + 0x1b50], 0
mov eax, dword [esi + 0x1ad4]
test eax, eax
je 0x1002f280
mov ecx, dword [esi + 0x1b2c]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 + 0x30c]
comiss xmm0, dword [eax + ecx*8 + 0x314]
ja 0x1002f280
movss xmm0, dword [eax + ecx*8 + 0x310]
comiss xmm0, dword [eax + ecx*8 + 0x318]
ja 0x1002f280
movups xmm0, xmmword [eax + ecx*8 + 0x30c]
jmp 0x1002f283
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 0x1002f2cf
movss xmm2, dword [eax + 0xc]
movss xmm0, dword [eax + 0x10]
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 0x1002f2f6
mov eax, dword [0x101132e0]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movss xmm0, dword [eax + 0x10]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 0x14]
movss dword [ebp - 0x14], xmm0
movss xmm1, dword [ebp - 0xc]
lea eax, [ebp - 0x20]
movups xmm0, xmmword [eax]
pop edi
movups xmmword [esi + 0x1b00], xmm0
movss xmm0, dword [esi + 0x1b04]
addss xmm0, xmm1
addss xmm1, dword [esi + 0x1b0c]
movss dword [esi + 0x1b04], xmm0
movss dword [esi + 0x1b0c], xmm1
movss xmm0, dword [esi + 0x1b00]
addss xmm0, dword [0x100f0b58]
mov dword [esi + 0x1b10], 0
minss xmm0, dword [esi + 0x1b08]
movss dword [esi + 0x1b00], xmm0
movss dword [esi + 0x1b08], xmm0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret