Function at 0x10146140
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 [0x103d8bec]
movss dword [esp + 0x44], xmm6
movss dword [esp + 0x20], xmm5
mov dword [esp + 0x10], esi
mov dword [esp + 0x54], ecx
test edi, edi
jne 0x101461a2
mov edi, edx
mov dword [ebp + 0x10], edi
cmp edx, 0xffffffff
jae 0x101461a2
mov cl, byte [edi]
test cl, cl
je 0x1014619b
cmp cl, 0x23
jne 0x10146195
cmp byte [edi + 1], cl
je 0x1014619b
inc edi
cmp edi, 0xffffffff
jb 0x10146185
mov ecx, dword [esp + 0x54]
mov dword [ebp + 0x10], edi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x101461b4
movss xmm2, dword [eax]
movss xmm1, dword [eax + 4]
jmp 0x10146220
movss xmm1, dword [ecx + 0x1978]
movss dword [esp + 0x30], xmm1
cmp edx, edi
jne 0x101461cb
xorps xmm2, xmm2
jmp 0x10146226
movss xmm3, dword [0x101eb6cc]
lea eax, [esp + 0x58]
push 0
push edi
push edx
push ecx
mov ecx, dword [ecx + 0x1974]
movaps xmm2, xmm1
mov dword [esp], 0
push eax
call fcn.1015cd90
movss xmm0, dword [esp + 0x58]
addss xmm0, dword [0x101eb34c]
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 0x10146777
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 0x101462b3
mov eax, dword [esi + 0x2c]
jmp 0x101462cf
mov eax, dword [esi + 0x1c]
movzx eax, word [eax + ecx*2]
cmp ax, word [esp + 0x1c]
jne 0x101462c6
mov eax, dword [esi + 0x2c]
jmp 0x101462cf
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 0x1014631c
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 [0x101eb354]
call fcn.1015cd90
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 0x101463c1
cmp edx, edi
jae 0x101463bf
push edi
mov edx, eax
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x18]
call fcn.10144ea0
mov edx, dword [ebp + 0xc]
add eax, edx
movss xmm3, dword [0x101eb6cc]
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.1015cd90
mov edx, dword [esp + 0x14]
movss xmm0, dword [eax]
mov eax, dword [ebp + 0xc]
movss dword [esp + 0xc], xmm0
cmp edx, eax
jbe 0x10146431
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 0x101463e4
cmp cl, 9
jne 0x1014642a
movss xmm3, dword [0x101eb6cc]
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.1015cd90
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 0x101463d0
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 0x101464f4
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [eax + 4]
comiss xmm0, xmm7
jae 0x101464f4
movss xmm0, dword [0x101eb354]
xor ecx, ecx
call fcn.10145ac0
mov dword [esp + 0x30], eax
test eax, 0xff000000
je 0x101465bf
test edx, edx
jne 0x101464a1
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 0x10146494
sub ecx, dword [esp + 0x58]
add edx, ecx
mov ecx, dword [ebp + 0xc]
cmp ecx, edx
je 0x101465bf
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.1015cf50
mov esi, dword [esp + 0x4c]
jmp 0x101465bf
movss xmm0, dword [0x101eb354]
xor ecx, ecx
call fcn.10145ac0
mov dword [esp + 0x30], eax
test eax, 0xff000000
je 0x101465bf
mov ecx, dword [ebp + 0xc]
test edx, edx
jne 0x1014652f
mov edx, ecx
lea eax, [edx + 1]
mov dword [esp + 0x58], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x10146522
sub edx, dword [esp + 0x58]
add edx, ecx
cmp ecx, edx
je 0x101465bf
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.1015cf50
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 0x101468ad
mov eax, dword [esp + 0x48]
movzx edi, ax
mov dword [esp + 0x58], edi
nop word [eax + eax]
movss xmm0, dword [0x101eb354]
xor ecx, ecx
call fcn.10145ac0
mov edx, eax
mov dword [esp + 0x44], eax
cmp edi, dword [esi + 0x14]
jb 0x1014661f
mov ecx, dword [esi + 0x2c]
jmp 0x1014663b
mov eax, dword [esi + 0x1c]
movzx eax, word [eax + edi*2]
cmp ax, word [esp + 0x1c]
jne 0x10146632
mov ecx, dword [esi + 0x2c]
jmp 0x1014663b
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x28]
lea ecx, [eax + ecx*8]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x10146754
mov eax, dword [ecx]
test al, 2
je 0x10146754
test al, 1
je 0x1014665f
or edx, 0xffffff
mov dword [esp + 0x44], edx
movss xmm0, dword [esp + 0x34]
xorps xmm1, xmm1
comiss xmm0, xmm1
jb 0x10146674
divss xmm0, dword [esi + 0x10]
jmp 0x1014667c
movss xmm0, dword [0x101eb354]
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.101582b0
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.101583f0
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 0x10146600
mov edi, dword [ebp + 0x10]
mov esi, dword [esp + 0x10]
jmp 0x101468af
movss xmm7, dword [eax + 4]
addss xmm2, xmm4
comiss xmm2, xmm5
jae 0x1014681d
addss xmm1, dword [esi + 4]
comiss xmm1, xmm7
jae 0x1014681d
movss xmm0, dword [0x101eb354]
xor ecx, ecx
call fcn.10145ac0
mov dword [esp + 0x50], eax
mov ecx, edi
test eax, 0xff000000
je 0x101468af
test edi, edi
jne 0x101467d1
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x58], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101467c4
sub ecx, dword [esp + 0x58]
add ecx, edx
cmp edx, ecx
je 0x101468af
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.1015cf50
mov edi, dword [ebp + 0x10]
jmp 0x101468af
movss xmm0, dword [0x101eb354]
xor ecx, ecx
call fcn.10145ac0
mov dword [esp + 0x50], eax
mov ecx, edi
test eax, 0xff000000
je 0x101468af
test edi, edi
jne 0x10146853
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x58], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10146846
sub ecx, dword [esp + 0x58]
add ecx, edx
cmp edx, ecx
je 0x101468af
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 0x101467ed
mov esi, eax
mov eax, dword [esp + 0x54]
cmp byte [eax + 0x2f2c], 0
je 0x101468c7
mov edx, dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.10155c70
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10