Function at 0x1002f365
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
push edi
mov edi, dword [0x1022d548]
mov ebx, ecx
or eax, 0xffffffff
mov esi, dword [edi + 0x3f34]
mov dword [esp + 0x20], esi
cmp dword [ebx + 0x48], eax
je 0x1002f390
call fcn.1002f91a
cmp byte [edi + 0x5c54], 0
je 0x1002f3a8
push 0
mov edx, 0x10226818
xor ecx, ecx
call fcn.10015e66
pop ecx
mov eax, dword [ebx + 0x54]
mov dword [esi + 0x12c], eax
movsx eax, word [ebx + 0x1d0]
movss xmm6, dword [ebx + 0x50]
movss xmm5, dword [ebx + 0x54]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x44]
movss dword [esp + 0x24], xmm6
movss dword [esp + 0x2c], xmm5
lea ecx, [eax + 1]
mov dword [esp + 0x14], ecx
movsx ecx, word [ebx + 0x1ce]
mov dword [esp + 0x3c], ecx
test eax, eax
jne 0x1002f402
movsx edx, word [ebx + 0x4c]
movaps xmm0, xmm5
mov ecx, ebx
subss xmm0, xmm6
call fcn.10002894
movss dword [eax + 8], xmm0
comiss xmm5, dword [ebx + 0xf0]
jb 0x1002f7de
movss xmm0, dword [ebx + 0xf8]
comiss xmm0, xmm6
jb 0x1002f7de
or eax, 0xffffffff
cmp word [ebx + 0x1b4], ax
je 0x1002f44f
movss xmm0, dword [edi + 0xdc8]
comiss xmm0, xmm6
jb 0x1002f44f
comiss xmm5, xmm0
jbe 0x1002f44f
movsx edx, word [ebx + 0x4c]
mov ecx, ebx
call fcn.10002894
mov ecx, dword [ebx + 0x44]
mov dword [eax + 0x14], ecx
xor edx, edx
cmp dword [ebx + 0x6c], 0x1000000
mov dword [esp + 0x18], edx
je 0x1002f463
mov edx, dword [ebx + 0x6c]
jmp 0x1002f4a8
test byte [ebx + 4], 0x40
je 0x1002f4ac
mov esi, dword [ebx + 0x68]
lea edi, [esp + 0x40]
mov eax, dword [0x1022d548]
lea ecx, [esp + 0x40]
and esi, 1
add eax, 0x382c
add esi, 0x3d
shl esi, 4
add esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm0, dword [esp + 0x4c]
mulss xmm0, dword [eax]
movss dword [esp + 0x4c], xmm0
call fcn.10003a11
mov esi, dword [esp + 0x20]
mov edx, eax
mov dword [esp + 0x18], edx
mov edi, dword [ebx + 0x70]
xor eax, eax
cmp edi, 0x1000000
cmove edi, eax
and dword [esp + 0x10], eax
mov dword [esp + 0x34], edi
cmp dword [ebx + 0x44], eax
jg 0x1002f4d5
mov eax, dword [ebx + 0x150]
cmp eax, dword [ebx + 0x14c]
jne 0x1002f4f0
test byte [ebx + 4], 0x80
je 0x1002f4f0
test dword [ebx + 0x64], 0x10000
je 0x1002f4e9
mov eax, dword [ebx + 0x74]
jmp 0x1002f4ec
mov eax, dword [ebx + 0x78]
mov dword [esp + 0x10], eax
mov cx, word [ebx + 0x1d6]
mov eax, edi
or eax, dword [esp + 0x10]
shr cx, 0xf
xor cl, 1
or eax, edx
mov word [esp + 0xe], cx
jne 0x1002f51b
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x14], eax
je 0x1002f51b
test cl, cl
je 0x1002f56c
test dword [ebx + 4], 0x100000
jne 0x1002f549
mov edi, dword [esi + 0x2a4]
lea esi, [esp + 0x40]
movups xmm0, xmmword [ebx + 0x10c]
add edi, 0x60
movups xmmword [esp + 0x40], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
mov ecx, dword [ebx + 0x160]
push 0
push dword [esi + 0x2a4]
call fcn.1002858c
movss xmm5, dword [esp + 0x2c]
movss xmm6, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x1002f578
test edi, edi
je 0x1002f62a
movss xmm0, dword [ebx + 0xdc]
movaps xmm1, xmm6
movaps xmm2, xmm5
maxss xmm0, dword [ebx + 0xfc]
maxss xmm1, dword [ebx + 0x100]
minss xmm2, dword [ebx + 0x108]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [ebx + 0xe4]
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x4c], xmm2
minss xmm0, dword [ebx + 0x104]
movss dword [esp + 0x48], xmm0
test edx, edx
je 0x1002f604
comiss xmm2, xmm1
jbe 0x1002f604
push 0
push ecx
and dword [esp], 0
lea eax, [esp + 0x50]
mov ecx, dword [esi + 0x2a4]
push edx
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10027f23
movss xmm1, dword [esp + 0x34]
movss xmm2, dword [esp + 0x20]
test edi, edi
je 0x1002f62a
comiss xmm2, xmm1
jbe 0x1002f62a
push 0
push ecx
and dword [esp], 0
lea eax, [esp + 0x50]
mov ecx, dword [esi + 0x2a4]
push edi
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10027f23
cmp byte [esp + 0xe], 0
je 0x1002f70a
mov edi, dword [ebx + 0x20]
movsx eax, word [ebx + 0x1d6]
lea eax, [edi + eax*8]
mov dword [esp + 0x20], eax
cmp edi, eax
ja 0x1002f70a
movsx eax, word [edi + 4]
mov edx, ebx
imul ecx, eax, 0x70
push eax
add ecx, dword [ebx + 0x10]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x44]
call fcn.1002f310
movss xmm0, dword [esp + 0x48]
add esp, 4
maxss xmm0, dword [ebx + 0x100]
movss xmm1, dword [esp + 0x40]
movss xmm2, dword [esp + 0x48]
maxss xmm1, dword [ebx + 0xfc]
mov eax, dword [esp + 0x34]
minss xmm2, dword [ebx + 0x104]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x4c]
minss xmm0, dword [ebx + 0x108]
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [eax + 0x20]
comiss xmm1, xmm0
jae 0x1002f6cf
movss dword [esp + 0x40], xmm0
movss xmm0, dword [eax + 0xc]
comiss xmm0, xmm2
ja 0x1002f6df
movss dword [esp + 0x48], xmm0
push 0
push ecx
and dword [esp], 0
lea eax, [esp + 0x50]
push dword [edi]
mov ecx, dword [esi + 0x2a4]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10027f23
add edi, 8
cmp edi, dword [esp + 0x20]
jbe 0x1002f64e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1002f771
movss xmm1, dword [esp + 0x24]
comiss xmm1, dword [ebx + 0x100]
jb 0x1002f771
movss xmm0, dword [ebx + 0x108]
comiss xmm0, xmm1
jbe 0x1002f771
movss xmm0, dword [ebx + 0x80]
push ecx
mov ecx, dword [esi + 0x2a4]
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0x3c]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [ebx + 0x7c]
push eax
lea eax, [esp + 0x30]
movss dword [esp + 0x44], xmm1
push eax
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x38], xmm1
call fcn.10027db1
mov edi, dword [esp + 0x14]
cmp edi, dword [esp + 0x1c]
jne 0x1002f7e2
movss xmm1, dword [esp + 0x2c]
comiss xmm1, dword [ebx + 0x100]
jb 0x1002f7e2
movss xmm0, dword [ebx + 0x108]
comiss xmm0, xmm1
jbe 0x1002f7e2
movss xmm0, dword [ebx + 0x80]
lea eax, [esp + 0x34]
push ecx
mov ecx, dword [esi + 0x2a4]
mov dword [esp], 0x3f800000
push dword [ebx + 0x74]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [ebx + 0x7c]
push eax
lea eax, [esp + 0x38]
movss dword [esp + 0x44], xmm1
push eax
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x40], xmm1
call fcn.10027db1
jmp 0x1002f7e2
mov edi, dword [esp + 0x14]
cmp edi, dword [esp + 0x3c]
jne 0x1002f802
xor ecx, ecx
cmp dword [ebx + 0x40], ecx
jle 0x1002f802
xor edx, edx
mov eax, dword [ebx + 0x10]
lea edx, [edx + 0x70]
inc ecx
mov byte [edx + eax - 6], 0
cmp ecx, dword [ebx + 0x40]
jl 0x1002f7f1
cmp edi, dword [esp + 0x1c]
jne 0x1002f903
movss xmm1, dword [ebx + 0x54]
mov ecx, ebx
addss xmm1, dword [0x10227b1c]
movsx edx, word [ebx + 0x4c]
maxss xmm1, dword [esi + 0x21c]
mov byte [ebx + 0x1e9], 1
movaps xmm0, xmm1
subss xmm0, dword [ebx + 0xc0]
call fcn.10002894
xor edi, edi
movss dword [eax + 0xc], xmm0
minss xmm1, dword [esi + 0x224]
mov ax, word [ebx + 0x1dc]
movss dword [ebx + 0x120], xmm1
movss dword [ebx + 0x100], xmm1
movss xmm0, dword [esi + 0x224]
movss xmm1, dword [ebx + 0x54]
movss dword [ebx + 0x128], xmm0
movss dword [ebx + 0x108], xmm0
movaps xmm0, xmm1
addss xmm1, dword [ebx + 0xe0]
subss xmm0, dword [ebx + 0x50]
mov word [ebx + 0x1da], ax
subss xmm1, dword [ebx + 0xc0]
movss dword [esi + 0x12c], xmm1
movss dword [ebx + 0x54], xmm1
subss xmm1, xmm0
movss dword [ebx + 0x50], xmm1
cmp dword [ebx + 0x40], edi
jle 0x1002f8dd
xor edx, edx
mov ecx, dword [ebx + 0x10]
lea edx, [edx + 0x70]
inc edi
mov ax, word [ecx + edx - 0x10]
mov word [ecx + edx - 0x14], ax
mov eax, dword [ebx + 0x120]
mov dword [ecx + edx - 0x4c], eax
cmp edi, dword [ebx + 0x40]
jl 0x1002f8bd
mov edx, dword [ebx + 0x10]
mov ecx, esi
add edx, 0x20
call fcn.1003026f
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x160]
movzx eax, word [eax + 0x5c]
push eax
push dword [esi + 0x2a4]
call fcn.1002858c
test byte [ebx + 0x64], 1
jne 0x1002f90c
inc dword [ebx + 0x68]
pop edi
pop esi
mov byte [ebx + 0x1df], 0
pop ebx
mov esp, ebp
pop ebp
ret