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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
push esi
mov ebx, ecx
mov eax, dword [ebx]
push edi
call dword [eax + 8]
test al, al
je 0x4f5c8c
mov eax, dword [ebx]
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebx
call dword [eax + 0x14]
mov eax, dword [eax]
lea ecx, [esp + 0x50]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x14]
fld dword [ebp + 8]
mov eax, dword [eax + 4]
fstp dword [esp + 0x44]
fld dword [ebp + 0xc]
xor edi, edi
cmp eax, edi
fstp dword [esp + 0x48]
fld dword [ebp + 0x10]
mov dword [esp + 0x6c], eax
fstp dword [esp + 0x5c]
mov byte [esp + 0xf], 1
fld dword [ebp + 0x14]
mov dword [esp + 0x30], edi
fstp dword [esp + 0x68]
mov dword [esp + 0x28], edi
fld dword [ebp + 0x18]
fstp dword [esp + 0x64]
fld dword [ebp + 0x1c]
fstp dword [esp + 0x60]
fld dword [ebp + 0x20]
fstp dword [esp + 0x40]
fld dword [ebp + 0x24]
fstp dword [esp + 0x38]
jle 0x4f5c88
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x24], edi
jle 0x4f5c5d
fild dword [esp + 0x30]
fstp dword [esp + 0x34]
push dword [esp + 0x28]
mov eax, dword [ebx]
push dword [esp + 0x28]
lea ecx, [esp + 0x58]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
fild dword [esp + 0x3c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp + 0x14]
fld dword [esp + 0x34]
fstp dword [esp + 0x10]
fild dword [esp + 0x50]
fadd dword [esp + 0x14]
fstp dword [esp + 0x58]
fild dword [esp + 0x54]
fadd dword [esp + 0x10]
fstp dword [esp + 0x18]
fld dword [esp + 0x64]
fld dword [esp + 0x14]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4f5aa5
fst dword [esp + 0x20]
jmp 0x4f5aad
fld dword [esp + 0x14]
fstp dword [esp + 0x20]
fld dword [esp + 0x60]
fld dword [esp + 0x10]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4f5ac4
fst dword [esp + 0x1c]
jmp 0x4f5acc
fld dword [esp + 0x10]
fstp dword [esp + 0x1c]
fld dword [esp + 0x40]
fld dword [esp + 0x58]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4f5ae3
fld dword [esp + 0x40]
jmp 0x4f5ae7
fld dword [esp + 0x58]
fstp dword [esp + 0x10]
fld dword [esp + 0x38]
fld dword [esp + 0x18]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4f5b02
fld dword [esp + 0x38]
jmp 0x4f5b06
fld dword [esp + 0x18]
fstp dword [esp + 0x14]
fld dword [esp + 0x20]
fld dword [esp + 0x10]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4f5c3d
fld dword [esp + 0x1c]
fld dword [esp + 0x14]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4f5c3b
fld dword [esp + 0x5c]
push dword [esp + 0x28]
fsub dword [esp + 0x48]
mov eax, dword [ebx]
fld dword [esp + 0x44]
push dword [esp + 0x28]
fld st(4)
mov ecx, ebx
fsubp st(1)
fld dword [esp + 0x4c]
fsubrp st(5)
fld dword [esp + 0x28]
fmul st(2)
fdiv st(1)
faddp st(5)
fxch st(4)
fstp dword [esp + 0x24]
fld dword [esp + 0x70]
fsub dword [esp + 0x50]
fld dword [esp + 0x40]
fld st(4)
fsubp st(1)
fld st(3)
fmul st(2)
fdiv st(1)
fld dword [esp + 0x50]
fsubrp st(6)
faddp st(5)
fxch st(4)
fstp dword [esp + 0x20]
fld dword [esp + 0x28]
fsub dword [esp + 0x34]
fstp dword [esp + 0x88]
fld st(2)
fsub dword [esp + 0x3c]
fstp dword [esp + 0x8c]
fld dword [esp + 0x18]
fsub dword [esp + 0x34]
fstp dword [esp + 0x90]
fld dword [esp + 0x1c]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x94]
fld dword [esp + 0x24]
fstp dword [esp + 0x78]
fld dword [esp + 0x20]
fstp dword [esp + 0x7c]
fld dword [esp + 0x18]
fsub dword [esp + 0x28]
fmulp st(2)
fxch st(1)
fdivrp st(4)
fld dword [esp + 0x24]
faddp st(4)
fxch st(3)
fstp dword [esp + 0x80]
fsubr dword [esp + 0x1c]
fmulp st(2)
fdivp st(1)
fadd dword [esp + 0x20]
fstp dword [esp + 0x84]
call dword [eax + 0x28]
push dword [ebp + 0x28]
lea esi, [esp + 0x84]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x94]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, eax
movsd dword es:[edi], dword [esi]
call dword [edx + 0x50]
test al, al
jne 0x4f5c41
mov byte [esp + 0xf], al
jmp 0x4f5c41
fstp st(0)
fstp st(1)
fstp st(0)
mov eax, dword [esp + 0x50]
add dword [esp + 0x3c], eax
inc dword [esp + 0x24]
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x4c]
jl 0x4f5a4a
xor edi, edi
mov esi, dword [esp + 0x28]
mov eax, dword [ebx]
push esi
push edi
lea ecx, [esp + 0x98]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
mov eax, dword [eax + 4]
add dword [esp + 0x30], eax
inc esi
cmp esi, dword [esp + 0x6c]
mov dword [esp + 0x28], esi
jl 0x4f5a30
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24