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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, edx
mov edx, dword [ebp + 0xc]
movaps xmm6, xmm1
mov dword [esp + 8], ecx
movaps xmm5, xmm0
mov ecx, dword [0x10456c08]
movss dword [esp + 0x44], xmm6
movss dword [esp + 0x20], xmm5
mov dword [esp + 0x10], esi
mov dword [esp + 0x54], ecx
test edi, edi
jne 0x10159ef2
mov edi, edx
mov dword [ebp + 0x10], edi
cmp edx, 0xffffffff
jae 0x10159ef2
mov cl, byte [edi]
test cl, cl
je 0x10159eeb
cmp cl, 0x23
jne 0x10159ee5
cmp byte [edi + 1], cl
je 0x10159eeb
inc edi
cmp edi, 0xffffffff
jb 0x10159ed5
mov ecx, dword [esp + 0x54]
mov dword [ebp + 0x10], edi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10159f04
movss xmm2, dword [eax]
movss xmm1, dword [eax + 4]
jmp 0x10159f70
movss xmm1, dword [ecx + 0x1988]
movss dword [esp + 0x30], xmm1
cmp edx, edi
jne 0x10159f1b
xorps xmm2, xmm2
jmp 0x10159f76
movss xmm3, dword [0x1020122c]
lea eax, [esp + 0x58]
push 0
push edi
push edx
push ecx
mov ecx, dword [ecx + 0x1984]
movaps xmm2, xmm1
mov dword [esp], 0
push eax
call fcn.1016f860
movss xmm0, dword [esp + 0x58]
addss xmm0, dword [0x10200e70]
movss xmm1, dword [esp + 0x5c]
movss xmm5, dword [esp + 0x20]
movss xmm6, dword [esp + 0x44]
mov edx, dword [ebp + 0xc]
cvttss2si eax, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [esp + 0x30], xmm1
mov eax, dword [ebp + 8]
movss xmm4, dword [esi]
movss dword [esp + 0x28], xmm2
movss xmm3, dword [eax]
movaps xmm0, xmm3
subss xmm0, xmm4
comiss xmm2, xmm0
jbe 0x1015a4c7
mov eax, dword [esp + 8]
mov dword [esp + 0x1c], 0xffff
mov dword [esp + 0x50], 0x2e
mov dword [esp + 0x14], 0
mov eax, dword [eax + 0x2c]
mov esi, dword [eax + 8]
movss xmm1, dword [eax + 0xc]
mov dword [esp + 0x4c], esi
movss dword [esp + 0x34], xmm1
movzx ecx, word [esi + 0x3c]
cmp cx, word [esp + 0x1c]
movzx eax, cx
cmove ecx, dword [esp + 0x50]
mov dword [esp + 0x48], ecx
xor ecx, ecx
cmp ax, word [esp + 0x1c]
mov eax, dword [esp + 0x48]
sete cl
lea ecx, [ecx*2 + 1]
mov dword [esp + 0x38], ecx
movzx ecx, ax
cmp ecx, dword [esi + 0x14]
jb 0x1015a003
mov eax, dword [esi + 0x2c]
jmp 0x1015a01f
mov eax, dword [esi + 0x1c]
movzx eax, word [eax + ecx*2]
cmp ax, word [esp + 0x1c]
jne 0x1015a016
mov eax, dword [esi + 0x2c]
jmp 0x1015a01f
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x28]
lea eax, [eax + ecx*8]
movss xmm5, dword [eax + 0x10]
movzx ecx, word [esi + 0x3c]
movaps xmm2, xmm5
movss dword [esp + 0x50], xmm5
movss dword [esp + 0x3c], xmm5
cmp cx, word [esp + 0x1c]
jne 0x1015a06c
subss xmm5, dword [eax + 8]
movaps xmm0, xmm1
movd xmm2, dword [esp + 0x38]
divss xmm0, dword [esi + 0x10]
cvtdq2ps xmm2, xmm2
addss xmm5, xmm0
mulss xmm2, xmm5
movss dword [esp + 0x50], xmm5
subss xmm2, xmm0
movss dword [esp + 0x3c], xmm2
maxss xmm3, xmm6
lea eax, [esp + 0x14]
push eax
push edi
push edx
subss xmm3, xmm2
movaps xmm2, xmm1
push ecx
lea eax, [esp + 0x68]
mov dword [esp], 0
push eax
mov ecx, esi
subss xmm3, xmm4
maxss xmm3, dword [0x10200e78]
call fcn.1016f860
mov edx, dword [esp + 0x14]
mov dword [esp + 0x14], edx
movss xmm0, dword [eax]
mov eax, dword [ebp + 0xc]
movss dword [esp + 0xc], xmm0
cmp edx, eax
jne 0x1015a111
cmp edx, edi
jae 0x1015a10f
push edi
mov edx, eax
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x18]
call fcn.10158bf0
mov edx, dword [ebp + 0xc]
add eax, edx
movss xmm3, dword [0x1020122c]
movss xmm2, dword [esp + 0x34]
push 0
push eax
push edx
push ecx
mov dword [esp + 0x24], eax
mov ecx, esi
lea eax, [esp + 0x68]
mov dword [esp], 0
push eax
call fcn.1016f860
mov edx, dword [esp + 0x14]
movss xmm0, dword [eax]
mov eax, dword [ebp + 0xc]
movss dword [esp + 0xc], xmm0
cmp edx, eax
jbe 0x1015a181
mov edi, dword [esp + 0x14]
nop word [eax + eax]
mov cl, byte [edi - 1]
lea eax, [edi - 1]
mov dword [esp + 0x58], eax
cmp cl, 0x20
je 0x1015a134
cmp cl, 9
jne 0x1015a17a
movss xmm3, dword [0x1020122c]
mov edi, eax
movss xmm2, dword [esp + 0x34]
inc eax
push 0
push eax
push edi
push ecx
lea eax, [esp + 0x70]
mov dword [esp], 0
push eax
mov ecx, esi
mov dword [esp + 0x28], edi
call fcn.1016f860
movss xmm0, dword [esp + 0xc]
subss xmm0, dword [eax]
mov eax, dword [ebp + 0xc]
movss dword [esp + 0xc], xmm0
cmp dword [esp + 0x58], eax
ja 0x1015a120
mov edi, dword [ebp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
movss xmm0, dword [esp + 0x28]
movss xmm7, dword [eax + 4]
mov eax, dword [esp + 0x10]
addss xmm0, dword [eax]
comiss xmm0, dword [esp + 0x20]
jae 0x1015a244
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [eax + 4]
comiss xmm0, xmm7
jae 0x1015a244
movss xmm0, dword [0x10200e78]
xor ecx, ecx
call fcn.10159810
mov dword [esp + 0x30], eax
test eax, 0xff000000
je 0x1015a30f
test edx, edx
jne 0x1015a1f1
mov edx, dword [ebp + 0xc]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x58], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1015a1e4
sub ecx, dword [esp + 0x58]
add edx, ecx
mov ecx, dword [ebp + 0xc]
cmp ecx, edx
je 0x1015a30f
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x2c]
movups xmm0, xmmword [esi + 0x60]
mov esi, dword [esp + 0x10]
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 edx
push ecx
lea ecx, [esp + 0x78]
push ecx
push dword [esp + 0x4c]
mov ecx, dword [eax + 8]
push dword [esp + 0x28]
call fcn.1016fa20
mov esi, dword [esp + 0x4c]
jmp 0x1015a30f
movss xmm0, dword [0x10200e78]
xor ecx, ecx
call fcn.10159810
mov dword [esp + 0x30], eax
test eax, 0xff000000
je 0x1015a30f
mov ecx, dword [ebp + 0xc]
test edx, edx
jne 0x1015a27f
mov edx, ecx
lea eax, [edx + 1]
mov dword [esp + 0x58], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x1015a272
sub edx, dword [esp + 0x58]
add edx, ecx
cmp ecx, edx
je 0x1015a30f
mov edi, dword [esp + 8]
movups xmm0, xmmword [edi + 0x60]
mov eax, dword [edi + 0x2c]
mov edi, dword [esp + 0x10]
movaps xmmword [esp + 0x60], xmm0
minss xmm7, dword [esp + 0x6c]
movss xmm2, dword [eax + 0xc]
push dword [edi + 4]
movss xmm1, dword [edi]
push dword [edi]
maxss xmm1, xmm0
movss dword [esp + 0x74], xmm7
movss xmm0, dword [edi + 4]
maxss xmm0, dword [esp + 0x6c]
push 1
push ecx
mov dword [esp], 0
push edx
push ecx
movss dword [esp + 0x7c], xmm0
lea ecx, [esp + 0x78]
movss xmm0, dword [esp + 0x38]
minss xmm0, dword [esp + 0x80]
push ecx
push dword [esp + 0x4c]
mov ecx, dword [eax + 8]
push dword [esp + 0x28]
movss dword [esp + 0x84], xmm1
movss dword [esp + 0x8c], xmm0
call fcn.1016fa20
mov edi, dword [ebp + 0x10]
mov eax, dword [esp + 0x10]
movss xmm7, dword [esp + 0xc]
movss xmm1, dword [esp + 0x44]
addss xmm7, dword [eax]
movaps xmm0, xmm7
movss dword [esp + 0xc], xmm7
addss xmm0, dword [esp + 0x3c]
comiss xmm1, xmm0
jb 0x1015a5fd
mov eax, dword [esp + 0x48]
movzx edi, ax
mov dword [esp + 0x58], edi
nop word [eax + eax]
movss xmm0, dword [0x10200e78]
xor ecx, ecx
call fcn.10159810
mov edx, eax
mov dword [esp + 0x44], eax
cmp edi, dword [esi + 0x14]
jb 0x1015a36f
mov ecx, dword [esi + 0x2c]
jmp 0x1015a38b
mov eax, dword [esi + 0x1c]
movzx eax, word [eax + edi*2]
cmp ax, word [esp + 0x1c]
jne 0x1015a382
mov ecx, dword [esi + 0x2c]
jmp 0x1015a38b
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x28]
lea ecx, [eax + ecx*8]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x1015a4a4
mov eax, dword [ecx]
test al, 2
je 0x1015a4a4
test al, 1
je 0x1015a3af
or edx, 0xffffff
mov dword [esp + 0x44], edx
movss xmm0, dword [esp + 0x34]
xorps xmm1, xmm1
comiss xmm0, xmm1
jb 0x1015a3c4
divss xmm0, dword [esi + 0x10]
jmp 0x1015a3cc
movss xmm0, dword [0x10200e78]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
push 4
push 6
cvttss2si edi, dword [eax + 4]
movss dword [esp + 0x50], xmm0
cvttss2si esi, xmm7
call fcn.1016af00
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 8]
movss xmm0, dword [eax + 0x20]
movss xmm3, dword [esp + 0x48]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax + 0x24]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [eax + 0x18]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 0x1c]
movss dword [esp + 0x2c], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [eax + 0x10]
push dword [esp + 0x44]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movd xmm2, edi
addss xmm0, xmm1
cvtdq2ps xmm2, xmm2
movss dword [esp + 0x24], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [eax + 0x14]
addss xmm0, xmm2
movss dword [esp + 0x28], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [eax + 8]
mulss xmm3, dword [eax + 0xc]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x30]
push eax
addss xmm0, xmm1
addss xmm3, xmm2
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
push eax
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x2c], xmm3
call fcn.1016b040
movss xmm7, dword [esp + 0xc]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x58]
sub dword [esp + 0x38], 1
addss xmm7, dword [esp + 0x50]
movss dword [esp + 0xc], xmm7
jne 0x1015a350
mov edi, dword [ebp + 0x10]
mov esi, dword [esp + 0x10]
jmp 0x1015a5ff
movss xmm7, dword [eax + 4]
addss xmm2, xmm4
comiss xmm2, xmm5
jae 0x1015a56d
addss xmm1, dword [esi + 4]
comiss xmm1, xmm7
jae 0x1015a56d
movss xmm0, dword [0x10200e78]
xor ecx, ecx
call fcn.10159810
mov dword [esp + 0x50], eax
mov ecx, edi
test eax, 0xff000000
je 0x1015a5ff
test edi, edi
jne 0x1015a521
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x58], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1015a514
sub ecx, dword [esp + 0x58]
add ecx, edx
cmp edx, ecx
je 0x1015a5ff
mov edi, dword [esp + 8]
push dword [esi + 4]
push dword [esi]
movups xmm0, xmmword [edi + 0x60]
push 0
movups xmmword [esp + 0x6c], xmm0
mov eax, dword [esp + 0x14]
push ecx
mov dword [esp], 0
push ecx
mov eax, dword [eax + 0x2c]
lea ecx, [esp + 0x74]
push edx
push ecx
push dword [esp + 0x6c]
movss xmm2, dword [eax + 0xc]
mov ecx, dword [eax + 8]
push edi
call fcn.1016fa20
mov edi, dword [ebp + 0x10]
jmp 0x1015a5ff
movss xmm0, dword [0x10200e78]
xor ecx, ecx
call fcn.10159810
mov dword [esp + 0x50], eax
mov ecx, edi
test eax, 0xff000000
je 0x1015a5ff
test edi, edi
jne 0x1015a5a3
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x58], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1015a596
sub ecx, dword [esp + 0x58]
add ecx, edx
cmp edx, ecx
je 0x1015a5ff
mov edi, dword [esp + 8]
movss xmm1, dword [esi]
push dword [esi + 4]
movups xmm0, xmmword [edi + 0x60]
push dword [esi]
movaps xmmword [esp + 0x68], xmm0
maxss xmm1, xmm0
movss xmm0, dword [esi + 4]
maxss xmm0, dword [esp + 0x6c]
minss xmm7, dword [esp + 0x74]
push 1
movss dword [esp + 0x6c], xmm1
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x2c]
minss xmm0, dword [esp + 0x74]
movss dword [esp + 0x78], xmm7
movss dword [esp + 0x74], xmm0
jmp 0x1015a53d
mov esi, eax
mov eax, dword [esp + 0x54]
cmp byte [eax + 0x2f3c], 0
je 0x1015a617
mov edx, dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.10168fc0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10