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

Disassembly:
push ebp
mov ebp, ecx
push edi
push esi
push ebx
sub esp, 0x8c
fld qword [esp + 0xa0]
mov dword [esp + 0x50], edx
mov edx, dword [0x84c920]
mov dword [esp + 0x70], eax
mov esi, dword [esp + 0xb8]
mov edi, dword [esp + 0xbc]
fstp qword [esp + 0x60]
fld qword [esp + 0xa8]
test edx, edx
fld qword [esp + 0xb0]
fldz
fst qword [esp + 0x48]
fstp qword [esp + 0x40]
jle 0x4c46f9
xor ebx, ebx
fcomi st(1)
je 0x4c4690
fld st(0)
fsub st(2)
fstp qword [esp + 0x68]
fxch st(1)
fstp qword [esp + 0x58]
fstp qword [esp + 0x78]
jmp 0x4c4669
fstp st(1)
fld qword [ebx*8 + 0x84cab8]
fcompi st(1)
fstp st(0)
jb 0x4c49a0
fld qword [0x77de30]
lea esi, [esi]
mov dword [esp + 4], 0x84c778
mov dword [esp], 0x84c8b0
fstp qword [esp + 8]
call fcn.004c43b0
fld qword [ebx*8 + 0x84c928]
fmulp st(1)
fld qword [esp + 0x40]
fadd st(1)
fstp qword [esp + 0x40]
fld qword [ebx*8 + 0x84cab8]
add ebx, 1
fsub qword [0x84bf50]
fmulp st(1)
fadd qword [esp + 0x48]
fstp qword [esp + 0x48]
cmp ebx, dword [0x84c920]
jge 0x4c4980
fld qword [0x84bb48]
fldz
fcomi st(1)
je 0x4c45f8
fstp st(0)
fdivr qword [esp + 0x68]
fmul qword [ebx*8 + 0x84cab8]
fadd qword [esp + 0x58]
jmp 0x4c4618
fxch st(1)
fstp qword [esp + 0x58]
fstp qword [esp + 0x68]
lea esi, [esi]
fld qword [esp + 0x58]
mov dword [esp + 4], 0x84c778
mov dword [esp], 0x84c8b0
fstp qword [esp + 8]
call fcn.004c43b0
fld qword [ebx*8 + 0x84c928]
fmulp st(1)
fld qword [esp + 0x40]
fadd st(1)
fstp qword [esp + 0x40]
fld qword [ebx*8 + 0x84cab8]
add ebx, 1
fsub qword [0x84bf50]
fmulp st(1)
fadd qword [esp + 0x48]
fstp qword [esp + 0x48]
cmp ebx, dword [0x84c920]
jl 0x4c46a0
fld qword [esp + 0x58]
fld qword [esp + 0x68]
fldz
mov eax, dword [esp + 0x50]
fst qword [ebp]
fst qword [esi]
fstp qword [edi]
test eax, eax
jle 0x4c486e
xor ebx, ebx
fcomi st(1)
mov eax, dword [esp + 0x70]
je 0x4c47f0
fld st(0)
mov edx, edi
mov edi, eax
fsub st(2)
fstp qword [esp + 0x68]
fxch st(1)
fstp qword [esp + 0x58]
fstp qword [esp + 0x70]
jmp 0x4c47c8
fstp st(1)
fld qword [ebx*8 + 0x84e060]
fcompi st(1)
fstp st(0)
jb 0x4c4990
fld qword [0x77de30]
lea esi, [esi]
mov dword [esp], edi
add edi, 0x50
mov dword [esp + 4], 0x84c778
fstp qword [esp + 8]
mov dword [esp + 0xbc], edx
call fcn.004c43b0
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0x50]
fld qword [ebp]
fadd st(1)
fstp qword [ebp]
fld qword [ebx*8 + 0x84e060]
fsub qword [0x84bf50]
fmul st(1)
fadd qword [esi]
fstp qword [esi]
fld qword [ebx*8 + 0x84e060]
fsub qword [0x84bf50]
add ebx, 1
fabs
fxch st(1)
fabs
fmulp st(1)
fadd qword [edx]
fstp qword [edx]
cmp ebx, eax
je 0x4c4970
fld qword [0x84bb48]
fldz
fcomi st(1)
je 0x4c4740
fstp st(0)
fdivr qword [esp + 0x68]
fmul qword [ebx*8 + 0x84e060]
fadd qword [esp + 0x58]
jmp 0x4c4760
fxch st(1)
fstp qword [esp + 0x58]
mov edx, edi
mov edi, eax
fstp qword [esp + 0x68]
nop
fld qword [esp + 0x58]
mov dword [esp], edi
add edi, 0x50
mov dword [esp + 4], 0x84c778
mov dword [esp + 0xbc], edx
fstp qword [esp + 8]
call fcn.004c43b0
mov edx, dword [esp + 0xbc]
fld qword [ebp]
fadd st(1)
fstp qword [ebp]
fld qword [ebx*8 + 0x84e060]
fsub qword [0x84bf50]
fmul st(1)
fadd qword [esi]
fstp qword [esi]
fld qword [ebx*8 + 0x84e060]
fsub qword [0x84bf50]
add ebx, 1
fabs
fxch st(1)
fabs
fmulp st(1)
fadd qword [edx]
fstp qword [edx]
cmp dword [esp + 0x50], ebx
jne 0x4c4800
fld qword [esp + 0x58]
fld qword [esp + 0x68]
fld qword [0x84bb48]
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x14], 0x84c558
mov dword [esp + 0x10], 0x84c358
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc0]
fstp qword [esp + 0x30]
fldz
mov dword [esp + 0x38], eax
mov eax, dword [0x84bb40]
fstp qword [esp + 0x28]
mov dword [esp + 0xc], 0x84bd50
mov dword [esp + 8], 0x84bb50
mov dword [esp + 4], eax
mov dword [esp], 0x84c778
fstp qword [esp + 0x20]
fstp qword [esp + 0x18]
call fcn.004c3570
fld qword [ebp]
fldz
fcomi st(1)
je 0x4c4900
mov eax, dword [esp + 0xc0]
fld qword [esp + 0x60]
fsub qword [eax]
fsub qword [esp + 0x40]
fdivrp st(2)
fxch st(1)
fcomi st(1)
fcmovb st(0), st(1)
fstp st(1)
jmp 0x4c4902
fstp st(0)
mov eax, dword [esp + 0xcc]
fstp qword [eax]
mov eax, dword [esp + 0xc0]
fld qword [0x84bf50]
fmul qword [eax]
mov eax, dword [esp + 0xc4]
fsubr qword [eax]
fst qword [eax]
mov eax, dword [esp + 0xcc]
fld qword [eax]
mov eax, dword [esp + 0xc8]
fst qword [esp + 0x50]
fld qword [esi]
fmulp st(1)
faddp st(1)
fadd qword [esp + 0x48]
fstp qword [eax]
mov eax, dword [esp + 0xc0]
fld qword [esp + 0x60]
fsub qword [eax]
mov eax, dword [esp + 0xcc]
fld qword [eax]
fmul qword [ebp]
fadd qword [esp + 0x40]
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
fsubp st(1)
ret
fld qword [esp + 0x58]
fld qword [esp + 0x70]
jmp 0x4c486e
fld qword [esp + 0x58]
fld qword [esp + 0x78]
jmp 0x4c46f9
fld qword [0x77de38]
jmp 0x4c4760
fld qword [0x77de38]
jmp 0x4c4618