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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [0x10444724]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
mov dword [esp + 0x1c], ebx
mov ecx, dword [ebp + 0xc]
push edi
movss xmm0, dword [esi + 0x3c]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esi + 0x40]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [eax]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [eax + 4]
lea eax, [esp + 0x10]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [ecx]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [ecx + 4]
push eax
movss dword [esp + 0x9c], xmm0
lea eax, [esp + 0xa8]
movss xmm0, dword [ebx]
push eax
movss dword [esp + 0xa4], xmm0
lea eax, [esp + 0x8c]
movss xmm0, dword [ebx + 4]
push eax
movss dword [esp + 0xac], xmm0
call fcn.10150fe0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x10152aae
cmp edi, 1
je 0x10152aae
lea ecx, [edi - 3]
cmp ecx, 2
mov ecx, esi
push 0
ja 0x101528aa
lea eax, [esp + 0xa8]
push eax
call fcn.10153260
mov eax, dword [esi + 0x5c]
push 1
mov dword [esp + 0x14], eax
call fcn.1021b320
add esp, 4
mov dword [esi + 0x5c], eax
cmp edi, 4
jl 0x1015286c
push 0
lea eax, [esp + 0xb0]
mov ecx, esi
push eax
call fcn.10153260
cmp edi, 5
jne 0x10152882
push 0
lea eax, [esp + 0xb8]
mov ecx, esi
push eax
call fcn.10153260
push 0
push ebx
mov ecx, esi
call fcn.10153260
mov eax, dword [esp + 0x10]
mov dword [esi + 0x5c], eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.1037e005
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x1c]
call fcn.10153550
test al, al
je 0x10152aae
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.1009c5d0
mov ebx, eax
add esp, 8
xorps xmm2, xmm2
xor edi, edi
movss dword [esp + 0x10], xmm2
test ebx, ebx
js 0x101529d0
cmp edi, ebx
jge 0x101528fb
movss xmm1, dword [esp + edi*4 + 0x34]
jmp 0x10152903
movss xmm1, dword [0x10386834]
movaps xmm0, xmm1
movss dword [esp + 0x14], xmm1
addss xmm0, xmm2
mov dword [esi + 0x84], 1
lea eax, [esp + 0x4c]
mov byte [esi + 0x8c], 0
push eax
lea eax, [esp + 0x88]
movss dword [esp + 0x78], xmm2
push eax
mulss xmm0, dword [0x10386830]
mov ecx, esi
mov word [esp + 0x88], 0
movss dword [esp + 0x84], xmm1
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x80], xmm0
call fcn.10152410
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x4c]
movss dword [esp + 0x74], xmm0
mov ecx, esi
movss xmm0, dword [esp + 0x18]
push eax
movss dword [esp + 0x7c], xmm0
lea eax, [esp + 0x88]
movss xmm0, dword [esp + 0x18]
push eax
mov dword [esi + 0x84], 0xffffffff
mov byte [esi + 0x8c], 0
movss dword [esp + 0x84], xmm0
mov word [esp + 0x88], 0
call fcn.10152410
movss xmm2, dword [esp + 0x14]
inc edi
movss dword [esp + 0x10], xmm2
cmp edi, ebx
jle 0x101528f1
lea eax, [esp + 0x84]
push eax
call fcn.1009c320
fstp dword [esp + 0x1c]
movss xmm0, dword [esp + 0x1c]
xorps xmm1, xmm1
add esp, 4
comiss xmm0, xmm1
jbe 0x10152a3f
push 0
push 0
lea eax, [esp + 0x20]
push eax
push ecx
lea eax, [esp + 0x94]
movss dword [esp], xmm0
push eax
call fcn.1009bef0
movss xmm0, dword [esi]
lea ecx, [esi + 0x78]
add esp, 0x14
push 0
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp], xmm0
call fcn.10048410
lea eax, [esp + 0x24]
mov ecx, esi
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x94]
push eax
call fcn.10153d70
mov ecx, dword [esp + 0x20]
mov byte [esi + 0x8d], 1
mov eax, dword [ecx]
mov dword [esi + 0x3c], eax
mov eax, dword [ecx + 4]
inc dword [esi + 0x50]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x20], eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.1037e005
mov esp, ebp
pop ebp
ret 0xc
push 0
push ebx
mov ecx, esi
call fcn.10153260
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1037e005
mov esp, ebp
pop ebp
ret 0xc