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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, dword [0x44f560]
push edi
mov dword [ebp - 0x24], esi
mov eax, dword [esi + 0x19dc]
mov byte [eax + 0x78], 1
mov ebx, dword [esi + 0x19dc]
mov dword [ebp - 0x1c], ebx
mov edi, dword [ebx + 0x1b8]
mov byte [ebx + 0x78], 1
mov ecx, dword [esi + 0x19dc]
mov edx, dword [ecx + 0x17c]
sub edx, 1
mov dword [ecx + 0x17c], edx
jne 0x411630
movss xmm0, dword [ecx + 0x21c]
jmp 0x41163c
mov eax, dword [ecx + 0x184]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x168], xmm0
mov eax, dword [esi + 0x19dc]
mov byte [eax + 0x78], 1
mov esi, dword [esi + 0x19dc]
mov ecx, dword [esi + 0x270]
dec dword [ecx + 0x3c]
call fcn.0041b540
mov eax, dword [esi + 0x270]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [esi + 0x1c8], eax
movss dword [esi + 0x1cc], xmm0
movss dword [esi + 0x1d0], xmm1
movss dword [esi + 0x1d4], xmm2
mov ecx, dword [ebx + 0x270]
call fcn.0041b960
movss xmm4, dword [edi + 0x20]
maxss xmm4, dword [ebx + 0xc8]
movss dword [edi + 0x20], xmm4
movss dword [ebx + 0xc8], xmm4
test byte [edi + 4], 0x10
movss dword [ebp - 0x18], xmm4
jne 0x4116dd
mov eax, dword [edi + 0x28]
mov dword [ebx + 0xdc], eax
xor al, al
test byte [edi + 4], 1
mov byte [ebp - 1], al
jne 0x4119fb
cmp byte [ebx + 0x7b], al
jne 0x4119fb
movss xmm3, dword [edi + 0x24]
mov esi, 1
movss dword [ebp - 0x14], xmm3
mov dword [ebp - 8], 0xffffffff
cmp dword [edi + 0x10], esi
jle 0x4119fb
movss xmm5, dword [0x4407f8]
mov edx, dword [0x44f560]
mov dword [ebp - 0xc], 0x1c
nop dword [eax]
mov eax, dword [edx + 0x19dc]
mov ecx, esi
mov dword [ebp - 0x10], esi
mov eax, dword [eax + 0x1b8]
mov dword [ebp - 0x20], eax
test esi, esi
jns 0x41174e
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp - 0x20]
movss xmm0, dword [eax + 0x14]
mov eax, dword [eax + 0x34]
shl ecx, 3
movss xmm1, dword [ebx + 0x18]
sub ecx, dword [ebp - 0x10]
subss xmm1, xmm0
mov ebx, dword [ebp - 0x1c]
movss dword [ebp - 0x40], xmm3
movss dword [ebp - 0x38], xmm4
mulss xmm1, dword [eax + ecx*4]
mov ecx, dword [edi]
add ecx, esi
addss xmm1, xmm0
addss xmm1, dword [ebx + 0xc]
movaps xmm2, xmm1
movss dword [ebp - 0x20], xmm1
addss xmm2, xmm5
subss xmm1, xmm5
movss dword [ebp - 0x3c], xmm2
movss dword [ebp - 0x44], xmm1
cmp dword [edx + 0x19fc], ecx
jne 0x4117af
mov dword [edx + 0x1a04], ecx
cmp dword [edx + 0x1a00], ecx
jne 0x4117be
mov byte [edx + 0x1a0f], 1
mov eax, dword [edx + 0x19dc]
add eax, 0x1c8
comiss xmm4, dword [eax + 4]
jbe 0x4117e8
movss xmm0, dword [eax + 0xc]
comiss xmm0, xmm3
jbe 0x4117e8
comiss xmm2, dword [eax]
jbe 0x4117e8
movss xmm0, dword [eax + 8]
comiss xmm0, xmm1
ja 0x411801
test ecx, ecx
je 0x4117f4
cmp ecx, dword [edx + 0x19fc]
je 0x411801
cmp byte [edx + 0x2c94], 0
je 0x4118ef
xor al, al
test byte [edi + 4], 2
mov byte [ebp - 2], al
mov byte [ebp - 3], al
jne 0x411860
push 0
lea eax, [ebp - 3]
mov edx, ecx
push eax
lea eax, [ebp - 2]
push eax
lea ecx, [ebp - 0x44]
call fcn.004222d0
mov al, byte [ebp - 2]
add esp, 0xc
mov cl, byte [ebp - 3]
test al, al
jne 0x411834
test cl, cl
je 0x411860
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x1c98], 4
test cl, cl
je 0x411860
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0xc]
test byte [eax + ecx + 8], 2
mov ecx, 0x21
mov eax, dword [ebp - 8]
cmove eax, esi
mov dword [ebp - 8], eax
jmp 0x41186a
xor ecx, ecx
test al, al
setne cl
add ecx, 0x1f
cvttss2si eax, dword [ebp - 0x20]
sub esp, 8
mov dword [esp + 4], 0x3f800000
movss xmm0, dword [ebp - 0x18]
minss xmm0, dword [ebx + 0x1d4]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x34], xmm1
movss xmm1, dword [0x440798]
addss xmm0, xmm1
maxss xmm0, dword [ebx + 0x1cc]
movss dword [ebp - 0x30], xmm0
call fcn.00403170
mov ecx, dword [ebx + 0x270]
add esp, 4
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0041d330
mov edx, dword [0x44f560]
movss xmm3, dword [ebp - 0x14]
movss xmm4, dword [ebp - 0x18]
movss xmm5, dword [0x4407f8]
add dword [ebp - 0xc], 0x1c
inc esi
mov eax, dword [edi + 0x10]
cmp esi, eax
jl 0x411730
mov ecx, dword [ebp - 8]
cmp ecx, 0xffffffff
je 0x4119f8
cmp byte [edi + 9], 0
jne 0x41193a
inc eax
xor ebx, ebx
test eax, eax
jle 0x41193a
xor esi, esi
nop word [eax + eax]
mov ecx, dword [edi + 0x34]
lea esi, [esi + 0x1c]
inc ebx
mov eax, dword [ecx + esi - 0x1c]
mov dword [ecx + esi - 0x18], eax
mov eax, dword [edi + 0x10]
inc eax
cmp ebx, eax
jl 0x411920
mov ecx, dword [ebp - 8]
mov byte [edi + 9], 1
movss xmm2, dword [edx + 0xe4]
subss xmm2, dword [edx + 0x1a18]
mov eax, dword [edx + 0x19dc]
mov byte [ebp - 1], 1
addss xmm2, xmm5
subss xmm2, dword [eax + 0xc]
lea eax, [ecx - 1]
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 0x19dc]
mov eax, dword [eax + 0x1b8]
mov dword [ebp - 0x24], eax
lea esi, [eax + 0xc]
lea eax, [ecx - 1]
test eax, eax
jns 0x411985
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x24]
movss xmm4, dword [edx + 0x1578]
shl eax, 3
sub eax, dword [ebp - 0x18]
test byte [edi + 4], 4
movss xmm3, dword [ebx + 0x14]
movss xmm0, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x34]
subss xmm0, xmm3
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
movaps xmm1, xmm0
mulss xmm1, dword [ecx + eax*4]
mov ecx, dword [ebp - 8]
addss xmm1, xmm3
addss xmm1, xmm4
maxss xmm1, xmm2
je 0x4119f3
lea edx, [ecx + 1]
test edx, edx
jns 0x4119d3
mov edx, dword [esi]
lea eax, [edx*8]
sub eax, edx
mov edx, dword [ebp - 0x24]
mulss xmm0, dword [edx + eax*4]
addss xmm0, xmm3
subss xmm0, xmm4
minss xmm0, xmm1
movaps xmm1, xmm0
call fcn.00410cd0
mov al, byte [ebp - 1]
mov byte [edi + 9], al
xorps xmm1, xmm1
movss xmm0, dword [ebx + 0x1ac]
addss xmm0, dword [ebx + 0xc]
pop edi
pop esi
mov dword [ebx + 0x1b8], 0
mov dword [ebx + 0x1b4], 0
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0xc4], xmm0
pop ebx
mov esp, ebp
pop ebp
ret