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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
cmp esi, 3
mov dword [esp + 0x1c], ecx
jge 0x425bc4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea edi, [esi*8 + 0x28]
mov dword [esp + 0xc], 0
push edi
call fcn.004875dc
push edi
mov ebx, eax
call fcn.004875dc
add esp, 8
dec esi
mov edi, eax
mov dword [esp + 0x24], esi
test esi, esi
mov dword [esp + 0x28], edi
jl 0x425c9c
mov eax, dword [ebp + 8]
mov ecx, ebx
sub ecx, eax
lea edx, [esi + 1]
mov dword [esp + 0x20], ecx
mov ecx, edi
sub ecx, eax
mov dword [esp + 0x10], edx
fild dword [eax]
mov edx, dword [esp + 0x20]
add eax, 8
fstp qword [edx + eax - 8]
fild dword [eax - 4]
mov edx, dword [esp + 0x10]
dec edx
fstp qword [ecx + eax - 8]
mov dword [esp + 0x10], edx
jne 0x425c0d
test esi, esi
jle 0x425c9c
mov eax, edi
mov ecx, 0x4c8548
sub eax, ebx
lea edx, [ebx + 8]
mov dword [esp + 0x20], eax
mov eax, edi
sub eax, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
fld qword [eax + edx]
mov eax, dword [esp + 0x2c]
fsub qword [eax + ecx]
fld qword [edx]
fsub qword [edx - 8]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fst qword [ecx]
fcomp qword [0x4aa6f0]
fnstsw ax
test ah, 1
je 0x425c8b
mov dword [ecx], 0
mov dword [ecx + 4], 0x3ff00000
mov eax, dword [esp + 0x10]
add edx, 8
add ecx, 8
dec eax
mov dword [esp + 0x10], eax
jne 0x425c4c
mov ecx, dword [esp + 0x1c]
push 0x4c8228
push 0x4c8548
push ebx
push esi
call fcn.00425fb0
mov ecx, dword [esp + 0x1c]
push 0x4c7f08
push 0x4c8548
push edi
push esi
call fcn.00425fb0
test esi, esi
jle 0x425f2f
mov eax, dword [esp + 0x28]
mov ecx, ebx
sub ecx, eax
add edi, 8
mov dword [esp + 0x30], ecx
mov ecx, 0x4c8228
sub ecx, eax
mov esi, ebx
mov dword [esp + 0x34], ecx
mov ecx, 0x4c7f08
sub ecx, eax
mov eax, 0x4c8228
sub eax, ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x24]
mov eax, 0x4c7f08
mov dword [esp + 0x20], ecx
fild dword [ebp + 0x14]
sub eax, ebx
mov dword [esp + 0x38], eax
mov eax, 0x4c8548
sub eax, ebx
mov dword [esp + 0x1c], eax
fld qword [esi]
call fcn.00470a50
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0xc]
mov dword [edx + ecx*8], eax
fld qword [edi - 8]
call fcn.00470a50
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0xc]
mov dword [edx + ecx*8 + 4], eax
inc ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi]
mov dword [esp + 0x58], eax
fld qword [ecx + esi]
fstp qword [esp + 0x70]
fld qword [edx + edi]
fsub qword [esi]
mov edx, dword [esp + 0x1c]
fst qword [esp + 0x50]
fmul qword [0x4abe30]
fstp qword [esp + 0x48]
fld qword [edx + esi]
fld st(0)
fmul st(1)
fst qword [esp + 0x10]
fmul st(1)
fstp qword [esp + 0x40]
fld qword [esp + 0x10]
fabs
fcomp qword [0x4abde0]
fnstsw ax
test ah, 0x41
je 0x425db1
mov dword [esp + 0x10], 0x88e368f1
mov dword [esp + 0x14], 0x3ee4f8b5
fld qword [esp + 0x40]
fabs
fcomp qword [0x4abde0]
fnstsw ax
test ah, 0x41
je 0x425dd4
mov dword [esp + 0x40], 0x88e368f1
mov dword [esp + 0x44], 0x3ee4f8b5
fld st(0)
fabs
fcomp qword [0x4abde0]
fnstsw ax
test ah, 0x41
je 0x425ded
fstp st(0)
fld qword [0x4abde0]
fld qword [esp + 0x48]
fdiv qword [esp + 0x10]
mov eax, dword [esp + 0x34]
fld qword [ecx + esi]
fadd st(0), st(0)
fadd qword [eax + edi]
fdiv st(2)
fsubp st(1)
fstp qword [esp + 0x48]
fld qword [eax + edi]
fadd qword [ecx + esi]
mov eax, dword [edi - 8]
mov ecx, dword [edi - 4]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
fdiv qword [esp + 0x10]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x3c]
fld qword [esp + 0x50]
fmul qword [0x4abe28]
fdiv qword [esp + 0x40]
faddp st(1)
fstp qword [esp + 0x68]
fld qword [eax + esi]
fstp qword [esp + 0x78]
fld qword [edi]
fsub qword [edi - 8]
fst qword [esp + 0x50]
fmul qword [0x4abe30]
fdiv qword [esp + 0x10]
fld qword [eax + esi]
fadd st(0), st(0)
fadd qword [ecx + edi]
fdiv st(2)
fsubp st(1)
fstp st(1)
fld qword [esp + 0x50]
fmul qword [0x4abe28]
fdiv qword [esp + 0x40]
fld qword [ecx + edi]
fadd qword [eax + esi]
fdiv qword [esp + 0x10]
faddp st(1)
fld st(2)
fcom qword [edx + esi]
fnstsw ax
test ah, 1
je 0x425f0a
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0xc]
lea ecx, [edx + eax*8]
mov dword [esp + 0x10], ecx
fld st(0)
fmul st(1)
fld st(0)
fmul st(2)
fld st(0)
fmul qword [esp + 0x68]
fld st(2)
fmul qword [esp + 0x48]
faddp st(1)
fld st(3)
fmul qword [esp + 0x70]
faddp st(1)
fadd qword [esp + 0x58]
call fcn.00470a50
fmul st(3)
fxch st(1)
fmul st(4)
mov edx, dword [esp + 0x10]
faddp st(1)
mov dword [edx], eax
fld st(1)
fmul qword [esp + 0x78]
faddp st(1)
fadd qword [esp + 0x60]
call fcn.00470a50
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
fld st(3)
faddp st(1)
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1c]
inc edx
add ecx, 8
fld st(0)
fcomp qword [eax + esi]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
fnstsw ax
test ah, 1
jne 0x425e99
mov eax, dword [esp + 0x20]
add esi, 8
fstp st(0)
add edi, 8
dec eax
fstp st(0)
fstp st(0)
mov dword [esp + 0x20], eax
jne 0x425d21
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
fstp st(0)
fld qword [ebx + esi*8]
fcomp qword [0x4aa6f8]
fld qword [ebx + esi*8]
fnstsw ax
test ah, 1
jne 0x425f4a
fadd qword [0x4aa708]
jmp 0x425f50
fsub qword [0x4aa708]
call fcn.00470a50
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0xc]
mov dword [ecx + edx*8], eax
fld qword [edi + esi*8]
fcomp qword [0x4aa6f8]
fld qword [edi + esi*8]
fnstsw ax
test ah, 1
jne 0x425f7a
fadd qword [0x4aa708]
jmp 0x425f80
fsub qword [0x4aa708]
call fcn.00470a50
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0xc]
push ebx
mov dword [ecx + esi*8 + 4], eax
call fcn.00487605
push edi
call fcn.00487605
add esp, 8
lea eax, [esi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10