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

Disassembly:
sub esp, 0xdc
push ebp
mov ebp, dword [esp + 0xe4]
fld dword [ebp]
xor ecx, ecx
fsub dword [0x5f53f4]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], 0x4b18967f
fst dword [esp + 0x2c]
fld dword [ebp + 4]
fsub dword [0x5f53f4]
fstp dword [esp + 0x24]
fld dword [ebp + 8]
mov eax, dword [esp + 0x24]
fsub dword [0x5f53f4]
mov dword [esp + 8], eax
fstp dword [esp + 0x30]
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xe8]
fcomp dword [edx]
fnstsw ax
test ah, 0x41
jp 0x4d5595
fld dword [edx + 4]
fcomp dword [esp + 8]
fnstsw ax
test ah, 1
jne 0x4d5595
fld dword [edx + 8]
fcomp dword [esp + 0xc]
fnstsw ax
test ah, 1
jne 0x4d5595
fld dword [ebp + 0xc]
fadd dword [0x5f53f4]
fld dword [ebp + 0x10]
fadd dword [0x5f53f4]
fstp dword [esp + 8]
fld dword [ebp + 0x14]
fadd dword [0x5f53f4]
fstp dword [esp + 0xc]
fcomp dword [edx]
fnstsw ax
test ah, 1
jne 0x4d5595
fld dword [edx + 4]
fcomp dword [esp + 8]
fnstsw ax
test ah, 0x41
jp 0x4d5595
fld dword [edx + 8]
fcomp dword [esp + 0xc]
fnstsw ax
test ah, 0x41
jp 0x4d5595
mov eax, dword [esp + 0xf0]
mov dword [eax], 1
mov dword [eax + 4], ecx
mov ecx, dword [edx]
add eax, 8
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
mov eax, 1
pop ebp
add esp, 0xdc
ret
mov eax, dword [esp + 0xec]
fld dword [eax]
push ebx
fsub dword [edx]
push esi
push edi
mov dword [esp + 0x20], ecx
fstp dword [esp + 0x24]
lea ebx, [ebp + 0x30]
fld dword [eax + 4]
fsub dword [edx + 4]
fstp dword [esp + 0x28]
fld dword [eax + 8]
fsub dword [edx + 8]
fstp dword [esp + 0x2c]
mov eax, ebx
mov ecx, dword [eax]
mov dword [esp + 0x50], ecx
fld dword [esp + 0x50]
fmul dword [edx]
mov ecx, dword [eax + 4]
mov dword [esp + 0x54], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x58], ecx
fld dword [esp + 0x58]
fmul dword [edx + 8]
mov dword [esp + 0x5c], eax
mov ecx, ebx
mov eax, dword [ecx]
faddp st(1)
mov dword [esp + 0x40], eax
fld dword [esp + 0x54]
mov eax, dword [ecx + 4]
fmul dword [edx + 4]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
faddp st(1)
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
fadd dword [ebx + 0xc]
fstp dword [esp + 0x1c]
fld dword [esp + 0x48]
fmul dword [esp + 0x2c]
fld dword [esp + 0x44]
fmul dword [esp + 0x28]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [esp + 0x24]
faddp st(1)
fst dword [esp + 0x34]
fcomp dword [0x60477c]
fnstsw ax
test ah, 0x44
jnp 0x4d5847
fld dword [esp + 0x1c]
fcomp dword [0x5eb9ac]
fnstsw ax
test ah, 5
jnp 0x4d569a
fld dword [esp + 0x1c]
fcomp dword [0x5eb9a8]
fnstsw ax
test ah, 0x41
je 0x4d569a
mov eax, edx
mov ecx, dword [eax]
mov dword [esp + 0x80], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x7c], 0
jmp 0x4d574d
fld dword [esp + 0x1c]
fdiv dword [esp + 0x34]
fchs
fcom dword [0x5eb9ac]
fnstsw ax
test ah, 1
jne 0x4d5845
fcom qword [0x5ebd00]
fnstsw ax
test ah, 0x41
jp 0x4d5845
fcom dword [0x60477c]
fnstsw ax
test ah, 5
jp 0x4d56dd
fstp st(0)
fld dword [0x60477c]
jmp 0x4d56f2
fcom dword [0x5f53f4]
fnstsw ax
test ah, 0x41
jne 0x4d56f2
fstp st(0)
fld dword [0x5f53f4]
fld dword [esp + 0x24]
fmul st(1)
fld dword [esp + 0x28]
fmul st(2)
fld dword [esp + 0x2c]
fmul st(3)
fstp dword [esp + 0xb4]
fxch st(1)
fadd dword [edx]
fstp dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x80], ecx
fadd dword [edx + 4]
fstp dword [esp + 0x14]
fld dword [esp + 0xb4]
mov eax, dword [esp + 0x14]
fadd dword [edx + 8]
mov dword [esp + 0x84], eax
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fstp dword [esp + 0x7c]
mov dword [esp + 0x88], ecx
fld dword [esp + 0x38]
mov eax, dword [esp + 0x30]
fld dword [esp + 0x80]
mov ecx, dword [esp + 0x3c]
fcomp st(1)
mov dword [esp + 0x64], eax
mov dword [esp + 0x78], 1
mov dword [esp + 0x68], ecx
fnstsw ax
fstp st(0)
test ah, 1
jne 0x4d5847
fld dword [esp + 0x84]
fcomp dword [esp + 0x64]
fnstsw ax
test ah, 1
jne 0x4d5847
fld dword [esp + 0x88]
fcomp dword [esp + 0x68]
fnstsw ax
test ah, 1
jne 0x4d5847
fld dword [ebp + 0xc]
fadd dword [0x5f53f4]
fld dword [ebp + 0x10]
fadd dword [0x5f53f4]
fstp dword [esp + 0x70]
fld dword [ebp + 0x14]
fadd dword [0x5f53f4]
fstp dword [esp + 0x74]
fld dword [esp + 0x80]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jp 0x4d5847
fld dword [esp + 0x84]
fcomp dword [esp + 0x70]
fnstsw ax
test ah, 0x41
jp 0x4d5847
fld dword [esp + 0x88]
fcomp dword [esp + 0x74]
fnstsw ax
test ah, 0x41
jp 0x4d5847
mov eax, dword [esp + 0x100]
cmp eax, 2
je 0x4d5887
test eax, eax
jne 0x4d5847
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x4d5831
fld dword [esp + 0xbc]
fcomp dword [esp + 0x7c]
fnstsw ax
test ah, 0x41
jne 0x4d5847
mov ecx, 0xd
lea esi, [esp + 0x78]
lea edi, [esp + 0xb8]
rep movsd dword es:[edi], dword [esi]
jmp 0x4d5847
fstp st(0)
mov eax, dword [esp + 0x20]
inc eax
add ebx, 0x10
cmp eax, 6
mov dword [esp + 0x20], eax
jl 0x4d55c2
mov edi, dword [esp + 0xfc]
test edi, edi
je 0x4d5875
mov ecx, 0xd
lea esi, [esp + 0xb8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xb8]
pop edi
pop esi
pop ebx
pop ebp
add esp, 0xdc
ret
mov edi, dword [esp + 0xfc]
test edi, edi
je 0x4d58a0
mov ecx, 0xd
lea esi, [esp + 0xb8]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
add esp, 0xdc
ret