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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
push esi
mov esi, dword [ebp + 0x10]
movaps xmm6, xmm1
mov dword [esp + 8], ecx
movaps xmm5, xmm0
mov ecx, dword [0x104e2068]
movss dword [esp + 0x40], xmm6
movss dword [esp + 0x24], xmm5
mov dword [esp + 0x48], ecx
push edi
mov edi, edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 8], edi
test esi, esi
jne 0x10154192
mov esi, edx
mov dword [ebp + 0x10], esi
cmp edx, 0xffffffff
jae 0x10154192
mov cl, byte [esi]
test cl, cl
je 0x1015418b
cmp cl, 0x23
jne 0x10154185
cmp byte [esi + 1], cl
je 0x1015418b
inc esi
cmp esi, 0xffffffff
jb 0x10154175
mov ecx, dword [esp + 0x4c]
mov dword [ebp + 0x10], esi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x101541a4
movss xmm2, dword [eax]
movss xmm1, dword [eax + 4]
jmp 0x10154210
movss xmm1, dword [ecx + 0x1988]
movss dword [esp + 0x38], xmm1
cmp edx, esi
jne 0x101541bb
xorps xmm2, xmm2
jmp 0x10154216
movss xmm3, dword [0x101ff4f4]
lea eax, [esp + 0x58]
push 0
push esi
push edx
push ecx
mov ecx, dword [ecx + 0x1984]
movaps xmm2, xmm1
mov dword [esp], 0
push eax
call fcn.1016aa90
movss xmm0, dword [esp + 0x58]
addss xmm0, dword [0x101ff138]
movss xmm1, dword [esp + 0x5c]
movss xmm5, dword [esp + 0x28]
movss xmm6, dword [esp + 0x44]
mov edx, dword [ebp + 0xc]
cvttss2si eax, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [esp + 0x38], xmm1
mov eax, dword [ebp + 8]
movss xmm4, dword [edi]
movss dword [esp + 0x30], xmm2
movss xmm3, dword [eax]
movaps xmm0, xmm3
subss xmm0, xmm4
comiss xmm2, xmm0
jbe 0x10154752
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], 0xffff
mov dword [esp + 0x48], 0x2e
mov dword [esp + 0x20], 0
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x14], 0
mov edi, dword [eax + 8]
movss xmm1, dword [eax + 0xc]
mov dword [esp + 0x24], edi
movss dword [esp + 0x3c], xmm1
movzx ecx, word [edi + 0x3c]
cmp cx, word [esp + 0x1c]
mov eax, ecx
cmove ecx, dword [esp + 0x48]
cmp ax, word [esp + 0x1c]
mov eax, dword [esp + 0x20]
sete al
movzx ecx, cx
mov dword [esp + 0x58], ecx
lea eax, [eax*2 + 1]
mov dword [esp + 0x20], eax
cmp ecx, dword [edi + 0x14]
jb 0x101542a8
mov eax, dword [edi + 0x2c]
jmp 0x101542c4
mov eax, dword [edi + 0x1c]
movzx eax, word [eax + ecx*2]
cmp ax, word [esp + 0x1c]
jne 0x101542bb
mov eax, dword [edi + 0x2c]
jmp 0x101542c4
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x28]
lea eax, [eax + ecx*8]
movss xmm5, dword [eax + 0x10]
movzx ecx, word [edi + 0x3c]
movaps xmm2, xmm5
movss dword [esp + 0x48], xmm5
movss dword [esp + 0x40], xmm5
cmp cx, word [esp + 0x1c]
jne 0x10154311
subss xmm5, dword [eax + 8]
movaps xmm0, xmm1
movd xmm2, dword [esp + 0x20]
divss xmm0, dword [edi + 0x10]
cvtdq2ps xmm2, xmm2
addss xmm5, xmm0
mulss xmm2, xmm5
movss dword [esp + 0x48], xmm5
subss xmm2, xmm0
movss dword [esp + 0x40], xmm2
maxss xmm3, xmm6
lea eax, [esp + 0x14]
push eax
push esi
push edx
subss xmm3, xmm2
movaps xmm2, xmm1
push ecx
lea eax, [esp + 0x60]
mov dword [esp], 0
push eax
mov ecx, edi
subss xmm3, xmm4
maxss xmm3, dword [0x101ff140]
call fcn.1016aa90
mov edx, dword [esp + 0x14]
mov dword [esp + 0x14], edx
movss xmm0, dword [eax]
mov eax, dword [ebp + 0xc]
movss dword [esp + 0x10], xmm0
cmp edx, eax
jne 0x101543b6
cmp edx, esi
jae 0x101543b4
push esi
mov edx, eax
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x18]
call fcn.10152e20
mov edx, dword [ebp + 0xc]
add eax, edx
movss xmm3, dword [0x101ff4f4]
movss xmm2, dword [esp + 0x3c]
push 0
push eax
push edx
push ecx
mov dword [esp + 0x24], eax
mov ecx, edi
lea eax, [esp + 0x60]
mov dword [esp], 0
push eax
call fcn.1016aa90
mov edx, dword [esp + 0x14]
movss xmm0, dword [eax]
mov eax, dword [ebp + 0xc]
movss dword [esp + 0x10], xmm0
cmp edx, eax
jbe 0x10154421
mov esi, dword [esp + 0x14]
nop dword [eax]
mov cl, byte [esi - 1]
lea eax, [esi - 1]
mov dword [esp + 0x50], eax
cmp cl, 0x20
je 0x101543d4
cmp cl, 9
jne 0x1015441a
movss xmm3, dword [0x101ff4f4]
mov esi, eax
movss xmm2, dword [esp + 0x3c]
inc eax
push 0
push eax
push esi
push ecx
lea eax, [esp + 0x70]
mov dword [esp], 0
push eax
mov ecx, edi
mov dword [esp + 0x28], esi
call fcn.1016aa90
movss xmm0, dword [esp + 0x10]
subss xmm0, dword [eax]
mov eax, dword [ebp + 0xc]
movss dword [esp + 0x10], xmm0
cmp dword [esp + 0x50], eax
ja 0x101543c0
mov esi, dword [ebp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
movss xmm0, dword [esp + 0x30]
movss xmm7, dword [eax + 4]
mov eax, dword [esp + 8]
addss xmm0, dword [eax]
comiss xmm0, dword [esp + 0x28]
jae 0x101544b8
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [eax + 4]
comiss xmm0, xmm7
jae 0x101544b8
movss xmm0, dword [0x101ff140]
xor ecx, ecx
call fcn.10153a90
mov dword [esp + 0x38], eax
test eax, 0xff000000
je 0x1015458a
test edx, edx
jne 0x1015448d
mov edx, dword [ebp + 0xc]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x50], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10154480
sub ecx, dword [esp + 0x50]
add edx, ecx
mov ecx, dword [ebp + 0xc]
cmp ecx, edx
je 0x1015458a
mov edi, dword [esp + 0xc]
movups xmm0, xmmword [edi + 0x60]
mov eax, dword [edi + 0x2c]
mov edi, dword [esp + 8]
movups xmmword [esp + 0x60], xmm0
push dword [edi + 4]
push dword [edi]
push 0
jmp 0x10154562
movss xmm0, dword [0x101ff140]
xor ecx, ecx
call fcn.10153a90
mov dword [esp + 0x38], eax
test eax, 0xff000000
je 0x1015458a
mov ecx, dword [ebp + 0xc]
test edx, edx
jne 0x101544f3
mov edx, ecx
lea eax, [edx + 1]
mov dword [esp + 0x50], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x101544e6
sub edx, dword [esp + 0x50]
add edx, ecx
cmp ecx, edx
je 0x1015458a
mov esi, dword [esp + 0xc]
movups xmm0, xmmword [esi + 0x60]
mov eax, dword [esi + 0x2c]
mov esi, dword [esp + 8]
movaps xmmword [esp + 0x60], xmm0
movss xmm1, dword [esi]
comiss xmm0, xmm1
mov esi, dword [ebp + 0x10]
jae 0x10154521
movss dword [esp + 0x60], xmm1
mov edi, dword [esp + 8]
movss xmm0, dword [esp + 0x64]
movss xmm1, dword [edi + 4]
comiss xmm0, xmm1
jae 0x1015453b
movss dword [esp + 0x64], xmm1
movss xmm0, dword [esp + 0x28]
comiss xmm0, dword [esp + 0x68]
ja 0x1015454e
movss dword [esp + 0x68], xmm0
comiss xmm7, dword [esp + 0x6c]
ja 0x1015455b
movss dword [esp + 0x6c], xmm7
push dword [edi + 4]
push dword [edi]
push 1
movss xmm2, dword [eax + 0xc]
push ecx
mov dword [esp], 0
push edx
push ecx
lea ecx, [esp + 0x78]
push ecx
push dword [esp + 0x54]
mov ecx, dword [eax + 8]
push dword [esp + 0x2c]
call fcn.1016ac50
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 8]
movss xmm7, dword [esp + 0x10]
movss xmm1, dword [esp + 0x44]
addss xmm7, dword [eax]
movaps xmm0, xmm7
movss dword [esp + 0x10], xmm7
addss xmm0, dword [esp + 0x40]
comiss xmm1, xmm0
jb 0x101548b6
nop word [eax + eax]
movss xmm0, dword [0x101ff140]
xor ecx, ecx
call fcn.10153a90
mov ecx, dword [esp + 0x58]
mov edx, eax
mov dword [esp + 0x40], eax
cmp ecx, dword [edi + 0x14]
jb 0x101545e3
mov ecx, dword [edi + 0x2c]
jmp 0x101545ff
mov eax, dword [edi + 0x1c]
movzx eax, word [eax + ecx*2]
cmp ax, word [esp + 0x1c]
jne 0x101545f6
mov ecx, dword [edi + 0x2c]
jmp 0x101545ff
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x28]
lea ecx, [eax + ecx*8]
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x10154714
mov eax, dword [ecx]
test al, 2
je 0x10154714
test al, 1
je 0x10154623
or edx, 0xffffff
mov dword [esp + 0x40], edx
movss xmm0, dword [esp + 0x3c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jb 0x10154638
divss xmm0, dword [edi + 0x10]
jmp 0x10154640
movss xmm0, dword [0x101ff140]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push 4
push 6
cvttss2si edi, dword [eax + 4]
movss dword [esp + 0x4c], xmm0
cvttss2si esi, xmm7
call fcn.10165fa0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xc]
movss xmm0, dword [eax + 0x20]
movss xmm3, dword [esp + 0x44]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [eax + 0x24]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [eax + 0x18]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [eax + 0x1c]
movss dword [esp + 0x34], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [eax + 0x10]
push dword [esp + 0x40]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movd xmm2, edi
addss xmm0, xmm1
cvtdq2ps xmm2, xmm2
movss dword [esp + 0x2c], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [eax + 0x14]
addss xmm0, xmm2
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [eax + 8]
mulss xmm3, dword [eax + 0xc]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x38]
push eax
addss xmm0, xmm1
addss xmm3, xmm2
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x24]
push eax
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x2c], xmm3
call fcn.101660e0
movss xmm7, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
sub dword [esp + 0x20], 1
addss xmm7, dword [esp + 0x48]
movss dword [esp + 0x10], xmm7
jne 0x101545c0
mov esi, dword [ebp + 0x10]
mov edi, dword [esp + 8]
mov eax, dword [esp + 0x4c]
cmp byte [eax + 0x2f3c], 0
je 0x1015474a
mov edx, dword [ebp + 0xc]
mov ecx, edi
push esi
call fcn.10163d30
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
movss xmm7, dword [eax + 4]
addss xmm2, xmm4
comiss xmm2, xmm5
jae 0x101547e8
addss xmm1, dword [edi + 4]
comiss xmm1, xmm7
jae 0x101547e8
movss xmm0, dword [0x101ff140]
xor ecx, ecx
call fcn.10153a90
mov edi, eax
mov ecx, esi
test edi, 0xff000000
je 0x1015472e
test esi, esi
jne 0x101547a3
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x58], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10154796
sub ecx, dword [esp + 0x58]
add ecx, edx
cmp edx, ecx
je 0x1015472e
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x2c]
movups xmm0, xmmword [esi + 0x60]
mov esi, dword [esp + 8]
movss xmm2, dword [eax + 0xc]
movups xmmword [esp + 0x60], xmm0
push dword [esi + 4]
push dword [esi]
push 0
push ecx
mov dword [esp], 0
push ecx
push edx
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [eax + 8]
push edi
push dword [esp + 0x2c]
call fcn.1016ac50
jmp 0x1015472b
movss xmm0, dword [0x101ff140]
xor ecx, ecx
call fcn.10153a90
mov dword [esp + 0x50], eax
mov ecx, esi
test eax, 0xff000000
je 0x10154732
test esi, esi
jne 0x10154822
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x58], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10154815
sub ecx, dword [esp + 0x58]
add ecx, edx
cmp edx, ecx
je 0x10154732
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
movss xmm1, dword [edi]
movups xmm0, xmmword [esi + 0x60]
mov eax, dword [eax + 0x2c]
mov esi, dword [ebp + 0x10]
comiss xmm0, xmm1
movaps xmmword [esp + 0x60], xmm0
jae 0x10154850
movss dword [esp + 0x60], xmm1
movss xmm0, dword [esp + 0x64]
movss xmm1, dword [edi + 4]
comiss xmm0, xmm1
jae 0x10154866
movss dword [esp + 0x64], xmm1
movss xmm0, dword [esp + 0x28]
comiss xmm0, dword [esp + 0x68]
ja 0x10154879
movss dword [esp + 0x68], xmm0
comiss xmm7, dword [esp + 0x6c]
ja 0x10154886
movss dword [esp + 0x6c], xmm7
push dword [edi + 4]
movss xmm2, dword [eax + 0xc]
push dword [edi]
push 1
push ecx
mov dword [esp], 0
push ecx
push edx
lea ecx, [esp + 0x78]
push ecx
push dword [esp + 0x6c]
mov ecx, dword [eax + 8]
push dword [esp + 0x2c]
call fcn.1016ac50
jmp 0x10154732
mov edi, eax
jmp 0x10154732