Function at 0x1002e860
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 [0x100bd09c]
push edi
mov al, byte [esi + 8]
and al, 1
mov byte [esi + 0x353], 0
test byte [esi + 8], 2
mov byte [ebp - 2], al
je 0x1002e8e3
test byte [esi + 0xc], 1
je 0x1002e8e3
movss xmm0, dword [esi + 0x2fc]
xorps xmm1, xmm1
comiss xmm0, xmm1
mov byte [ebp - 1], 1
ja 0x1002e8d7
movss xmm0, dword [esi + 0x304]
comiss xmm0, xmm1
ja 0x1002e8d7
movss xmm0, dword [esi + 0x300]
comiss xmm0, xmm1
ja 0x1002e8d7
movss xmm0, dword [esi + 0x308]
comiss xmm0, xmm1
jbe 0x1002e8ea
mov dword [esi + 0x1ac4], 4
jmp 0x1002e8ea
mov byte [ebp - 1], 0
xorps xmm1, xmm1
test al, al
je 0x1002ea35
mov eax, dword [esi + 0x64]
test eax, eax
js 0x1002e918
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x1002e918
mov dword [esi + 0x2fc], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov eax, dword [esi + 0x68]
test eax, eax
js 0x1002e93e
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x1002e93e
mov dword [esi + 0x304], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov eax, dword [esi + 0x6c]
test eax, eax
js 0x1002e964
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x1002e964
mov dword [esi + 0x300], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov eax, dword [esi + 0x38]
test eax, eax
js 0x1002e98a
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x1002e98a
mov dword [esi + 0x340], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov eax, dword [esi + 0x3c]
test eax, eax
js 0x1002e9b0
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x1002e9b0
mov dword [esi + 0x344], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov eax, dword [esi + 0x40]
test eax, eax
js 0x1002e9d6
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x1002e9d6
mov dword [esi + 0x348], 0x3f800000
mov dword [esi + 0x1ac4], 3
mov eax, dword [esi + 0x44]
test eax, eax
js 0x1002e9fc
mov al, byte [eax + esi + 0xfc]
test al, al
je 0x1002e9fc
mov dword [esi + 0x34c], 0x3f800000
mov dword [esi + 0x1ac4], 3
cmp byte [esi + 0xf8], 0
je 0x1002ea0f
mov dword [esi + 0x334], 0x3f800000
cmp byte [esi + 0xf9], 0
je 0x1002ea22
mov dword [esi + 0x338], 0x3f800000
cmp byte [esi + 0xfa], 0
je 0x1002ea35
mov dword [esi + 0x33c], 0x3f800000
movups xmm0, xmmword [esi + 0x1448]
mov eax, dword [esi + 0x1498]
lea ecx, [esi + 0x1448]
movss xmm2, dword [0x1009f024]
movups xmmword [esi + 0x149c], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [esi + 0x14ac], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [esi + 0x14bc], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [esi + 0x14cc], xmm0
movups xmm0, xmmword [ecx + 0x40]
movups xmmword [esi + 0x14dc], xmm0
mov dword [esi + 0x14ec], eax
mov eax, 0x15
nop
movss xmm0, dword [ecx - 0x114c]
comiss xmm0, xmm1
jbe 0x1002eab2
movss xmm0, dword [ecx]
comiss xmm1, xmm0
jbe 0x1002eaab
movaps xmm0, xmm1
jmp 0x1002eab5
addss xmm0, dword [esi + 0x18]
jmp 0x1002eab5
movaps xmm0, xmm2
movss dword [ecx], xmm0
add ecx, 4
sub eax, 1
jne 0x1002ea90
mov edx, dword [esi + 0x1b04]
test edx, edx
je 0x1002eb66
cmp byte [esi + 0x1afe], al
je 0x1002eaeb
cmp byte [esi + 0x1b02], al
je 0x1002eb66
mov ecx, dword [esi + 0x1af4]
jmp 0x1002eafa
cmp byte [esi + 0x1b02], 0
mov ecx, dword [esi + 0x1af4]
je 0x1002eb36
mov eax, dword [esi + 0x1a9c]
mov dword [esi + 0x1aa0], edx
mov dword [eax + ecx*4 + 0x300], edx
add ecx, ecx
mov eax, dword [esi + 0x1a9c]
movups xmm0, xmmword [esi + 0x1b08]
movups xmmword [eax + ecx*8 + 0x308], xmm0
mov word [esi + 0x1afd], 1
mov byte [esi + 0x1aff], 1
jmp 0x1002eb49
mov eax, dword [esi + 0x1a9c]
mov dword [esi + 0x1aa0], edx
mov dword [eax + ecx*4 + 0x300], edx
mov ecx, dword [esi + 0x1af4]
mov eax, dword [esi + 0x1a9c]
add ecx, ecx
movups xmm0, xmmword [esi + 0x1b08]
movups xmmword [eax + ecx*8 + 0x308], xmm0
cmp byte [esi + 0x1b19], 0
mov word [esi + 0x1b01], 0
mov dword [esi + 0x1b04], 0
mov dword [esi + 0x1ab8], 0
je 0x1002eb91
call fcn.1002f740
cmp dword [esi + 0x1b20], 2
jne 0x1002ebbd
cmp dword [esi + 0x1b30], 0
jne 0x1002ebb3
cmp dword [esi + 0x1b80], 0
jne 0x1002ebb3
mov byte [esi + 0x1afe], 0
mov dword [esi + 0x1b20], 0
cmp byte [esi + 0x1afd], 0
je 0x1002ec31
cmp byte [esi + 0x1afc], 0
je 0x1002ec31
test byte [esi + 8], 4
je 0x1002ec2a
test byte [esi + 0xc], 4
je 0x1002ec2a
cmp byte [esi + 0x1afe], 0
jne 0x1002ec2a
cmp byte [esi + 0x1aff], 0
je 0x1002ec2a
cmp dword [esi + 0x1a9c], 0
je 0x1002ec2a
lea ecx, [ebp - 0x10]
call fcn.1002e490
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x37c], eax
mov eax, ecx
mov dword [esi + 0x378], ecx
mov ecx, dword [esi + 0x37c]
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], ecx
mov byte [esi + 0x353], 1
mov byte [esi + 0x1afd], 0
mov edx, dword [esi + 0x1a9c]
mov byte [esi + 0x1afc], 0
mov dword [esi + 0x1ab4], 0
test edx, edx
je 0x1002ec75
mov ecx, edx
nop
mov eax, dword [ecx + 8]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x1002ec6b
mov ecx, dword [ecx + 0x2ec]
test ecx, ecx
jne 0x1002ec50
jmp 0x1002ec75
cmp ecx, edx
je 0x1002ec75
mov dword [ecx + 0x2fc], edx
mov eax, dword [esi + 0x1a9c]
test eax, eax
je 0x1002ec9b
cmp dword [eax + 0x2fc], 0
je 0x1002ec9b
cmp dword [esi + 0x1af4], 0
jne 0x1002ec9b
mov dword [eax + 0x2fc], 0
call fcn.1002ff50
cmp byte [ebp - 2], 0
jne 0x1002ecac
cmp byte [ebp - 1], 0
je 0x1002ed18
mov eax, dword [esi + 0x1a9c]
test eax, eax
je 0x1002ed18
test dword [eax + 8], 0x40000
jne 0x1002ed18
cmp dword [esi + 0x1aa0], 0
mov byte [esi + 0x355], 1
je 0x1002ed1f
cmp byte [esi + 0x1afe], 0
jne 0x1002ed1f
mov al, 1
mov edx, 1
mov byte [esi + 0x356], al
mov ecx, edx
call fcn.1002e5c0
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x1002ee81
cmp dword [esi + 0x19ac], 0
je 0x1002ed2c
test byte [esi + 0x19c8], 2
jne 0x1002ee81
call fcn.100242d0
jmp 0x1002ee81
mov byte [esi + 0x355], 0
cmp dword [esi + 0x1adc], 0
jne 0x1002ecd8
xor al, al
jmp 0x1002ecda
mov edi, dword [esi + 0x1a9c]
test edi, edi
je 0x1002ed92
mov eax, dword [edi + 8]
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1002ed92
mov ecx, dword [edi + 0x2ec]
test ecx, ecx
je 0x1002ed92
call fcn.1002c1c0
mov edx, dword [0x100bd09c]
xorps xmm6, xmm6
mov ecx, dword [edi + 0x54]
mov eax, dword [edx + 0x1a9c]
mov dword [edx + 0x1aa0], ecx
mov dword [eax + 0x300], ecx
cmp byte [esi + 0x1aff], 0
mov byte [esi + 0x1afc], 0
je 0x1002ee87
mov byte [esi + 0x1afd], 1
jmp 0x1002ee87
mov edx, dword [esi + 0x1a18]
test edx, edx
jle 0x1002ee46
mov eax, dword [esi + 0x1a20]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*4 - 0x20]
test dword [eax + 8], 0x8000000
jne 0x1002ee81
lea ecx, [edx - 1]
mov edx, dword [0x100bd09c]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov edi, dword [edx + 0x1a20]
test ecx, ecx
jle 0x1002eddc
lea eax, [ecx + ecx*8]
mov edi, dword [edi + eax*4 - 0x20]
jmp 0x1002eddf
mov edi, dword [edi + 8]
mov eax, dword [edx + 0x1a1c]
cmp ecx, eax
jle 0x1002ee20
test eax, eax
je 0x1002edff
cdq
sub eax, edx
mov edx, eax
mov eax, dword [ebp - 8]
sar edx, 1
add edx, dword [eax + 0x1a1c]
jmp 0x1002ee04
mov edx, 8
mov eax, ecx
cmp edx, ecx
mov ecx, dword [ebp - 8]
cmovg eax, edx
push eax
lea ecx, [ecx + 0x1a18]
call fcn.10033190
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 0x1a18], ecx
cmp dword [edx + 0x1af4], 0
jne 0x1002ee3a
mov eax, dword [edi + 0x2fc]
test eax, eax
cmovne edi, eax
mov ecx, edi
call fcn.1002c1c0
xorps xmm6, xmm6
jmp 0x1002ee81
cmp dword [esi + 0x1af4], 0
je 0x1002ee58
xor ecx, ecx
call fcn.1002e3d0
jmp 0x1002ee81
test edi, edi
je 0x1002ee77
mov eax, dword [edi + 8]
test eax, 0x4000000
jne 0x1002ee6d
test eax, 0x1000000
jne 0x1002ee77
mov dword [edi + 0x300], 0
mov dword [esi + 0x1aa0], 0
mov edx, dword [0x100bd09c]
mov edi, dword [esi + 0x1aa0]
mov dword [esi + 0x1ab0], 0
mov dword [esi + 0x1aac], 0
mov dword [esi + 0x1aa8], 0
mov dword [esi + 0x1aa4], 0
test edi, edi
je 0x1002ef87
cmp byte [esi + 0x1afe], 0
jne 0x1002ef87
cmp dword [esi + 0x1adc], 0
jne 0x1002ef87
mov eax, dword [esi + 0x1a9c]
test eax, eax
je 0x1002ef87
test dword [eax + 8], 0x40000
jne 0x1002ef87
movss xmm0, dword [edx + 0x2fc]
comiss xmm0, xmm6
seta al
mov byte [ebp - 1], al
test al, al
je 0x1002ef18
mov edx, 1
xor ecx, ecx
call fcn.1002e5c0
comiss xmm0, xmm6
ja 0x1002ef1a
xor dl, dl
mov ecx, dword [esi + 0x19ac]
test ecx, ecx
jne 0x1002ef30
test dl, dl
je 0x1002ef34
mov dword [esi + 0x1aa4], edi
jmp 0x1002ef34
cmp ecx, edi
jne 0x1002ef87
cmp byte [ebp - 1], 0
mov eax, dword [esi + 0x1aa8]
cmovne eax, edi
mov dword [esi + 0x1aa8], eax
test ecx, ecx
je 0x1002ef4f
cmp ecx, edi
jne 0x1002ef87
mov eax, dword [esi + 0x1aac]
test dl, dl
cmovne eax, edi
mov dword [esi + 0x1aac], eax
test ecx, ecx
je 0x1002ef68
cmp ecx, edi
jne 0x1002ef87
mov edx, 1
lea ecx, [edx + 1]
call fcn.1002e5c0
mov eax, dword [esi + 0x1ab0]
comiss xmm0, xmm6
cmova eax, edi
mov dword [esi + 0x1ab0], eax
mov ecx, dword [esi + 0x1a9c]
test ecx, ecx
je 0x1002efa1
test dword [ecx + 8], 0x40000
je 0x1002efa1
mov byte [esi + 0x1afe], 1
mov eax, dword [esi + 0x1ac0]
mov byte [esi + 0x1b19], 0
test eax, eax
je 0x1002efca
mov dword [esi + 0x1ab0], eax
mov dword [esi + 0x1aac], eax
mov dword [esi + 0x1aa8], eax
mov dword [esi + 0x1aa4], eax
cmp dword [esi + 0x19ac], 0
mov dword [esi + 0x1ac0], 0
jne 0x1002efe2
or eax, 0xffffffff
jmp 0x1002efe8
mov eax, dword [esi + 0x19c4]
cmp dword [esi + 0x1b20], 0
mov dword [ebp - 8], eax
jne 0x1002f118
or edi, 0xffffffff
mov dword [esi + 0x1b24], 0xffffffff
mov dword [esi + 0x1b1c], 0
test ecx, ecx
je 0x1002f110
or edi, edi
cmp dword [esi + 0x1adc], 0
jne 0x1002f110
or edi, 0xffffffff
test eax, eax
je 0x1002f110
or edi, edi
test dword [ecx + 8], 0x40000
jne 0x1002f110
or edi, 0xffffffff
test al, 1
je 0x1002f079
mov edx, 3
or edi, edi
lea ecx, [edx + 0xe]
call fcn.1002e5c0
lea ecx, [edx + 1]
movaps xmm5, xmm0
call fcn.1002e5c0
mov eax, dword [ebp - 8]
addss xmm5, xmm0
comiss xmm5, xmm6
jbe 0x1002f079
mov dword [esi + 0x1b24], 0
xor edi, edi
test al, 2
je 0x1002f0ae
mov edx, 3
lea ecx, [edx + 0xf]
call fcn.1002e5c0
lea ecx, [edx + 2]
movaps xmm5, xmm0
call fcn.1002e5c0
mov eax, dword [ebp - 8]
addss xmm5, xmm0
comiss xmm5, xmm6
jbe 0x1002f0ae
mov dword [esi + 0x1b24], 1
lea edi, [edx - 2]
test al, 4
je 0x1002f0e3
mov edx, 3
lea ecx, [edx + 0x10]
call fcn.1002e5c0
lea ecx, [edx + 3]
movaps xmm5, xmm0
call fcn.1002e5c0
mov eax, dword [ebp - 8]
addss xmm5, xmm0
comiss xmm5, xmm6
jbe 0x1002f0e3
mov dword [esi + 0x1b24], 2
lea edi, [edx - 1]
test al, 8
je 0x1002f110
mov edx, 3
lea ecx, [edx + 0x11]
call fcn.1002e5c0
lea ecx, [edx + 4]
movaps xmm5, xmm0
call fcn.1002e5c0
addss xmm5, xmm0
comiss xmm5, xmm6
jbe 0x1002f110
mov dword [esi + 0x1b24], edx
mov edi, edx
mov dword [esi + 0x1b2c], edi
jmp 0x1002f122
mov dword [esi + 0x1b20], 2
cmp byte [ebp - 2], 0
xorps xmm0, xmm0
movss dword [ebp - 0xc], xmm0
je 0x1002f13d
mov ecx, dword [ebp - 8]
call fcn.1002fa90
movss dword [ebp - 0xc], xmm0
mov eax, dword [esi + 0x1b24]
cmp eax, 0xffffffff
je 0x1002f155
mov byte [esi + 0x1b19], 1
mov dword [esi + 0x1b28], eax
cmp byte [esi + 0x1b19], 0
je 0x1002f181
cmp dword [esi + 0x1aa0], 0
jne 0x1002f181
mov word [esi + 0x1b01], 0x101
mov dword [esi + 0x1b04], 0
mov byte [esi + 0x1afe], 0
mov ecx, dword [0x100bd09c]
cmp byte [ecx + 0x1b19], 0
jne 0x1002f19d
cmp byte [ecx + 0x1b01], 0
jne 0x1002f19d
xor al, al
jmp 0x1002f19f
mov al, 1
movss xmm2, dword [0x1009ee38]
mov byte [ecx + 0x1b00], al
mov edi, dword [esi + 0x1a9c]
test edi, edi
je 0x1002f3de
test dword [edi + 8], 0x40000
jne 0x1002f3de
cmp dword [esi + 0x1adc], 0
jne 0x1002f3de
cmp dword [edi + 0x13c], 0
movss xmm0, dword [ecx + 0x18b0]
mulss xmm0, dword [edi + 0x26c]
mulss xmm0, dword [0x1009ef64]
mulss xmm0, dword [esi + 0x18]
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [ebp - 8], xmm2
jne 0x1002f2cd
cmp byte [edi + 0x145], 0
je 0x1002f2cd
cmp byte [esi + 0x1b19], 0
je 0x1002f2cd
mov eax, dword [esi + 0x1b24]
movss xmm4, dword [0x1009f024]
test eax, eax
je 0x1002f24e
cmp eax, 1
jne 0x1002f289
movss xmm3, dword [0x1009ee70]
jmp 0x1002f251
movaps xmm3, xmm4
movss xmm1, dword [edi + 0x58]
addss xmm1, dword [edi + 0xe0]
mulss xmm3, xmm2
addss xmm3, dword [edi + 0x58]
cvttss2si eax, xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [edi + 0x58], xmm0
movss dword [edi + 0xe0], xmm1
mov eax, dword [esi + 0x1b24]
cmp eax, 2
je 0x1002f29b
cmp eax, 3
jne 0x1002f2cd
movss xmm4, dword [0x1009ee70]
movss xmm1, dword [edi + 0x5c]
addss xmm1, dword [edi + 0xe4]
mulss xmm4, xmm2
addss xmm4, dword [edi + 0x5c]
cvttss2si eax, xmm4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [edi + 0x5c], xmm0
movss dword [edi + 0xe4], xmm1
xor edx, edx
lea ecx, [edx + 9]
call fcn.1002e5c0
lea ecx, [edx + 8]
movaps xmm5, xmm0
call fcn.1002e5c0
subss xmm5, xmm0
lea ecx, [edx + 0xb]
addss xmm5, xmm6
call fcn.1002e5c0
lea ecx, [edx + 0xa]
movaps xmm7, xmm0
call fcn.1002e5c0
mov ecx, dword [0x100bd09c]
subss xmm7, xmm0
movss xmm1, dword [ecx + 0x334]
comiss xmm1, xmm6
addss xmm7, xmm6
jbe 0x1002f328
mulss xmm5, dword [0x1009edfc]
mulss xmm7, dword [0x1009edfc]
movss xmm0, dword [ecx + 0x338]
comiss xmm0, xmm6
jbe 0x1002f345
mulss xmm5, dword [0x1009ef00]
mulss xmm7, dword [0x1009ef00]
movss xmm3, dword [ebp - 8]
ucomiss xmm5, xmm6
lahf
test ah, 0x44
jnp 0x1002f394
cmp byte [edi + 0x78], dl
je 0x1002f394
movss xmm2, dword [edi + 0x58]
movaps xmm0, xmm3
addss xmm2, dword [edi + 0xe0]
mulss xmm0, xmm5
addss xmm0, dword [edi + 0x58]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
movss dword [edi + 0x58], xmm0
movss dword [edi + 0xe0], xmm2
mov byte [esi + 0x1b18], 1
movss xmm2, dword [0x1009ee38]
ucomiss xmm7, xmm6
lahf
test ah, 0x44
jnp 0x1002f3de
movss xmm1, dword [edi + 0x5c]
addss xmm1, dword [edi + 0xe4]
mulss xmm3, xmm7
addss xmm3, dword [edi + 0x5c]
cvttss2si eax, xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [edi + 0x5c], xmm0
movss dword [edi + 0xe4], xmm1
mov byte [esi + 0x1b18], 1
movaps xmm0, xmmword [0x1009f390]
movups xmmword [esi + 0x1b48], xmm0
mov dword [esi + 0x1b34], 0
movaps xmm0, xmmword [0x1009f390]
mov dword [esi + 0x1b30], 0
mov dword [esi + 0x1b38], 0
mov dword [esi + 0x1b44], 0x7f7fffff
mov dword [esi + 0x1b40], 0x7f7fffff
mov dword [esi + 0x1b3c], 0x7f7fffff
movups xmmword [esi + 0x1b70], xmm0
mov dword [esi + 0x1b5c], 0
movaps xmm0, xmmword [0x1009f390]
mov dword [esi + 0x1b58], 0
mov dword [esi + 0x1b60], 0
mov dword [esi + 0x1b6c], 0x7f7fffff
mov dword [esi + 0x1b68], 0x7f7fffff
mov dword [esi + 0x1b64], 0x7f7fffff
mov dword [esi + 0x1b84], 0
mov dword [esi + 0x1b80], 0
mov dword [esi + 0x1b88], 0
mov dword [esi + 0x1b94], 0x7f7fffff
mov dword [esi + 0x1b90], 0x7f7fffff
mov dword [esi + 0x1b8c], 0x7f7fffff
movups xmmword [esi + 0x1b98], xmm0
cmp byte [esi + 0x1b19], 0
je 0x1002f610
cmp byte [esi + 0x1b18], 0
je 0x1002f610
cmp dword [esi + 0x1af4], 0
jne 0x1002f610
mov eax, dword [esi + 0x1a9c]
movss xmm3, dword [0x1009ee70]
movss xmm7, dword [eax + 0x1ec]
subss xmm7, dword [eax + 0xc]
movss xmm5, dword [eax + 0x1f4]
movss xmm6, dword [eax + 0x1f8]
movss xmm4, dword [eax + 0x1f0]
subss xmm5, dword [eax + 0xc]
subss xmm6, dword [eax + 0x10]
subss xmm4, dword [eax + 0x10]
movss xmm0, dword [eax + 0x308]
subss xmm7, xmm3
movss dword [ebp - 8], xmm0
addss xmm5, xmm3
addss xmm6, xmm3
subss xmm4, xmm3
comiss xmm0, xmm7
jb 0x1002f56a
movss xmm0, dword [eax + 0x30c]
comiss xmm0, xmm4
jb 0x1002f56a
comiss xmm5, dword [eax + 0x310]
jb 0x1002f56a
comiss xmm6, dword [eax + 0x314]
jae 0x1002f609
movss xmm1, dword [ecx + 0x18b0]
movaps xmm3, xmm6
mulss xmm1, dword [eax + 0x26c]
subss xmm3, xmm4
movss xmm0, dword [eax + 0x30c]
mulss xmm1, xmm2
movaps xmm2, xmm5
subss xmm2, xmm7
minss xmm3, xmm1
minss xmm2, xmm1
movss xmm1, dword [ebp - 8]
xorps xmm3, xmmword [0x1009f350]
subss xmm4, xmm3
addss xmm3, xmm6
xorps xmm2, xmmword [0x1009f350]
subss xmm7, xmm2
addss xmm2, xmm5
maxss xmm0, xmm4
maxss xmm1, xmm7
movss dword [eax + 0x30c], xmm0
movss dword [eax + 0x308], xmm1
movss xmm1, dword [eax + 0x310]
movss xmm0, dword [eax + 0x314]
minss xmm1, xmm2
minss xmm0, xmm3
movss dword [eax + 0x310], xmm1
movss dword [eax + 0x314], xmm0
mov dword [esi + 0x1aa0], 0
mov byte [esi + 0x1b18], 0
mov eax, dword [esi + 0x1a9c]
test eax, eax
je 0x1002f652
mov edx, dword [esi + 0x1af4]
add edx, edx
movss xmm0, dword [eax + edx*8 + 0x308]
comiss xmm0, dword [eax + edx*8 + 0x310]
ja 0x1002f652
movss xmm0, dword [eax + edx*8 + 0x30c]
comiss xmm0, dword [eax + edx*8 + 0x314]
ja 0x1002f652
movups xmm0, xmmword [eax + edx*8 + 0x308]
jmp 0x1002f655
xorps xmm0, xmm0
lea edx, [ebp - 0x20]
movups xmmword [ebp - 0x20], xmm0
movups xmm0, xmmword [edx]
movups xmmword [ebp - 0x20], xmm0
test eax, eax
je 0x1002f6a1
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 0x1002f6c3
movss xmm0, dword [ecx + 0x10]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ecx + 0x14]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movss dword [ebp - 0x14], xmm0
movss xmm1, dword [ebp - 0xc]
lea eax, [ebp - 0x20]
movups xmm0, xmmword [eax]
pop edi
movups xmmword [esi + 0x1ac8], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esi + 0x1acc]
addss xmm1, dword [esi + 0x1ad4]
movss dword [esi + 0x1acc], xmm0
movss dword [esi + 0x1ad4], xmm1
movss xmm0, dword [esi + 0x1ac8]
addss xmm0, dword [0x1009ee70]
mov dword [esi + 0x1ad8], 0
minss xmm0, dword [esi + 0x1ad0]
movss dword [esi + 0x1ac8], xmm0
movss dword [esi + 0x1ad0], xmm0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret