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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
push esi
push edi
mov edi, dword [ebp + 0x10]
movaps xmm5, xmm3
mov dword [esp + 0xc], edx
mov edx, ecx
mov ecx, dword [0x10099d40]
mov esi, edi
movss dword [esp + 0x28], xmm5
mov dword [esp + 0x10], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], esi
cmp edi, 0xffffffff
jae 0x10004944
mov cl, byte [esi]
test cl, cl
je 0x1000493c
cmp cl, 0x23
jne 0x10004936
cmp byte [esi + 1], cl
je 0x1000493c
inc esi
cmp esi, 0xffffffff
jb 0x10004926
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x14], esi
mov eax, dword [ebp + 0x18]
xorps xmm2, xmm2
movss dword [esp + 0x2c], xmm2
test eax, eax
je 0x1000495f
movss xmm2, dword [eax]
movss xmm1, dword [eax + 4]
jmp 0x100049c1
movss xmm1, dword [ecx + 0x3bb8]
movss dword [esp + 0x30], xmm1
cmp edi, esi
je 0x100049cd
movss xmm3, dword [0x10083754]
lea eax, [esp + 0x48]
push 0
push esi
push edi
push ecx
mov ecx, dword [ecx + 0x3bb4]
movaps xmm2, xmm1
mov dword [esp], 0
push eax
call fcn.10029b10
movss xmm0, dword [esp + 0x48]
addss xmm0, dword [0x100835f4]
movss xmm1, dword [esp + 0x4c]
movss xmm5, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
cvttss2si eax, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x2c], xmm2
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0xc]
movss xmm3, dword [ecx]
movss xmm4, dword [eax]
movaps xmm0, xmm3
subss xmm0, xmm4
comiss xmm2, xmm0
jbe 0x10004d6a
mov eax, dword [edx + 0x2c]
maxss xmm3, dword [ebp + 0xc]
mov dword [esp + 0x18], 0
mov ecx, dword [eax + 8]
movss xmm0, dword [eax + 0xc]
lea eax, [esp + 0x18]
movaps xmm1, xmm0
mov dword [esp + 0x24], ecx
push eax
divss xmm1, dword [ecx + 0x10]
push esi
push edi
push ecx
lea eax, [esp + 0x4c]
mov dword [esp], 0
push eax
movaps xmm2, xmm0
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x5c], xmm1
mulss xmm1, dword [ecx + 0x40]
subss xmm3, xmm1
movss dword [esp + 0x58], xmm1
subss xmm3, xmm4
maxss xmm3, dword [0x100835fc]
call fcn.10029b10
mov edx, dword [esp + 0x18]
mov dword [esp + 0x18], edx
movss xmm0, dword [eax]
movss dword [esp + 0x20], xmm0
cmp edx, edi
jne 0x10004ac2
cmp edx, esi
jae 0x10004ac0
push esi
mov edx, edi
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x24]
call fcn.10003cb0
movss xmm3, dword [0x10083754]
add esp, 4
movss xmm2, dword [esp + 0x34]
add eax, edi
mov dword [esp + 0x18], eax
push 0
push eax
push edi
push ecx
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x4c]
mov dword [esp], 0
push eax
call fcn.10029b10
mov edx, dword [esp + 0x18]
movss xmm0, dword [eax]
movss dword [esp + 0x20], xmm0
cmp edx, edi
jbe 0x10004b31
mov esi, dword [esp + 0x18]
nop dword [eax + eax]
mov cl, byte [esi - 1]
lea eax, [esi - 1]
mov dword [esp + 0x3c], eax
cmp cl, 0x20
je 0x10004ae4
cmp cl, 9
jne 0x10004b29
movss xmm3, dword [0x10083754]
mov esi, eax
movss xmm2, dword [esp + 0x34]
inc eax
push 0
push eax
push esi
push ecx
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x60]
mov dword [esp], 0
push eax
mov dword [esp + 0x2c], esi
call fcn.10029b10
movss xmm0, dword [esp + 0x20]
subss xmm0, dword [eax]
movss dword [esp + 0x20], xmm0
cmp dword [esp + 0x3c], edi
ja 0x10004ad0
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 8]
movss xmm1, dword [esp + 0x2c]
movss xmm7, dword [eax + 4]
mov eax, dword [esp + 0xc]
movss xmm0, dword [eax]
movss xmm2, dword [eax + 4]
addss xmm1, xmm0
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x1c], xmm2
comiss xmm1, dword [esp + 0x28]
jae 0x10004bf1
movss xmm0, dword [esp + 0x30]
addss xmm0, xmm2
comiss xmm0, xmm7
jae 0x10004bf1
movss xmm7, dword [0x100835fc]
xor ecx, ecx
movaps xmm1, xmm7
call fcn.10004310
mov dword [esp + 0x3c], eax
test eax, 0xff000000
je 0x10004cb1
test edx, edx
jne 0x10004bac
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004ba0
sub ecx, edx
lea edx, [ecx + edi]
cmp edi, edx
je 0x10004cb1
mov ecx, dword [esp + 0x10]
push 0
push ecx
mov dword [esp], 0
mov eax, dword [ecx + 0x2c]
movups xmm0, xmmword [ecx + 0x60]
push edx
push edi
movss xmm2, dword [eax + 0xc]
lea edx, [esp + 0x60]
push edx
push dword [esp + 0x50]
lea edx, [esp + 0x30]
push edx
push ecx
mov ecx, dword [eax + 8]
movups xmmword [esp + 0x70], xmm0
call fcn.10029e10
jmp 0x10004ca9
movss xmm1, dword [0x100835fc]
xor ecx, ecx
call fcn.10004310
mov dword [esp + 0x3c], eax
test eax, 0xff000000
je 0x10004ca9
test edx, edx
jne 0x10004c24
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004c18
sub ecx, edx
lea edx, [ecx + edi]
cmp edi, edx
je 0x10004ca9
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
push 1
push ecx
movups xmm0, xmmword [ecx + 0x60]
mov eax, dword [ecx + 0x2c]
movss xmm1, dword [esi]
movaps xmmword [esp + 0x58], xmm0
maxss xmm1, xmm0
movss xmm0, dword [esi + 4]
maxss xmm0, dword [esp + 0x5c]
minss xmm7, dword [esp + 0x64]
movss xmm2, dword [eax + 0xc]
mov dword [esp], 0
push edx
push edi
lea edx, [esp + 0x60]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x38]
minss xmm0, dword [esp + 0x68]
push edx
push dword [esp + 0x50]
lea edx, [esp + 0x30]
movss dword [esp + 0x68], xmm1
push edx
push ecx
mov ecx, dword [eax + 8]
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x7c], xmm7
call fcn.10029e10
mov esi, dword [esp + 0x14]
movss xmm7, dword [0x100835fc]
mov ecx, dword [esp + 0xc]
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [ecx]
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, dword [ecx + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x40], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x44]
movss xmm1, dword [ebp + 0xc]
comiss xmm1, xmm0
jb 0x10004eca
mov eax, dword [esp + 0x24]
xor edx, edx
cmp dx, word [eax + 0x3e]
jge 0x10004eca
mov esi, eax
xor edi, edi
nop dword [eax]
movzx eax, word [esi + 0x3c]
movaps xmm1, xmm7
push eax
push ecx
xor ecx, ecx
call fcn.10004310
movss xmm2, dword [esp + 0x3c]
add esp, 4
mov ecx, esi
push eax
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x1c]
call fcn.10029cd0
movss xmm0, dword [esp + 0x48]
inc edi
mulss xmm0, dword [esi + 0x44]
movsx eax, word [esi + 0x3e]
movss xmm7, dword [0x100835fc]
addss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x3c], xmm0
cmp edi, eax
jl 0x10004d10
mov edi, dword [ebp + 0x10]
jmp 0x10004ec2
movss xmm3, dword [eax + 4]
movaps xmm0, xmm4
movss xmm7, dword [ecx + 4]
addss xmm2, xmm0
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x40], xmm3
comiss xmm2, xmm5
jae 0x10004e0b
addss xmm1, xmm3
comiss xmm1, xmm7
jae 0x10004e0b
movss xmm1, dword [0x100835fc]
xor ecx, ecx
call fcn.10004310
mov edx, eax
mov ecx, esi
test edx, 0xff000000
je 0x10004ec6
test esi, esi
jne 0x10004dd2
mov ecx, edi
lea eax, [ecx + 1]
mov dword [esp + 0x48], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004dc5
sub ecx, dword [esp + 0x48]
add ecx, edi
cmp edi, ecx
je 0x10004ec6
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
push 0
push ecx
movups xmm0, xmmword [esi + 0x60]
mov eax, dword [eax + 0x2c]
mov dword [esp], 0
push ecx
push edi
lea ecx, [esp + 0x60]
push ecx
push edx
lea ecx, [esp + 0x54]
push ecx
movups xmmword [esp + 0x6c], xmm0
push esi
jmp 0x10004eb5
movss xmm1, dword [0x100835fc]
xor ecx, ecx
call fcn.10004310
mov dword [esp + 0x44], eax
mov ecx, esi
test eax, 0xff000000
je 0x10004ec6
test esi, esi
jne 0x10004e45
mov ecx, edi
lea eax, [ecx + 1]
mov dword [esp + 0x48], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004e38
sub ecx, dword [esp + 0x48]
add ecx, edi
cmp edi, ecx
je 0x10004ec6
mov esi, dword [esp + 0xc]
movups xmm0, xmmword [edx + 0x60]
mov eax, dword [edx + 0x2c]
push 1
movss xmm1, dword [esi]
movaps xmmword [esp + 0x54], xmm0
maxss xmm1, xmm0
movss xmm0, dword [esi + 4]
maxss xmm0, dword [esp + 0x58]
minss xmm7, dword [esp + 0x60]
push ecx
mov dword [esp], 0
push ecx
push edi
movss dword [esp + 0x64], xmm0
lea ecx, [esp + 0x60]
movss xmm0, dword [esp + 0x38]
minss xmm0, dword [esp + 0x68]
push ecx
push dword [esp + 0x58]
lea ecx, [esp + 0x54]
movss dword [esp + 0x68], xmm1
push ecx
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x78], xmm7
push edx
movss xmm2, dword [eax + 0xc]
mov ecx, dword [eax + 8]
call fcn.10029e10
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x5aa4], 0
je 0x10004ee2
push esi
mov edx, edi
call fcn.10018720
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret