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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c933b
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x623ec0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 0x18]
cmp eax, 0xffffffff
je 0x4eecae
cmp eax, dword [0x628e84]
je 0x4eecae
cmp eax, dword [0x628e80]
je 0x4eecae
cmp eax, dword [0x628e7c]
je 0x4eecae
cmp eax, dword [0x628e78]
je 0x4eecae
xor eax, eax
jmp 0x4ef288
mov ecx, dword [0x9c25b4]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 0x38]
sub esi, dword [edi + 0x84]
mov eax, dword [edi + 0x88]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
shr esi, 0x1f
addsd xmm0, qword [esi*8 + 0x605750]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
mov eax, dword [edi + 0x80]
cvtpd2ps xmm0, xmm0
divss xmm2, xmm0
comiss xmm2, dword [0x604dc4]
jbe 0x4eee78
cmp eax, 1
je 0x4eee36
mov dword [ebp - 0x18], 0xbb8
mov esi, 5
nop dword [eax]
call fcn.0046c00b
cdq
idiv esi
push 0x184
mov esi, edx
call fcn.0046677d
mov edi, eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 4], 0
push 0x184
push 0
push edi
call fcn.00468b40
mov eax, dword [ebp - 0x14]
add esp, 0x10
movd xmm1, esi
mov ecx, edi
mov esi, dword [ebp - 0x18]
cvtdq2ps xmm1, xmm1
push 0x50
push 1
sub esp, 0xc
movaps xmm3, xmm1
mulss xmm1, dword [0x604d04]
mov dword [esp + 8], 0x38d1b717
mulss xmm3, dword [0x604ccc]
addss xmm1, dword [eax + 0x70]
addss xmm3, dword [eax + 0x70]
movss dword [esp + 4], xmm3
movss dword [esp], xmm1
push esi
push 0x77
call fcn.004eb060
mov edx, eax
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x14]
test edx, edx
je 0x4eee1f
movss xmm1, dword [edi + 0x78]
movss xmm2, dword [edi + 0x74]
movss xmm0, dword [edi + 0x7c]
subss xmm1, dword [0x604d20]
mov ecx, dword [0x9c25b0]
movss dword [ebp - 0x3c], xmm0
mov eax, dword [ebp - 0x3c]
mov dword [edx + 0x100], 1
unpcklps xmm2, xmm1
movq qword [edx + 0x74], xmm2
movq qword [edx + 0x14c], xmm2
mov dword [edx + 0x7c], eax
mov dword [edx + 0x154], eax
mov ecx, dword [ecx + 0x2c]
mov dword [edx + 4], ecx
mov eax, dword [ecx + 0x10]
mov dword [edx + 0xc], eax
mov dword [ecx + 0x10], edx
mov eax, dword [edx + 0xc]
test eax, eax
je 0x4eee1f
mov dword [eax + 8], edx
add esi, 0x64
mov dword [ebp - 0x18], esi
cmp esi, 0xce4
mov esi, 5
jl 0x4eed30
mov eax, dword [0x9c25ac]
mov byte [edi + 0x14], 1
mov dword [eax + 0x21a7c], 1
mov eax, dword [0x9c25b0]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4ef283
nop dword [eax]
cmp dword [eax + 0x1c], edi
jne 0x4eee6c
mov dword [eax + 0x1c], 0
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4eee60
jmp 0x4ef283
cmp eax, 1
jne 0x4ef283
mulss xmm2, dword [0x6050f4]
lea esi, [edi + 0xa4]
xor eax, eax
mov dword [ebp - 0x14], esi
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], ecx
movss dword [ebp - 0x38], xmm2
movss xmm1, dword [edi + 0x78]
addss xmm1, dword [0x605078]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
subss xmm1, xmm2
movss dword [esi - 4], xmm1
movss xmm0, dword [edi + 0x78]
comiss xmm0, xmm1
jbe 0x4ef25a
cmp byte [edi + eax + 0xcc], 0
jne 0x4ef25a
movss xmm0, dword [0x604c54]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [0x604cdc]
mov byte [edi + eax + 0xcc], 1
lea eax, [ebp - 0x20]
movss xmm1, dword [esi]
movss dword [ebp - 0x2c], xmm0
xorps xmm0, xmm0
push eax
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [esi - 8]
movss dword [ebp - 0x3c], xmm1
push dword [ebp - 0x3c]
movss dword [ebp - 0x40], xmm0
push dword [ebp - 0x40]
mov dword [ebp - 0x28], 0x77
call fcn.00592990
cmp eax, 1
jne 0x4ef0e7
movss xmm0, dword [0x604ccc]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [0x604c58]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [0x604ce8]
push 0x124
mov dword [ebp - 0x28], 0x97
movss dword [ebp - 0x30], xmm0
call fcn.0046677d
mov esi, eax
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], 1
push 0x124
push 0
push esi
call fcn.00468b40
movss xmm3, dword [0x604c94]
add esp, 0x10
mov ecx, esi
push 0
sub esp, 0xc
mov dword [esp + 8], 0x3ac49ba6
mov dword [esp + 4], 0x3c23d70a
mov dword [esp], 0x3c23d70a
push 0x3e8
push 0x96
call fcn.004ec010
mov esi, eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4ef14c
mov ecx, dword [esi]
push 0xaaaaaaaa
mov dword [esi + 0x6c], 1
mov edx, dword [ecx + 0x3c]
mov ecx, esi
call edx
mov eax, dword [ebp - 0x14]
xor edx, edx
movss xmm3, dword [0x604cf4]
movss xmm1, dword [eax - 8]
movss dword [esi + 0x74], xmm1
movss xmm2, dword [eax]
cvttss2si eax, xmm1
cvttss2si ecx, xmm2
sub eax, dword [0x626d50]
cmovns edx, eax
xor eax, eax
movss dword [esi + 0x7c], xmm2
sub ecx, dword [0x626d54]
cmovns eax, ecx
cmp edx, 0x100
mov ecx, 0xff
cmovg edx, ecx
cmp eax, 0x100
cmovg eax, ecx
mov ecx, dword [0x9c25b0]
shl eax, 8
add eax, edx
movsx eax, byte [eax + ecx + 0x118]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm3
ucomiss xmm0, dword [0x6051b8]
lahf
test ah, 0x44
jp 0x4ef069
xorps xmm0, xmm0
mulss xmm0, dword [0x604ccc]
addss xmm0, xmm3
movss dword [esi + 0x78], xmm0
mov ecx, dword [ecx + 0x2c]
mov dword [esi + 4], ecx
mov eax, dword [ecx + 0x10]
mov dword [esi + 0xc], eax
mov dword [ecx + 0x10], esi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4ef093
mov dword [eax + 8], esi
mov eax, dword [0x9c25ac]
mov eax, dword [eax + 0x21a74]
mov eax, dword [eax + 0x54]
test eax, eax
je 0x4ef14c
movss xmm0, dword [eax + 0x28]
subss xmm0, xmm1
movss xmm1, dword [eax + 0x2c]
subss xmm1, xmm2
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.00445ac0
movss xmm1, dword [0x605030]
comiss xmm1, xmm0
jbe 0x4ef14c
mov ecx, dword [0x9c25cc]
test ecx, ecx
je 0x4ef14c
push 0xe
jmp 0x4ef136
mov eax, dword [0x9c25ac]
mov eax, dword [eax + 0x21a74]
mov eax, dword [eax + 0x54]
test eax, eax
je 0x4ef14c
movss xmm0, dword [eax + 0x28]
movss xmm1, dword [eax + 0x2c]
subss xmm0, dword [esi - 8]
subss xmm1, dword [esi]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.00445ac0
movss xmm1, dword [0x605030]
comiss xmm1, xmm0
jbe 0x4ef14c
mov ecx, dword [0x9c25cc]
test ecx, ecx
je 0x4ef14c
push 0xd
call fcn.004a8da0
test eax, eax
je 0x4ef14c
sub esp, 0xc
push 0
push ecx
mov ecx, eax
call fcn.004a86c0
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x20], 3
nop word [eax + eax]
push 0x184
call fcn.0046677d
mov esi, eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 4], 2
push 0x184
push 0
push esi
call fcn.00468b40
movss xmm0, dword [ebp - 0x24]
add esp, 0x10
movss xmm3, dword [0x604d2c]
mov ecx, esi
push 0x50
push 1
sub esp, 0xc
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0x3fe66666
push 0xbb8
push dword [ebp - 0x28]
call fcn.004eb060
mov edx, eax
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x14]
test edx, edx
je 0x4ef242
movd xmm1, dword [ebp - 0x1c]
movd xmm0, dword [ebp - 0x18]
cvtdq2ps xmm1, xmm1
mov dword [edx + 0x104], 3
cvtdq2ps xmm0, xmm0
mulss xmm1, dword [ebp - 0x2c]
mulss xmm0, dword [ebp - 0x30]
movaps xmm2, xmm1
addss xmm2, dword [esi - 8]
addss xmm0, dword [edi + 0x78]
addss xmm1, dword [esi]
unpcklps xmm2, xmm0
movq qword [edx + 0x74], xmm2
movq qword [edx + 0x14c], xmm2
movss dword [ebp - 0x50], xmm1
mov eax, dword [ebp - 0x50]
mov dword [edx + 0x7c], eax
mov dword [edx + 0x154], eax
mov eax, dword [0x9c25b0]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 4], ecx
mov eax, dword [ecx + 0x10]
mov dword [edx + 0xc], eax
mov dword [ecx + 0x10], edx
mov eax, dword [edx + 0xc]
test eax, eax
je 0x4ef242
mov dword [eax + 8], edx
inc dword [ebp - 0x1c]
sub dword [ebp - 0x20], 1
jne 0x4ef160
movss xmm2, dword [ebp - 0x38]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
movss xmm0, dword [edi + 0x78]
comiss xmm0, dword [esi - 4]
jbe 0x4ef26a
movss dword [esi - 4], xmm0
add ecx, 5
inc eax
add esi, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x14], esi
cmp ecx, 0x14
jl 0x4eeea1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046676f
mov esp, ebp
pop ebp
ret 4