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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x1003c040]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
mov ebx, dword [0x1003c6c8]
mov dword [esp + 0xc], edx
push esi
push edi
mov eax, dword [ebx + 0x3e48]
mov byte [eax + 0xac], 1
mov edx, dword [ebx + 0x3e48]
cmp byte [edx + 0xaf], 0
jne 0x1002d16e
cmp ecx, dword [esp + 0x14]
mov esi, 0x100343be
mov edi, esi
cmovne edi, dword [esp + 0x14]
cmovne esi, ecx
test edi, edi
jne 0x1002cd4c
mov ecx, esi
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002cd40
sub ecx, edi
lea edi, [esi + ecx]
movss xmm1, dword [edx + 0x1a4]
xorps xmm0, xmm0
movss xmm3, dword [edx + 0x128]
mov eax, edi
addss xmm3, dword [edx + 0xf4]
movss xmm4, dword [edx + 0xf0]
comiss xmm1, xmm0
movss dword [esp + 0x24], xmm4
movss dword [esp + 0x28], xmm3
setae cl
sub eax, esi
cmp eax, 0x7d0
jle 0x1002d052
test cl, cl
jne 0x1002d056
movaps xmm1, xmm3
movss xmm5, dword [ebx + 0x3bb8]
movss dword [esp + 0x10], xmm5
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x2c], xmm4
movss dword [esp + 0x30], xmm1
cmp byte [ebx + 0x5aa4], cl
jne 0x1002ce47
movss xmm0, dword [edx + 0x214]
subss xmm0, xmm3
divss xmm0, xmm5
cvttss2si eax, xmm0
mov dword [esp + 0x14], eax
test eax, eax
jle 0x1002ce47
xor eax, eax
mov dword [esp + 0x18], eax
cmp esi, edi
jae 0x1002ce32
mov ebx, dword [esp + 0x14]
cmp eax, ebx
jge 0x1002ce1a
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
cmove eax, edi
lea esi, [eax + 1]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp esi, edi
jb 0x1002cdf1
movss xmm4, dword [esp + 0x24]
movss xmm5, dword [esp + 0x10]
movss xmm3, dword [esp + 0x28]
mov ebx, dword [0x1003c6c8]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm5
addss xmm1, xmm3
movss dword [esp + 0x30], xmm1
cmp esi, edi
jae 0x1002cfee
movaps xmm6, xmm4
movss dword [esp + 0x34], xmm1
addss xmm6, dword [0x10039b24]
movaps xmm2, xmm1
movaps xmm3, xmm1
addss xmm2, xmm5
movss dword [esp + 0x38], xmm6
movss dword [esp + 0x14], xmm2
nop word [eax + eax]
mov eax, dword [ebx + 0x3e48]
comiss xmm2, dword [eax + 0x214]
jbe 0x1002ceb2
movss xmm0, dword [eax + 0x21c]
comiss xmm0, xmm3
jbe 0x1002ceb2
comiss xmm6, dword [eax + 0x210]
jbe 0x1002ceb2
movss xmm0, dword [eax + 0x218]
comiss xmm0, xmm4
ja 0x1002cebf
cmp byte [ebx + 0x5aa4], 0
je 0x1002cfa6
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
cmove eax, edi
mov dword [esp + 0x18], eax
cmp esi, eax
jne 0x1002cee1
xorps xmm0, xmm0
jmp 0x1002cf2f
movss xmm3, dword [0x10039b24]
movss xmm2, dword [ebx + 0x3bb8]
push ecx
push eax
push esi
push ecx
mov ecx, dword [ebx + 0x3bb4]
lea eax, [esp + 0x4c]
mov dword [esp], 0xbf800000
push eax
call fcn.100283c0
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [0x10039a90]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x18]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x30]
maxss xmm0, dword [esp + 0x20]
push dword [esp + 0x30]
mov edx, eax
push ecx
mov ecx, esi
movss dword [esp + 0x28], xmm0
call fcn.10004530
movss xmm5, dword [esp + 0x1c]
add esp, 0xc
movss xmm3, dword [esp + 0x34]
movss xmm2, dword [esp + 0x14]
addss xmm3, xmm5
movss xmm1, dword [esp + 0x30]
addss xmm2, xmm5
mov esi, dword [esp + 0x18]
addss xmm1, xmm5
inc esi
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x30], xmm1
cmp esi, edi
jae 0x1002cfa6
mov ebx, dword [0x1003c6c8]
movss xmm4, dword [esp + 0x24]
movss xmm6, dword [esp + 0x38]
jmp 0x1002ce80
xor ebx, ebx
cmp esi, edi
jae 0x1002cfd9
nop dword [eax]
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
cmove eax, edi
inc ebx
lea esi, [eax + 1]
cmp esi, edi
jb 0x1002cfb0
movss xmm1, dword [esp + 0x30]
movss xmm5, dword [esp + 0x10]
movss xmm3, dword [esp + 0x28]
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm5
addss xmm1, xmm0
movss xmm2, dword [esp + 0x24]
subss xmm1, xmm3
movaps xmm0, xmm2
movss dword [esp + 0x3c], xmm2
addss xmm0, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
movss dword [esp + 0x40], xmm3
movss dword [esp + 0x20], xmm1
addss xmm1, xmm3
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x48], xmm1
xorps xmm1, xmm1
call fcn.10012200
push 0
push ecx
xor edx, edx
lea ecx, [esp + 0x44]
call fcn.100123b0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10032054
mov esp, ebp
pop ebp
ret
test cl, cl
je 0x1002d0a0
comiss xmm0, xmm1
ja 0x1002d0a0
ucomiss xmm1, xmm0
mov ecx, edx
lahf
test ah, 0x44
jp 0x1002d07c
movss xmm1, dword [ecx + 0x1f8]
subss xmm1, xmm4
maxss xmm1, dword [0x10039a98]
jmp 0x1002d0a3
comiss xmm1, xmm0
jbe 0x1002d092
movss xmm0, dword [ecx + 0x14]
subss xmm0, dword [ecx + 0x78]
addss xmm1, xmm0
xorps xmm0, xmm0
subss xmm1, xmm4
maxss xmm1, dword [0x10039a98]
jmp 0x1002d0a3
xorps xmm1, xmm1
movss xmm2, dword [ebx + 0x3bb8]
movss dword [esp + 0x10], xmm1
cmp esi, edi
je 0x1002d101
movss xmm3, dword [0x10039b24]
lea eax, [esp + 0x3c]
push ecx
push edi
push esi
push ecx
mov ecx, dword [ebx + 0x3bb4]
movss dword [esp], xmm1
push eax
call fcn.100283c0
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [0x10039a90]
movss xmm2, dword [esp + 0x40]
movss xmm4, dword [esp + 0x24]
movss xmm3, dword [esp + 0x28]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm4
movss dword [esp + 0x1c], xmm0
addss xmm1, xmm0
movss dword [esp + 0x20], xmm2
movaps xmm0, xmm3
movss dword [esp + 0x3c], xmm4
addss xmm0, xmm2
movss dword [esp + 0x40], xmm3
lea ecx, [esp + 0x1c]
movss dword [esp + 0x44], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x48], xmm0
call fcn.10012200
push 0
push ecx
xor edx, edx
lea ecx, [esp + 0x44]
call fcn.100123b0
add esp, 8
test al, al
je 0x1002d16e
push dword [esp + 0x40]
movss xmm2, dword [esp + 0x14]
mov edx, edi
push dword [esp + 0x40]
mov ecx, esi
call fcn.10004700
add esp, 8
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10032054
mov esp, ebp
pop ebp
ret