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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3f8
mov eax, dword [0x5601cc]
xor eax, esp
mov dword [esp + 0x3f4], eax
cmp dword [ebp + 0x10], 1
xorps xmm0, xmm0
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x20]
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x18], 0x14
movss dword [esp + 0x14], xmm0
movss dword [esp + 0xc], xmm0
jne 0x4ebe73
mov eax, dword [edi + 0x7c]
inc eax
cmp dword [edi + 0x80], 1
mov dword [esp + 0x24], eax
mov dword [edi + 0x7c], eax
je 0x4ebc48
mov esi, dword [ebp + 0x1c]
lea eax, [edi + 0xb4]
push 0x3c
push dword [edi + 4]
lea ecx, [esi - 3]
push ecx
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], ecx
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004eb930
lea eax, [esi + 3]
add esp, 0x1c
add esi, 0xfffffffe
mov dword [esp + 0x28], eax
cmp esi, eax
jg 0x4ebc3c
movss xmm0, dword [esp + 0xc]
xorps xmm4, xmm4
mov edx, dword [edi + 4]
movss dword [esp + 0x14], xmm0
sub edx, esi
movss xmm0, dword [esp + 0x10]
mov dword [esp + 0x1c], edx
movss dword [esp + 0x10], xmm0
nop dword [eax]
lea eax, [edx - 0x3c]
mov ecx, 0x3c
test eax, eax
movaps xmm5, xmm4
movaps xmm3, xmm4
movaps xmm6, xmm4
cmovs ecx, edx
test ecx, ecx
jle 0x4ebbfb
mov eax, dword [edi + 4]
lea edx, [edi + 0xb4]
sub eax, ecx
lea edx, [edx + eax*4]
sub eax, esi
add eax, 0x2d
lea eax, [edi + eax*4]
movss xmm1, dword [eax]
add eax, 4
movss xmm2, dword [edx]
movaps xmm0, xmm1
mulss xmm0, xmm2
add edx, 4
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm0, xmm5
addss xmm1, xmm3
addss xmm2, xmm6
movaps xmm5, xmm0
movaps xmm3, xmm1
movaps xmm6, xmm2
sub ecx, 1
jne 0x4ebb54
comiss xmm3, xmm4
movss dword [esp + 0xc], xmm3
jbe 0x4ebbfb
mulss xmm0, xmm5
divss xmm0, xmm3
movss dword [esp + 0x24], xmm0
cvtps2pd xmm0, xmm5
andps xmm0, xmmword [0x546d80]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x30], xmm0
cvtps2pd xmm0, xmm6
call fcn.0050ab2e
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0xc]
cvtps2pd xmm0, xmm0
call fcn.0050ab2e
movss xmm1, dword [esp + 0x2c]
xorps xmm4, xmm4
movss xmm2, dword [esp + 0x30]
cvtsd2ss xmm0, xmm0
mulss xmm1, xmm0
movss xmm0, dword [esp + 0x24]
divss xmm2, xmm1
jmp 0x4ebc01
movaps xmm0, xmm4
movaps xmm2, xmm4
comiss xmm0, dword [esp + 0x10]
jbe 0x4ebc1d
movaps xmm1, xmm2
movss dword [esp + 0x10], xmm0
mov dword [esp + 0x18], esi
movss dword [esp + 0x14], xmm1
jmp 0x4ebc23
movss xmm1, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
inc esi
dec edx
mov dword [esp + 0x1c], edx
cmp esi, dword [esp + 0x28]
jle 0x4ebb20
mov eax, dword [edi + 0x7c]
jmp 0x4ebc5d
movss xmm1, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
jmp 0x4ebc57
mov ecx, dword [edi + 0x78]
movss xmm1, dword [edi + 0x474]
mov dword [esp + 0x18], ecx
movss dword [esp + 0x14], xmm1
mov esi, dword [edi + 4]
mov ecx, esi
movss xmm0, dword [0x51cc74]
imul ecx, eax
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x5475fc]
cmp ecx, 0x140
jg 0x4ebc99
cmp ecx, 0x3c0
jle 0x4ebc9f
movss xmm0, dword [0x545554]
movss dword [esp + 0x10], xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
call fcn.0050ab2e
movss xmm3, dword [esp + 0xc]
xorps xmm4, xmm4
cvtsd2ss xmm4, xmm0
comiss xmm4, dword [0x546a80]
jbe 0x4ebcc6
movaps xmm4, xmm3
jmp 0x4ebce4
movss xmm0, dword [0x546a6c]
comiss xmm4, xmm0
jbe 0x4ebce1
subss xmm4, xmm0
divss xmm4, dword [0x5475f8]
jmp 0x4ebce4
xorps xmm4, xmm4
mov eax, dword [esp + 0x18]
xorps xmm2, xmm2
cmp eax, 0x50
lea edx, [eax + eax]
cmovge edx, eax
xor ecx, ecx
test esi, esi
jle 0x4ebdfb
movss xmm7, dword [0x546c64]
subss xmm3, xmm4
movss xmm5, dword [esp + 0x10]
mov eax, edx
movss xmm6, dword [0x5475fc]
neg eax
mov dword [esp + 0x1c], eax
lea eax, [edx*4]
mov edx, dword [esp + 0x20]
sub edx, eax
mov dword [esp + 0xc], edx
nop dword [eax]
nop word [eax + eax]
imul eax, dword [edi + 0x478], 0x10dcd
mov esi, 0x46
inc eax
and eax, 0x7fffffff
mov dword [edi + 0x478], eax
cdq
idiv esi
mov esi, ecx
sub esi, edx
sub esi, 0x32
jns 0x4ebd77
mov eax, dword [edi + 4]
add eax, esi
movss xmm1, dword [edi + eax*4 + 0xb4]
jmp 0x4ebd7d
movss xmm1, dword [esp + esi*4 + 0x38]
mov edx, dword [esp + 0x1c]
movss dword [esp + ecx*4 + 0x38], xmm1
mov esi, dword [esp + 0xc]
test edx, edx
jns 0x4ebd9c
mov eax, dword [edi + 4]
add eax, 0x2d
add eax, edx
lea eax, [edi + eax*4]
jmp 0x4ebd9e
mov eax, esi
movss xmm0, dword [eax]
mulss xmm0, xmm4
mulss xmm1, xmm3
addss xmm1, xmm0
cmp ecx, 0x50
jge 0x4ebdb9
mulss xmm1, xmm5
jmp 0x4ebdd2
movaps xmm0, xmm5
cmp ecx, 0xa0
jge 0x4ebdca
mulss xmm0, xmm7
jmp 0x4ebdce
mulss xmm0, xmm6
mulss xmm1, xmm0
mov eax, dword [esp + 0x20]
add esi, 4
inc edx
mov dword [esp + 0x1c], edx
movss dword [eax + ecx*4], xmm1
inc ecx
mulss xmm1, xmm1
mov dword [esp + 0xc], esi
mov esi, dword [edi + 4]
addss xmm2, xmm1
cmp ecx, esi
jl 0x4ebd40
movd xmm0, esi
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
cvtps2pd xmm0, xmm2
call fcn.0050ab2e
movsd xmm1, qword [0x547600]
comisd xmm1, xmm0
jbe 0x4ebe3f
xor edx, edx
test esi, esi
jle 0x4ebe3f
mov ecx, dword [esp + 0x20]
lea esi, [esp + 0x38]
sub esi, ecx
nop dword [eax]
mov eax, dword [esi + ecx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
inc edx
cmp edx, dword [edi + 4]
jl 0x4ebe30
movups xmm0, xmmword [edi + 0x88]
mov esi, dword [esp + 0x34]
movups xmmword [esi], xmm0
movups xmm0, xmmword [edi + 0x98]
movups xmmword [esi + 0x10], xmm0
movq xmm0, qword [edi + 0xa8]
movq qword [esi + 0x20], xmm0
mov eax, dword [edi + 0xb0]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x10]
jmp 0x4ebeb3
mov eax, dword [edi + 4]
shl eax, 2
push eax
push ecx
push edx
call fcn.0050a9cc
mov eax, dword [ebp + 0x18]
add esp, 0xc
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x10], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x20], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x7c], 0
test eax, eax
je 0x4ebec8
movss xmm0, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x78], ecx
movss dword [edi + 0x474], xmm0
mov dword [edi + 0x80], eax
movups xmm0, xmmword [esi]
movups xmmword [edi + 0x88], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [edi + 0x98], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [edi + 0xa8], xmm0
mov eax, dword [esi + 0x28]
mov dword [edi + 0xb0], eax
mov eax, dword [edi + 4]
shl eax, 2
push eax
push dword [esp + 0x24]
lea eax, [edi + 0xb4]
push eax
call fcn.0050a9cc
mov ecx, dword [esp + 0x408]
add esp, 0xc
pop edi
pop esi
xor ecx, esp
call fcn.0043c187
mov esp, ebp
pop ebp
ret