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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
xorps xmm0, xmm0
push ebx
push esi
mov esi, ecx
mov ebx, dword [esi + 0x44]
cmp ebx, 1
push edi
movsd qword [esp + 0x30], xmm0
movsd qword [esp + 0x28], xmm0
movsd qword [esp + 0x40], xmm0
movsd qword [esp + 0x38], xmm0
movsd qword [esp + 0x78], xmm0
movsd qword [esp + 0x70], xmm0
jge 0x4db017
mov ebx, 2
jmp 0x4db018
inc ebx
cmp dword [esi + 0xc], 0xf
jne 0x4db084
mov eax, dword [esi + 0x4c]
cmp dword [esi + 0x74], eax
jl 0x4db02f
mov ecx, dword [esi + 0x6c]
movsd xmm0, qword [ecx + eax*8 - 8]
movsd xmm1, qword [esi + 0x10]
comisd xmm0, xmm1
jbe 0x4db042
movsd qword [esp + 0x20], xmm1
jmp 0x4db048
movsd qword [esp + 0x20], xmm0
movsd xmm0, qword [esi + 0x18]
mov ecx, esi
movsd qword [esp + 0x48], xmm0
call fcn.00472d50
fstp qword [esp + 0x58]
movsd xmm1, qword [esp + 0x58]
movsd xmm0, qword [esp + 0x48]
comisd xmm0, xmm1
jbe 0x4db078
movsd xmm1, qword [esp + 0x20]
jmp 0x4db08e
movapd xmm0, xmm1
movsd xmm1, qword [esp + 0x20]
jmp 0x4db08e
movsd xmm1, qword [esi + 0x10]
movsd xmm0, qword [esi + 0x18]
mov edx, dword [ebp + 8]
movsd qword [esp + 0x48], xmm0
movsd qword [edx], xmm1
subsd xmm0, xmm1
lea eax, [ebx - 1]
movsd qword [esp + 0x10], xmm1
cvtsi2sd xmm1, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x58]
lea ecx, [esp + 0x10]
divsd xmm0, xmm1
push ecx
lea edx, [esp + 0x2c]
movsd qword [esp + 0x24], xmm0
movsd xmm0, qword [0x5ff710]
push edx
mov ecx, esi
movsd qword [esp + 0x20], xmm0
call eax
movsd xmm0, qword [esp + 0x20]
addsd xmm0, qword [esp + 0x10]
mov eax, dword [ebp + 0xc]
movsd qword [esp + 0x10], xmm0
xorps xmm0, xmm0
movsd qword [esp + 0x88], xmm0
movsd qword [esp + 0x80], xmm0
movq xmm0, qword [eax]
mov edi, 1
cmp ebx, edi
movq qword [esp + 0x60], xmm0
movq xmm0, qword [eax + 8]
movq qword [esp + 0x68], xmm0
jle 0x4db495
mov edx, dword [esi]
mov edx, dword [edx + 0x58]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call edx
movsd xmm0, qword [esp + 0x38]
movsd xmm1, qword [esp + 0x30]
movsd xmm2, qword [0x5fb9c8]
addsd xmm0, qword [esp + 0x28]
addsd xmm1, qword [esp + 0x40]
lea eax, [esi + 0x30]
push eax
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0xe0]
push ecx
mulsd xmm0, xmm2
mulsd xmm1, xmm2
lea ecx, [esp + 0x6c]
movq qword [esp + 0x8c], xmm0
movq qword [esp + 0x94], xmm1
call fcn.004a7cb0
movq xmm1, qword [eax]
movsd qword [esp + 0x60], xmm1
movq xmm0, qword [eax + 8]
movsd qword [esp + 0x68], xmm0
cmp edi, 1
jne 0x4db1f1
subsd xmm1, qword [esp + 0x28]
subsd xmm0, qword [esp + 0x30]
lea ecx, [esp + 0xa8]
movsd qword [esp + 0xa8], xmm1
movsd qword [esp + 0xb0], xmm0
call fcn.004a7500
fst qword [esp + 0x18]
fld qword [0x5ff758]
fcompi st(1)
fstp st(0)
ja 0x4db495
movsd xmm0, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x60]
subsd xmm1, qword [esp + 0x38]
subsd xmm0, qword [esp + 0x40]
lea eax, [esi + 0x30]
push eax
lea ecx, [esp + 0xcc]
movsd qword [esp + 0xcc], xmm1
movsd qword [esp + 0xd4], xmm0
call fcn.004a7650
fst qword [esp + 0x50]
fld qword [esp + 0x18]
movsd xmm0, qword [esp + 0x50]
fcompi st(1)
fstp st(0)
jbe 0x4db258
movsd xmm1, qword [esp + 0x10]
mov edx, dword [ebp + 8]
movsd qword [edx], xmm1
movsd xmm1, qword [0x5ff758]
comisd xmm1, xmm0
ja 0x4db495
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [esp + 0x38]
movsd xmm1, qword [esp + 0x40]
subsd xmm0, qword [esp + 0x28]
subsd xmm1, qword [esp + 0x30]
lea ecx, [esp + 0x70]
movq qword [esp + 0x70], xmm0
movq qword [esp + 0x78], xmm1
call fcn.004a7bc0
fst qword [esp + 0x58]
fld qword [0x5ff758]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x4db467
movsd xmm2, qword [esp + 0x60]
movsd xmm3, qword [esp + 0x68]
movsd xmm4, qword [0x5fc860]
movapd xmm1, xmm2
subsd xmm1, qword [esp + 0x28]
movapd xmm0, xmm3
subsd xmm0, qword [esp + 0x30]
movsd qword [esp + 0x98], xmm1
mulsd xmm1, qword [esp + 0x70]
movsd qword [esp + 0xa0], xmm0
mulsd xmm0, qword [esp + 0x78]
addsd xmm0, xmm1
movsd xmm1, qword [0x5ff758]
movapd xmm5, xmm0
andpd xmm5, xmm4
comisd xmm1, xmm5
movsd qword [esp + 0x90], xmm0
jbe 0x4db338
movsd xmm1, qword [esp + 0x18]
movsd xmm0, qword [esp + 0x50]
comisd xmm1, xmm0
jbe 0x4db44f
movsd xmm1, qword [esp + 0x10]
mov eax, dword [ebp + 8]
subsd xmm1, qword [esp + 0x20]
movsd qword [eax], xmm1
movsd qword [esp + 0x18], xmm0
jmp 0x4db44f
movsd xmm5, qword [esp + 0x58]
lea eax, [ebx - 1]
cmp edi, eax
jne 0x4db3b1
movapd xmm6, xmm0
subsd xmm6, xmm5
andpd xmm6, xmm4
comisd xmm1, xmm6
jbe 0x4db3b1
subsd xmm2, qword [esp + 0x38]
subsd xmm3, qword [esp + 0x40]
lea ecx, [esp + 0xb8]
movsd qword [esp + 0xb8], xmm2
movsd qword [esp + 0xc0], xmm3
call fcn.004a7500
fst qword [esp + 0x50]
fld qword [esp + 0x18]
fcompi st(1)
fstp st(0)
jbe 0x4db44f
movsd xmm0, qword [esp + 0x10]
mov ecx, dword [ebp + 8]
movsd qword [ecx], xmm0
movsd xmm0, qword [esp + 0x50]
movsd qword [esp + 0x18], xmm0
jmp 0x4db44f
comisd xmm0, xmmword [0x5fa830]
jbe 0x4db44f
comisd xmm5, xmm0
jbe 0x4db44f
lea edx, [esp + 0xe8]
push edx
lea ecx, [esp + 0x74]
call fcn.004a7a60
movsd xmm0, qword [eax + 8]
mulsd xmm0, qword [esp + 0xa0]
movsd xmm1, qword [eax]
mulsd xmm1, qword [esp + 0x98]
addsd xmm0, xmm1
movsd xmm1, qword [0x5fc860]
andpd xmm0, xmm1
movsd xmm1, qword [esp + 0x18]
comisd xmm1, xmm0
jbe 0x4db44f
movsd xmm1, qword [esp + 0x90]
divsd xmm1, qword [esp + 0x58]
subsd xmm1, qword [0x5fb270]
mulsd xmm1, qword [esp + 0x20]
addsd xmm1, qword [esp + 0x10]
mov eax, dword [ebp + 8]
movsd qword [eax], xmm1
movsd xmm1, qword [0x5ff758]
comisd xmm1, xmm0
movsd qword [esp + 0x18], xmm0
ja 0x4db495
movq xmm0, qword [esp + 0x38]
movq qword [esp + 0x28], xmm0
movq xmm0, qword [esp + 0x40]
movq qword [esp + 0x30], xmm0
movsd xmm0, qword [esp + 0x20]
addsd xmm0, qword [esp + 0x10]
lea ecx, [ebx - 2]
movsd qword [esp + 0x10], xmm0
cmp edi, ecx
jne 0x4db48c
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 0x10], xmm0
inc edi
cmp edi, ebx
jl 0x4db123
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8