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

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x54]
xor ebp, ebp
push 0xffffffffffffff9d
pop eax
push 0x34
push 0
inc ebp
mov dword [esp + 0x1c], eax
push edi
mov dword [esp + 0x1c], ebp
call fcn.00421610
mov esi, dword [esp + 0x68]
add esp, 4
mov eax, dword [esi]
mov dword [edi + 0x24], eax
movd xmm0, dword [esi]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x4fffec]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.004d7030
movsd xmm0, qword [0x4fa3c8]
fstp qword [esp + 0x40]
movsd qword [esp], xmm0
call fcn.004d7030
movsd xmm0, qword [esp + 0x40]
fstp qword [esp + 0x38]
divsd xmm0, qword [esp + 0x38]
addsd xmm0, qword [0x4fa240]
movsd qword [esp], xmm0
call fcn.004d6e80
movd xmm0, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
cvtdq2ps xmm0, xmm0
movd xmm1, ebx
mulss xmm0, dword [0x4fff84]
cvtdq2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
fsub qword [0x4f9b28]
mulsd xmm0, qword [0x4fa240]
fstp qword [esp + 0x40]
cvttsd2si eax, qword [esp + 0x40]
divsd xmm0, xmm1
mov dword [edi + 0x20], eax
movsd qword [esp + 0x40], xmm1
movsd qword [esp], xmm0
call fcn.004d7030
mov ecx, dword [edi + 0x20]
mov eax, ebp
fmul qword [0x4fffb0]
inc ecx
movd xmm0, dword [esi]
shl eax, cl
cvtdq2pd xmm0, xmm0
fsub qword [0x4fffd0]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
fstp qword [esp + 0x38]
mulsd xmm1, qword [esp + 0x38]
subsd xmm1, xmm0
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
cvttsd2si eax, xmm1
addss xmm0, dword [0x4fff84]
movd xmm1, dword [esp + 0x6c]
cvtdq2ps xmm1, xmm1
mov dword [edi + 0x1c], eax
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x4fa240]
divsd xmm0, qword [esp + 0x40]
movsd qword [esp], xmm0
call fcn.004d7030
fmul qword [0x4fffb0]
mov ecx, dword [edi + 0x20]
fsub qword [0x4fffd0]
fstp qword [esp + 0x38]
inc ecx
mov eax, ebp
shl eax, cl
mov ebp, ebx
shl ebp, 2
push ebp
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [esp + 0x3c]
addsd xmm0, qword [0x4fa240]
cvttsd2si eax, xmm0
sub eax, dword [edi + 0x1c]
inc eax
mov dword [edi + 0x28], eax
call fcn.004b31f0
push ebp
mov dword [edi + 0x10], eax
call fcn.004b31f0
push ebp
mov dword [edi + 0x14], eax
call fcn.004b31f0
mov dword [edi + 0x18], eax
add esp, 0x14
mov eax, dword [esp + 0x58]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x64]
mov dword [edi], ebx
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], 0x3f800000
cmp eax, 0x6590
jge 0x44db49
and dword [edi + 0x30], 0
jmp 0x44db67
cmp eax, 0x9470
jge 0x44db59
mov dword [edi + 0x30], 0x3f70a3d7
jmp 0x44db67
cmp eax, 0xb3b0
jle 0x44db67
mov dword [edi + 0x30], 0x3fa33333
xor esi, esi
xor ebp, ebp
xorps xmm0, xmm0
lea eax, [ebp + 1]
cvtsi2sd xmm0, eax
push ecx
push ecx
mov dword [esp + 0x64], eax
mulsd xmm0, qword [0x4fffa0]
subsd xmm0, qword [0x4fa3c8]
addsd xmm0, qword [0x4fffd0]
mulsd xmm0, qword [0x4fffa8]
movsd qword [esp], xmm0
call fcn.004d7320
fstp qword [esp + 0x38]
movsd xmm0, qword [esp + 0x38]
xorps xmm1, xmm1
cvtsi2sd xmm1, dword [esp + 0x6c]
addsd xmm0, xmm0
mulsd xmm0, qword [esp + 0x40]
divsd xmm0, xmm1
addsd xmm0, qword [0x4fa240]
movsd qword [esp], xmm0
call fcn.004d6e80
pop ecx
fstp qword [esp + 0x34]
pop ecx
cvttsd2si ecx, qword [esp + 0x30]
cmp esi, ecx
jge 0x44dc38
movss xmm2, dword [ebp*4 + 0x4fa448]
mov eax, ecx
movss xmm1, dword [ebp*4 + 0x4fa44c]
sub eax, esi
subss xmm1, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cmp esi, ebx
jge 0x44dc38
mov eax, dword [edi + 0x10]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
addsd xmm0, qword [0x4f9a40]
cvtpd2ps xmm0, xmm0
movss dword [eax + esi*4], xmm0
inc esi
movaps xmm0, xmm1
addss xmm2, xmm0
cmp esi, ecx
jl 0x44dc0d
mov ebp, dword [esp + 0x5c]
cmp ebp, 0x57
jl 0x44db6b
jmp 0x44dc52
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx + esi*4 - 4]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, ebx
jl 0x44dc47
xor esi, esi
test ebx, ebx
jle 0x44df88
mov eax, dword [esp + 0x64]
lea ecx, [ebx + ebx]
cdq
idiv ecx
and dword [esp + 0x2c], esi
and dword [esp + 0x5c], esi
mov ebp, eax
imul eax, ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
imul eax, esi
xorps xmm0, xmm0
push ecx
push ecx
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x4fff78]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.004d7370
fmul qword [0x4fffc8]
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [esp + 0x64]
fstp qword [esp + 0x28]
mulss xmm0, dword [0x4fff80]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.004d7370
mov eax, dword [esp + 0x64]
xorps xmm0, xmm0
mov edx, dword [esp + 0x1c]
fstp qword [esp + 0x38]
movsd xmm1, qword [esp + 0x38]
mulsd xmm1, qword [0x4fffe0]
pop ecx
cvtsi2ss xmm0, eax
mov eax, dword [esp + 0x5c]
pop ecx
addsd xmm1, qword [esp + 0x20]
mulss xmm0, dword [0x4fff7c]
mov eax, dword [eax + 0x78]
add eax, edx
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [esp + 0x30], xmm0
cmp eax, esi
jge 0x44ddee
mov edi, dword [esp + 0x28]
mov eax, ebp
imul eax, edx
mov ecx, edi
imul ecx, edx
mov dword [esp + 0x18], eax
mov ebx, eax
mov dword [esp + 0x20], ecx
mov eax, ecx
xorps xmm0, xmm0
imul eax, edx
push ecx
push ecx
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x4fff78]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.004d7370
fmul qword [0x4fffc8]
xorps xmm0, xmm0
cvtsi2ss xmm0, ebx
fstp qword [esp + 0x48]
mulss xmm0, dword [0x4fff80]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.004d7370
mov eax, dword [esp + 0x60]
xorps xmm0, xmm0
cvtsi2ss xmm0, ebx
pop ecx
pop ecx
fstp qword [esp + 0x18]
mulss xmm0, dword [0x4fff7c]
movsd xmm1, qword [esp + 0x18]
mulsd xmm1, qword [0x4fffe0]
cvtps2pd xmm0, xmm0
addsd xmm1, qword [esp + 0x40]
addsd xmm1, xmm0
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [eax + 0x70]
cvtps2pd xmm0, xmm0
comisd xmm0, xmm1
jbe 0x44dde6
mov edx, dword [esp + 0x14]
add ebx, ebp
mov ecx, dword [esp + 0x20]
inc edx
mov eax, dword [eax + 0x78]
add ecx, edi
add eax, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ecx
cmp eax, esi
jl 0x44dd33
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x60]
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
jg 0x44dedf
mov edi, dword [esp + 0x28]
mov edx, ebp
imul edx, ecx
mov eax, edi
imul eax, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x7c]
add eax, esi
cmp ecx, eax
jl 0x44dec0
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
imul eax, ecx
push ecx
push ecx
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x4fff78]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.004d7370
fmul qword [0x4fffc8]
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [esp + 0x28]
fstp qword [esp + 0x50]
mulss xmm0, dword [0x4fff80]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.004d7370
mov edx, dword [esp + 0x28]
xorps xmm0, xmm0
mov eax, dword [esp + 0x60]
fstp qword [esp + 0x48]
movsd xmm1, qword [esp + 0x48]
mulsd xmm1, qword [0x4fffe0]
pop ecx
cvtsi2ss xmm0, edx
pop ecx
mov ecx, dword [esp + 0x10]
addsd xmm1, qword [esp + 0x48]
mulss xmm0, dword [0x4fff7c]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [eax + 0x74]
cvtps2pd xmm0, xmm0
comisd xmm0, xmm1
jbe 0x44dedb
jmp 0x44dec4
mov eax, dword [esp + 0x58]
add dword [esp + 0x18], edi
inc ecx
add edx, ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], edx
cmp ecx, ebx
jle 0x44de14
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
add dword [esp + 0x5c], ebp
shl eax, 0x10
add eax, 0xfffeffff
add ecx, eax
mov eax, dword [edi + 0x18]
mov dword [eax + esi*4], ecx
inc esi
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
cmp esi, ebx
jl 0x44dc7f
xor esi, esi
movd xmm1, dword [esp + 0x64]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push ecx
push ecx
cvtdq2pd xmm1, xmm1
addss xmm0, dword [0x4fff84]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x4fa240]
mulsd xmm0, xmm1
divsd xmm0, qword [esp + 0x40]
movsd qword [esp], xmm0
call fcn.004d7030
fmul qword [0x4fffb0]
xor eax, eax
pop ecx
pop ecx
mov ecx, dword [edi + 0x20]
inc eax
inc ecx
fsub qword [0x4fffd0]
shl eax, cl
movd xmm0, eax
mov eax, dword [edi + 0x14]
cvtdq2pd xmm0, xmm0
fstp qword [esp + 0x48]
mulsd xmm0, qword [esp + 0x48]
addsd xmm0, qword [0x4fa240]
cvttsd2si ecx, xmm0
mov dword [eax + esi*4], ecx
inc esi
cmp esi, ebx
jl 0x44df0e
mov eax, dword [esp + 0x58]
push ecx
push ecx
movss xmm0, dword [eax + 0x1c]
movss dword [esp + 4], xmm0
movss xmm0, dword [eax + 0x18]
add eax, 0x24
movss dword [esp], xmm0
movd xmm0, dword [esp + 0x6c]
cvtdq2pd xmm0, xmm0
push ebx
push ecx
mulsd xmm0, qword [0x4fa240]
divsd xmm0, qword [esp + 0x48]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
call fcn.0044efdb
push 0xc
mov dword [edi + 8], eax
call fcn.004b31f0
mov ebp, ebx
mov dword [edi + 0xc], eax
add esp, 0x18
xor esi, esi
shl ebp, 2
push ebp
call fcn.004b31f0
pop ecx
mov ecx, dword [edi + 0xc]
mov dword [esi + ecx], eax
add esi, 4
cmp esi, 0xc
jl 0x44dfe6
xor esi, esi
test ebx, ebx
jle 0x44e0e4
movsd xmm1, qword [esp + 0x38]
addsd xmm1, xmm1
movsd qword [esp + 0x38], xmm1
xorps xmm0, xmm0
xorps xmm2, xmm2
cvtsi2sd xmm2, dword [esp + 0x64]
push ecx
push ecx
cvtsi2sd xmm0, esi
addsd xmm0, qword [0x4fa240]
mulsd xmm0, xmm2
divsd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.004d7030
fmul qword [0x4fffb0]
xorps xmm1, xmm1
movss xmm2, dword [0x4ffff4]
movsd xmm3, qword [0x4f9b28]
pop ecx
pop ecx
fsub qword [0x4fffd0]
xor ecx, ecx
fstp qword [esp + 0x48]
movsd xmm0, qword [esp + 0x48]
addsd xmm0, xmm0
cvtpd2ps xmm0, xmm0
maxss xmm1, xmm0
xorps xmm0, xmm0
minss xmm2, xmm1
cvttss2si eax, xmm2
cvtsi2ss xmm0, eax
lea edx, [eax*4 + 0x88]
subss xmm2, xmm0
cvtps2pd xmm0, xmm2
subsd xmm3, xmm0
mov eax, dword [edi + 4]
movaps xmm0, xmm2
movss xmm1, dword [eax + edx - 4]
mulss xmm0, dword [eax + edx]
add edx, 0x44
mov eax, dword [edi + 0xc]
cvtps2pd xmm1, xmm1
mov eax, dword [ecx + eax]
add ecx, 4
cvtss2sd xmm0, xmm0
mulsd xmm1, xmm3
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + esi*4], xmm0
cmp ecx, 0xc
jl 0x44e09b
movsd xmm1, qword [esp + 0x38]
inc esi
cmp esi, ebx
jl 0x44e015
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret