Function at 0x10157160
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 [0x10453c48]
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 0x101571c2
mov esi, edx
mov dword [ebp + 0x10], esi
cmp edx, 0xffffffff
jae 0x101571c2
mov cl, byte [esi]
test cl, cl
je 0x101571bb
cmp cl, 0x23
jne 0x101571b5
cmp byte [esi + 1], cl
je 0x101571bb
inc esi
cmp esi, 0xffffffff
jb 0x101571a5
mov ecx, dword [esp + 0x4c]
mov dword [ebp + 0x10], esi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x101571d4
movss xmm2, dword [eax]
movss xmm1, dword [eax + 4]
jmp 0x10157240
movss xmm1, dword [ecx + 0x1988]
movss dword [esp + 0x38], xmm1
cmp edx, esi
jne 0x101571eb
xorps xmm2, xmm2
jmp 0x10157246
movss xmm3, dword [0x10202414]
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.1016dac0
movss xmm0, dword [esp + 0x58]
addss xmm0, dword [0x10202058]
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 0x10157782
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 0x101572d8
mov eax, dword [edi + 0x2c]
jmp 0x101572f4
mov eax, dword [edi + 0x1c]
movzx eax, word [eax + ecx*2]
cmp ax, word [esp + 0x1c]
jne 0x101572eb
mov eax, dword [edi + 0x2c]
jmp 0x101572f4
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 0x10157341
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 [0x10202060]
call fcn.1016dac0
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 0x101573e6
cmp edx, esi
jae 0x101573e4
push esi
mov edx, eax
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x18]
call fcn.10155e50
mov edx, dword [ebp + 0xc]
add eax, edx
movss xmm3, dword [0x10202414]
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.1016dac0
mov edx, dword [esp + 0x14]
movss xmm0, dword [eax]
mov eax, dword [ebp + 0xc]
movss dword [esp + 0x10], xmm0
cmp edx, eax
jbe 0x10157451
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 0x10157404
cmp cl, 9
jne 0x1015744a
movss xmm3, dword [0x10202414]
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.1016dac0
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 0x101573f0
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 0x101574e8
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [eax + 4]
comiss xmm0, xmm7
jae 0x101574e8
movss xmm0, dword [0x10202060]
xor ecx, ecx
call fcn.10156ac0
mov dword [esp + 0x38], eax
test eax, 0xff000000
je 0x101575ba
test edx, edx
jne 0x101574bd
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 0x101574b0
sub ecx, dword [esp + 0x50]
add edx, ecx
mov ecx, dword [ebp + 0xc]
cmp ecx, edx
je 0x101575ba
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 0x10157592
movss xmm0, dword [0x10202060]
xor ecx, ecx
call fcn.10156ac0
mov dword [esp + 0x38], eax
test eax, 0xff000000
je 0x101575ba
mov ecx, dword [ebp + 0xc]
test edx, edx
jne 0x10157523
mov edx, ecx
lea eax, [edx + 1]
mov dword [esp + 0x50], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x10157516
sub edx, dword [esp + 0x50]
add edx, ecx
cmp ecx, edx
je 0x101575ba
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 0x10157551
movss dword [esp + 0x60], xmm1
mov edi, dword [esp + 8]
movss xmm0, dword [esp + 0x64]
movss xmm1, dword [edi + 4]
comiss xmm0, xmm1
jae 0x1015756b
movss dword [esp + 0x64], xmm1
movss xmm0, dword [esp + 0x28]
comiss xmm0, dword [esp + 0x68]
ja 0x1015757e
movss dword [esp + 0x68], xmm0
comiss xmm7, dword [esp + 0x6c]
ja 0x1015758b
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.1016dc80
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 0x101578e6
nop word [eax + eax]
movss xmm0, dword [0x10202060]
xor ecx, ecx
call fcn.10156ac0
mov ecx, dword [esp + 0x58]
mov edx, eax
mov dword [esp + 0x40], eax
cmp ecx, dword [edi + 0x14]
jb 0x10157613
mov ecx, dword [edi + 0x2c]
jmp 0x1015762f
mov eax, dword [edi + 0x1c]
movzx eax, word [eax + ecx*2]
cmp ax, word [esp + 0x1c]
jne 0x10157626
mov ecx, dword [edi + 0x2c]
jmp 0x1015762f
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x28]
lea ecx, [eax + ecx*8]
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x10157744
mov eax, dword [ecx]
test al, 2
je 0x10157744
test al, 1
je 0x10157653
or edx, 0xffffff
mov dword [esp + 0x40], edx
movss xmm0, dword [esp + 0x3c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jb 0x10157668
divss xmm0, dword [edi + 0x10]
jmp 0x10157670
movss xmm0, dword [0x10202060]
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.10168fd0
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.10169110
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 0x101575f0
mov esi, dword [ebp + 0x10]
mov edi, dword [esp + 8]
mov eax, dword [esp + 0x4c]
cmp byte [eax + 0x2f3c], 0
je 0x1015777a
mov edx, dword [ebp + 0xc]
mov ecx, edi
push esi
call fcn.10166d60
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
movss xmm7, dword [eax + 4]
addss xmm2, xmm4
comiss xmm2, xmm5
jae 0x10157818
addss xmm1, dword [edi + 4]
comiss xmm1, xmm7
jae 0x10157818
movss xmm0, dword [0x10202060]
xor ecx, ecx
call fcn.10156ac0
mov edi, eax
mov ecx, esi
test edi, 0xff000000
je 0x1015775e
test esi, esi
jne 0x101577d3
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x58], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101577c6
sub ecx, dword [esp + 0x58]
add ecx, edx
cmp edx, ecx
je 0x1015775e
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.1016dc80
jmp 0x1015775b
movss xmm0, dword [0x10202060]
xor ecx, ecx
call fcn.10156ac0
mov dword [esp + 0x50], eax
mov ecx, esi
test eax, 0xff000000
je 0x10157762
test esi, esi
jne 0x10157852
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x58], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10157845
sub ecx, dword [esp + 0x58]
add ecx, edx
cmp edx, ecx
je 0x10157762
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 0x10157880
movss dword [esp + 0x60], xmm1
movss xmm0, dword [esp + 0x64]
movss xmm1, dword [edi + 4]
comiss xmm0, xmm1
jae 0x10157896
movss dword [esp + 0x64], xmm1
movss xmm0, dword [esp + 0x28]
comiss xmm0, dword [esp + 0x68]
ja 0x101578a9
movss dword [esp + 0x68], xmm0
comiss xmm7, dword [esp + 0x6c]
ja 0x101578b6
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.1016dc80
jmp 0x10157762
mov edi, eax
jmp 0x10157762